kubernetes: github.com/erikstmartin/kubernetes/pkg/cloudprovider/controller Index | Files

package controller

import "github.com/erikstmartin/kubernetes/pkg/cloudprovider/controller"

Package controller contains code for syncing cloud instances with minion registry


Package Files

doc.go minioncontroller.go

type MinionController Uses

type MinionController struct {
    // contains filtered or unexported fields

func NewMinionController Uses

func NewMinionController(
    cloud cloudprovider.Interface,
    matchRE string,
    minions []string,
    staticResources *api.NodeResources,
    kubeClient client.Interface) *MinionController

NewMinionController returns a new minion controller to sync instances from cloudprovider.

func (*MinionController) Run Uses

func (s *MinionController) Run(period time.Duration)

Run starts syncing instances from cloudprovider periodically, or create initial minion list.

func (*MinionController) Sync Uses

func (s *MinionController) Sync() error

Sync syncs list of instances from cloudprovider to master etcd registry.

Package controller imports 7 packages (graph). Updated 2018-04-10. Refresh now. Tools for package owners.