client-gok8s.io/client-go/pkg/apis/kubeadm Index | Files | Directories

package kubeadm

import "k8s.io/client-go/pkg/apis/kubeadm"

+groupName=kubeadm.k8s.io

Index

Constants

const GroupName = "kubeadm.k8s.io"

GroupName is the group name use in this package

Variables

var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
var GlobalEnvParams = SetEnvParams()
var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) unversioned.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) unversioned.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type API

type API struct {
	AdvertiseAddresses []string
	ExternalDNSNames   []string
	BindPort           int32
}

type ClusterInfo

type ClusterInfo struct {
	unversioned.TypeMeta
	// TODO(phase1+) this may become simply `api.Config`
	CertificateAuthorities []string `json:"certificateAuthorities"`
	Endpoints              []string `json:"endpoints"`
}

ClusterInfo TODO add description

func (*ClusterInfo) GetObjectKind

func (obj *ClusterInfo) GetObjectKind() unversioned.ObjectKind

type Discovery

type Discovery struct {
	BindPort int32
}

type EnvParams

type EnvParams struct {
	KubernetesDir     string
	HostPKIPath       string
	HostEtcdPath      string
	HyperkubeImage    string
	DiscoveryImage    string
	EtcdImage         string
	ComponentLoglevel string
}

func SetEnvParams

func SetEnvParams() *EnvParams

TODO(phase2) use componentconfig we need some params for testing etc, let's keep these hidden for now

type Etcd

type Etcd struct {
	Endpoints []string
	CAFile    string
	CertFile  string
	KeyFile   string
}

type MasterConfiguration

type MasterConfiguration struct {
	unversioned.TypeMeta

	Secrets           Secrets
	API               API
	Discovery         Discovery
	Etcd              Etcd
	Networking        Networking
	KubernetesVersion string
	CloudProvider     string
}

func (*MasterConfiguration) GetObjectKind

func (obj *MasterConfiguration) GetObjectKind() unversioned.ObjectKind

type Networking

type Networking struct {
	ServiceSubnet string
	PodSubnet     string
	DNSDomain     string
}

type NodeConfiguration

type NodeConfiguration struct {
	unversioned.TypeMeta

	MasterAddresses []string
	Secrets         Secrets
	APIPort         int32
	DiscoveryPort   int32
}

func (*NodeConfiguration) GetObjectKind

func (obj *NodeConfiguration) GetObjectKind() unversioned.ObjectKind

type Secrets

type Secrets struct {
	GivenToken  string // dot-separated `<TokenID>.<Token>` set by the user
	TokenID     string // optional on master side, will be generated if not specified
	Token       []byte // optional on master side, will be generated if not specified
	BearerToken string // set based on Token
}

Source Files

doc.go env.go register.go types.go

Directories

PathSynopsis
pkg/apis/kubeadm/install
pkg/apis/kubeadm/v1alpha1+k8s:defaulter-gen=TypeMeta +groupName=kubeadm.k8s.io
Version
v2.0.0-alpha.1+incompatible
Published
Dec 20, 2016
Platform
js/wasm
Imports
7 packages
Last checked
56 seconds ago

Tools for package owners.