manager

package
v1.17.3 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package manager contains the common behaviors of the manager subcommand

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdateCondition

func UpdateCondition(
	ctx context.Context,
	c client.Client,
	cluster *apiv1.Cluster,
	condition *metav1.Condition,
) error

UpdateCondition will allow update a particular condition in cluster status.

Types

type Flags

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

Flags contains the set of values necessary for configuring the manager

func (*Flags) AddFlags

func (l *Flags) AddFlags(flags *pflag.FlagSet)

AddFlags binds manager configuration flags to a given flagset

func (*Flags) ConfigureLogging

func (l *Flags) ConfigureLogging()

ConfigureLogging configure the logging honoring the flags passed from the user

Directories

Path Synopsis
Package backup implement the "controller backup" command
Package backup implement the "controller backup" command
Package bootstrap implement the "controller bootstrap" command
Package bootstrap implement the "controller bootstrap" command
Package controller implement the command used to start the operator
Package controller implement the command used to start the operator
Package instance implements the "instance" subcommand of the operator
Package instance implements the "instance" subcommand of the operator
initdb
Package initdb implements the "instance init" subcommand of the operator
Package initdb implements the "instance init" subcommand of the operator
join
Package join implements the "instance join" subcommand of the operator
Package join implements the "instance join" subcommand of the operator
pgbasebackup
Package pgbasebackup implement the pgbasebackup bootstrap method
Package pgbasebackup implement the pgbasebackup bootstrap method
restore
Package restore implements the "instance restore" subcommand of the operator
Package restore implements the "instance restore" subcommand of the operator
run
Package run implements the "instance run" subcommand of the operator
Package run implements the "instance run" subcommand of the operator
run/lifecycle
Package lifecycle contains the code to run and manage the lifecycle of a postgres Instance
Package lifecycle contains the code to run and manage the lifecycle of a postgres Instance
status
Package status implement the "instance status" subcommand of the operator
Package status implement the "instance status" subcommand of the operator
Package pgbouncer implements the "pgbouncer" subcommand of the operator
Package pgbouncer implements the "pgbouncer" subcommand of the operator
run
Package run implements the "pgbouncer run" subcommand of the operator
Package run implements the "pgbouncer run" subcommand of the operator
Package show implement the show command subfeatures
Package show implement the show command subfeatures
walarchivequeue
Package walarchivequeue implement the wal-archive-queue command
Package walarchivequeue implement the wal-archive-queue command
Package walarchive implement the wal-archive command
Package walarchive implement the wal-archive command
Package walrestore implement the walrestore command
Package walrestore implement the walrestore command

Jump to

Keyboard shortcuts

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