v1alpha1

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true Package v1alpha1 is the v1alpha1 version of the server.fn.crossplane.io API.

Index

Constants

View Source
const (
	CRDGroup   = "server.fn.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	// GroupVersion is the API Group Version used to register the objects
	GroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type ServerInput

type ServerInput struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServerInputSpec `json:"spec"`
}

ServerInput defines request data for a ServerFunction call.

func (*ServerInput) DeepCopy

func (in *ServerInput) DeepCopy() *ServerInput

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

func (*ServerInput) DeepCopyInto

func (in *ServerInput) DeepCopyInto(out *ServerInput)

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

func (*ServerInput) DeepCopyObject

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

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

type ServerInputSpec

type ServerInputSpec struct {
	// FunctionName is the name of the ServerFunction to be invoked.
	FunctionName string `json:"functionName"`

	// Input is the request payload that should be passed to the function.
	// It can contain any kind of valid JSON data.
	Input evtv1.JSON `json:"input"`
}

ServerInputSpec defines request data for a ServerFunction call.

func (*ServerInputSpec) DeepCopy

func (in *ServerInputSpec) DeepCopy() *ServerInputSpec

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

func (*ServerInputSpec) DeepCopyInto

func (in *ServerInputSpec) DeepCopyInto(out *ServerInputSpec)

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