Documentation ¶
Index ¶
Constants ¶
View Source
const ( ResourceKindPod = "pod" ResourceKindDeployment = "deployment" ResourceKindDaemonSet = "daemonset" ResourceKindStatefulSet = "statefulset" ResourceKindJob = "job" ResourceKindCronJob = "cronjob" ResourceKindReplicaSet = "replicaset" ResourceKindReplicationController = "replicationcontroller" ResourceKindPods = "pods" ResourceKindDeployments = "deployments" ResourceKindDaemonSets = "daemonsets" ResourceKindStatefulSets = "statefulsets" ResourceKindJobs = "jobs" ResourceKindCronJobs = "cronjobs" ResourceKindReplicaSets = "replicasets" ResourceKindReplicationControllers = "replicationcontrollers" )
k8s resource kind
View Source
const (
FieldManager = "client-go"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HandlerOptions ¶
type HandlerOptions struct { ListOptions metav1.ListOptions GetOptions metav1.GetOptions CreateOptions metav1.CreateOptions DeleteOptions metav1.DeleteOptions ApplyOptions metav1.ApplyOptions UpdateOptions metav1.UpdateOptions PatchOptions metav1.PatchOptions }
type Watcher ¶
type Watcher interface { //WatchByName(name string, addFunc, modifyFunc, deleteFunc func(x interface{}), x interface{}) error //WatchByLabel(label string, addFunc, modifyFunc, deleteFunc func(x interface{}), x interface{}) error Watch(name string, addFunc, modifyFunc, deleteFunc func(x interface{}), x interface{}) error }
Click to show internal directories.
Click to hide internal directories.