Annotation Type WithFunction
-
@QuarkusTestResource(value=CloudFunctionTestResource.class, restrictToAnnotatedClass=true) @Retention(RUNTIME) @Target(TYPE) public @interface WithFunction
This annotation can be used to start a Google Cloud Function for a test. It must be configured with the type of function used,FunctionType. If multiple functions exist in the same project, you must configure which function to launch via thefunctionNameattribute.- See Also:
CloudFunctionTestResource
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description FunctionTypevalue
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description StringfunctionName
-
-
-
Element Detail
-
value
FunctionType value
-
-
-
functionName
String functionName
- Default:
- ""
-
-