package service

import "k8s.io/kubernetes/contrib/mesos/pkg/executor/service"

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

Index

Constants

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

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)

Source Files

cadvisor.go doc.go kubelet.go service.go

Version
v1.2.0-alpha.3
Published
Nov 3, 2015
Platform
js/wasm
Imports
24 packages
Last checked
4 minutes ago

Tools for package owners.