Documentation ¶
Overview ¶
Package namespace manipulates the k8s api of namespace object
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Namespace ¶
type Namespace struct {
// contains filtered or unexported fields
}
Namespace is the object to manipulate k8s api of namespace
func (*Namespace) Create ¶
Create creates a k8s namespace TODO: Need to pass in the namespace structure
func (*Namespace) Delete ¶
Delete deletes a k8s namespace (deletes all dependents in the foreground)
type Option ¶
type Option func(*Namespace)
Option configures a Namespace
func WithKubernetesClient ¶
func WithKubernetesClient(k kubernetes.Interface) Option
WithKubernetesClient provides an Option
Click to show internal directories.
Click to hide internal directories.