package api
import "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm"
+groupName=kubeadm.k8s.io
Index ¶
- Constants
- Variables
- func GetEnvParams() map[string]string
- func Kind(kind string) unversioned.GroupKind
- func Resource(resource string) unversioned.GroupResource
- type API
- type ClusterInfo
- type Etcd
- type MasterConfiguration
- type Networking
- type NodeConfiguration
- type Secrets
Constants ¶
const ( DefaultServiceDNSDomain = "cluster.local" DefaultServicesSubnet = "10.12.0.0/12" DefaultKubernetesVersion = "v1.4.1" )
const GroupName = "kubeadm"
GroupName is the group name use in this package
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func GetEnvParams ¶
TODO(phase2) use componentconfig we need some params for testing etc, let's keep these hidden for now
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 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 Etcd ¶
type MasterConfiguration ¶
type MasterConfiguration struct { unversioned.TypeMeta Secrets Secrets API API Etcd Etcd Networking Networking KubernetesVersion string CloudProvider string }
func (*MasterConfiguration) GetObjectKind ¶
func (obj *MasterConfiguration) GetObjectKind() unversioned.ObjectKind
type Networking ¶
type NodeConfiguration ¶
type NodeConfiguration struct { unversioned.TypeMeta MasterAddresses []string Secrets Secrets }
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 ¶
defaults.go docs.go env.go register.go types.go
Directories ¶
Path | Synopsis |
---|---|
cmd/kubeadm/app/apis/kubeadm/v1alpha1 | +groupName=kubeadm.k8s.io |
- Version
- v1.5.0-alpha.1
- Published
- Oct 11, 2016
- Platform
- linux/amd64
- Imports
- 6 packages
- Last checked
- 5 minutes ago –
Tools for package owners.