v1

package
v0.0.0-...-d0314a7 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the kubebuilder v1 API group +kubebuilder:object:generate=true +groupName=kubebuilder.meetup.apricote.de

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "kubebuilder.meetup.apricote.de", Version: "v1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type Pokemon

type Pokemon struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   PokemonSpec   `json:"spec,omitempty"`
	Status PokemonStatus `json:"status,omitempty"`
}

Pokemon is the Schema for the pokemons API

func (*Pokemon) DeepCopy

func (in *Pokemon) DeepCopy() *Pokemon

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

func (*Pokemon) DeepCopyInto

func (in *Pokemon) DeepCopyInto(out *Pokemon)

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

func (*Pokemon) DeepCopyObject

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

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

type PokemonList

type PokemonList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Pokemon `json:"items"`
}

PokemonList contains a list of Pokemon

func (*PokemonList) DeepCopy

func (in *PokemonList) DeepCopy() *PokemonList

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

func (*PokemonList) DeepCopyInto

func (in *PokemonList) DeepCopyInto(out *PokemonList)

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

func (*PokemonList) DeepCopyObject

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

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

type PokemonSpec

type PokemonSpec struct {
	// Name of the Pokemon that should be created in a ConfigMap.
	PokemonName string `json:"pokemonName,omitempty"`

	// Name of the config map that the pokemon will be saved as.
	ConfigMapName string `json:"configMapName,omitempty"`
}

PokemonSpec defines the desired state of Pokemon

func (*PokemonSpec) DeepCopy

func (in *PokemonSpec) DeepCopy() *PokemonSpec

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

func (*PokemonSpec) DeepCopyInto

func (in *PokemonSpec) DeepCopyInto(out *PokemonSpec)

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

type PokemonStatus

type PokemonStatus struct {
}

PokemonStatus defines the observed state of Pokemon

func (*PokemonStatus) DeepCopy

func (in *PokemonStatus) DeepCopy() *PokemonStatus

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

func (*PokemonStatus) DeepCopyInto

func (in *PokemonStatus) DeepCopyInto(out *PokemonStatus)

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

Jump to

Keyboard shortcuts

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