类 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.
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      void configureKubernetesRuntimeSecretsProvider​(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.
      void configureProcessRuntimeSecretsProvider​(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.Type getSecretObjectType()
      What is the type of the object that should be in the user secret config.
      java.lang.String getSecretsProviderClassName​(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
    • 构造器详细资料

      • DefaultSecretsProviderConfigurator

        public DefaultSecretsProviderConfigurator()