implementation

package
v2.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

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) Cleanup

func (g *GitGeneratorImpl) Cleanup(ctx context.Context) error

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) Generate

func (g *GitGeneratorImpl) Generate(ctx context.Context) (*genlibapi.Response, error)

func (*GitGeneratorImpl) PrepareTargetRepo

func (g *GitGeneratorImpl) PrepareTargetRepo(ctx context.Context, gitRepoUrl string, gitBranch string, auth transport.AuthMethod) (api.GitApiRepo, error)

func (*GitGeneratorImpl) WriteRenderSpecFile

func (g *GitGeneratorImpl) WriteRenderSpecFile(ctx context.Context, generatorName string, renderSpecFile string, parameters map[string]interface{}) (*genlibapi.Response, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL