v1alpha1

package
v0.32.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: Apache-2.0 Imports: 6 Imported by: 249

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API.

Index

Constants

View Source
const (
	FlunderReferenceType = ReferenceType("Flunder")
	FischerReferenceType = ReferenceType("Fischer")
)
View Source
const GroupName = "wardle.example.com"

GroupName is the group name used in this package

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	// SchemeBuilder is the scheme builder with scheme init functions to run for this API package
	SchemeBuilder runtime.SchemeBuilder

	// AddToScheme is a common registration function for mapping packaged scoped group & version keys to a scheme
	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Convert_v1alpha1_FischerList_To_wardle_FischerList

func Convert_v1alpha1_FischerList_To_wardle_FischerList(in *FischerList, out *wardle.FischerList, s conversion.Scope) error

Convert_v1alpha1_FischerList_To_wardle_FischerList is an autogenerated conversion function.

func Convert_v1alpha1_Fischer_To_wardle_Fischer

func Convert_v1alpha1_Fischer_To_wardle_Fischer(in *Fischer, out *wardle.Fischer, s conversion.Scope) error

Convert_v1alpha1_Fischer_To_wardle_Fischer is an autogenerated conversion function.

func Convert_v1alpha1_FlunderList_To_wardle_FlunderList

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

Convert_v1alpha1_FlunderList_To_wardle_FlunderList is an autogenerated conversion function.

func Convert_v1alpha1_FlunderSpec_To_wardle_FlunderSpec

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

Convert_v1alpha1_FlunderSpec_To_wardle_FlunderSpec is an autogenerated conversion function.

func Convert_v1alpha1_FlunderStatus_To_wardle_FlunderStatus

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

Convert_v1alpha1_FlunderStatus_To_wardle_FlunderStatus is an autogenerated conversion function.

func Convert_v1alpha1_Flunder_To_wardle_Flunder

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

Convert_v1alpha1_Flunder_To_wardle_Flunder is an autogenerated conversion function.

func Convert_wardle_FischerList_To_v1alpha1_FischerList

func Convert_wardle_FischerList_To_v1alpha1_FischerList(in *wardle.FischerList, out *FischerList, s conversion.Scope) error

Convert_wardle_FischerList_To_v1alpha1_FischerList is an autogenerated conversion function.

func Convert_wardle_Fischer_To_v1alpha1_Fischer

func Convert_wardle_Fischer_To_v1alpha1_Fischer(in *wardle.Fischer, out *Fischer, s conversion.Scope) error

Convert_wardle_Fischer_To_v1alpha1_Fischer is an autogenerated conversion function.

func Convert_wardle_FlunderList_To_v1alpha1_FlunderList

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

Convert_wardle_FlunderList_To_v1alpha1_FlunderList is an autogenerated conversion function.

func Convert_wardle_FlunderSpec_To_v1alpha1_FlunderSpec

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

Convert_wardle_FlunderSpec_To_v1alpha1_FlunderSpec is an autogenerated conversion function.

func Convert_wardle_FlunderStatus_To_v1alpha1_FlunderStatus

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

Convert_wardle_FlunderStatus_To_v1alpha1_FlunderStatus is an autogenerated conversion function.

func Convert_wardle_Flunder_To_v1alpha1_Flunder

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

Convert_wardle_Flunder_To_v1alpha1_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

func SetDefaults_FlunderSpec

func SetDefaults_FlunderSpec(obj *FlunderSpec)

SetDefaults_FlunderSpec sets defaults for Flunder spec

func SetObjectDefaults_Flunder

func SetObjectDefaults_Flunder(in *Flunder)

func SetObjectDefaults_FlunderList

func SetObjectDefaults_FlunderList(in *FlunderList)

Types

type Fischer

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

	// DisallowedFlunders holds a list of Flunder.Names that are disallowed.
	// +listType=atomic
	DisallowedFlunders []string `json:"disallowedFlunders,omitempty" protobuf:"bytes,2,rep,name=disallowedFlunders"`
}

func (*Fischer) APILifecycleDeprecated added in v0.31.0

func (in *Fischer) APILifecycleDeprecated() (major, minor int)

APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.

func (*Fischer) APILifecycleIntroduced added in v0.31.0

func (in *Fischer) APILifecycleIntroduced() (major, minor int)

APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.

func (*Fischer) APILifecycleRemoved added in v0.31.0

func (in *Fischer) APILifecycleRemoved() (major, minor int)

APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.

func (*Fischer) DeepCopy

func (in *Fischer) DeepCopy() *Fischer

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

func (*Fischer) DeepCopyInto

func (in *Fischer) DeepCopyInto(out *Fischer)

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

func (*Fischer) DeepCopyObject

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

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

type FischerList

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

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

FischerList is a list of Fischer objects.

func (*FischerList) APILifecycleDeprecated added in v0.31.0

func (in *FischerList) APILifecycleDeprecated() (major, minor int)

APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.

func (*FischerList) APILifecycleIntroduced added in v0.31.0

func (in *FischerList) APILifecycleIntroduced() (major, minor int)

APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.

func (*FischerList) APILifecycleRemoved added in v0.31.0

func (in *FischerList) APILifecycleRemoved() (major, minor int)

APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.

func (*FischerList) DeepCopy

func (in *FischerList) DeepCopy() *FischerList

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

func (*FischerList) DeepCopyInto

func (in *FischerList) DeepCopyInto(out *FischerList)

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

func (*FischerList) DeepCopyObject

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

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

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"`
}

func (*Flunder) APILifecycleDeprecated added in v0.31.0

func (in *Flunder) APILifecycleDeprecated() (major, minor int)

APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.

func (*Flunder) APILifecycleIntroduced added in v0.31.0

func (in *Flunder) APILifecycleIntroduced() (major, minor int)

APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.

func (*Flunder) APILifecycleRemoved added in v0.31.0

func (in *Flunder) APILifecycleRemoved() (major, minor int)

APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.

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) APILifecycleDeprecated added in v0.31.0

func (in *FlunderList) APILifecycleDeprecated() (major, minor int)

APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.

func (*FlunderList) APILifecycleIntroduced added in v0.31.0

func (in *FlunderList) APILifecycleIntroduced() (major, minor int)

APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.

func (*FlunderList) APILifecycleRemoved added in v0.31.0

func (in *FlunderList) APILifecycleRemoved() (major, minor int)

APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.

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 or fischer, depending on the reference type.
	Reference string `json:"reference,omitempty" protobuf:"bytes,1,opt,name=reference"`
	// The reference type, defaults to "Flunder" if reference is set.
	ReferenceType *ReferenceType `json:"referenceType,omitempty" protobuf:"bytes,2,opt,name=referenceType"`
}

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 {
}

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

Jump to

Keyboard shortcuts

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