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 Delims ¶ added in v0.4.0
type Delims struct {
// Template start characters
// +kubebuilder:default:="{{"
// +optional
Left *string `json:"left,omitempty"`
// Template end characters
// +kubebuilder:default:="}}"
// +optional
Right *string `json:"right,omitempty"`
}
func (*Delims) DeepCopy ¶ added in v0.4.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Delims.
func (*Delims) DeepCopyInto ¶ added in v0.4.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GoTemplate ¶ added in v0.2.2
type GoTemplate struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
// Template delimiters
// +optional
Delims *Delims `json:"delims,omitempty"`
// Source specifies the different types of input sources that can be used with this function
Source TemplateSource `json:"source"`
// Inline is the inline form input of the templates
Inline *TemplateSourceInline `json:"inline,omitempty"`
// FileSystem is the folder path where the templates are located
FileSystem *TemplateSourceFileSystem `json:"fileSystem,omitempty"`
// Environment is the key that defines the location of the templates in the environment
Environment *TemplateSourceEnvironment `json:"environment,omitempty"`
}
A GoTemplate is used to provide templates to this Function. +kubebuilder:object:root=true +kubebuilder:storageversion +kubebuilder:resource:categories=crossplane
func (*GoTemplate) DeepCopy ¶ added in v0.2.2
func (in *GoTemplate) DeepCopy() *GoTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoTemplate.
func (*GoTemplate) DeepCopyInto ¶ added in v0.2.2
func (in *GoTemplate) DeepCopyInto(out *GoTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GoTemplate) DeepCopyObject ¶ added in v0.2.2
func (in *GoTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TemplateSource ¶ added in v0.2.2
type TemplateSource string
const ( // InlineSource indicates that function will get its input as inline InlineSource TemplateSource = "Inline" // FileSystemSource indicates that function will get its input from a folder FileSystemSource TemplateSource = "FileSystem" // EnvironmentSource indicates that function will get its input from the environment EnvironmentSource TemplateSource = "Environment" )
type TemplateSourceEnvironment ¶ added in v0.11.0
type TemplateSourceEnvironment struct {
Key string `json:"key,omitempty"`
}
func (*TemplateSourceEnvironment) DeepCopy ¶ added in v0.11.0
func (in *TemplateSourceEnvironment) DeepCopy() *TemplateSourceEnvironment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateSourceEnvironment.
func (*TemplateSourceEnvironment) DeepCopyInto ¶ added in v0.11.0
func (in *TemplateSourceEnvironment) DeepCopyInto(out *TemplateSourceEnvironment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TemplateSourceFileSystem ¶ added in v0.2.2
type TemplateSourceFileSystem struct {
DirPath string `json:"dirPath,omitempty"`
}
func (*TemplateSourceFileSystem) DeepCopy ¶ added in v0.2.2
func (in *TemplateSourceFileSystem) DeepCopy() *TemplateSourceFileSystem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateSourceFileSystem.
func (*TemplateSourceFileSystem) DeepCopyInto ¶ added in v0.2.2
func (in *TemplateSourceFileSystem) DeepCopyInto(out *TemplateSourceFileSystem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TemplateSourceInline ¶ added in v0.2.2
type TemplateSourceInline struct {
Template string `json:"template,omitempty"`
}
func (*TemplateSourceInline) DeepCopy ¶ added in v0.2.2
func (in *TemplateSourceInline) DeepCopy() *TemplateSourceInline
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateSourceInline.
func (*TemplateSourceInline) DeepCopyInto ¶ added in v0.2.2
func (in *TemplateSourceInline) DeepCopyInto(out *TemplateSourceInline)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.