Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Helm ¶
type Helm interface {
Install(in *InstallOptions) error
}
Helm represents helm.
func NewShellClient ¶
func NewShellClient(cfg config.Config, opts *ShellClientOptions) (Helm, error)
NewShellClient return new ShellClient.
type InstallOptions ¶
type InstallOptions struct { Release string Target string TargetType config.TargetType KubernetesClient *kubernetes.Clientset }
InstallOptions contains arguments for Install method.
func NewInstallOptions ¶
func NewInstallOptions() *InstallOptions
NewInstallOptions creates new InstallOptions object.
type ShellClient ¶
type ShellClient struct {
// contains filtered or unexported fields
}
ShellClient implements Helm as a shell call to helm binary client.
func (*ShellClient) Install ¶
func (sc *ShellClient) Install(in *InstallOptions) error
Install installs release or releases from config.
type ShellClientOptions ¶
type ShellClientOptions struct { // Run in debug mode. Debug bool // Use helm diff plugin. Diff bool // Enable dry run mode. DryRun bool // Set logger. Logger *logrus.Logger // If true repositories adding will be skipped. SkipRepositories bool // If true scripts running will be skipped. SkipScripts bool // Path to sops config file. SopsConfig string // Allow scripts running in dry run mode. WithScripts bool // Helm binary path HelmPath string }
ShellClientOptions contains options for ShellClient.
func NewShellClientOptions ¶
func NewShellClientOptions(logger *logrus.Logger) *ShellClientOptions
NewShellClientOptions creates new ShellClientOptions object.
Click to show internal directories.
Click to hide internal directories.