Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMissingName = errors.New("backup: missing namespace or name")
View Source
var PlatformSecretNames = []string{"loft-cert", "loft-network-control-key", "loft-license-cache"}
PlatformSecretNames are the platform's identity Secrets. They are created once at first start and cannot be regenerated without consequences: loft-cert (license instance identity, OIDC signing key, token CA), loft-network-control-key (coordinator key every connected vCluster's tunnel is bound to) and loft-license-cache (last license; gives the 7-day grace period if the license server is unreachable).
Functions ¶
func All ¶
func All(ctx context.Context, client clientpkg.Client, platformNamespace string, skip []string, infoFn LogFn) ([]runtime.Object, []error)
All backs up the platform management plane. platformNamespace is the namespace the platform is installed into; it is only used to find the platform Secrets (skip "platformsecrets" to leave them out).
Types ¶
Click to show internal directories.
Click to hide internal directories.