bucket

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: 20 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"`
	ServiceAccountJSON         *secret.Secret   `yaml:"serviceAccountJSON,omitempty"`
	ExistingServiceAccountJSON *secret.Existing `yaml:"existingServiceAccountJSON,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