public class KubernetesResourceFragments extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
getNameWithSuffix(String name,
String kind) |
static io.fabric8.kubernetes.api.model.KubernetesListBuilder |
readResourceFragmentsFrom(File... resourceFiles)
Read all Kubernetes resource fragments from a directory and create a
KubernetesListBuilder which
can be adapted later. |
static void |
updateKindFilenameMappings(List<MappingConfig> mappings)
Upsert the static list of kind-filename mappings.
|
public static void updateKindFilenameMappings(List<MappingConfig> mappings)
mappings - the mappings to add.public static io.fabric8.kubernetes.api.model.KubernetesListBuilder readResourceFragmentsFrom(File... resourceFiles) throws IOException
KubernetesListBuilder which
can be adapted later.resourceFiles - files to add.IOException - in case file is not foundCopyright © 2024. All rights reserved.