Documentation ¶
Index ¶
- func FilterVersionTags(appVersion string, newTags []string, repositoryTags []string) ([]string, error)
- type ApplicationType
- type BaseImageInfo
- type BuildInfo
- type BuilderSpec
- type Config
- type ConfigReader
- type Deliverable
- type DockerSpec
- type FileConfigReader
- type InClusterConfigReader
- type MavenGav
- type OutputImageInfo
- type TagInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ApplicationType ¶
type ApplicationType string
const ( JavaLeveransepakke ApplicationType = "JavaLeveransepakke" NodeJsLeveransepakke ApplicationType = "NodeJsLeveranse" )
type BaseImageInfo ¶
type BuildInfo ¶
type BuildInfo struct { Env map[string]string OutputImage OutputImageInfo BaseImage BaseImageInfo }
func NewBuildInfo ¶
func NewBuildInfo(cfg Config, deliverable Deliverable, imageInfoProvider docker.ImageInfoProvider) (*BuildInfo, error)
type BuilderSpec ¶
type BuilderSpec struct {
Version string
}
type Config ¶
type Config struct { ApplicationType ApplicationType MavenGav MavenGav DockerSpec DockerSpec BuilderSpec BuilderSpec }
type ConfigReader ¶
type ConfigReader interface { ReadConfig() (*Config, error) AddRegistryCredentials(config *Config) error }
func NewFileConfigReader ¶
func NewFileConfigReader(filepath string) ConfigReader
func NewInClusterConfigReader ¶
func NewInClusterConfigReader() ConfigReader
type Deliverable ¶
type Deliverable struct {
Path string
}
type DockerSpec ¶
type DockerSpec struct { OutputRegistry string OutputRegistryCredentials string OutputRepository string BaseImage string BaseVersion string PushExtraTags string //This is the external docker registry where we check versions. ExternalDockerRegistry string TagWith string RetagWith string TagOverwrite bool }
type FileConfigReader ¶
type FileConfigReader struct {
// contains filtered or unexported fields
}
func (*FileConfigReader) AddRegistryCredentials ¶ added in v1.0.1
func (m *FileConfigReader) AddRegistryCredentials(config *Config) error
func (*FileConfigReader) ReadConfig ¶
func (m *FileConfigReader) ReadConfig() (*Config, error)
type InClusterConfigReader ¶
type InClusterConfigReader struct { }
func (*InClusterConfigReader) AddRegistryCredentials ¶ added in v1.0.1
func (m *InClusterConfigReader) AddRegistryCredentials(config *Config) error
func (*InClusterConfigReader) ReadConfig ¶
func (m *InClusterConfigReader) ReadConfig() (*Config, error)
type OutputImageInfo ¶
Click to show internal directories.
Click to hide internal directories.