kubemark

package
v1.3.0-rancher2 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2016 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeProxier

type FakeProxier struct{}

func (*FakeProxier) OnServiceUpdate

func (*FakeProxier) OnServiceUpdate(services []api.Service)

func (*FakeProxier) Sync

func (*FakeProxier) Sync()

func (*FakeProxier) SyncLoop

func (*FakeProxier) SyncLoop()

type FakeProxyHandler

type FakeProxyHandler struct{}

func (*FakeProxyHandler) OnEndpointsUpdate

func (*FakeProxyHandler) OnEndpointsUpdate(endpoints []api.Endpoints)

func (*FakeProxyHandler) OnServiceUpdate

func (*FakeProxyHandler) OnServiceUpdate(services []api.Service)

type HollowKubelet

type HollowKubelet struct {
	KubeletConfig *kubeletapp.KubeletConfig
}

func NewHollowKubelet

func NewHollowKubelet(
	nodeName string,
	client *clientset.Clientset,
	cadvisorInterface cadvisor.Interface,
	dockerClient dockertools.DockerInterface,
	kubeletPort, kubeletReadOnlyPort int,
	containerManager cm.ContainerManager,
	maxPods int, podsPerCore int,
) *HollowKubelet

func (*HollowKubelet) Run

func (hk *HollowKubelet) Run()

Starts this HollowKubelet and blocks.

type HollowProxy

type HollowProxy struct {
	ProxyServer *proxyapp.ProxyServer
}

func NewHollowProxyOrDie

func NewHollowProxyOrDie(
	nodeName string,
	client *client.Client,
	endpointsConfig *proxyconfig.EndpointsConfig,
	serviceConfig *proxyconfig.ServiceConfig,
	iptInterface utiliptables.Interface,
	broadcaster record.EventBroadcaster,
	recorder record.EventRecorder,
) *HollowProxy

func (*HollowProxy) Run

func (hp *HollowProxy) Run()

Jump to

Keyboard shortcuts

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