types

package
v1.22.3 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2020 License: Apache-2.0 Imports: 7 Imported by: 7

Documentation

Index

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

func GetKotsadmLabels

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

Types

type DeployOptions

type DeployOptions struct {
	Namespace                 string
	KubernetesConfigFlags     *genericclioptions.ConfigFlags
	Context                   string
	SharedPassword            string
	SharedPasswordBcrypt      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
	Airgap                    bool
	AirgapRootDir             string
	AppImagesPushed           bool
	ProgressWriter            io.Writer
	StorageBaseURI            string
	StorageBaseURIPlainHTTP   bool
	IncludeMinio              bool
	IncludeDockerDistribution bool
	Timeout                   time.Duration
	HTTPProxyEnvValue         string
	HTTPSProxyEnvValue        string
	NoProxyEnvValue           string
	ExcludeAdminConsole       bool
	EnsureKotsadmConfig       bool

	KotsadmOptions KotsadmOptions
}

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 ImageFile

type ImageFile struct {
	Format      string
	Status      string
	Error       string
	FilePath    string
	Layers      map[string]*LayerInfo
	FileSize    int64
	UploadStart time.Time
	UploadEnd   time.Time
}

type KotsadmOptions added in v1.17.0

type KotsadmOptions struct {
	OverrideVersion   string
	OverrideRegistry  string
	OverrideNamespace string
	Username          string
	Password          string
}

type LayerInfo

type LayerInfo struct {
	ID          string
	Size        int64
	UploadStart time.Time
	UploadEnd   time.Time
}

type PushImagesOptions

type PushImagesOptions struct {
	Registry       registry.RegistryOptions
	Log            *logger.Logger
	ProgressWriter io.Writer
	LogForUI       bool
}

type RestoreJobOptions

type RestoreJobOptions struct {
	BackupName string
}

type UpgradeOptions

type UpgradeOptions struct {
	Namespace             string
	KubernetesConfigFlags *genericclioptions.ConfigFlags
	ForceUpgradeKurl      bool
	Timeout               time.Duration

	KotsadmOptions KotsadmOptions
}

Jump to

Keyboard shortcuts

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