Documentation
¶
Index ¶
- type ClientWrapper
- func (c *ClientWrapper) ForEachConfigMap(namespace string, options metav1.ListOptions, ...) error
- func (c *ClientWrapper) ForEachCronJob(namespace string, options metav1.ListOptions, ...) error
- func (c *ClientWrapper) ForEachDaemonSet(namespace string, options metav1.ListOptions, ...) error
- func (c *ClientWrapper) ForEachDeployment(namespace string, options metav1.ListOptions, ...) error
- func (c *ClientWrapper) ForEachIngress(namespace string, options metav1.ListOptions, ...) error
- func (c *ClientWrapper) ForEachJob(namespace string, options metav1.ListOptions, ...) error
- func (c *ClientWrapper) ForEachSecret(namespace string, options metav1.ListOptions, ...) error
- func (c *ClientWrapper) ForEachService(namespace string, options metav1.ListOptions, ...) error
- func (c *ClientWrapper) ForEachStatefulSet(namespace string, options metav1.ListOptions, ...) error
- func (c *ClientWrapper) Query(selector KubernetesSelector, handler func(resource []byte) error) error
- type KubernetesSelector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientWrapper ¶
type ClientWrapper struct {
// contains filtered or unexported fields
}
func CreateKubernetesClient ¶
func CreateKubernetesClient() ClientWrapper
func (*ClientWrapper) ForEachConfigMap ¶
func (c *ClientWrapper) ForEachConfigMap(namespace string, options metav1.ListOptions, handler func(resource v1.ConfigMap) error) error
func (*ClientWrapper) ForEachCronJob ¶
func (c *ClientWrapper) ForEachCronJob(namespace string, options metav1.ListOptions, handler func(resource batchv1beta1.CronJob) error) error
func (*ClientWrapper) ForEachDaemonSet ¶
func (c *ClientWrapper) ForEachDaemonSet(namespace string, options metav1.ListOptions, handler func(resource appsv1.DaemonSet) error) error
func (*ClientWrapper) ForEachDeployment ¶
func (c *ClientWrapper) ForEachDeployment(namespace string, options metav1.ListOptions, handler func(resource appsv1.Deployment) error) error
func (*ClientWrapper) ForEachIngress ¶
func (c *ClientWrapper) ForEachIngress(namespace string, options metav1.ListOptions, handler func(resource networkingv1.Ingress) error) error
func (*ClientWrapper) ForEachJob ¶
func (c *ClientWrapper) ForEachJob(namespace string, options metav1.ListOptions, handler func(resource batchv1.Job) error) error
func (*ClientWrapper) ForEachSecret ¶
func (c *ClientWrapper) ForEachSecret(namespace string, options metav1.ListOptions, handler func(resource v1.Secret) error) error
func (*ClientWrapper) ForEachService ¶
func (c *ClientWrapper) ForEachService(namespace string, options metav1.ListOptions, handler func(resource v1.Service) error) error
func (*ClientWrapper) ForEachStatefulSet ¶
func (c *ClientWrapper) ForEachStatefulSet(namespace string, options metav1.ListOptions, handler func(resource appsv1.StatefulSet) error) error
func (*ClientWrapper) Query ¶
func (c *ClientWrapper) Query(selector KubernetesSelector, handler func(resource []byte) error) error
type KubernetesSelector ¶
func (*KubernetesSelector) LabelSelector ¶
func (selector *KubernetesSelector) LabelSelector() string
Click to show internal directories.
Click to hide internal directories.