wardle

package
v0.0.0-...-92af89d Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package wardle is the internal 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 is the group name used in this package

Variables

View Source
var (
	// SchemeBuilder is the scheme builder with scheme init functions to run for this API package
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme is a common registration function for mapping packaged scoped group & version keys to a scheme
	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
}

Fischer is an example type with a list of disallowed Flunder.Names

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
}

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

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.

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