maintenance

package
v4.40.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: BSD-3-Clause Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Minio added in v4.28.0

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

Minio contains all necessary dependencies to successfully run a minio maintenance

func NewMinio added in v4.28.0

func NewMinio(c client.Client, hc *http.Client) Minio

NewMinio returns a new Minio object

func (*Minio) DoMaintenance added in v4.28.0

func (m *Minio) DoMaintenance(ctx context.Context) error

DoMaintenance will run minios's maintenance script.

type OpName

type OpName string

OpName is the type of operation for SGDbOps resource

type PostgreSQL

type PostgreSQL struct {
	Client client.WithWatch

	MaintTimeout time.Duration

	SgURL string
	// contains filtered or unexported fields
}

PostgreSQL handles the maintenance of postgresql services

func (*PostgreSQL) DoMaintenance

func (p *PostgreSQL) DoMaintenance(ctx context.Context) error

DoMaintenance will run postgresql's maintenance script.

type Redis

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

Redis holds all the necessary objects to do a Redis maintenance

func NewRedis added in v4.28.0

func NewRedis(c client.Client, hc *http.Client) Redis

NewRedis returns a new Redis maintenance job runner

func (*Redis) DoMaintenance

func (r *Redis) DoMaintenance(ctx context.Context) error

DoMaintenance will run redis' maintenance script.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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