Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildOutcome ¶
type BuildResult ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func (*Builder) SaveBuildResults ¶
func (b *Builder) SaveBuildResults(r BuildResult) error
type BuilderConfig ¶
type BuilderConfig struct { Image string ContainerRegistryService containerregistries.IContainerRegistryService ServerConfigFolder string ContainerRegistryServer string // Namespace to be used when tagging and pushing the build image BuildImageNamespace string BasePath string LoggerFactory logs.LoggerFactory DefaultProjectImage string DefaultProjectUser string DefaultProjectPostStartCommands []string }
type BuilderFactory ¶
type BuilderFactory struct {
// contains filtered or unexported fields
}
func (*BuilderFactory) CheckExistingBuild ¶
func (f *BuilderFactory) CheckExistingBuild(p workspace.Project) (*BuildResult, error)
func (*BuilderFactory) Create ¶
func (f *BuilderFactory) Create(p workspace.Project, gpc *gitprovider.GitProviderConfig) (IBuilder, error)
type DevcontainerBuilder ¶
type DevcontainerBuilder struct { *Builder // contains filtered or unexported fields }
func (*DevcontainerBuilder) Build ¶
func (b *DevcontainerBuilder) Build() (*BuildResult, error)
func (*DevcontainerBuilder) CleanUp ¶
func (b *DevcontainerBuilder) CleanUp() error
func (*DevcontainerBuilder) Publish ¶
func (b *DevcontainerBuilder) Publish() error
type IBuilder ¶
type IBuilder interface { Build() (*BuildResult, error) CleanUp() error Publish() error SaveBuildResults(r BuildResult) error }
type IBuilderFactory ¶
type IBuilderFactory interface { Create(p workspace.Project, gpc *gitprovider.GitProviderConfig) (IBuilder, error) CheckExistingBuild(p workspace.Project) (*BuildResult, error) }
func NewBuilderFactory ¶
func NewBuilderFactory(config BuilderConfig) IBuilderFactory
Click to show internal directories.
Click to hide internal directories.