类 NameAndConfigBasedSecretsProviderConfigurator

  • 所有已实现的接口:
    SecretsProviderConfigurator

    public class NameAndConfigBasedSecretsProviderConfigurator
    extends java.lang.Object
    implements SecretsProviderConfigurator
    This is a very simple secrets provider which wires in a given secrets provider classname/config to the function instances/containers. This does not do any special kubernetes specific wiring.
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      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
    • 构造器详细资料

      • NameAndConfigBasedSecretsProviderConfigurator

        public NameAndConfigBasedSecretsProviderConfigurator​(java.lang.String className,
                                                             java.util.Map<java.lang.String,​java.lang.String> config)