Documentation ¶
Index ¶
Constants ¶
View Source
const ( Docker = "docker" Buildah = "buildah" )
View Source
const FallbackDockerRegistry = "https://docker-registry.aurora.sits.no:5000"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationSpec ¶ added in v1.3.0
type ApplicationSpec struct { MavenGav MavenGav BaseImageSpec DockerBaseImageSpec }
type ApplicationType ¶
type ApplicationType string
const ( JavaLeveransepakke ApplicationType = "JavaLeveransepakke" NodeJsLeveransepakke ApplicationType = "NodeJsLeveranse" DoozerLeveranse ApplicationType = "DoozerLeveranse" NodeJs = "NODEJS" Doozer = "DOOZER" )
type BuilderSpec ¶
type BuilderSpec struct {
Version string
}
type Classifier ¶ added in v1.3.0
type Classifier string
const ( Leveransepakke Classifier = "Leveransepakke" Webleveransepakke Classifier = "Webleveransepakke" Doozerleveransepakke Classifier = "Doozerleveransepakke" )
type CmdConfigReader ¶ added in v1.25.9
func (*CmdConfigReader) ReadConfig ¶ added in v1.25.9
func (m *CmdConfigReader) ReadConfig() (*Config, error)
type Config ¶
type Config struct { ApplicationType ApplicationType ApplicationSpec ApplicationSpec DockerSpec DockerSpec BuilderSpec BuilderSpec NexusAccess NexusAccess BinaryBuild bool LocalBuild bool BuildStrategy string TlsVerify bool BuildTimeout time.Duration NoPush bool SporingsContext string Sporingstjeneste string OwnerReferenceUid string }
type ConfigReader ¶
func NewCmdConfigReader ¶ added in v1.25.9
func NewCmdConfigReader(cmd *cobra.Command, args []string, noPush bool) ConfigReader
func NewFileConfigReader ¶
func NewFileConfigReader(filepath string) ConfigReader
func NewInClusterConfigReader ¶
func NewInClusterConfigReader() ConfigReader
type DockerBaseImageSpec ¶ added in v1.2.0
type DockerSpec ¶
type DockerSpec struct { OutputRegistry string OutputRepository string InternalPullRegistry string PushExtraTags PushExtraTags //This is the external docker registry where we check versions. ExternalDockerRegistry string //The tag to push to. This is only used for ImageStreamTags (as for now) and RETAG functionality TagWith string RetagWith string TagOverwrite bool }
func (DockerSpec) GetExternalRegistryWithoutProtocol ¶ added in v1.2.0
func (m DockerSpec) GetExternalRegistryWithoutProtocol() string
func (DockerSpec) GetInternalPullRegistryWithoutProtocol ¶ added in v1.22.0
func (m DockerSpec) GetInternalPullRegistryWithoutProtocol() string
type FileConfigReader ¶
type FileConfigReader struct {
// contains filtered or unexported fields
}
func (*FileConfigReader) ReadConfig ¶
func (m *FileConfigReader) ReadConfig() (*Config, error)
type InClusterConfigReader ¶
type InClusterConfigReader struct { }
func (*InClusterConfigReader) ReadConfig ¶
func (m *InClusterConfigReader) ReadConfig() (*Config, error)
type MavenGav ¶
type MavenGav struct { ArtifactId string GroupId string Version string Classifier Classifier Type PackageType }
func (*MavenGav) IsSnapshot ¶ added in v1.3.0
type NexusAccess ¶ added in v1.22.0
func (NexusAccess) String ¶ added in v1.22.0
func (n NexusAccess) String() string
type PackageType ¶ added in v1.3.0
type PackageType string
const ( ZipPackaging PackageType = "zip" TgzPackaging PackageType = "tgz" )
type PushExtraTags ¶ added in v1.2.0
func ParseExtraTags ¶ added in v1.2.0
func ParseExtraTags(i string) PushExtraTags
func (*PushExtraTags) ToStringValue ¶ added in v1.2.0
func (m *PushExtraTags) ToStringValue() string
Generates the tags given the appversion and extra tag configuration. Don't do any filtering
Click to show internal directories.
Click to hide internal directories.