Class CloudFunctionRunExtension

java.lang.Object
com.github.bijukunjummen.cloudfunction.CloudFunctionRunExtension

public abstract class CloudFunctionRunExtension extends Object
Holds the properties associated with local running of a GCP Cloud Function
  • Constructor Details

    • CloudFunctionRunExtension

      public CloudFunctionRunExtension(org.gradle.api.Project project)
  • Method Details

    • getTarget

      public abstract org.gradle.api.provider.Property<String> getTarget()
      GCP Cloud Function target method
      Returns:
      the name of the target method
    • getPort

      public abstract org.gradle.api.provider.Property<Integer> getPort()
      Port to expose the function on
      Returns:
      port number
    • getInvokerVersion

      public abstract org.gradle.api.provider.Property<String> getInvokerVersion()
      Version of the invoker function to use
      Returns:
    • getTestMode

      public abstract org.gradle.api.provider.Property<Boolean> getTestMode()
      Returns:
    • toString

      public String toString()
      Overrides:
      toString in class Object