gitutils

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2022 License: Apache-2.0 Imports: 16 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) (changed bool, err error)

func CopyManifests

func CopyManifests(wt *gogit.Worktree, fs embed.FS, root string, mgmtPath 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
JackTT - Gopher 🇻🇳