Documentation ¶
Index ¶
- func GetContainers(pod *corev1.Pod) []string
- func Init() error
- type Client
- func (client Client) GetClusterRole(name, namespace string) (*rbacv1.ClusterRole, error)
- func (client Client) GetConfigMap(name, namespace string) (*corev1.ConfigMap, error)
- func (client Client) GetDaemonSet(name, namespace string) (*appsv1.DaemonSet, error)
- func (client Client) GetDaemonsetFromPod(pod *corev1.Pod) (*appsv1.DaemonSet, error)
- func (client Client) GetDeployment(name, namespace string) (*appsv1.Deployment, error)
- func (client Client) GetDeploymentFromPod(pod *corev1.Pod) (*appsv1.Deployment, error)
- func (client Client) GetLeaseHolder() (<-chan string, error)
- func (client Client) GetNamespace(name string) (*corev1.Namespace, error)
- func (client Client) GetPod(pod, namespace string) (*corev1.Pod, error)
- func (client Client) GetReplicaSet(name, namespace string) (*appsv1.ReplicaSet, error)
- func (client Client) GetReplicasetFromPod(pod *corev1.Pod) (*appsv1.ReplicaSet, error)
- func (client Client) GetRole(name, namespace string) (*rbacv1.Role, error)
- func (client Client) GetSecret(name, namespace string) (*corev1.Secret, error)
- func (client Client) GetService(name, namespace string) (*corev1.Service, error)
- func (client Client) GetServiceAccount(name, namespace string) (*corev1.ServiceAccount, error)
- func (client Client) GetStatefulSet(name, namespace string) (*appsv1.StatefulSet, error)
- func (client Client) GetStatefulsetFromPod(pod *corev1.Pod) (*appsv1.StatefulSet, error)
- func (client Client) GetTarget(resource, name, namespace string) (interface{}, error)
- func (client Client) GetWatcherEndpointSlices(labelSelector, namespace string) (<-chan watch.Event, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetContainers ¶
Types ¶
type Client ¶
func (Client) GetClusterRole ¶
func (client Client) GetClusterRole(name, namespace string) (*rbacv1.ClusterRole, error)
func (Client) GetConfigMap ¶
func (Client) GetDaemonSet ¶
func (Client) GetDaemonsetFromPod ¶
func (Client) GetDeployment ¶
func (client Client) GetDeployment(name, namespace string) (*appsv1.Deployment, error)
func (Client) GetDeploymentFromPod ¶
func (Client) GetLeaseHolder ¶
func (Client) GetNamespace ¶
func (Client) GetReplicaSet ¶
func (client Client) GetReplicaSet(name, namespace string) (*appsv1.ReplicaSet, error)
func (Client) GetReplicasetFromPod ¶
func (Client) GetService ¶
func (Client) GetServiceAccount ¶
func (client Client) GetServiceAccount(name, namespace string) (*corev1.ServiceAccount, error)
func (Client) GetStatefulSet ¶
func (client Client) GetStatefulSet(name, namespace string) (*appsv1.StatefulSet, error)
func (Client) GetStatefulsetFromPod ¶
Click to show internal directories.
Click to hide internal directories.