Documentation ¶
Overview ¶
+groupName=kubeadm.k8s.io
Index ¶
Constants ¶
View Source
const ( DefaultServiceDNSDomain = "cluster.local" DefaultServicesSubnet = "10.96.0.0/12" DefaultKubernetesVersion = "v1.4.4" DefaultAPIBindPort = 6443 DefaultDiscoveryBindPort = 9898 )
View Source
const GroupName = "kubeadm.k8s.io"
GroupName is the group name use in this package
Variables ¶
View Source
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
View Source
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 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 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 NodeConfiguration ¶
type NodeConfiguration struct { unversioned.TypeMeta MasterAddresses []string Secrets Secrets APIPort int32 DiscoveryPort int32 }
func (*NodeConfiguration) GetObjectKind ¶
func (obj *NodeConfiguration) GetObjectKind() unversioned.ObjectKind
Click to show internal directories.
Click to hide internal directories.