Documentation
¶
Index ¶
- type GitApiRepoImpl
- type GitGeneratorImpl
- func (g *GitGeneratorImpl) Cleanup(ctx context.Context) error
- func (g *GitGeneratorImpl) CloneSourceRepo(ctx context.Context, gitRepoUrl string, gitBranch string, ...) (api.GitApiRepo, error)
- func (g *GitGeneratorImpl) CloneTargetRepo(ctx context.Context, gitRepoUrl string, gitBranch string, baseBranch string, ...) (api.GitApiRepo, error)
- func (g *GitGeneratorImpl) CommitAndPush(ctx context.Context, name string, email string, message string, ...) error
- func (g *GitGeneratorImpl) CreateTemporaryWorkdir(ctx context.Context, basePath string) error
- func (g *GitGeneratorImpl) DeleteRenderSpecFile(ctx context.Context) error
- func (g *GitGeneratorImpl) Generate(ctx context.Context) (*genlibapi.Response, error)
- func (g *GitGeneratorImpl) PrepareTargetRepo(ctx context.Context, gitRepoUrl string, gitBranch string, ...) (api.GitApiRepo, error)
- func (g *GitGeneratorImpl) WriteRenderSpecFile(ctx context.Context, generatorName string, renderSpecFile string, ...) (*genlibapi.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitApiRepoImpl ¶
type GitApiRepoImpl struct {
// contains filtered or unexported fields
}
func (*GitApiRepoImpl) GetLocalPath ¶
func (this *GitApiRepoImpl) GetLocalPath() string
type GitGeneratorImpl ¶
type GitGeneratorImpl struct {
// contains filtered or unexported fields
}
func (*GitGeneratorImpl) CloneSourceRepo ¶
func (g *GitGeneratorImpl) CloneSourceRepo(ctx context.Context, gitRepoUrl string, gitBranch string, auth transport.AuthMethod) (api.GitApiRepo, error)
func (*GitGeneratorImpl) CloneTargetRepo ¶
func (g *GitGeneratorImpl) CloneTargetRepo(ctx context.Context, gitRepoUrl string, gitBranch string, baseBranch string, auth transport.AuthMethod) (api.GitApiRepo, error)
func (*GitGeneratorImpl) CommitAndPush ¶
func (g *GitGeneratorImpl) CommitAndPush(ctx context.Context, name string, email string, message string, auth transport.AuthMethod) error
func (*GitGeneratorImpl) CreateTemporaryWorkdir ¶
func (g *GitGeneratorImpl) CreateTemporaryWorkdir(ctx context.Context, basePath string) error
func (*GitGeneratorImpl) DeleteRenderSpecFile ¶ added in v2.2.0
func (g *GitGeneratorImpl) DeleteRenderSpecFile(ctx context.Context) error
func (*GitGeneratorImpl) PrepareTargetRepo ¶
func (g *GitGeneratorImpl) PrepareTargetRepo(ctx context.Context, gitRepoUrl string, gitBranch string, auth transport.AuthMethod) (api.GitApiRepo, error)
Click to show internal directories.
Click to hide internal directories.