Documentation ¶
Index ¶
- func Diff(text1, text2 string) (string, error)
- func Exists(name string) bool
- func GetExitCode(err error) *int
- 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) RunGitCommand(args ...string) (string, string, error)
- func (gd *GitDir) SetUser() error
- type ListKustomizeDirsOpts
- type WithCause
- type WorkDir
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetExitCode ¶ added in v0.1.2
func KustomizationExists ¶
func ListKustomizeDirs ¶
func ListKustomizeDirs(dirPath string, opts ListKustomizeDirsOpts) ([]string, error)
func MakeKustomizeDir ¶
Types ¶
type CommandError ¶
func (*CommandError) Error ¶
func (ce *CommandError) Error() string
type GitDir ¶
func (*GitDir) CloneAndCheckout ¶
func (*GitDir) CopyConfig ¶
func (*GitDir) CurrentBranch ¶
func (*GitDir) GetRootDir ¶
func (*GitDir) RunGitCommand ¶ added in v0.1.1
type ListKustomizeDirsOpts ¶
Click to show internal directories.
Click to hide internal directories.