service

package
v1.4.5-rancher2 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2016 License: Apache-2.0 Imports: 30 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 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 uint64, port uint, runtime string) (*MesosCadvisor, error)

func (*MesosCadvisor) MachineInfo added in v1.2.0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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