Documentation ¶
Index ¶
- type AccountValidator
- type Git
- func (g Git) AddWorktree(path string, ref string) error
- func (g Git) FileExistsOnBranch(file string, remote string, branch string) bool
- func (g Git) GetUrlForRemote(remote string) (string, error)
- func (g Git) ListChangedFilesInDirs(commit string, dirs ...string) ([]string, error)
- func (g Git) MergeBase(commit1 string, commit2 string) (string, error)
- func (g Git) RemoveWorktree(path string) error
- func (g Git) Show(file string, remote string, branch string) (string, error)
- func (g Git) ValidateRepository() error
- type Helm
- func (h Helm) AddRepo(name string, url string, extraArgs []string) error
- func (h Helm) BuildDependencies(chart string) error
- func (h Helm) DeleteRelease(release string)
- func (h Helm) Init() error
- func (h Helm) InstallWithValues(chart string, valuesFile string, namespace string, release string) error
- func (h Helm) LintWithValues(chart string, valuesFile string) error
- func (h Helm) Test(release string, cleanup bool) error
- func (h Helm) Upgrade(chart string, release string) error
- type Kubectl
- func (k Kubectl) DeleteNamespace(namespace string)
- func (k Kubectl) DescribePod(namespace string, pod string) error
- func (k Kubectl) GetContainers(namespace string, pod string) ([]string, error)
- func (k Kubectl) GetEvents(namespace string) error
- func (k Kubectl) GetInitContainers(namespace string, pod string) ([]string, error)
- func (k Kubectl) GetPods(args ...string) ([]string, error)
- func (k Kubectl) GetPodsforDeployment(namespace string, deployment string) ([]string, error)
- func (k Kubectl) Logs(namespace string, pod string, container string) error
- func (k Kubectl) WaitForDeployments(namespace string, selector string) error
- type Linter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountValidator ¶
type AccountValidator struct{}
func (AccountValidator) Validate ¶
func (v AccountValidator) Validate(repoURL string, account string) error
type Git ¶
type Git struct {
// contains filtered or unexported fields
}
func NewGit ¶
func NewGit(exec exec.ProcessExecutor) Git
func (Git) FileExistsOnBranch ¶
func (Git) ListChangedFilesInDirs ¶
type Helm ¶
type Helm struct {
// contains filtered or unexported fields
}
func NewHelm ¶
func NewHelm(exec exec.ProcessExecutor, extraArgs []string) Helm
func (Helm) InstallWithValues ¶
type Kubectl ¶
type Kubectl struct {
// contains filtered or unexported fields
}
func NewKubectl ¶
func NewKubectl(exec exec.ProcessExecutor) Kubectl
func (Kubectl) DeleteNamespace ¶
DeleteNamespace deletes the specified namespace. If the namespace does not terminate within 120s, pods running in the namespace and, eventually, the namespace itself are force-deleted.
func (Kubectl) GetContainers ¶
func (Kubectl) GetInitContainers ¶
func (Kubectl) GetPodsforDeployment ¶
type Linter ¶
type Linter struct {
// contains filtered or unexported fields
}
func NewLinter ¶
func NewLinter(exec exec.ProcessExecutor) Linter
Click to show internal directories.
Click to hide internal directories.