public class Annotations extends Object
| Constructor and Description |
|---|
Annotations() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addAnnotations(io.kubernetes.client.common.KubernetesObject kubernetesObject,
Map<String,String> mergingAnnotations)
Adds a set of annotations to the object.
|
static void |
addAnnotations(io.kubernetes.client.common.KubernetesObject kubernetesObject,
String annotation,
String value)
Adds one annotation to the object.
|
public static void addAnnotations(io.kubernetes.client.common.KubernetesObject kubernetesObject,
String annotation,
String value)
kubernetesObject - the kubernetes objectannotation - the annotation keyvalue - the annotations valueCopyright © 2021. All rights reserved.