service

package
v1.2.0-alpha.1....-f276572 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

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

func (*KubeletExecutorServer) Run

Run runs the specified KubeletExecutorServer.

type MesosCadvisor

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

func NewMesosCadvisor

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

func (*MesosCadvisor) MachineInfo

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