Documentation ¶
Index ¶
Constants ¶
const ( // CfManifestPathType defines the source artifact type of cf manifest CfManifestPathType transformertypes.PathType = "CfManifest" // CfRunningManifestPathType defines the source artifact type of a manifest of a running instance CfRunningManifestPathType transformertypes.PathType = "CfRunningManifest" )
const ( // ContainerImageBuildShScriptPathType represents the image build script path type ContainerImageBuildShScriptPathType transformertypes.PathType = "ContainerImageBuildShScript" // ContainerImageBuildBatScriptPathType represents the image build script path type ContainerImageBuildBatScriptPathType transformertypes.PathType = "ContainerImageBuildBatScript" // ContainerImageBuildShScriptContextPathType represents the image build script path type ContainerImageBuildShScriptContextPathType transformertypes.PathType = "ContainerImageBuildShScriptContextScript" // ContainerImageBuildBatScriptContextPathType represents the image build script path type ContainerImageBuildBatScriptContextPathType transformertypes.PathType = "ContainerImageBuildBatScriptContextScript" )
const ( // ContainerImagesBuildShScriptPathType represents the image push script path type ContainerImagesBuildShScriptPathType transformertypes.PathType = "ContainerImagesBuildShScript" // ContainerImagesBuildBatScriptPathType represents the image push script path type ContainerImagesBuildBatScriptPathType transformertypes.PathType = "ContainerImagesBuildBatScript" )
const ( // ContainerImagesPushShScriptPathType represents the image push script path type ContainerImagesPushShScriptPathType transformertypes.PathType = "ContainerImagesPushShScript" // ContainerImagesPushBatScriptPathType represents the image push script path type ContainerImagesPushBatScriptPathType transformertypes.PathType = "ContainerImagesPushBatScript" )
const CNBMetadataArtifactType transformertypes.ArtifactType = "CNBMetadata"
CNBMetadataArtifactType is the name of the CNB artifact type
const CNBMetadataConfigType transformertypes.ConfigType = "CNBMetadata"
CNBMetadataConfigType is the name of the CNB config type
const ( // CloudFoundryConfigType represents the cloud foundry service configuration CloudFoundryConfigType transformertypes.ConfigType = "CloudFoundryService" )
const ( // ContainerBuildArtifactType represents the container build artifact type ContainerBuildArtifactType transformertypes.ArtifactType = "ContainerBuild" )
const ( // ContainerConfigType represents container config type ContainerConfigType transformertypes.ConfigType = "Container" )
const ( // ContainerImageBuildScriptArtifactType represents the image build script artifact type ContainerImageBuildScriptArtifactType transformertypes.ArtifactType = "ContainerImageBuildScript" )
const ( // ContainerImagesBuildScriptArtifactType represents the image push script artifact type ContainerImagesBuildScriptArtifactType transformertypes.ArtifactType = "ContainerImagesBuildScript" )
const ( // ContainerImagesPushScriptArtifactType represents the image push script artifact type ContainerImagesPushScriptArtifactType transformertypes.ArtifactType = "ContainerImagesPushScript" )
const DockerfileArtifactType transformertypes.ArtifactType = "Dockerfile"
DockerfileArtifactType represents the Dockerfile artifact type
const DockerfileForServiceArtifactType transformertypes.ArtifactType = "DockerfileForService"
DockerfileForServiceArtifactType represents the Dockerfile artifact type with service information for populating IR
const DockerfilePathType transformertypes.PathType = "Dockerfile"
DockerfilePathType defines the source artifact type of dockerfile
const ( // DockerfileTemplateConfigConfigType stores the imagename for the dockerfile DockerfileTemplateConfigConfigType transformertypes.ConfigType = "DockerfileTemplateConfig" )
const ( // ImageNameConfigType stores the imagename ImageNameConfigType transformertypes.ConfigType = "ImageName" )
const KubernetesYamlsArtifactType transformertypes.ArtifactType = "KubernetesYamls"
KubernetesYamlsArtifactType is the name of the Kubernetes artifact type
const KubernetesYamlsPathType transformertypes.PathType = "KubernetesYamls"
KubernetesYamlsPathType is points to the kubernetes Yamls
const NewImagesArtifactType transformertypes.ArtifactType = "NewImages"
NewImagesArtifactType represents New Image Artifact Type
const NewImagesConfigType transformertypes.ConfigType = "NewImages"
NewImagesConfigType represents New Image Config type
const ( // ProjectPathPathType points to the project context directory ProjectPathPathType transformertypes.PathType = "ProjectPath" )
const S2IMetadataArtifactType transformertypes.ArtifactType = "S2IMetadata"
S2IMetadataArtifactType is the name of the S2I artifact type
const S2IMetadataConfigType transformertypes.ConfigType = "S2IMetadata"
S2IMetadataConfigType is the name of the S2I config type
const ServiceArtifactType transformertypes.ArtifactType = "Service"
ServiceArtifactType stores the service artifact type name
const ServiceConfigType transformertypes.ConfigType = "Service"
ServiceConfigType stores service config type name
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CNBMetadataConfig ¶
type CNBMetadataConfig struct { CNBBuilder string `json:"CNBBuilder" yaml:"CNBBuilder"` ImageName string `json:"ImageName,omitempty" yaml:"ImageName,omitempty"` }
CNBMetadataConfig stores the configurations related to CNB
type CloudFoundryConfig ¶
type CloudFoundryConfig struct { ServiceName string `yaml:"serviceName,omitempty"` ImageName string `yaml:"imageName,omitempty"` }
CloudFoundryConfig stores the configurations
type ImageName ¶
type ImageName struct {
ImageName string `yaml:"imageName" json:"imageName"`
}
ImageName is the struct storing the ImageName
type NewImages ¶
type NewImages struct {
ImageNames []string `yaml:"imageNames" json:"imageNames"`
}
NewImages represents the strut having configuration about new images
type S2IMetadataConfig ¶
type S2IMetadataConfig struct { S2IBuilder string `json:"S2IBuilder" yaml:"S2IBuilder"` ImageName string `json:"ImageName,omitempty" yaml:"ImageName,omitempty"` }
S2IMetadataConfig stores the configurations related to S2I
type ServiceConfig ¶
type ServiceConfig struct {
ServiceName string `yaml:"serviceName"`
}
ServiceConfig stores config related to service