package output
import "k8s.io/kubernetes/cmd/kubeadm/app/apis/output"
Package output implements the kubeadm 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 Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type BootstrapToken
- func (in *BootstrapToken) DeepCopy() *BootstrapToken
- func (in *BootstrapToken) DeepCopyInto(out *BootstrapToken)
- func (in *BootstrapToken) DeepCopyObject() runtime.Object
- type ComponentConfigVersionState
- func (in *ComponentConfigVersionState) DeepCopy() *ComponentConfigVersionState
- func (in *ComponentConfigVersionState) DeepCopyInto(out *ComponentConfigVersionState)
- type ComponentUpgradePlan
- func (in *ComponentUpgradePlan) DeepCopy() *ComponentUpgradePlan
- func (in *ComponentUpgradePlan) DeepCopyInto(out *ComponentUpgradePlan)
- func (in *ComponentUpgradePlan) DeepCopyObject() runtime.Object
- type Images
- func (in *Images) DeepCopy() *Images
- func (in *Images) DeepCopyInto(out *Images)
- func (in *Images) DeepCopyObject() runtime.Object
- 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.NewSchemeBuilder(addKnownTypes) // AddToScheme applies all the stored functions to the scheme. AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Kind ¶
Kind takes an unqualified kind and returns a Group qualified GroupKind
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type BootstrapToken ¶
type BootstrapToken struct { metav1.TypeMeta bootstraptokenv1.BootstrapToken }
BootstrapToken represents information for the bootstrap token output produced by kubeadm
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 ComponentConfigVersionState ¶
type ComponentConfigVersionState struct { // Group points to the Kubernetes API group that covers the config Group string // CurrentVersion is the currently active component config version // NOTE: This can be empty in case the config was not found on the cluster or it was unsupported // kubeadm generated version CurrentVersion string // PreferredVersion is the component config version that is currently preferred by kubeadm for use. // NOTE: As of today, this is the only version supported by kubeadm. PreferredVersion string // ManualUpgradeRequired indicates if users need to manually upgrade their component config versions. This happens if // the CurrentVersion of the config is user supplied (or modified) and no longer supported. Users should upgrade // their component configs to PreferredVersion or any other supported component config version. ManualUpgradeRequired bool }
ComponentConfigVersionState describes the current and desired version of a component config
func (*ComponentConfigVersionState) DeepCopy ¶
func (in *ComponentConfigVersionState) DeepCopy() *ComponentConfigVersionState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentConfigVersionState.
func (*ComponentConfigVersionState) DeepCopyInto ¶
func (in *ComponentConfigVersionState) DeepCopyInto(out *ComponentConfigVersionState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ComponentUpgradePlan ¶
type ComponentUpgradePlan struct { metav1.TypeMeta Name string CurrentVersion string NewVersion string }
ComponentUpgradePlan represents information about upgrade plan for one component
func (*ComponentUpgradePlan) DeepCopy ¶
func (in *ComponentUpgradePlan) DeepCopy() *ComponentUpgradePlan
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentUpgradePlan.
func (*ComponentUpgradePlan) DeepCopyInto ¶
func (in *ComponentUpgradePlan) DeepCopyInto(out *ComponentUpgradePlan)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ComponentUpgradePlan) DeepCopyObject ¶
func (in *ComponentUpgradePlan) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Images ¶
Images represents information for the output produced by 'kubeadm config images list'
func (*Images) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Images.
func (*Images) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Images) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type UpgradePlan ¶
type UpgradePlan struct { metav1.TypeMeta Components []ComponentUpgradePlan ConfigVersions []ComponentConfigVersionState }
UpgradePlan represents information about upgrade plan for the output produced by 'kubeadm upgrade plan'
func (*UpgradePlan) DeepCopy ¶
func (in *UpgradePlan) DeepCopy() *UpgradePlan
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradePlan.
func (*UpgradePlan) DeepCopyInto ¶
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 ¶
func (in *UpgradePlan) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
Source Files ¶
doc.go register.go types.go zz_generated.deepcopy.go
Directories ¶
Path | Synopsis |
---|---|
cmd/kubeadm/app/apis/output/fuzzer | |
cmd/kubeadm/app/apis/output/scheme | |
cmd/kubeadm/app/apis/output/v1alpha2 | Package v1alpha2 defines the v1alpha2 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. |
- Version
- v1.26.6
- Published
- Jun 14, 2023
- Platform
- js/wasm
- Imports
- 4 packages
- Last checked
- 4 minutes ago –
Tools for package owners.