s3

package
v1.87.5 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdaptFunc

func AdaptFunc(
	name string,
	namespace string,
	componentLabels *labels.Component,
	checkDBReady operator.EnsureFunc,
	timestamp string,
	nodeselector map[string]string,
	tolerations []corev1.Toleration,
	version string,
	dbConn db.Connection,
	features []string,
	customImageRegistry string,
) operator.AdaptFunc

func BackupList

func BackupList() core.BackupListFunc

Types

type DesiredV0

type DesiredV0 struct {
	Common *tree.Common `yaml:",inline"`
	Spec   *Spec
}

func ParseDesiredV0

func ParseDesiredV0(desiredTree *tree.Tree) (*DesiredV0, error)

type Spec

type Spec struct {
	Verbose                 bool
	Cron                    string           `yaml:"cron,omitempty"`
	Bucket                  string           `yaml:"bucket,omitempty"`
	Endpoint                string           `yaml:"endpoint,omitempty"`
	Region                  string           `yaml:"region,omitempty"`
	AccessKeyID             *secret.Secret   `yaml:"accessKeyID,omitempty"`
	ExistingAccessKeyID     *secret.Existing `yaml:"existingAccessKeyID,omitempty"`
	SecretAccessKey         *secret.Secret   `yaml:"secretAccessKey,omitempty"`
	ExistingSecretAccessKey *secret.Existing `yaml:"existingSecretAccessKey,omitempty"`
	SessionToken            *secret.Secret   `yaml:"sessionToken,omitempty"`
	ExistingSessionToken    *secret.Existing `yaml:"existingSessionToken,omitempty"`
}

func (*Spec) IsZero

func (s *Spec) IsZero() bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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