v1alpha2

package
v1.24.11 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

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.

Index

Constants

View Source
const GroupName = "output.kubeadm.k8s.io"

GroupName is the group name use in this package

Variables

View Source
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
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha2"}

SchemeGroupVersion is group version used to register these objects

Functions

func Convert_output_BootstrapToken_To_v1alpha2_BootstrapToken

func Convert_output_BootstrapToken_To_v1alpha2_BootstrapToken(in *output.BootstrapToken, out *BootstrapToken, s conversion.Scope) error

Convert_output_BootstrapToken_To_v1alpha2_BootstrapToken is an autogenerated conversion function.

func Convert_output_ComponentConfigVersionState_To_v1alpha2_ComponentConfigVersionState

func Convert_output_ComponentConfigVersionState_To_v1alpha2_ComponentConfigVersionState(in *output.ComponentConfigVersionState, out *ComponentConfigVersionState, s conversion.Scope) error

Convert_output_ComponentConfigVersionState_To_v1alpha2_ComponentConfigVersionState is an autogenerated conversion function.

func Convert_output_ComponentUpgradePlan_To_v1alpha2_ComponentUpgradePlan

func Convert_output_ComponentUpgradePlan_To_v1alpha2_ComponentUpgradePlan(in *output.ComponentUpgradePlan, out *ComponentUpgradePlan, s conversion.Scope) error

Convert_output_ComponentUpgradePlan_To_v1alpha2_ComponentUpgradePlan is an autogenerated conversion function.

func Convert_output_Images_To_v1alpha2_Images

func Convert_output_Images_To_v1alpha2_Images(in *output.Images, out *Images, s conversion.Scope) error

Convert_output_Images_To_v1alpha2_Images is an autogenerated conversion function.

func Convert_output_UpgradePlan_To_v1alpha2_UpgradePlan

func Convert_output_UpgradePlan_To_v1alpha2_UpgradePlan(in *output.UpgradePlan, out *UpgradePlan, s conversion.Scope) error

Convert_output_UpgradePlan_To_v1alpha2_UpgradePlan is an autogenerated conversion function.

func Convert_v1alpha2_BootstrapToken_To_output_BootstrapToken

func Convert_v1alpha2_BootstrapToken_To_output_BootstrapToken(in *BootstrapToken, out *output.BootstrapToken, s conversion.Scope) error

Convert_v1alpha2_BootstrapToken_To_output_BootstrapToken is an autogenerated conversion function.

func Convert_v1alpha2_ComponentConfigVersionState_To_output_ComponentConfigVersionState

func Convert_v1alpha2_ComponentConfigVersionState_To_output_ComponentConfigVersionState(in *ComponentConfigVersionState, out *output.ComponentConfigVersionState, s conversion.Scope) error

Convert_v1alpha2_ComponentConfigVersionState_To_output_ComponentConfigVersionState is an autogenerated conversion function.

func Convert_v1alpha2_ComponentUpgradePlan_To_output_ComponentUpgradePlan

func Convert_v1alpha2_ComponentUpgradePlan_To_output_ComponentUpgradePlan(in *ComponentUpgradePlan, out *output.ComponentUpgradePlan, s conversion.Scope) error

Convert_v1alpha2_ComponentUpgradePlan_To_output_ComponentUpgradePlan is an autogenerated conversion function.

func Convert_v1alpha2_Images_To_output_Images

func Convert_v1alpha2_Images_To_output_Images(in *Images, out *output.Images, s conversion.Scope) error

Convert_v1alpha2_Images_To_output_Images is an autogenerated conversion function.

func Convert_v1alpha2_UpgradePlan_To_output_UpgradePlan

func Convert_v1alpha2_UpgradePlan_To_output_UpgradePlan(in *UpgradePlan, out *output.UpgradePlan, s conversion.Scope) error

Convert_v1alpha2_UpgradePlan_To_output_UpgradePlan is an autogenerated conversion function.

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

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 `json:",inline"`

	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 `json:"group"`

	// 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 `json:"currentVersion"`

	// 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 `json:"preferredVersion"`

	// 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 `json:"manualUpgradeRequired"`
}

ComponentConfigVersionState describes the current and desired version of a component config

func (*ComponentConfigVersionState) DeepCopy

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

func (*ComponentConfigVersionState) DeepCopyInto

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

type ComponentUpgradePlan

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

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.

type Images

type Images struct {
	metav1.TypeMeta `json:",inline"`

	Images []string `json:"images"`
}

Images represents information for the output produced by 'kubeadm config images list'

func (*Images) DeepCopy

func (in *Images) DeepCopy() *Images

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

func (*Images) DeepCopyInto

func (in *Images) DeepCopyInto(out *Images)

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

func (*Images) DeepCopyObject

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

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

type UpgradePlan

type UpgradePlan struct {
	metav1.TypeMeta

	Components []ComponentUpgradePlan `json:"components"`

	ConfigVersions []ComponentConfigVersionState `json:"configVersions"`
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL