Documentation
¶
Overview ¶
Package v1beta1 contains the input type for this Function +kubebuilder:object:generate=true +groupName=gotemplating.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"`
// Source specifies the different types of input sources that can be used with this function
Source InputSource `json:"source"`
// Inline is the inline form input of the templates
Inline *InputSourceInline `json:"inline,omitempty"`
// FileSystem is the folder path where the templates are located
FileSystem *InputSourceFileSystem `json:"fileSystem,omitempty"`
}
Input is used to provide templates 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 string
const ( // InlineSource indicates that function will get its input as inline InlineSource InputSource = "Inline" // FileSystemSource indicates that function will get its input from a folder FileSystemSource InputSource = "FileSystem" )
type InputSourceFileSystem ¶
type InputSourceFileSystem struct {
DirPath string `json:"dirPath,omitempty"`
}
func (*InputSourceFileSystem) DeepCopy ¶
func (in *InputSourceFileSystem) DeepCopy() *InputSourceFileSystem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputSourceFileSystem.
func (*InputSourceFileSystem) DeepCopyInto ¶
func (in *InputSourceFileSystem) DeepCopyInto(out *InputSourceFileSystem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InputSourceInline ¶
type InputSourceInline struct {
Template string `json:"template,omitempty"`
}
func (*InputSourceInline) DeepCopy ¶
func (in *InputSourceInline) DeepCopy() *InputSourceInline
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputSourceInline.
func (*InputSourceInline) DeepCopyInto ¶
func (in *InputSourceInline) DeepCopyInto(out *InputSourceInline)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.