Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerBuildContextFactory ¶
type DockerBuildContextFactory struct {
// contains filtered or unexported fields
}
DockerBuildContextFactory is a factory for docker build context
func NewDockerBuildContextFactory ¶
func NewDockerBuildContextFactory(gitAuth GitAuthFactorier) *DockerBuildContextFactory
NewDockerBuildContextFactory returns a new DockerBuildContextFactory
func (*DockerBuildContextFactory) GenerateDockerBuildContext ¶
func (f *DockerBuildContextFactory) GenerateDockerBuildContext(options *builder.DockerDriverContextOptions) (DockerBuildContexter, error)
GenerateDockerBuildContext returns the docker build context
type DockerBuildContexter ¶
type DockerBuildContexter interface {
GenerateContextFilesystem() (*filesystem.ContextFilesystem, error)
}
DockerBuildContexter defines a docker build context entity
type GitAuthFactorier ¶
type GitAuthFactorier interface {
GenerateAuthMethod(*builder.DockerDriverGitContextAuthOptions) (gitauth.GitAuther, error)
}
GitAuthFactorier is an interface for git authentication
Click to show internal directories.
Click to hide internal directories.