v1

package
v0.0.0-...-a7cc116 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

func Kind

func Kind(kind string) schema.GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Types

type Picture

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

	Spec   PictureSpec   `json:"spec"`
	Status PictureStatus `json:"status"`
}

func (*Picture) DeepCopy

func (in *Picture) DeepCopy() *Picture

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

func (*Picture) DeepCopyInto

func (in *Picture) DeepCopyInto(out *Picture)

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

func (*Picture) DeepCopyObject

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

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

type PictureList

type PictureList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []Picture `json:"items"`
}

func (*PictureList) DeepCopy

func (in *PictureList) DeepCopy() *PictureList

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

func (*PictureList) DeepCopyInto

func (in *PictureList) DeepCopyInto(out *PictureList)

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

func (*PictureList) DeepCopyObject

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

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

type PictureSpec

type PictureSpec struct {
	Text string `json:"text"`
}

func (*PictureSpec) DeepCopy

func (in *PictureSpec) DeepCopy() *PictureSpec

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

func (*PictureSpec) DeepCopyInto

func (in *PictureSpec) DeepCopyInto(out *PictureSpec)

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

type PictureStatus

type PictureStatus struct {
	URL                string `json:"url"`
	ObservedGeneration int64  `json:"observedGeneration,omitempty"`
}

func (*PictureStatus) DeepCopy

func (in *PictureStatus) DeepCopy() *PictureStatus

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

func (*PictureStatus) DeepCopyInto

func (in *PictureStatus) DeepCopyInto(out *PictureStatus)

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