All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.instaclustr.kubernetes.KubernetesService Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
package com.instaclustr.kubernetes;

import java.util.Map;

import io.kubernetes.client.ApiException;
import io.kubernetes.client.models.V1ConfigMap;
import io.kubernetes.client.models.V1Secret;

public interface KubernetesService {

    void deleteConfigMap(final String configMapName) throws ApiException;

    void deleteSecret(final String secretName) throws ApiException;

    V1ConfigMap createConfigMap(final String configMapName, final String key, final String value) throws ApiException;

    V1ConfigMap createConfigMap(final String configMapName, final Map data) throws ApiException;

    V1Secret createSecret(final String secretName, final String key, final String value) throws ApiException;

    V1Secret createSecret(final String secretName, final Map data) throws ApiException;

    V1Secret createSecretFromValuesAsBytes(final String secretName, final Map data) throws ApiException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy