service

package
v1.2.0-alpha.4....-ab6edd8 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2016 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubeletExecutorServer

type KubeletExecutorServer struct {
	*options.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