iop
Version:
Ship Docker Anywhere
14 lines (13 loc) • 557 B
TypeScript
import { ServiceEntry } from '../config/types';
/**
* Checks if a service needs to be built locally (vs using a pre-built image)
*/
export declare function serviceNeedsBuilding(serviceEntry: ServiceEntry): boolean;
/**
* Gets the base image name for a service
*/
export declare function getServiceImageName(serviceEntry: ServiceEntry): string;
/**
* Builds the full image name for built services, or returns original name for pre-built services
*/
export declare function buildServiceImageName(serviceEntry: ServiceEntry, releaseId?: string): string;