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)
func (*Namespace) DeleteForce ¶
Delete deletes a k8s namespace with empty
type Option ¶
type Option func(*Namespace)
Option configures a Namespace
func WithCompleteParams ¶
func WithCompleteParams(addr string, client *httpclient.HTTPClient) Option
WithCompleteParams provides an Option
Click to show internal directories.
Click to hide internal directories.