service

package
v1.2.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2015 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Overview

Package service contains the cmd/k8sm-executor glue code.

Index

Constants

View Source
const (
	// if we don't use this source then the kubelet will do funny, mirror things.
	// @see ConfigSourceAnnotationKey
	MESOS_CFG_SOURCE = kubetypes.ApiserverSource
)

Variables

This section is empty.

Functions

This section is empty.

Types

type KubeletExecutorServer

type KubeletExecutorServer struct {
	*app.KubeletServer
	SuicideTimeout    time.Duration
	LaunchGracePeriod time.Duration
	// contains filtered or unexported fields
}

func NewKubeletExecutorServer

func NewKubeletExecutorServer() *KubeletExecutorServer

func (*KubeletExecutorServer) AddFlags added in v1.1.0

func (s *KubeletExecutorServer) AddFlags(fs *pflag.FlagSet)

func (*KubeletExecutorServer) Run

Run runs the specified KubeletExecutorServer.

type MesosCadvisor added in v1.2.0

type MesosCadvisor struct {
	cadvisor.Interface
	// contains filtered or unexported fields
}

func NewMesosCadvisor added in v1.2.0

func NewMesosCadvisor(cores int, mem int64, port uint) (*MesosCadvisor, error)

func (*MesosCadvisor) MachineInfo added in v1.2.0

func (mc *MesosCadvisor) MachineInfo() (*cadvisorapi.MachineInfo, error)

Jump to

Keyboard shortcuts

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