Documentation ¶
Overview ¶
Package kubelet provides minimal client for the kubelet API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Annotations ¶
type Annotations struct { // ConfigMapSource indicates where the resource is coming from. // Its value is "file"/"http" for static pods and "api" for resources came from kube-apiserver. ConfigSource string `json:"kubernetes.io/config.source"` }
Annotations are the annotations on a pod.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a kubelet API client.
Client can only talk to the local kubelet on the same node.
type Metadata ¶
type Metadata struct { Name string `json:"name"` Namespace string `json:"namespace"` Annotations Annotations `json:"annotations"` }
Metadata is a pod metadata.
Click to show internal directories.
Click to hide internal directories.