v1beta1

package
v0.30.5 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 6 Imported by: 129

Documentation

Overview

Package v1beta1 is the v1beta1 version of the API.

Index

Constants

View Source
const (
	// FlunderReferenceType is used for Flunder references.
	FlunderReferenceType = ReferenceType("Flunder")
	// FischerReferenceType is used for Fischer references.
	FischerReferenceType = ReferenceType("Fischer")
)
View Source
const GroupName = "wardle.example.com"

GroupName holds the API group name.

Variables

View Source
var (
	// SchemeBuilder allows to add this group to a scheme.
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	// AddToScheme adds this group to a scheme.
	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Convert_v1beta1_FlunderList_To_wardle_FlunderList

func Convert_v1beta1_FlunderList_To_wardle_FlunderList(in *FlunderList, out *wardle.FlunderList, s conversion.Scope) error

Convert_v1beta1_FlunderList_To_wardle_FlunderList is an autogenerated conversion function.

func Convert_v1beta1_FlunderSpec_To_wardle_FlunderSpec

func Convert_v1beta1_FlunderSpec_To_wardle_FlunderSpec(in *FlunderSpec, out *wardle.FlunderSpec, s conversion.Scope) error

Convert_v1beta1_FlunderSpec_To_wardle_FlunderSpec is an autogenerated conversion function.

func Convert_v1beta1_FlunderStatus_To_wardle_FlunderStatus

func Convert_v1beta1_FlunderStatus_To_wardle_FlunderStatus(in *FlunderStatus, out *wardle.FlunderStatus, s conversion.Scope) error

Convert_v1beta1_FlunderStatus_To_wardle_FlunderStatus is an autogenerated conversion function.

func Convert_v1beta1_Flunder_To_wardle_Flunder

func Convert_v1beta1_Flunder_To_wardle_Flunder(in *Flunder, out *wardle.Flunder, s conversion.Scope) error

Convert_v1beta1_Flunder_To_wardle_Flunder is an autogenerated conversion function.

func Convert_wardle_FlunderList_To_v1beta1_FlunderList

func Convert_wardle_FlunderList_To_v1beta1_FlunderList(in *wardle.FlunderList, out *FlunderList, s conversion.Scope) error

Convert_wardle_FlunderList_To_v1beta1_FlunderList is an autogenerated conversion function.

func Convert_wardle_FlunderSpec_To_v1beta1_FlunderSpec

func Convert_wardle_FlunderSpec_To_v1beta1_FlunderSpec(in *wardle.FlunderSpec, out *FlunderSpec, s conversion.Scope) error

Convert_wardle_FlunderSpec_To_v1beta1_FlunderSpec is an autogenerated conversion function.

func Convert_wardle_FlunderStatus_To_v1beta1_FlunderStatus

func Convert_wardle_FlunderStatus_To_v1beta1_FlunderStatus(in *wardle.FlunderStatus, out *FlunderStatus, s conversion.Scope) error

Convert_wardle_FlunderStatus_To_v1beta1_FlunderStatus is an autogenerated conversion function.

func Convert_wardle_Flunder_To_v1beta1_Flunder

func Convert_wardle_Flunder_To_v1beta1_Flunder(in *wardle.Flunder, out *Flunder, s conversion.Scope) error

Convert_wardle_Flunder_To_v1beta1_Flunder is an autogenerated conversion function.

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Flunder

type Flunder struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec   FlunderSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status FlunderStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

Flunder is an example type with a spec and a status.

func (*Flunder) DeepCopy

func (in *Flunder) DeepCopy() *Flunder

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

func (*Flunder) DeepCopyInto

func (in *Flunder) DeepCopyInto(out *Flunder)

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

func (*Flunder) DeepCopyObject

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

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

type FlunderList

type FlunderList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Items []Flunder `json:"items" protobuf:"bytes,2,rep,name=items"`
}

FlunderList is a list of Flunder objects.

func (*FlunderList) DeepCopy

func (in *FlunderList) DeepCopy() *FlunderList

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

func (*FlunderList) DeepCopyInto

func (in *FlunderList) DeepCopyInto(out *FlunderList)

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

func (*FlunderList) DeepCopyObject

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

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

type FlunderSpec

type FlunderSpec struct {
	// A name of another flunder, mutually exclusive to the FischerReference.
	FlunderReference string `json:"flunderReference,omitempty" protobuf:"bytes,1,opt,name=flunderReference"`
	// A name of a fischer, mutually exclusive to the FlunderReference.
	FischerReference string `json:"fischerReference,omitempty" protobuf:"bytes,2,opt,name=fischerReference"`
	// The reference type.
	ReferenceType ReferenceType `json:"referenceType,omitempty" protobuf:"bytes,3,opt,name=referenceType"`
}

FlunderSpec is the specification of a Flunder.

func (*FlunderSpec) DeepCopy

func (in *FlunderSpec) DeepCopy() *FlunderSpec

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

func (*FlunderSpec) DeepCopyInto

func (in *FlunderSpec) DeepCopyInto(out *FlunderSpec)

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

type FlunderStatus

type FlunderStatus struct {
}

FlunderStatus is the status of a Flunder.

func (*FlunderStatus) DeepCopy

func (in *FlunderStatus) DeepCopy() *FlunderStatus

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

func (*FlunderStatus) DeepCopyInto

func (in *FlunderStatus) DeepCopyInto(out *FlunderStatus)

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

type ReferenceType

type ReferenceType string

ReferenceType defines the type of an object reference.

Jump to

Keyboard shortcuts

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