v1alpha1

package
v0.0.0-...-f5b21ba Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2021 License: Apache-2.0 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:   samplecontroller.GroupName,
	Version: "v1alpha1",
}

Functions

func Resource

func Resource(resource string) schema.GroupResource

Types

type MyResource

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

	Spec   MyResourceSpec   `json:"spec"`
	Status MyResourceStatus `json:"status"`
}

func (*MyResource) DeepCopy

func (in *MyResource) DeepCopy() *MyResource

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

func (*MyResource) DeepCopyInto

func (in *MyResource) DeepCopyInto(out *MyResource)

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

func (*MyResource) DeepCopyObject

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

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

type MyResourceList

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

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

func (*MyResourceList) DeepCopy

func (in *MyResourceList) DeepCopy() *MyResourceList

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

func (*MyResourceList) DeepCopyInto

func (in *MyResourceList) DeepCopyInto(out *MyResourceList)

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

func (*MyResourceList) DeepCopyObject

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

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

type MyResourceSpec

type MyResourceSpec struct {
	Message string `json:"message"`
}

func (*MyResourceSpec) DeepCopy

func (in *MyResourceSpec) DeepCopy() *MyResourceSpec

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

func (*MyResourceSpec) DeepCopyInto

func (in *MyResourceSpec) DeepCopyInto(out *MyResourceSpec)

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

type MyResourceStatus

type MyResourceStatus struct {
	PodName string `json:"podName"`
}

func (*MyResourceStatus) DeepCopy

func (in *MyResourceStatus) DeepCopy() *MyResourceStatus

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

func (*MyResourceStatus) DeepCopyInto

func (in *MyResourceStatus) DeepCopyInto(out *MyResourceStatus)

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