ns

package
v4.2.0-alpha.1+incompa... Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

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_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 CreatePGOBackrestRole

func CreatePGOBackrestRole(clientset *kubernetes.Clientset, targetNamespace string) error

func CreatePGOBackrestRoleBinding

func CreatePGOBackrestRoleBinding(clientset *kubernetes.Clientset, targetNamespace string) error

func CreatePGOBackrestServiceAccount

func CreatePGOBackrestServiceAccount(clientset *kubernetes.Clientset, targetNamespace string) error

func CreatePGOPgRole

func CreatePGOPgRole(clientset *kubernetes.Clientset, targetNamespace string) error

CreatePGOPgRole creates the role used by the 'pgo-sa' SA

func CreatePGOPgRoleBinding

func CreatePGOPgRoleBinding(clientset *kubernetes.Clientset, targetNamespace string) error

CreatePGOPgRoleBinding binds the 'pgo-pg-role' role to the 'pgo-sa' SA

func CreatePGOPgServiceAccount

func CreatePGOPgServiceAccount(clientset *kubernetes.Clientset, targetNamespace string) error

CreatePGOPgServiceAccount creates the SA for use by PG pods

func CreatePGOTargetRole

func CreatePGOTargetRole(clientset *kubernetes.Clientset, targetNamespace string) error

func CreatePGOTargetRoleBinding

func CreatePGOTargetRoleBinding(clientset *kubernetes.Clientset, targetNamespace, operatorNamespace string) error

func CreatePGOTargetServiceAccount

func CreatePGOTargetServiceAccount(clientset *kubernetes.Clientset, targetNamespace string) error

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 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