types

package
v1.120.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2024 License: Apache-2.0 Imports: 5 Imported by: 7

Documentation

Index

Constants

View Source
const BackupLabel = "kots.io/backup"
View Source
const BackupLabelValue = "velero"
View Source
const ClusterSpecificSupportBundleSpecKey = "cluster-specific"
View Source
const ClusterTokenSecret = "kotsadm-cluster-token"
View Source
const DefaultSupportBundleSpecKey = "default"
View Source
const DisasterRecoveryChartLabel = "replicated.com/disaster-recovery-chart"
View Source
const DisasterRecoveryChartValue = "admin-console"
View Source
const DisasterRecoveryLabel = "replicated.com/disaster-recovery"
View Source
const DisasterRecoveryLabelValueApp = "app"
View Source
const DisasterRecoveryLabelValueInfra = "infra"
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"
View Source
const TroubleshootKey = "troubleshoot.sh/kind"
View Source
const TroubleshootValue = "support-bundle"
View Source
const VendorSpecificSupportBundleSpecKey = "vendor"

Variables

This section is empty.

Functions

func GetKotsadmLabels

func GetKotsadmLabels(additionalLabels ...map[string]string) map[string]string

func GetTroubleshootLabels added in v1.93.0

func GetTroubleshootLabels(additionalLabels ...map[string]string) map[string]string

func MergeLabels added in v1.93.0

func MergeLabels(labels ...map[string]string) map[string]string

Types

type DeployOptions

type DeployOptions struct {
	Namespace              string
	Context                string
	SharedPassword         string
	SharedPasswordBcrypt   string
	S3AccessKey            string
	S3SecretKey            string
	JWT                    string
	RqlitePassword         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
	AirgapBundle           string
	AppImagesPushed        bool
	ProgressWriter         io.Writer
	IncludeMinio           bool
	IncludeMinioSnapshots  bool
	MigrateToMinioXl       bool
	CurrentMinioImage      string
	Timeout                time.Duration
	PreflightsTimeout      time.Duration
	StorageClassName       string
	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
	IsGKEAutopilot         bool
	RequestedChannelSlug   string
	AdditionalAnnotations  map[string]string
	AdditionalLabels       map[string]string
	PrivateCAsConfigmap    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 Metadata

type Metadata struct {
	IsAirgap          bool
	IsKurl            bool
	IsEmbeddedCluster bool
}

type RegistryConfig

type RegistryConfig struct {
	OverrideVersion   string
	OverrideRegistry  string
	OverrideNamespace string
	Username          string
	Password          string
	IsReadOnly        bool
}

type RestoreJobOptions

type RestoreJobOptions struct {
	BackupName string
}

type UpgradeOptions

type UpgradeOptions struct {
	Namespace             string
	ForceUpgradeKurl      bool
	Timeout               time.Duration
	EnsureRBAC            bool
	StrictSecurityContext *bool
	SimultaneousUploads   int
	IncludeMinio          bool

	RegistryConfig RegistryConfig
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL