Class SecretFunction

java.lang.Object
io.kestra.core.runners.pebble.functions.SecretFunction
All Implemented Interfaces:
io.pebbletemplates.pebble.extension.Function, io.pebbletemplates.pebble.extension.NamedArguments

@Singleton public class SecretFunction extends Object implements io.pebbletemplates.pebble.extension.Function
  • Constructor Details

    • SecretFunction

      public SecretFunction()
  • Method Details

    • getArgumentNames

      public List<String> getArgumentNames()
      Specified by:
      getArgumentNames in interface io.pebbletemplates.pebble.extension.NamedArguments
    • execute

      public Object execute(Map<String,Object> args, io.pebbletemplates.pebble.template.PebbleTemplate self, io.pebbletemplates.pebble.template.EvaluationContext context, int lineNumber)
      Specified by:
      execute in interface io.pebbletemplates.pebble.extension.Function
    • getSecretKey

      protected String getSecretKey(Map<String,Object> args, io.pebbletemplates.pebble.template.PebbleTemplate self, int lineNumber)