Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitBuildContext ¶
type GitBuildContext struct { // context contains build context context.GitBuildContext }
GitBuildContext defines a build context from a git repository
func NewGitBuildContext ¶
func NewGitBuildContext() *GitBuildContext
NewGitBuildContext creates a new git build context
func (*GitBuildContext) WithAuth ¶
func (c *GitBuildContext) WithAuth(auth gitauth.GitAuther)
WithAuth sets the authentication
func (*GitBuildContext) WithPath ¶
func (c *GitBuildContext) WithPath(path string)
WithPath sets the path inside the repository where is located the context
func (*GitBuildContext) WithReference ¶
func (c *GitBuildContext) WithReference(reference string)
WithReference sets the reference
func (*GitBuildContext) WithRepository ¶
func (c *GitBuildContext) WithRepository(repository string)
WithRepository sets the repository
type MockGitBuildContext ¶
MockGitBuildContext defines a build context from a git repository
func NewMockGitBuildContext ¶
func NewMockGitBuildContext() *MockGitBuildContext
NewMockGitBuildContext creates a new git build context
func (*MockGitBuildContext) WithAuth ¶
func (c *MockGitBuildContext) WithAuth(auth gitauth.GitAuther)
WithAuth sets the authentication
func (*MockGitBuildContext) WithPath ¶
func (c *MockGitBuildContext) WithPath(path string)
WithPath sets the path inside the repository where is located the context
func (*MockGitBuildContext) WithReference ¶
func (c *MockGitBuildContext) WithReference(reference string)
WithReference sets the reference
func (*MockGitBuildContext) WithRepository ¶
func (c *MockGitBuildContext) WithRepository(repository string)
WithRepository sets the repository
Click to show internal directories.
Click to hide internal directories.