ns

package
v4.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 21, 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_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 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 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