tenantControlNamespace

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TenantControlNamespaceManager

type TenantControlNamespaceManager interface {
	CreateNamespace(clusterID string) (*v1.Namespace, error)
	GetNamespace(clusterID string) (*v1.Namespace, error)
	BindClusterRoles(clusterID string, clusterRoles ...*rbacv1.ClusterRole) ([]*rbacv1.RoleBinding, error)
	UnbindClusterRoles(clusterID string, clusterRoles ...string) error
}

func NewTenantControlNamespaceManager

func NewTenantControlNamespaceManager(client kubernetes.Interface) TenantControlNamespaceManager

create a new TenantControlNamespaceManager object

Jump to

Keyboard shortcuts

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