Documentation ¶
Overview ¶
Package cluster provides functions for dealing with Kubernetes clusters.
Index ¶
Constants ¶
View Source
const (
// NamespaceDefault is the name of the default Kubernetes namespace.
NamespaceDefault = "default"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct {
// contains filtered or unexported fields
}
Cluster presents Kubernetes API method over a Kubernetes cluster.
func (*Cluster) CreateDaemonset ¶
func (c *Cluster) CreateDaemonset(ctx context.Context, ds *appsv1.DaemonSet) (*appsv1.DaemonSet, error)
CreateDaemonset creates a daemonset with default options.
func (*Cluster) DeleteDaemonset ¶
DeleteDaemonset deletes a daemonset from this cluster.
Click to show internal directories.
Click to hide internal directories.