v1

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{
	Group:   "images.cdayz.k8s.extensions",
	Version: "v1",
}

Define your schema name and the version

Functions

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type PrePullImage

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

	Spec   PrePullImageSpec   `json:"spec,omitempty"`
	Status PrePullImageStatus `json:"status,omitempty"`
}

PrePullImage is the Schema for the prepullimages API

func (*PrePullImage) DeepCopy

func (in *PrePullImage) DeepCopy() *PrePullImage

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

func (*PrePullImage) DeepCopyInto

func (in *PrePullImage) DeepCopyInto(out *PrePullImage)

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

func (*PrePullImage) DeepCopyObject

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

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

type PrePullImageList

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

PrePullImageList contains a list of PrePullImage

func (*PrePullImageList) DeepCopy

func (in *PrePullImageList) DeepCopy() *PrePullImageList

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

func (*PrePullImageList) DeepCopyInto

func (in *PrePullImageList) DeepCopyInto(out *PrePullImageList)

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

func (*PrePullImageList) DeepCopyObject

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

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

type PrePullImageSpec

type PrePullImageSpec struct {
	// Image which should be pulled on nodes
	Image string `json:"image"`
	// NodeSelector for selecting only particular nodes where image should be pre-pulled
	NodeSelector map[string]string `json:"nodeSelector"`
}

PrePullImageSpec defines the desired state of PrePullImage

func (*PrePullImageSpec) DeepCopy

func (in *PrePullImageSpec) DeepCopy() *PrePullImageSpec

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

func (*PrePullImageSpec) DeepCopyInto

func (in *PrePullImageSpec) DeepCopyInto(out *PrePullImageSpec)

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

type PrePullImageStatus

type PrePullImageStatus struct{}

func (*PrePullImageStatus) DeepCopy

func (in *PrePullImageStatus) DeepCopy() *PrePullImageStatus

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

func (*PrePullImageStatus) DeepCopyInto

func (in *PrePullImageStatus) DeepCopyInto(out *PrePullImageStatus)

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