operator

package
v0.0.0-kuberlr.0 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2025 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LocalBackupStorageLocation = "/var/lib/backups" // local within the pod, this is the mountPath for PVC
)

Functions

func FetchDefaultS3Configuration

func FetchDefaultS3Configuration(options RunOptions, core *v1core.Factory) (*backupv1.S3ObjectStore, error)

func Run

func Run(
	ctx context.Context,
	kubeconfig *rest.Config,
	options RunOptions,
) error

Run is blocking

Types

type ControllerOptions

type ControllerOptions struct {
	// contains filtered or unexported fields
}

type RunOptions

type RunOptions struct {
	OperatorPVCEnabled              bool
	MetricsServerEnabled            bool
	MetricsPort                     int
	MetricsIntervalSeconds          int
	OperatorS3BackupStorageLocation string
	ChartNamespace                  string
	LocalDriverPath                 string
}

func (*RunOptions) Validate

func (o *RunOptions) Validate() error

Jump to

Keyboard shortcuts

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