host

package
v3.11.0-alpha.0+incomp... Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2018 License: Apache-2.0 Imports: 15 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	EtcdWriteName   = "EtcdWriteVolume"
	DurationParam   = "duration"
	DurationDefault = "1m"
)

Variables

This section is empty.

Functions

func GetMasterConfig

func GetMasterConfig(masterConfigFile string, logger *log.Logger) (*configapi.MasterConfig, error)

Types

type Bin

type Bin struct {
	Name  string
	Count int
}

type DescendingBins

type DescendingBins []Bin

func (DescendingBins) Len

func (m DescendingBins) Len() int

func (DescendingBins) Less

func (m DescendingBins) Less(i, j int) bool

func (DescendingBins) Swap

func (m DescendingBins) Swap(i, j int)

type EtcdWriteVolume

type EtcdWriteVolume struct {
	MasterConfigLocation string
	V3Client             *clientv3.Client
	// contains filtered or unexported fields
}

EtcdWriteVolume is a Diagnostic to check the writes occurring against etcd and organize them by volume.

func (*EtcdWriteVolume) AvailableParameters

func (d *EtcdWriteVolume) AvailableParameters() []types.Parameter

func (*EtcdWriteVolume) CanRun

func (d *EtcdWriteVolume) CanRun() (bool, error)

func (*EtcdWriteVolume) Check

func (*EtcdWriteVolume) Complete

func (d *EtcdWriteVolume) Complete(logger *log.Logger) error

func (*EtcdWriteVolume) Description

func (d *EtcdWriteVolume) Description() string

func (*EtcdWriteVolume) Name

func (d *EtcdWriteVolume) Name() string

func (*EtcdWriteVolume) Requirements

func (d *EtcdWriteVolume) Requirements() (client bool, host bool)

type KeyCounter

type KeyCounter interface {
	Inc(key []string)
}

Jump to

Keyboard shortcuts

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