Documentation
¶
Index ¶
- func CommitChanges(tmpDir string, wt *gogit.Worktree, commitMsg string) (changed bool, err error)
- func CommitDeleteChanges(tmpDir string, wt *gogit.Worktree, commitMsg string) (changed bool, err error)
- func CopyManifests(wt *gogit.Worktree, fs embed.FS, root string, mgmtPath string) error
- func CopyPatchManifests(wt *gogit.Worktree, filePath string, clusterPath string, baseRepoUrl string, ...) error
- func ProcessBundles(wt *gogit.Worktree, clusterName string, repoUrl string, mgmtPath string, ...) error
- type AppSettings
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
}
Click to show internal directories.
Click to hide internal directories.