Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeploySource ¶
type Provider ¶
type Provider interface { Revision() string Get(ctx context.Context, logWriter io.Writer) (*DeploySource, error) GetReadOnly(ctx context.Context, logWriter io.Writer) (*DeploySource, error) }
func NewProvider ¶
func NewProvider( workingDir string, cloner SourceCloner, appGitPath model.ApplicationGitPath, sd secretDecrypter, ) Provider
type SourceCloner ¶
type SourceCloner interface { Clone(ctx context.Context, dest string) error Revision() string RevisionName() string }
func NewGitSourceCloner ¶
func NewGitSourceCloner(gc gitClient, cfg config.PipedRepository, revisionName, revision string) SourceCloner
func NewLocalSourceCloner ¶
func NewLocalSourceCloner(repo git.Repo, revisionName, revision string) SourceCloner
Click to show internal directories.
Click to hide internal directories.