Documentation ¶
Overview ¶
Package v1beta1 contains the input type for this Function +kubebuilder:object:generate=true +groupName=javascript.fn.crossplane.io +versionName=v1beta1
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Input ¶
type Input struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec InputSpec `json:"spec"` }
Input can be used to provide input to this Function. +kubebuilder:object:root=true +kubebuilder:storageversion +kubebuilder:resource:categories=crossplane
func (*Input) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Input.
func (*Input) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Input) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InputSource ¶
type InputSource struct { // Type defines the input source type (currently, only `Inline` is supported). // +kubebuilder:validation:Enum=Inline // +kubebuilder:default:=Inline Type string `json:"type,omitempty"` // Inline is the inline form input of the function source Inline string `json:"inline,omitempty"` // Transpile indicates that the source should be transpiled to ES5 // before executing. This allows using modern ES syntax features in // composition functions without transpiling them before inlining into // compositions. // // +kubebuilder:default:=false Transpile *bool `json:"transpile,omitempty"` }
InputSource defines function source parameters
func (*InputSource) DeepCopy ¶
func (in *InputSource) DeepCopy() *InputSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputSource.
func (*InputSource) DeepCopyInto ¶
func (in *InputSource) DeepCopyInto(out *InputSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InputSpec ¶
type InputSpec struct { // Source is the function source spec Source InputSource `json:"source"` // Values is the map of string variables to be passed into the request context Values map[string]string `json:"values,omitempty"` }
InputSpec defines input parameters for the function
func (*InputSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputSpec.
func (*InputSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.