wardle

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: Apache-2.0, Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package api is the internal version of the API.

Index

Constants

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

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

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 back a Group qualified GroupResource

Types

type Fischer

type Fischer struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	// DisallowedFlunders holds a list of Flunder.Names that are disallowed.
	DisallowedFlunders []string
}

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
	metav1.ListMeta

	// Items is a list of Fischers
	Items []Fischer
}

FischerList is a list of Fischer objects.

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
	metav1.ObjectMeta

	Spec   FlunderSpec
	Status FlunderStatus
}

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
	metav1.ListMeta

	Items []Flunder
}

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
	// A name of a fischer, mutually exclusive to the FlunderReference.
	FischerReference string
	// The reference type.
	ReferenceType 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

Directories

Path Synopsis
Package v1alpha1 is the v1alpha1 version of the API.
Package v1alpha1 is the v1alpha1 version of the API.
Package v1beta1 is the v1beta1 version of the API.
Package v1beta1 is the v1beta1 version of the API.

Jump to

Keyboard shortcuts

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