maintenance

package
v4.201.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2026 License: BSD-3-Clause Imports: 30 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Forgejo added in v4.128.1

type Forgejo struct {
	release.VersionHandler
	// contains filtered or unexported fields
}

Forgejo contains all necessary dependencies to successfully run a Forgejo maintenance

func NewForgejo added in v4.128.1

func NewForgejo(c client.WithWatch, hc *http.Client, vh release.VersionHandler, logger logr.Logger) *Forgejo

NewForgejo returns a new Forgejo object

func (*Forgejo) DoMaintenance added in v4.128.1

func (f *Forgejo) DoMaintenance(ctx context.Context) error

DoMaintenance will run Forgejo's maintenance script.

func (*Forgejo) WaitForRunningBackups added in v4.198.0

func (f *Forgejo) WaitForRunningBackups(ctx context.Context) error

WaitForRunningBackups waits until no backup is running anymore

type Keycloak added in v4.57.0

type Keycloak struct {
	release.VersionHandler
	// contains filtered or unexported fields
}

Keycloak contains all necessary dependencies to successfully run a Keycloak maintenance

func NewKeycloak added in v4.57.0

func NewKeycloak(c client.Client, hc *http.Client, vh release.VersionHandler, logger logr.Logger) *Keycloak

NewKeycloak returns a new Keycloak object

func (*Keycloak) DoMaintenance added in v4.57.0

func (k *Keycloak) DoMaintenance(ctx context.Context) error

DoMaintenance will run Keycloak's maintenance script.

func (*Keycloak) WaitForRunningBackups added in v4.198.0

func (k *Keycloak) WaitForRunningBackups(ctx context.Context) error

Keycloak has no backups of its own, the PostgreSQL instance waits for its backups in its own maintenance

type MaintenanceConfig added in v4.187.0

type MaintenanceConfig struct {
	DisableServiceMaint  bool
	DisableAppcatRelease bool
}

MaintenanceConfig holds the per-service mainteancne configuration

func GetMaintenanceConfig added in v4.187.0

func GetMaintenanceConfig(ctx context.Context, c client.Reader, cmName, namespace, serviceID string) (MaintenanceConfig, error)

type MariaDB added in v4.46.0

type MariaDB struct {
	release.VersionHandler
	// contains filtered or unexported fields
}

MariaDB holds all the necessary objects to do a MariaDB maintenance

func NewMariaDB added in v4.46.0

func NewMariaDB(c client.WithWatch, hc *http.Client, vh release.VersionHandler, logger logr.Logger) *MariaDB

NewMariaDB returns a new MariaDB maintenance job runner

func (*MariaDB) DoMaintenance added in v4.46.0

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

DoMaintenance will run MariaDB's maintenance script.

func (*MariaDB) WaitForRunningBackups added in v4.198.0

func (m *MariaDB) WaitForRunningBackups(ctx context.Context) error

WaitForRunningBackups waits until no backup is running anymore

type Minio added in v4.28.0

type Minio struct {
	release.VersionHandler
	// 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, vh release.VersionHandler, logger logr.Logger) *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 minio's maintenance script.

func (*Minio) WaitForRunningBackups added in v4.198.0

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

MinIO has no backups to wait for

type Nextcloud added in v4.81.0

type Nextcloud struct {
	release.VersionHandler
	// contains filtered or unexported fields
}

Nextcloud contains all necessary dependencies to successfully run a Nextcloud maintenance

func NewNextcloud added in v4.81.0

func NewNextcloud(c client.WithWatch, hc *http.Client, vh release.VersionHandler, logger logr.Logger) *Nextcloud

NewNextcloud returns a new Nextcloud object

func (*Nextcloud) DoMaintenance added in v4.81.0

func (n *Nextcloud) DoMaintenance(ctx context.Context) error

DoMaintenance will run Nextcloud's maintenance script.

func (*Nextcloud) WaitForRunningBackups added in v4.198.0

func (n *Nextcloud) WaitForRunningBackups(ctx context.Context) error

WaitForRunningBackups waits until no backup is running anymore

type OpName

type OpName string

OpName is the type of operation for SGDbOps resource

type PostgreSQL

type PostgreSQL struct {
	release.VersionHandler
	// contains filtered or unexported fields
}

PostgreSQL handles the maintenance of postgresql services

func NewPostgreSQL added in v4.136.2

func NewPostgreSQL(c client.WithWatch, sClient *stackgres.StackgresClient, versionHandler release.VersionHandler, log logr.Logger) *PostgreSQL

NewPostgreSQL returns a new PostgreSQL maintenance job runner

func (*PostgreSQL) DoMaintenance

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

DoMaintenance will run postgresql's maintenance script.

func (*PostgreSQL) WaitForRunningBackups added in v4.198.0

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

WaitForRunningBackups waits until no backup is running anymore

type PostgreSQLCNPG added in v4.175.0

type PostgreSQLCNPG struct {
	release.VersionHandler
	// contains filtered or unexported fields
}

PostgreSQLCNPG handles the maintenance of postgresql services

func NewPostgreSQLCNPG added in v4.175.0

func NewPostgreSQLCNPG(c client.WithWatch, hc *http.Client, versionHandler release.VersionHandler, log logr.Logger) *PostgreSQLCNPG

NewPostgreSQL returns a new PostgreSQL maintenance job runner

func (*PostgreSQLCNPG) DoMaintenance added in v4.175.0

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

DoMaintenance will run postgresql's maintenance script.

func (*PostgreSQLCNPG) WaitForRunningBackups added in v4.198.0

func (p *PostgreSQLCNPG) WaitForRunningBackups(ctx context.Context) error

WaitForRunningBackups waits until no backup is running anymore

type Redis

type Redis struct {
	release.VersionHandler
	// 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.WithWatch, hc *http.Client, vh release.VersionHandler, logger logr.Logger) *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.

func (*Redis) WaitForRunningBackups added in v4.198.0

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

WaitForRunningBackups waits until no backup is running anymore

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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