GroupName is the group name use in this package
const GroupName = "output.kubeadm.k8s.io"
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 )
SchemeGroupVersion is group version used to register these objects
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
AvailableUpgrade represents information for a single available upgrade.
type AvailableUpgrade struct { metav1.TypeMeta Description string Components []ComponentUpgradePlan }
func (in *AvailableUpgrade) DeepCopy() *AvailableUpgrade
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AvailableUpgrade.
func (in *AvailableUpgrade) DeepCopyInto(out *AvailableUpgrade)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *AvailableUpgrade) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
BootstrapToken represents information for the bootstrap token output produced by kubeadm
type BootstrapToken struct { metav1.TypeMeta bootstraptokenv1.BootstrapToken }
func (in *BootstrapToken) DeepCopy() *BootstrapToken
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapToken.
func (in *BootstrapToken) DeepCopyInto(out *BootstrapToken)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BootstrapToken) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
Certificate represents information for a certificate or a certificate authority when using the check-expiration command.
type Certificate struct { // Name of the certificate. Name string // ExpirationDate defines certificate expiration date in UTC following the RFC3339 format. ExpirationDate metav1.Time // ResidualTimeSeconds represents the duration in seconds relative to the residual time before expiration. ResidualTimeSeconds int64 // ExternallyManaged defines if the certificate is externally managed. ExternallyManaged bool // CAName represents the name of the CA that signed the certificate. // This field is empty for self-signed, root CA certificates. CAName string // Missing represents if the certificate is missing. Missing bool }
func (in *Certificate) DeepCopy() *Certificate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Certificate.
func (in *Certificate) DeepCopyInto(out *Certificate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
CertificateExpirationInfo represents information for the output produced by 'kubeadm certs check-expiration'.
type CertificateExpirationInfo struct { metav1.TypeMeta // Certificates holds a list of certificates to show expiration information for. Certificates []Certificate // CertificateAuthorities holds a list of certificate authorities to show expiration information for. CertificateAuthorities []Certificate }
func (in *CertificateExpirationInfo) DeepCopy() *CertificateExpirationInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateExpirationInfo.
func (in *CertificateExpirationInfo) DeepCopyInto(out *CertificateExpirationInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *CertificateExpirationInfo) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
ComponentConfigVersionState describes the current and desired version of a component config
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 }
func (in *ComponentConfigVersionState) DeepCopy() *ComponentConfigVersionState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentConfigVersionState.
func (in *ComponentConfigVersionState) DeepCopyInto(out *ComponentConfigVersionState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
ComponentUpgradePlan represents information about upgrade plan for one component
type ComponentUpgradePlan struct { metav1.TypeMeta Name string CurrentVersion string NewVersion string NodeName string }
func (in *ComponentUpgradePlan) DeepCopy() *ComponentUpgradePlan
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentUpgradePlan.
func (in *ComponentUpgradePlan) DeepCopyInto(out *ComponentUpgradePlan)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ComponentUpgradePlan) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
Images represents information for the output produced by 'kubeadm config images list'
type Images struct { metav1.TypeMeta Images []string }
func (in *Images) DeepCopy() *Images
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Images.
func (in *Images) DeepCopyInto(out *Images)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *Images) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
UpgradePlan represents information about upgrade plan for the output produced by 'kubeadm upgrade plan'
type UpgradePlan struct { metav1.TypeMeta AvailableUpgrades []AvailableUpgrade ConfigVersions []ComponentConfigVersionState // TODO: Remove this field when v1alpha2 is removed Components []ComponentUpgradePlan }
func (in *UpgradePlan) DeepCopy() *UpgradePlan
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradePlan.
func (in *UpgradePlan) DeepCopyInto(out *UpgradePlan)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *UpgradePlan) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
Name | Synopsis |
---|---|
.. | |
fuzzer | |
scheme | |
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. |
v1alpha3 | Package v1alpha3 defines the v1alpha3 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. |