Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API. +k8s:deepcopy-gen=package,register +groupName=kubean.io
Index ¶
Constants ¶
const GroupName = "kubean.io"
GroupName specifies the group name used to register the objects.
Variables ¶
var ( // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder // Depreciated: use Install instead AddToScheme = localSchemeBuilder.AddToScheme Install = localSchemeBuilder.AddToScheme )
var GroupVersion = v1.GroupVersion{Group: GroupName, Version: "v1alpha1"}
GroupVersion specifies the group and the version used to register the objects.
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 ¶
func (in *LocalArtifactSetList) DeepCopy() *LocalArtifactSetList
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Spec.
func (*Spec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.