v1beta1

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2023 License: Apache-2.0 Imports: 2 Imported by: 2

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

func (in *Delims) DeepCopy() *Delims

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Delims.

func (*Delims) DeepCopyInto added in v0.4.0

func (in *Delims) DeepCopyInto(out *Delims)

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"`
}

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"
)

type TemplateSourceFileSystem added in v0.2.2

type TemplateSourceFileSystem struct {
	DirPath string `json:"dirPath,omitempty"`
}

func (*TemplateSourceFileSystem) DeepCopy added in v0.2.2

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL