vmserver

package
v0.0.0-...-0cd89e8 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2016 License: GPL-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// the mark-for-masquerade chain
	// TODO: clean up this logic in kube-proxy
	KubeMarkMasqChain utiliptables.Chain = "KUBE-MARK-MASQ"

	// the mark-for-drop chain
	KubeMarkDropChain utiliptables.Chain = "KUBE-MARK-DROP"

	// kubernetes postrouting rules
	KubePostroutingChain utiliptables.Chain = "KUBE-POSTROUTING"

	// kubernetes firewall rules
	KubeFirewallChain utiliptables.Chain = "KUBE-FIREWALL"
)

Variables

View Source
var (
	MasqueradeBit = int32(14)
	DropBit       = int32(15)
	OOMScoreAdj   = int32(qos.KubeProxyOOMScoreAdj)
)
View Source
var (
	ContainerProviders containerProviderRegistry
)

Functions

This section is empty.

Types

type VMserver

type VMserver struct {
	// contains filtered or unexported fields
}

func NewVMServer

func NewVMServer(cert *string, key *string, contProvider ContainerProvider) (*VMserver, error)

func (*VMserver) AddRoute

func (*VMserver) Attach

func (*VMserver) ContainerStats

TODO

func (*VMserver) ContainerStatus

func (*VMserver) CopyFile

func (*VMserver) CreateContainer

func (*VMserver) Exec

func (*VMserver) ExecSync

func (*VMserver) GetMetrics

func (*VMserver) GetPodIP

func (m *VMserver) GetPodIP(ctx context.Context, req *common.GetIPRequest) (*common.GetIPResponse, error)

func (*VMserver) GetSandboxConfig

func (*VMserver) ListContainers

func (*VMserver) ListPodSandbox

func (*VMserver) Logs

func (*VMserver) MountFs

func (*VMserver) PortForward

In traditional kubernetes land this has to nsenter the network namespace of the pod, in Infranetes, there's only one namespace

func (*VMserver) RemoveContainer

func (*VMserver) RunCmd

func (*VMserver) RunPodSandbox

func (*VMserver) Serve

func (s *VMserver) Serve(port int) error

func (*VMserver) SetHostname

func (*VMserver) SetPodIP

func (m *VMserver) SetPodIP(ctx context.Context, req *common.SetIPRequest) (*common.SetIPResponse, error)

func (*VMserver) SetSandboxConfig

func (*VMserver) StartContainer

func (*VMserver) StartProxy

func (*VMserver) Status

func (*VMserver) StopContainer

func (*VMserver) StopPodSandbox

func (*VMserver) UnmountFs

func (*VMserver) Version

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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