backoffice

package
v0.0.0-...-0105d27 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Kubernetes

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

Kubernetes implements the OrchestratorAdaptor interface

func NewKubernetes

func NewKubernetes(configFilePath *string) (Kubernetes, error)

NewKubernetes implements the Kubernetes constructor

func (Kubernetes) Health

func (k Kubernetes) Health() error

Health lists the running PODs in order to test the orchestrator

func (Kubernetes) NamespaceCreate

func (k Kubernetes) NamespaceCreate(name string, quota core.Quota, owner string) error

NamespaceCreate creates a namespace

func (Kubernetes) NamespaceDelete

func (k Kubernetes) NamespaceDelete(name string) error

NamespaceDelete deletes the given namespace

func (Kubernetes) RoleCreate

func (k Kubernetes) RoleCreate() error

RoleCreate creates a role in the RBAC system

func (Kubernetes) RoleDelete

func (k Kubernetes) RoleDelete() error

RoleDelete removes a role in the RBAC system

func (Kubernetes) UserCreate

func (k Kubernetes) UserCreate() error

UserCreate returns TODO

func (Kubernetes) UserDelete

func (k Kubernetes) UserDelete() error

UserDelete returns TODO

Jump to

Keyboard shortcuts

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