v1alpha1

package
v0.0.0-...-698ddb3 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package v1alpha1 contains the v1alpha1 versions of the extensions APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeBuilder builds a scheme with the types known to the package.
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme adds the types known to this package to an existing schema.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: core.GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Function

type Function struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// Spec is the desired state of the Function
	// +optional
	Spec FunctionSpec `json:"spec,omitempty"`

	// Status is the current state of the Function
	// +optional
	Status FunctionStatus `json:"status,omitempty"`
}

Function

+genclient +genreconciler +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*Function) DeepCopy

func (in *Function) DeepCopy() *Function

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

func (*Function) DeepCopyInto

func (in *Function) DeepCopyInto(out *Function)

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

func (*Function) DeepCopyObject

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

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

func (*Function) GetConditionSet

func (in *Function) GetConditionSet() apis.ConditionSet

GetConditionSet implements the duckv1.KRShaped interface.

func (*Function) GetGroupVersionKind

func (*Function) GetGroupVersionKind() schema.GroupVersionKind

GetGroupVersionKind implements kmeta.OwnerRefable

func (*Function) GetStatus

func (in *Function) GetStatus() *duckv1.Status

GetStatus retrieves the status of the resource. Implements the duckv1.KRShaped interface.

func (*Function) SetDefaults

func (in *Function) SetDefaults(ctx context.Context)

SetDefaults implements apis.Defaultable

func (*Function) Validate

func (in *Function) Validate(ctx context.Context) *apis.FieldError

Validate implements apis.Validatable

type FunctionCode

type FunctionCode struct {
	// +optional
	Inline *string `json:"inline,omitempty"`
}

func (*FunctionCode) DeepCopy

func (in *FunctionCode) DeepCopy() *FunctionCode

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

func (*FunctionCode) DeepCopyInto

func (in *FunctionCode) DeepCopyInto(out *FunctionCode)

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

func (*FunctionCode) Validate

func (in *FunctionCode) Validate(ctx context.Context) (errs *apis.FieldError)

type FunctionList

type FunctionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []Function `json:"items"`
}

FunctionList is a list of Function resources.

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*FunctionList) DeepCopy

func (in *FunctionList) DeepCopy() *FunctionList

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

func (*FunctionList) DeepCopyInto

func (in *FunctionList) DeepCopyInto(out *FunctionList)

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

func (*FunctionList) DeepCopyObject

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

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

type FunctionSpec

type FunctionSpec struct {
	// +optional
	Engine  string       `json:"engine"`
	Runtime string       `json:"runtime"`
	Public  bool         `json:"public"`
	Code    FunctionCode `json:"code"`
}

func (*FunctionSpec) DeepCopy

func (in *FunctionSpec) DeepCopy() *FunctionSpec

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

func (*FunctionSpec) DeepCopyInto

func (in *FunctionSpec) DeepCopyInto(out *FunctionSpec)

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

func (*FunctionSpec) SetDefaults

func (in *FunctionSpec) SetDefaults(ctx context.Context)

SetDefaults implements apis.Defaultable

func (*FunctionSpec) Validate

func (in *FunctionSpec) Validate(ctx context.Context) (errs *apis.FieldError)

Validate implements apis.Validatable

type FunctionStatus

type FunctionStatus struct {
	duckv1.Status `json:",inline"`
}

FunctionStatus defines the observed state of Function

func (*FunctionStatus) DeepCopy

func (in *FunctionStatus) DeepCopy() *FunctionStatus

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

func (*FunctionStatus) DeepCopyInto

func (in *FunctionStatus) DeepCopyInto(out *FunctionStatus)

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

func (*FunctionStatus) InitializeConditions

func (in *FunctionStatus) InitializeConditions()

Jump to

Keyboard shortcuts

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