| Package | Description |
|---|---|
| org.eclipse.jkube.kit.common | |
| org.eclipse.jkube.kit.common.util |
| Modifier and Type | Method and Description |
|---|---|
static ResourceFileType |
ResourceFileType.fromExtension(String ext) |
static ResourceFileType |
ResourceFileType.fromFile(File file) |
static ResourceFileType |
ResourceFileType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceFileType[] |
ResourceFileType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends io.fabric8.kubernetes.api.model.KubernetesResource> |
ResourceUtil.load(File file,
Class<T> clazz,
ResourceFileType resourceFileType) |
static <T extends io.fabric8.kubernetes.api.model.KubernetesResource> |
ResourceUtil.load(InputStream in,
Class<T> clazz,
ResourceFileType resourceFileType) |
static File |
ResourceUtil.save(File file,
Object data,
ResourceFileType type) |
Copyright © 2021. All rights reserved.