Documentation ¶
Index ¶
- Constants
- func GetKotsadmLabels(additionalLabels ...map[string]string) map[string]string
- type DeployOptions
- type ErrorAppsRestore
- type ErrorTimeout
- type ImageInfo
- type LayerInfo
- type Metadata
- type PushAppImageOptions
- type PushImagesOptions
- type RegistryConfig
- type RestoreJobOptions
- type UpgradeOptions
Constants ¶
View Source
const BackupLabel = "kots.io/backup"
View Source
const BackupLabelValue = "velero"
View Source
const ClusterTokenSecret = "kotsadm-cluster-token"
View Source
const ExcludeKey = "velero.io/exclude-from-backup"
View Source
const ExcludeValue = "true"
View Source
const KotsadmConfigMap = "kotsadm-confg"
View Source
const KotsadmKey = "kots.io/kotsadm"
View Source
const KotsadmLabelValue = "true"
View Source
const PrivateKotsadmRegistrySecret = "kotsadm-private-registry"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DeployOptions ¶
type DeployOptions struct { Namespace string Context string S3AccessKey string S3SecretKey string JWT string PostgresPassword string APIEncryptionKey string AutoCreateClusterToken string ServiceType string NodePort int32 ApplicationMetadata []byte LimitRange *corev1.LimitRange IsOpenShift bool License *kotsv1beta1.License ConfigValues *kotsv1beta1.ConfigValues AppVersionLabel string Airgap bool AirgapRootDir string AirgapBundle string AppImagesPushed bool ProgressWriter io.Writer IncludeMinio bool IncludeMinioSnapshots bool Timeout time.Duration PreflightsTimeout time.Duration HTTPProxyEnvValue string HTTPSProxyEnvValue string NoProxyEnvValue string ExcludeAdminConsole bool EnsureKotsadmConfig bool SkipPreflights bool SkipCompatibilityCheck bool EnsureRBAC bool SkipRBACCheck bool UseMinimalRBAC bool StrictSecurityContext bool InstallID string SimultaneousUploads int DisableImagePush bool UpstreamURI string IsMinimalRBAC bool AdditionalNamespaces []string IdentityConfig kotsv1beta1.IdentityConfig IngressConfig kotsv1beta1.IngressConfig RegistryConfig RegistryConfig }
type ErrorAppsRestore ¶
type ErrorAppsRestore struct {
Message string
}
func (*ErrorAppsRestore) Error ¶
func (e *ErrorAppsRestore) Error() string
type ErrorTimeout ¶
type ErrorTimeout struct {
Message string
}
func (*ErrorTimeout) Error ¶
func (e *ErrorTimeout) Error() string
type PushAppImageOptions ¶ added in v1.82.0
type PushAppImageOptions struct { ImageID string ImageInfo *ImageInfo Log *logger.CLILogger LogForUI bool ReportWriter io.Writer CopyImageOptions imagetypes.CopyImageOptions }
type PushImagesOptions ¶
type PushImagesOptions struct { Registry registrytypes.RegistryOptions KotsadmTag string Log *logger.CLILogger ProgressWriter io.Writer LogForUI bool }
type RegistryConfig ¶
type RestoreJobOptions ¶
type RestoreJobOptions struct {
BackupName string
}
Click to show internal directories.
Click to hide internal directories.