类 DefaultSecretsProviderConfigurator
- java.lang.Object
-
- org.apache.pulsar.functions.secretsproviderconfigurator.DefaultSecretsProviderConfigurator
-
- 所有已实现的接口:
SecretsProviderConfigurator
public class DefaultSecretsProviderConfigurator extends java.lang.Object implements SecretsProviderConfigurator
This is a barebones version of a secrets provider which wires in ClearTextSecretsProvider to the function instances/containers. While this is the default configurator, it is highly recommended that for real-security you use some alternate provider.
-
-
构造器概要
构造器 构造器 说明 DefaultSecretsProviderConfigurator()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidconfigureKubernetesRuntimeSecretsProvider(io.kubernetes.client.openapi.models.V1PodSpec podSpec, java.lang.String functionsContainerName, org.apache.pulsar.functions.proto.Function.FunctionDetails functionDetails)Attaches any secrets specific stuff to the k8 container for kubernetes runtime.voidconfigureProcessRuntimeSecretsProvider(java.lang.ProcessBuilder processBuilder, org.apache.pulsar.functions.proto.Function.FunctionDetails functionDetails)Attaches any secrets specific stuff to the ProcessBuilder for process runtime.java.lang.reflect.TypegetSecretObjectType()What is the type of the object that should be in the user secret config.java.lang.StringgetSecretsProviderClassName(org.apache.pulsar.functions.proto.Function.FunctionDetails functionDetails)Return the Secrets Provider Classname.java.util.Map<java.lang.String,java.lang.String>getSecretsProviderConfig(org.apache.pulsar.functions.proto.Function.FunctionDetails functionDetails)Return the secrets provider config.-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.apache.pulsar.functions.secretsproviderconfigurator.SecretsProviderConfigurator
doAdmissionChecks, init
-
-
-
-
方法详细资料
-
getSecretsProviderClassName
public java.lang.String getSecretsProviderClassName(org.apache.pulsar.functions.proto.Function.FunctionDetails functionDetails)
从接口复制的说明:SecretsProviderConfiguratorReturn the Secrets Provider Classname. This will be passed to the cmdline of the instance and should contain the logic of connecting with the secrets provider and obtaining secrets.
-
getSecretsProviderConfig
public java.util.Map<java.lang.String,java.lang.String> getSecretsProviderConfig(org.apache.pulsar.functions.proto.Function.FunctionDetails functionDetails)
从接口复制的说明:SecretsProviderConfiguratorReturn the secrets provider config.
-
configureKubernetesRuntimeSecretsProvider
public void configureKubernetesRuntimeSecretsProvider(io.kubernetes.client.openapi.models.V1PodSpec podSpec, java.lang.String functionsContainerName, org.apache.pulsar.functions.proto.Function.FunctionDetails functionDetails)从接口复制的说明:SecretsProviderConfiguratorAttaches any secrets specific stuff to the k8 container for kubernetes runtime.
-
configureProcessRuntimeSecretsProvider
public void configureProcessRuntimeSecretsProvider(java.lang.ProcessBuilder processBuilder, org.apache.pulsar.functions.proto.Function.FunctionDetails functionDetails)从接口复制的说明:SecretsProviderConfiguratorAttaches any secrets specific stuff to the ProcessBuilder for process runtime.
-
getSecretObjectType
public java.lang.reflect.Type getSecretObjectType()
从接口复制的说明:SecretsProviderConfiguratorWhat is the type of the object that should be in the user secret config.- 指定者:
getSecretObjectType在接口中SecretsProviderConfigurator- 返回:
-
-