Documentation ¶
Overview ¶
Package v1alpha1 defines the v1alpha1 version of the kubeadm data structures related to structured output The purpose of the kubeadm structured output is to have a well defined versioned output format that other software that uses kubeadm for cluster deployments can use and rely on.
Index ¶
- Constants
- Variables
- func Convert_output_BootstrapToken_To_v1alpha1_BootstrapToken(in *output.BootstrapToken, out *BootstrapToken, s conversion.Scope) error
- func Convert_output_ComponentUpgradePlan_To_v1alpha1_ComponentUpgradePlan(in *output.ComponentUpgradePlan, out *ComponentUpgradePlan, s conversion.Scope) error
- func Convert_output_Images_To_v1alpha1_Images(in *output.Images, out *Images, s conversion.Scope) error
- func Convert_output_UpgradePlan_To_v1alpha1_UpgradePlan(in *output.UpgradePlan, out *UpgradePlan, s conversion.Scope) error
- func Convert_v1alpha1_BootstrapToken_To_output_BootstrapToken(in *BootstrapToken, out *output.BootstrapToken, s conversion.Scope) error
- func Convert_v1alpha1_ComponentUpgradePlan_To_output_ComponentUpgradePlan(in *ComponentUpgradePlan, out *output.ComponentUpgradePlan, s conversion.Scope) error
- func Convert_v1alpha1_Images_To_output_Images(in *Images, out *output.Images, s conversion.Scope) error
- func Convert_v1alpha1_UpgradePlan_To_output_UpgradePlan(in *UpgradePlan, out *output.UpgradePlan, s conversion.Scope) error
- func Kind(kind string) schema.GroupKind
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- func SetObjectDefaults_BootstrapToken(in *BootstrapToken)
- type BootstrapToken
- type ComponentUpgradePlan
- type Images
- type UpgradePlan
Constants ¶
const GroupName = "output.kubeadm.k8s.io"
GroupName is the group name use in this package
Variables ¶
var ( // SchemeBuilder points to a list of functions added to Scheme. SchemeBuilder runtime.SchemeBuilder // AddToScheme applies all the stored functions to the scheme. AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Convert_output_BootstrapToken_To_v1alpha1_BootstrapToken ¶
func Convert_output_BootstrapToken_To_v1alpha1_BootstrapToken(in *output.BootstrapToken, out *BootstrapToken, s conversion.Scope) error
Convert_output_BootstrapToken_To_v1alpha1_BootstrapToken is an autogenerated conversion function.
func Convert_output_ComponentUpgradePlan_To_v1alpha1_ComponentUpgradePlan ¶ added in v1.19.0
func Convert_output_ComponentUpgradePlan_To_v1alpha1_ComponentUpgradePlan(in *output.ComponentUpgradePlan, out *ComponentUpgradePlan, s conversion.Scope) error
Convert_output_ComponentUpgradePlan_To_v1alpha1_ComponentUpgradePlan is an autogenerated conversion function.
func Convert_output_Images_To_v1alpha1_Images ¶ added in v1.18.0
func Convert_output_Images_To_v1alpha1_Images(in *output.Images, out *Images, s conversion.Scope) error
Convert_output_Images_To_v1alpha1_Images is an autogenerated conversion function.
func Convert_output_UpgradePlan_To_v1alpha1_UpgradePlan ¶ added in v1.19.0
func Convert_output_UpgradePlan_To_v1alpha1_UpgradePlan(in *output.UpgradePlan, out *UpgradePlan, s conversion.Scope) error
Convert_output_UpgradePlan_To_v1alpha1_UpgradePlan is an autogenerated conversion function.
func Convert_v1alpha1_BootstrapToken_To_output_BootstrapToken ¶
func Convert_v1alpha1_BootstrapToken_To_output_BootstrapToken(in *BootstrapToken, out *output.BootstrapToken, s conversion.Scope) error
Convert_v1alpha1_BootstrapToken_To_output_BootstrapToken is an autogenerated conversion function.
func Convert_v1alpha1_ComponentUpgradePlan_To_output_ComponentUpgradePlan ¶ added in v1.19.0
func Convert_v1alpha1_ComponentUpgradePlan_To_output_ComponentUpgradePlan(in *ComponentUpgradePlan, out *output.ComponentUpgradePlan, s conversion.Scope) error
Convert_v1alpha1_ComponentUpgradePlan_To_output_ComponentUpgradePlan is an autogenerated conversion function.
func Convert_v1alpha1_Images_To_output_Images ¶ added in v1.18.0
func Convert_v1alpha1_Images_To_output_Images(in *Images, out *output.Images, s conversion.Scope) error
Convert_v1alpha1_Images_To_output_Images is an autogenerated conversion function.
func Convert_v1alpha1_UpgradePlan_To_output_UpgradePlan ¶ added in v1.19.0
func Convert_v1alpha1_UpgradePlan_To_output_UpgradePlan(in *UpgradePlan, out *output.UpgradePlan, s conversion.Scope) error
Convert_v1alpha1_UpgradePlan_To_output_UpgradePlan is an autogenerated conversion function.
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDefaults ¶
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
func SetObjectDefaults_BootstrapToken ¶
func SetObjectDefaults_BootstrapToken(in *BootstrapToken)
Types ¶
type BootstrapToken ¶
type BootstrapToken struct { metav1.TypeMeta `json:",inline"` kubeadmapiv1beta2.BootstrapToken }
BootstrapToken represents information for the bootstrap token output produced by kubeadm This is a copy of BoostrapToken struct from ../kubeadm/types.go with 2 additions: metav1.TypeMeta and metav1.ObjectMeta
func (*BootstrapToken) DeepCopy ¶
func (in *BootstrapToken) DeepCopy() *BootstrapToken
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapToken.
func (*BootstrapToken) DeepCopyInto ¶
func (in *BootstrapToken) DeepCopyInto(out *BootstrapToken)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BootstrapToken) DeepCopyObject ¶
func (in *BootstrapToken) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ComponentUpgradePlan ¶ added in v1.19.0
type ComponentUpgradePlan struct { Name string `json:"name"` CurrentVersion string `json:"currentVersion"` NewVersion string `json:"newVersion"` }
ComponentUpgradePlan represents information about upgrade plan for one component
func (*ComponentUpgradePlan) DeepCopy ¶ added in v1.19.0
func (in *ComponentUpgradePlan) DeepCopy() *ComponentUpgradePlan
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentUpgradePlan.
func (*ComponentUpgradePlan) DeepCopyInto ¶ added in v1.19.0
func (in *ComponentUpgradePlan) DeepCopyInto(out *ComponentUpgradePlan)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Images ¶ added in v1.18.0
Images represents information for the output produced by 'kubeadm config images list'
func (*Images) DeepCopy ¶ added in v1.18.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Images.
func (*Images) DeepCopyInto ¶ added in v1.18.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Images) DeepCopyObject ¶ added in v1.18.0
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type UpgradePlan ¶ added in v1.19.0
type UpgradePlan struct { metav1.TypeMeta Components []ComponentUpgradePlan `json:"components"` }
UpgradePlan represents information about upgrade plan for the output produced by 'kubeadm upgrade plan'
func (*UpgradePlan) DeepCopy ¶ added in v1.19.0
func (in *UpgradePlan) DeepCopy() *UpgradePlan
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradePlan.
func (*UpgradePlan) DeepCopyInto ¶ added in v1.19.0
func (in *UpgradePlan) DeepCopyInto(out *UpgradePlan)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UpgradePlan) DeepCopyObject ¶ added in v1.19.0
func (in *UpgradePlan) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.