Documentation ¶
Overview ¶
Package v1alpha1 contains the v1alpha1 versions of the extensions APIs.
Index ¶
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Function
- func (in *Function) DeepCopy() *Function
- func (in *Function) DeepCopyInto(out *Function)
- func (in *Function) DeepCopyObject() runtime.Object
- func (in *Function) GetConditionSet() apis.ConditionSet
- func (*Function) GetGroupVersionKind() schema.GroupVersionKind
- func (in *Function) GetStatus() *duckv1.Status
- func (in *Function) SetDefaults(ctx context.Context)
- func (in *Function) Validate(ctx context.Context) *apis.FieldError
- type FunctionCode
- type FunctionList
- type FunctionSpec
- type FunctionStatus
Constants ¶
This section is empty.
Variables ¶
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 )
var SchemeGroupVersion = schema.GroupVersion{Group: core.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Function.
func (*Function) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Function) DeepCopyObject ¶
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 ¶
GetStatus retrieves the status of the resource. Implements the duckv1.KRShaped interface.
func (*Function) SetDefaults ¶
SetDefaults implements apis.Defaultable
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 ¶
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()