Class ArtifactStoreFunctions
java.lang.Object
com.netflix.spinnaker.kork.expressions.functions.ArtifactStoreFunctions
- All Implemented Interfaces:
com.netflix.spinnaker.kork.api.expressions.ExpressionFunctionProvider,com.netflix.spinnaker.kork.plugins.api.internal.SpinnakerExtensionPoint,org.pf4j.ExtensionPoint
public class ArtifactStoreFunctions
extends Object
implements com.netflix.spinnaker.kork.api.expressions.ExpressionFunctionProvider
Houses all SpEL related functions that deal specifically with the artifact store
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.netflix.spinnaker.kork.api.expressions.ExpressionFunctionProvider
com.netflix.spinnaker.kork.api.expressions.ExpressionFunctionProvider.FunctionDefinition, com.netflix.spinnaker.kork.api.expressions.ExpressionFunctionProvider.FunctionDocumentation, com.netflix.spinnaker.kork.api.expressions.ExpressionFunctionProvider.FunctionParameter, com.netflix.spinnaker.kork.api.expressions.ExpressionFunctionProvider.Functions, com.netflix.spinnaker.kork.api.expressions.ExpressionFunctionProvider.FunctionUsageExample -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringfetchReference(String ref) Used to return the original based64 reference that was stored by the artifact store.com.netflix.spinnaker.kork.api.expressions.ExpressionFunctionProvider.Functions@Nullable StringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.netflix.spinnaker.kork.plugins.api.internal.SpinnakerExtensionPoint
getExtensionClass, getPluginId
-
Constructor Details
-
ArtifactStoreFunctions
public ArtifactStoreFunctions()
-
-
Method Details
-
getNamespace
- Specified by:
getNamespacein interfacecom.netflix.spinnaker.kork.api.expressions.ExpressionFunctionProvider
-
fetchReference
Used to return the original based64 reference that was stored by the artifact store. It's important to note that utilizing this SpEL function will balloon the context, e.g. increasing the size of the execution context.${ #fetchReference(#stage('Bake Manifest').context.artifacts[0].reference) } -
getFunctions
public com.netflix.spinnaker.kork.api.expressions.ExpressionFunctionProvider.Functions getFunctions()- Specified by:
getFunctionsin interfacecom.netflix.spinnaker.kork.api.expressions.ExpressionFunctionProvider
-