ns

package
v4.2.4-rc.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const OPERATOR_SERVICE_ACCOUNT = "postgres-operator"
View Source
const PGO_BACKREST_ROLE = "pgo-backrest-role"
View Source
const PGO_BACKREST_ROLE_BINDING = "pgo-backrest-role-binding"
View Source
const PGO_BACKREST_SERVICE_ACCOUNT = "pgo-backrest"
View Source
const PGO_DEFAULT_SERVICE_ACCOUNT = "pgo-default"
View Source
const PGO_PG_ROLE = "pgo-pg-role"
View Source
const PGO_PG_ROLE_BINDING = "pgo-pg-role-binding"
View Source
const PGO_PG_SERVICE_ACCOUNT = "pgo-pg"
View Source
const PGO_TARGET_ROLE = "pgo-target-role"
View Source
const PGO_TARGET_ROLE_BINDING = "pgo-target-role-binding"
View Source
const PGO_TARGET_SERVICE_ACCOUNT = "pgo-target"

Variables

This section is empty.

Functions

func CreateNamespace

func CreateNamespace(clientset *kubernetes.Clientset, installationName, pgoNamespace, createdBy, newNs string) error

CreateNamespace ...

func DeleteNamespace

func DeleteNamespace(clientset *kubernetes.Clientset, installationName, pgoNamespace, deletedBy, ns string) error

DeleteNamespace ...

func GetNamespaces

func GetNamespaces(clientset *kubernetes.Clientset, installationName string) []string

func UpdateNamespace

func UpdateNamespace(clientset *kubernetes.Clientset, installationName, pgoNamespace, updatedBy, ns string) error

UpdateNamespace ...

func ValidateNamespaces

func ValidateNamespaces(clientset *kubernetes.Clientset, installationName, pgoNamespace string) error

func WatchingNamespace

func WatchingNamespace(clientset *kubernetes.Clientset, requestedNS, installationName string) bool

Types

type PgoBackrestRole

type PgoBackrestRole struct {
	TargetNamespace string
}

pgo-backrest-role.json

type PgoBackrestRoleBinding

type PgoBackrestRoleBinding struct {
	TargetNamespace string
}

pgo-backrest-role-binding.json

type PgoBackrestServiceAccount

type PgoBackrestServiceAccount struct {
	TargetNamespace string
}

pgo-backrest-sa.json

type PgoDefaultServiceAccount

type PgoDefaultServiceAccount struct {
	TargetNamespace string
}

pgo-default-sa.json

type PgoPgRole

type PgoPgRole struct {
	TargetNamespace string
}

pgo-pg-role.json

type PgoPgRoleBinding

type PgoPgRoleBinding struct {
	TargetNamespace string
}

pgo-pg-role-binding.json

type PgoPgServiceAccount

type PgoPgServiceAccount struct {
	TargetNamespace string
}

pgo-pg-sa.json

type PgoTargetRole

type PgoTargetRole struct {
	TargetNamespace string
}

pgo-target-role.json

type PgoTargetRoleBinding

type PgoTargetRoleBinding struct {
	TargetNamespace   string
	OperatorNamespace string
}

pgo-target-role-binding.json

type PgoTargetServiceAccount

type PgoTargetServiceAccount struct {
	TargetNamespace string
}

pgo-target-sa.json

Jump to

Keyboard shortcuts

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