v1alpha1

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the image v1alpha1 API group. +kubebuilder:object:generate=true +groupName=image.giantswarm.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects.
	GroupVersion = schema.GroupVersion{Group: "image.giantswarm.io", Version: "v1alpha1"}

	// 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 NodeImage

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

	Spec   NodeImageSpec   `json:"spec,omitempty"`
	Status NodeImageStatus `json:"status,omitempty"`
}

NodeImage is the Schema for the nodeimages API.

func (*NodeImage) DeepCopy

func (in *NodeImage) DeepCopy() *NodeImage

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

func (*NodeImage) DeepCopyInto

func (in *NodeImage) DeepCopyInto(out *NodeImage)

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

func (*NodeImage) DeepCopyObject

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

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

type NodeImageList

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

NodeImageList contains a list of NodeImage.

func (*NodeImageList) DeepCopy

func (in *NodeImageList) DeepCopy() *NodeImageList

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

func (*NodeImageList) DeepCopyInto

func (in *NodeImageList) DeepCopyInto(out *NodeImageList)

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

func (*NodeImageList) DeepCopyObject

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

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

type NodeImageSpec

type NodeImageSpec struct {

	// Name is the name of the image
	Name string `json:"name"`
	// Provider is the provider that the image is going to be used for
	Provider string `json:"provider"`
}

NodeImageSpec defines the desired state of NodeImage.

func (*NodeImageSpec) DeepCopy

func (in *NodeImageSpec) DeepCopy() *NodeImageSpec

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

func (*NodeImageSpec) DeepCopyInto

func (in *NodeImageSpec) DeepCopyInto(out *NodeImageSpec)

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

type NodeImageState

type NodeImageState string

NodeImageState is the state of the image

const (
	NodeImagePending   NodeImageState = "Pending"
	NodeImageUploading NodeImageState = "Uploading"
	NodeImageAvailable NodeImageState = "Available"
	NodeImageError     NodeImageState = "Error"
	NodeImageDeleting  NodeImageState = "Deleting"
	NodeImageDeleted   NodeImageState = "Deleted"
	NodeImageMissing   NodeImageState = "Missing"
)

type NodeImageStatus

type NodeImageStatus struct {

	// Releases is the list of releases that the image is used in
	Releases []string `json:"releases"`

	// State is the state that the image is currently in
	State NodeImageState `json:"state"`
}

NodeImageStatus defines the observed state of NodeImage.

func (*NodeImageStatus) DeepCopy

func (in *NodeImageStatus) DeepCopy() *NodeImageStatus

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

func (*NodeImageStatus) DeepCopyInto

func (in *NodeImageStatus) DeepCopyInto(out *NodeImageStatus)

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