gitutils

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommitChanges

func CommitChanges(tmpDir string, wt *gogit.Worktree, commitMsg string) (changed bool, err error)

func CommitDeleteChanges added in v0.10.0

func CommitDeleteChanges(tmpDir string, wt *gogit.Worktree, commitMsg string) (changed bool, err error)

func CopyManifests

func CopyManifests(wt *gogit.Worktree, fs embed.FS, root string, mgmtPath string) error

func CopyPatchManifests added in v0.10.0

func CopyPatchManifests(wt *gogit.Worktree, filePath string, clusterPath string,
	baseRepoUrl string, baseRepoPath string, baseRepoRevision string) error

func ProcessBundles

func ProcessBundles(
	wt *gogit.Worktree,
	clusterName string,
	repoUrl string,
	mgmtPath string,
	workloadPath string,
	bundles []bundle.Bundle,
	overrides common.KVPairMap,
) error

Types

type AppSettings

type AppSettings struct {
	AppName              string
	ClusterName          string
	RepoUrl              string
	RepoPath             string
	RepoRevision         string
	SrcType              string
	AppNamespace         string
	DestinationNamespace string
	Overrides            []common.KVPair
}

Jump to

Keyboard shortcuts

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