Documentation ¶
Index ¶
- type Kubernetes
- func (k Kubernetes) Health() error
- func (k Kubernetes) NamespaceCreate(name string, quota core.Quota, owner string) error
- func (k Kubernetes) NamespaceDelete(name string) error
- func (k Kubernetes) RoleCreate() error
- func (k Kubernetes) RoleDelete() error
- func (k Kubernetes) UserCreate() error
- func (k Kubernetes) UserDelete() error
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 ¶
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
Click to show internal directories.
Click to hide internal directories.