Documentation ¶
Overview ¶
Package k8srepository provides access to Kubernetes
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K8s ¶
type K8s interface { // GetPod returns a pod GetPod(ctx context.Context, name, namespace string) (*corev1.Pod, error) // GetReplicaSet returns a replicaset GetReplicaSet(ctx context.Context, name, namespace string) (*appsv1.ReplicaSet, error) // GetExternalWorkload returns a Cilium external workload GetExternalWorkload(ctx context.Context, name, namespace string) (*v2.CiliumExternalWorkload, error) }
K8s is the interface to access Kubernetes.
Click to show internal directories.
Click to hide internal directories.