backup

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Annotations

type Annotations map[string]string

func (Annotations) DeepCopy

func (in Annotations) DeepCopy() Annotations

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Annotations.

func (Annotations) DeepCopyInto

func (in Annotations) DeepCopyInto(out *Annotations)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BackupStorageLocation

type BackupStorageLocation struct {
	Name     string                      `json:"name"`
	Provider Provider                    `json:"provider"`
	Bucket   string                      `json:"bucket"`
	Prefix   string                      `json:"prefix"`
	Config   BackupStorageLocationConfig `json:"config,omitempty"`
}

func (*BackupStorageLocation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupStorageLocation.

func (*BackupStorageLocation) DeepCopyInto

func (in *BackupStorageLocation) DeepCopyInto(out *BackupStorageLocation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BackupStorageLocationConfig

type BackupStorageLocationConfig struct {
	Region                  string `json:"region,omitempty"`
	Profile                 string `json:"profile,omitempty"`
	S3ForcePathStyle        string `json:"s3ForcePathStyle,omitempty"`
	S3Url                   string `json:"s3Url,omitempty"`
	KMSKeyId                string `json:"kmsKeyId,omitempty"`
	ResourceGroup           string `json:"resourceGroup,omitempty"`
	StorageAccount          string `json:"storageAccount,omitempty"`
	StorageAccountKeyEnvVar string `json:"storageAccountKeyEnvVar,omitempty"`
}

func (*BackupStorageLocationConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupStorageLocationConfig.

func (*BackupStorageLocationConfig) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Configuration

type Configuration struct {
	Provider               Provider               `json:"provider"`
	VolumeSnapshotLocation VolumeSnapshotLocation `json:"volumeSnapshotLocation"`
	BackupStorageLocation  BackupStorageLocation  `json:"backupStorageLocation"`
	RestoreOnlyMode        bool                   `json:"restoreOnlyMode"`
	LogLevel               string                 `json:"logLevel"`
}

func (*Configuration) DeepCopy

func (in *Configuration) DeepCopy() *Configuration

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Configuration.

func (*Configuration) DeepCopyInto

func (in *Configuration) DeepCopyInto(out *Configuration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Credentials

type Credentials struct {
	ExistingSecret string `json:"existingSecret"`
}

func (*Credentials) DeepCopy

func (in *Credentials) DeepCopy() *Credentials

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Credentials.

func (*Credentials) DeepCopyInto

func (in *Credentials) DeepCopyInto(out *Credentials)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Image

type Image struct {
	Repository string `json:"repository"`
	Tag        string `json:"tag"`
	PullPolicy string `json:"pullPolicy"`
}

func (*Image) DeepCopy

func (in *Image) DeepCopy() *Image

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image.

func (*Image) DeepCopyInto

func (in *Image) DeepCopyInto(out *Image)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Provider

type Provider string
const AWSProvider Provider = "aws"
const AzureProvider Provider = "azure"
const GCPProvider Provider = "gcp"

type Rbac

type Rbac struct {
	Create bool `json:"create"`
}

func (*Rbac) DeepCopy

func (in *Rbac) DeepCopy() *Rbac

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rbac.

func (*Rbac) DeepCopyInto

func (in *Rbac) DeepCopyInto(out *Rbac)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SecurityContext

type SecurityContext struct {
	FsGroup int `json:"fsGroup"`
}

func (*SecurityContext) DeepCopy

func (in *SecurityContext) DeepCopy() *SecurityContext

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityContext.

func (*SecurityContext) DeepCopyInto

func (in *SecurityContext) DeepCopyInto(out *SecurityContext)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Server

type Server struct {
	Create bool   `json:"create"`
	Name   string `json:"name,omitempty"`
	// +optional
	Annotations map[string]string `json:"annotations,omitempty"`
}

func (*Server) DeepCopy

func (in *Server) DeepCopy() *Server

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Server.

func (*Server) DeepCopyInto

func (in *Server) DeepCopyInto(out *Server)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceAccount

type ServiceAccount struct {
	Server Server `json:"server"`
}

func (*ServiceAccount) DeepCopy

func (in *ServiceAccount) DeepCopy() *ServiceAccount

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccount.

func (*ServiceAccount) DeepCopyInto

func (in *ServiceAccount) DeepCopyInto(out *ServiceAccount)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceSpec

type ServiceSpec struct {
	ChartValues ValueOverrides `json:"chartValues"`
}

func BindIntegratedServiceSpec

func BindIntegratedServiceSpec(spec map[string]interface{}) (ServiceSpec, error)

func (*ServiceSpec) DeepCopy

func (in *ServiceSpec) DeepCopy() *ServiceSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSpec.

func (*ServiceSpec) DeepCopyInto

func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (ServiceSpec) Validate

func (s ServiceSpec) Validate() error

type ValueOverrides

type ValueOverrides struct {
	Configuration   Configuration   `json:"configuration"`
	Credentials     Credentials     `json:"credentials"`
	RBAC            Rbac            `json:"rbac"`
	CleanUpCRDs     bool            `json:"cleanUpCRDs"`
	ServiceAccount  ServiceAccount  `json:"serviceAccount,omitempty"`
	SecurityContext SecurityContext `json:"securityContext,omitempty"`
	Affinity        v1.Affinity     `json:"affinity,omitempty"`
}

func (*ValueOverrides) DeepCopy

func (in *ValueOverrides) DeepCopy() *ValueOverrides

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValueOverrides.

func (*ValueOverrides) DeepCopyInto

func (in *ValueOverrides) DeepCopyInto(out *ValueOverrides)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VolumeSnapshotLocation

type VolumeSnapshotLocation struct {
	Name     string                       `json:"name"`
	Provider Provider                     `json:"provider"`
	Config   VolumeSnapshotLocationConfig `json:"config,omitempty"`
}

func (*VolumeSnapshotLocation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotLocation.

func (*VolumeSnapshotLocation) DeepCopyInto

func (in *VolumeSnapshotLocation) DeepCopyInto(out *VolumeSnapshotLocation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VolumeSnapshotLocationConfig

type VolumeSnapshotLocationConfig struct {
	Region        string `json:"region,omitempty"`
	Profile       string `json:"profile,omitempty"`
	ApiTimeout    string `json:"apiTimeout,omitempty"`
	ResourceGroup string `json:"resourceGroup,omitempty"`
}

func (*VolumeSnapshotLocationConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotLocationConfig.

func (*VolumeSnapshotLocationConfig) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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