Help us shape the future of Go! Take the 2026 Go Developer Survey

v1beta1

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package v1beta1 contains the input type for this Function +kubebuilder:object:generate=true +groupName=protection.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"`

	// CacheTTL sets the time-to-live for the Function Response caching is an
	// alpha feature in Crossplane and can be deprecated or changed
	// in the future.
	// +optional
	// +kubebuilder:default:="1m"
	CacheTTL string `json:"cacheTTL,omitempty"`

	// EnableV1Mode if enabled generate v1 Crossplane Usages
	// By default v2 Usages and Cluster Usages are generated
	// Support for v1 Usages will be removed in a future version.
	// +optional
	// +kubebuilder:default:=false
	EnableV1Mode bool `json:"enableV1Mode,omitempty"`
}

Input can be used to provide input to this Function. +kubebuilder:object:root=true +kubebuilder:storageversion +kubebuilder:resource:categories=crossplane

func (*Input) DeepCopy

func (in *Input) DeepCopy() *Input

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

func (*Input) DeepCopyInto

func (in *Input) DeepCopyInto(out *Input)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Input) DeepCopyObject

func (in *Input) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

Jump to

Keyboard shortcuts

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