v1alpha1

package
v2.0.0-alpha.0+incompa... Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

+groupName=kubeadm.k8s.io

Index

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 SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: "v1alpha1"}

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 `json:"advertiseAddresses"`
	ExternalDNSNames   []string `json:"externalDNSNames"`
	BindPort           int32    `json:"bindPort"`
}

type ClusterInfo

type ClusterInfo struct {
	unversioned.TypeMeta `json:",inline"`
	// 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 `json:"bindPort"`
}

type Etcd

type Etcd struct {
	Endpoints []string `json:"endpoints"`
	CAFile    string   `json:"caFile"`
	CertFile  string   `json:"certFile"`
	KeyFile   string   `json:"keyFile"`
}

type MasterConfiguration

type MasterConfiguration struct {
	unversioned.TypeMeta `json:",inline"`

	Secrets           Secrets    `json:"secrets"`
	API               API        `json:"api"`
	Etcd              Etcd       `json:"etcd"`
	Discovery         Discovery  `json:"discovery"`
	Networking        Networking `json:"networking"`
	KubernetesVersion string     `json:"kubernetesVersion"`
	CloudProvider     string     `json:"cloudProvider"`
}

func (*MasterConfiguration) GetObjectKind

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

type Networking

type Networking struct {
	ServiceSubnet string `json:"serviceSubnet"`
	PodSubnet     string `json:"podSubnet"`
	DNSDomain     string `json:"dnsDomain"`
}

type NodeConfiguration

type NodeConfiguration struct {
	unversioned.TypeMeta `json:",inline"`

	MasterAddresses []string `json:"masterAddresses"`
	Secrets         Secrets  `json:"secrets"`
	APIPort         int32    `json:"apiPort"`
	DiscoveryPort   int32    `json:"discoveryPort"`
}

func (*NodeConfiguration) GetObjectKind

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

type Secrets

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

Jump to

Keyboard shortcuts

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