maintenance

package
v4.23.1 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2023 License: BSD-3-Clause Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpName

type OpName string

OpName is the type of operation for SGDbOps resource

type Payload

type Payload struct {
	Results []Result `json:"results,omitempty"`
}

Payload contains the response body of a docker image tags

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 {
	K8sClient  client.Client
	HttpClient *http.Client
	// contains filtered or unexported fields
}

func (*Redis) DoMaintenance

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

DoMaintenance will run postgresql's maintenance script.

type Result

type Result struct {
	// Name is the tag
	Name string `json:"name,omitempty"`
	// TagStatus indicates if the tag is active
	TagStatus string `json:"tag_status,omitempty"`
	// ContentType indicates whether this Result is an image
	ContentType string `json:"content_type,omitempty"`
}

Result is the object that has details of a docker image tag

Jump to

Keyboard shortcuts

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