Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationType ¶
type ApplicationType string
const ( JavaLeveransepakke ApplicationType = "JavaLeveransepakke" NodeJsLeveransepakke ApplicationType = "NodeJsLeveranse" )
type BuilderSpec ¶
type BuilderSpec struct {
Version string
}
type Config ¶
type Config struct { ApplicationType ApplicationType JavaApplication *JavaApplication NodeJsApplication *NodeApplication DockerSpec DockerSpec BuilderSpec BuilderSpec BinaryBuild bool }
type 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 PushExtraTags PushExtraTags //This is the external docker registry where we check versions. ExternalDockerRegistry string TagWith string RetagWith string TagOverwrite bool }
func (DockerSpec) GetExternalRegistryWithoutProtocol ¶ added in v1.2.0
func (m DockerSpec) GetExternalRegistryWithoutProtocol() 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 JavaApplication ¶ added in v1.2.0
type JavaApplication struct { ArtifactId string GroupId string Version string Classifier string BaseImageSpec DockerBaseImageSpec }
type NodeApplication ¶ added in v1.2.0
type NodeApplication struct { NpmName string Version string NodejsBaseImageSpec DockerBaseImageSpec }
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.