Versions in this module Expand all Collapse all v0 v0.4.24 Oct 8, 2019 Changes in this version + const BackupPreviousErase + const BackupPreviousFail + const BackupPreviousMerge + const TimeoutDefault + func Backup(config *rest.Config, mode int) error + func CRDCRD(config *rest.Config) error + func CheckRequirements(config *rest.Config) error + func DeleteBackup(config *rest.Config) error + func Do(ctx context.Context, config *rest.Config, options ...InstallerOption) error + func DryRun(config *rest.Config) (map[string]error, error) + func HasBackupCRD(config *rest.Config) (bool, error) + func IsErrImagePull(reason string) bool + func IsRunning(config *rest.Config) (bool, error) + func Restore(baseConfig *rest.Config, impersonate bool) (map[string]error, error) + func Safe(ctx context.Context, config *rest.Config, options SafeOptions) error + func Uninstall(config *rest.Config, namespace string, keepCRD bool) error + func UninstallCRD(config *rest.Config) error + func UninstallComposeAPIServer(config *rest.Config, namespace string) error + func UninstallComposeCRD(config *rest.Config, namespace string) error + func Unsafe(ctx context.Context, config *rest.Config, options UnsafeOptions) error + func Update(config *rest.Config, namespace, tag string, abortOnError bool) (map[string]error, error) + func WaitForUninstallCompletion(ctx context.Context, config *rest.Config, namespace string, skipCRD bool) error + func WaitNPods(config *rest.Config, namespace string, count int, timeout time.Duration) error + type EtcdOptions struct + ClientTLSBundle *TLSBundle + Servers string + type InstallerOption func(*installer) + func WithAPIServerImage(image string) InstallerOption + func WithControllerImage(image string) InstallerOption + func WithControllerOnly() InstallerOption + func WithCustomStatusMatch(match func(Status) bool) InstallerOption + func WithExpiresOffset(d time.Duration) InstallerOption + func WithObjectFilter(filter RuntimeObjectFilter) InstallerOption + func WithSafe(o SafeOptions) InstallerOption + func WithUnsafe(o UnsafeOptions) InstallerOption + func WithoutController() InstallerOption + type NetworkOptions struct + CustomTLSBundle *TLSBundle + Port int32 + ShouldUseHost bool + type OptionsCommon struct + APIServerAffinity *corev1types.Affinity + APIServerReplicas *int32 + ControllerAffinity *corev1types.Affinity + DefaultServiceType string + HealthzCheckPort int + Namespace string + PullPolicy corev1types.PullPolicy + PullSecret string + ReconciliationInterval time.Duration + Tag string + type RuntimeObjectFilter func(runtime.Object) (bool, error) + type SafeOptions struct + Etcd EtcdOptions + Network NetworkOptions + type Status struct + APIServiceAnnotations map[string]string + APIServiceImage string + APIServiceLabels map[string]string + ControllerImage string + ControllerLabels map[string]string + DefaultServiceType string + IsCrdPresent bool + IsInstalled bool + Namespace string + Tag string + func GetInstallStatus(config *rest.Config) (Status, error) + type TLSBundle struct + func NewTLSBundle(ca, cert, key []byte) (*TLSBundle, error) + type UnsafeOptions struct + Coverage bool + Debug bool