output

package
v1.17.17 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2021 License: Apache-2.0 Imports: 4 Imported by: 5

Documentation

Overview

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

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.NewSchemeBuilder(addKnownTypes)
	// AddToScheme applies all the stored functions to the scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

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

	kubeadmapiv1beta2.BootstrapToken
}

BootstrapToken represents information for the output produced by 'kubeadm token list' 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.

Directories

Path Synopsis
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.
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.

Jump to

Keyboard shortcuts

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