Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEtcdHelper ¶
func NewEtcdHelper(client tools.EtcdGetSet, version string) (helper tools.EtcdHelper, err error)
NewEtcdHelper returns an EtcdHelper for the provided arguments or an error if the version is incorrect.
Types ¶
type Config ¶
type Config struct {
Client *client.Client
Cloud cloudprovider.Interface
EtcdHelper tools.EtcdHelper
HealthCheckMinions bool
MinionCacheTTL time.Duration
EventTTL time.Duration
MinionRegexp string
PodInfoGetter client.PodInfoGetter
NodeResources api.NodeResources
PRFactory PodRegistryFactory
}
Config is a structure used to configure a Master.
type Master ¶
type Master struct {
// contains filtered or unexported fields
}
Master contains state for a Kubernetes cluster master/api server.
func (*Master) API_v1beta1 ¶
func (m *Master) API_v1beta1() (map[string]apiserver.RESTStorage, runtime.Codec, string, runtime.SelfLinker)
API_v1beta1 returns the resources and codec for API version v1beta1.
func (*Master) API_v1beta2 ¶
func (m *Master) API_v1beta2() (map[string]apiserver.RESTStorage, runtime.Codec, string, runtime.SelfLinker)
API_v1beta2 returns the resources and codec for API version v1beta2.
func (*Master) GetManifestFactory ¶
func (m *Master) GetManifestFactory() pod.ManifestFactory
type PodRegistryFactory ¶
Click to show internal directories.
Click to hide internal directories.