Documentation ¶
Index ¶
- func CreateBackups(ctx context.Context, logger logrus.FieldLogger, opt *Options) error
- func DuplicateResources(ctx context.Context, logger logrus.FieldLogger, opt *Options) error
- func InstallCRDs(ctx context.Context, logger logrus.FieldLogger, opt *Options) error
- func PerformPreflightChecks(ctx context.Context, logger logrus.FieldLogger, opt *Options) error
- func RemoveOldResources(ctx context.Context, logger logrus.FieldLogger, opt *Options) error
- func ShutdownControllers(ctx context.Context, logger logrus.FieldLogger, opt *Options) error
- type Kind
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBackups ¶
func DuplicateResources ¶
func InstallCRDs ¶
func PerformPreflightChecks ¶
func RemoveOldResources ¶
func ShutdownControllers ¶
Types ¶
type Kind ¶
type Kind struct { // Name is the name of the Kind, e.g. "Cluster" Name string // Namespaced is true if the Kind is namespaced. Namespaced bool // MasterCluster is true if resources of this kind exist on master clusters. MasterCluster bool // SeedCluster is true if resources of this kind exist on seed clusters; // this includes resources that are just mirrored into seeds, like Users, of which the // primary resource lives on the master. SeedCluster bool }
type Options ¶
type Options struct { KubermaticNamespace string // KubermaticConfiguration is the current configuration from the cluster, // but not defaulted because the defaulting code is rewritten for the new // API group already. Beware. KubermaticConfiguration *operatorv1alpha1.KubermaticConfiguration MasterClient ctrlruntimeclient.Client Seeds map[string]*kubermaticv1.Seed SeedClients map[string]ctrlruntimeclient.Client ChartsDirectory string EtcdTimeout time.Duration CheckRunning bool }
Click to show internal directories.
Click to hide internal directories.