Documentation
      ¶
    
    
  
    
  
    Overview ¶
+groupName=kubeadm.k8s.io
Index ¶
- Constants
 - Variables
 - func Kind(kind string) schema.GroupKind
 - func Resource(resource string) schema.GroupResource
 - type API
 - type ClusterInfo
 - type Discovery
 - type EnvParams
 - type Etcd
 - type FileDiscovery
 - type HTTPSDiscovery
 - type MasterConfiguration
 - type Networking
 - type NodeConfiguration
 - type TokenDiscovery
 
Constants ¶
      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 GlobalEnvParams = SetEnvParams()
    
      View Source
      
  var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
    SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type ClusterInfo ¶
type ClusterInfo struct {
	metav1.TypeMeta
	// TODO(phase1+) this may become simply `api.Config`
	CertificateAuthorities []string
	Endpoints              []string
}
    ClusterInfo TODO add description
func (*ClusterInfo) GetObjectKind ¶
func (obj *ClusterInfo) GetObjectKind() schema.ObjectKind
type Discovery ¶
type Discovery struct {
	HTTPS *HTTPSDiscovery
	File  *FileDiscovery
	Token *TokenDiscovery
}
    type EnvParams ¶
type EnvParams struct {
	KubernetesDir    string
	HostPKIPath      string
	HostEtcdPath     string
	HyperkubeImage   string
	RepositoryPrefix string
	DiscoveryImage   string
	EtcdImage        string
}
    func SetEnvParams ¶
func SetEnvParams() *EnvParams
TODO(phase1+) Move these paramaters to the API group we need some params for testing etc, let's keep these hidden for now
type FileDiscovery ¶ added in v1.13.0
type FileDiscovery struct {
	Path string
}
    type HTTPSDiscovery ¶
type HTTPSDiscovery struct {
	URL string
}
    type MasterConfiguration ¶
type MasterConfiguration struct {
	metav1.TypeMeta
	API               API
	Discovery         Discovery
	Etcd              Etcd
	Networking        Networking
	KubernetesVersion string
	CloudProvider     string
	AuthorizationMode string
}
    func (*MasterConfiguration) GetObjectKind ¶
func (obj *MasterConfiguration) GetObjectKind() schema.ObjectKind
type Networking ¶
type NodeConfiguration ¶
func (*NodeConfiguration) GetObjectKind ¶
func (obj *NodeConfiguration) GetObjectKind() schema.ObjectKind
type TokenDiscovery ¶ added in v1.6.0
      
      Directories
      ¶
    
    | Path | Synopsis | 
|---|---|
| 
       +k8s:defaulter-gen=TypeMeta +groupName=kubeadm.k8s.io 
         | 
      +k8s:defaulter-gen=TypeMeta +groupName=kubeadm.k8s.io | 
 Click to show internal directories. 
   Click to hide internal directories.