v1alpha1

package
v0.17.5 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API. +k8s:deepcopy-gen=package,register +groupName=kubean.io

Index

Constants

View Source
const GroupName = "kubean.io"

GroupName specifies the group name used to register the objects.

Variables

View Source
var (
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	// Depreciated: use Install instead
	AddToScheme = localSchemeBuilder.AddToScheme
	Install     = localSchemeBuilder.AddToScheme
)
View Source
var GroupVersion = v1.GroupVersion{Group: GroupName, Version: "v1alpha1"}

GroupVersion specifies the group and the version used to register the objects.

View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects Deprecated: use GroupVersion instead.

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type DockerInfo

type DockerInfo struct {
	OS string `json:"os"`
	// +optional
	VersionRange []string `json:"versionRange,omitempty"`
}

func (*DockerInfo) DeepCopy

func (in *DockerInfo) DeepCopy() *DockerInfo

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

func (*DockerInfo) DeepCopyInto

func (in *DockerInfo) DeepCopyInto(out *DockerInfo)

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

type LocalArtifactSet

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

	// +required
	Spec Spec `json:"spec"`
}

func (*LocalArtifactSet) DeepCopy

func (in *LocalArtifactSet) DeepCopy() *LocalArtifactSet

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

func (*LocalArtifactSet) DeepCopyInto

func (in *LocalArtifactSet) DeepCopyInto(out *LocalArtifactSet)

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

func (*LocalArtifactSet) DeepCopyObject

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

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

type LocalArtifactSetList

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

	// Items holds a list of ClusterOperation.
	Items []LocalArtifactSet `json:"items"`
}

func (*LocalArtifactSetList) DeepCopy

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

func (*LocalArtifactSetList) DeepCopyInto

func (in *LocalArtifactSetList) DeepCopyInto(out *LocalArtifactSetList)

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

func (*LocalArtifactSetList) DeepCopyObject

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

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

type SoftwareInfo

type SoftwareInfo struct {
	Name string `json:"name"`
	// +optional
	VersionRange []string `json:"versionRange,omitempty"`
}

func (*SoftwareInfo) DeepCopy

func (in *SoftwareInfo) DeepCopy() *SoftwareInfo

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

func (*SoftwareInfo) DeepCopyInto

func (in *SoftwareInfo) DeepCopyInto(out *SoftwareInfo)

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

type Spec

type Spec struct {
	// Arch for x86_64  aarch64... , represent for the arch of this offline package
	// +required
	Arch []string `json:"arch,omitempty""`

	// Kubespray , the tag of kubespray
	// +required
	Kubespray string `json:"kubespray,omitempty"`

	// Items cni containerd kubeadm kube etcd cilium calico
	// +required
	Items []*SoftwareInfo `json:"items"`

	// +optional
	Docker []*DockerInfo `json:"docker"`
}

func (*Spec) DeepCopy

func (in *Spec) DeepCopy() *Spec

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

func (*Spec) DeepCopyInto

func (in *Spec) DeepCopyInto(out *Spec)

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