Documentation ¶
Index ¶
- Constants
- func CreateNamespace(clientset *kubernetes.Clientset, ...) error
- func CreatePGOBackrestRole(clientset *kubernetes.Clientset, targetNamespace string) error
- func CreatePGOBackrestRoleBinding(clientset *kubernetes.Clientset, targetNamespace string) error
- func CreatePGOBackrestServiceAccount(clientset *kubernetes.Clientset, targetNamespace string) error
- func CreatePGOTargetRole(clientset *kubernetes.Clientset, targetNamespace string) error
- func CreatePGOTargetRoleBinding(clientset *kubernetes.Clientset, targetNamespace, operatorNamespace string) error
- func CreatePGOTargetServiceAccount(clientset *kubernetes.Clientset, targetNamespace string) error
- func DeleteNamespace(clientset *kubernetes.Clientset, ...) error
- func GetNamespaces(clientset *kubernetes.Clientset, installationName string) []string
- func UpdateNamespace(clientset *kubernetes.Clientset, ...) error
- func ValidateNamespaces(clientset *kubernetes.Clientset, installationName, pgoNamespace string) error
- func WatchingNamespace(clientset *kubernetes.Clientset, requestedNS, installationName string) bool
- type PgoBackrestRole
- type PgoBackrestRoleBinding
- type PgoBackrestServiceAccount
- type PgoTargetRole
- type PgoTargetRoleBinding
- type PgoTargetServiceAccount
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 PgoTargetRoleBinding ¶
pgo-target-role-binding.json
type PgoTargetServiceAccount ¶
type PgoTargetServiceAccount struct {
TargetNamespace string
}
pgo-target-sa.json
Click to show internal directories.
Click to hide internal directories.