Versions in this module Expand all Collapse all v0 v0.19.0 Jun 9, 2015 Changes in this version + const DefaultEtcdPathPrefix + func NewEtcdHelper(client tools.EtcdGetSet, version string, prefix string) (helper tools.EtcdHelper, err error) + func NewHandlerContainer(mux *http.ServeMux) *restful.Container + type Config struct + APIPrefix string + AdmissionControl admission.Interface + Authenticator authenticator.Request + Authorizer authorizer.Authorizer + CacheTimeout time.Duration + ClusterName string + CorsAllowedOriginList util.StringList + DisableV1 bool + DisableV1Beta3 bool + EnableCoreControllers bool + EnableIndex bool + EnableLogsSupport bool + EnableProfiling bool + EnableSwaggerSupport bool + EnableUISupport bool + EtcdHelper tools.EtcdHelper + EventTTL time.Duration + ExternalHost string + InstallSSHKey InstallSSHKey + KubeletClient client.KubeletClient + MasterCount int + MasterServiceNamespace string + MinRequestTimeout int + MinionRegexp string + PublicAddress net.IP + ReadWritePort int + RequestContextMapper api.RequestContextMapper + RestfulContainer *restful.Container + SSHKeyfile string + SSHUser string + ServiceClusterIPRange *net.IPNet + ServiceNodePortRange util.PortRange + SupportsBasicAuth bool + type Controller struct + EndpointInterval time.Duration + EndpointRegistry endpoint.Registry + MasterCount int + NamespaceRegistry namespace.Registry + PublicIP net.IP + PublicServicePort int + ServiceClusterIPInterval time.Duration + ServiceClusterIPRange *net.IPNet + ServiceClusterIPRegistry service.RangeRegistry + ServiceIP net.IP + ServiceNodePortInterval time.Duration + ServiceNodePortRange util.PortRange + ServiceNodePortRegistry service.RangeRegistry + ServicePort int + ServiceRegistry service.Registry + func (c *Controller) CreateMasterServiceIfNeeded(serviceName string, serviceIP net.IP, servicePort int) error + func (c *Controller) CreateNamespaceIfNeeded(ns string) error + func (c *Controller) RunKubernetesService(ch chan struct{}) + func (c *Controller) SetEndpoints(serviceName string, ip net.IP, port int) error + func (c *Controller) Start() + func (c *Controller) UpdateKubernetesService() error + type InstallSSHKey func(user string, data []byte) error + type Master struct + Handler http.Handler + InsecureHandler http.Handler + func New(c *Config) *Master + func (m *Master) Dial(net, addr string) (net.Conn, error) + func (m *Master) HandleFuncWithAuth(pattern string, handler func(http.ResponseWriter, *http.Request)) + func (m *Master) HandleWithAuth(pattern string, handler http.Handler) + func (m *Master) InstallSwaggerAPI() + func (m *Master) NewBootstrapController() *Controller