Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddAnnotation ¶ added in v0.13.0
AddAnnotation adds an annotation to the given object. If the annotation already exists, it overwrites its value.
func ObjectsToClientObjects ¶ added in v0.12.0
Types ¶
type KubeClient ¶
type KubeClient struct {
// contains filtered or unexported fields
}
Kubeclient implements kubernetes.Client interface using a client.Client as the underlying implementation.
func NewKubeClient ¶
func NewKubeClient(client client.Client) *KubeClient
func (*KubeClient) Get ¶
func (c *KubeClient) Get(ctx context.Context, name, namespace string, obj kubernetes.Object) error
Get retrieves an obj for the given name and namespace from the Kubernetes Cluster.
Click to show internal directories.
Click to hide internal directories.