Documentation
¶
Index ¶
- func Diff(text1, text2 string) (string, error)
- func Exists(name string) bool
- func KustomizationExists(path string) bool
- func ListKustomizeDirs(dirPath string, opts ListKustomizeDirsOpts) ([]string, error)
- func MakeKustomizeDir(dirPath string) error
- type CommandError
- type GitDir
- func (gd *GitDir) Apply(patch string) error
- func (gd *GitDir) Checkout(target string) error
- func (gd *GitDir) Clone(dstDirPath string) (*GitDir, error)
- func (gd *GitDir) CloneAndCheckout(dirPath, commit string) (*GitDir, error)
- func (gd *GitDir) CommitHash(target string) (string, error)
- func (gd *GitDir) CopyConfig(targetGitDir *GitDir) error
- func (gd *GitDir) CurrentBranch() (string, error)
- func (gd *GitDir) Diff(target string) (string, error)
- func (gd *GitDir) Fetch() error
- func (gd *GitDir) GetRootDir() (string, error)
- func (gd *GitDir) Merge(target string) error
- func (gd *GitDir) SetUser() error
- type ListKustomizeDirsOpts
- type WithCause
- type WithFormat
- type WorkDir
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KustomizationExists ¶
func ListKustomizeDirs ¶
func ListKustomizeDirs(dirPath string, opts ListKustomizeDirsOpts) ([]string, error)
func MakeKustomizeDir ¶
Types ¶
type CommandError ¶
func (*CommandError) Cause ¶
func (ce *CommandError) Cause() error
func (*CommandError) Error ¶
func (ce *CommandError) Error() string
func (*CommandError) ExitCode ¶
func (ce *CommandError) ExitCode() *int
type GitDir ¶
type GitDir struct {
WorkDir WorkDir
}
func (*GitDir) CloneAndCheckout ¶
func (*GitDir) CopyConfig ¶
func (*GitDir) CurrentBranch ¶
func (*GitDir) GetRootDir ¶
type ListKustomizeDirsOpts ¶
type WithFormat ¶
Click to show internal directories.
Click to hide internal directories.