host

package
v3.9.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2018 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EtcdWriteName   = "EtcdWriteVolume"
	DurationParam   = "duration"
	DurationDefault = "1m"
)
View Source
const MasterConfigCheckName = "MasterConfigCheck"
View Source
const NodeConfigCheckName = "NodeConfigCheck"

Variables

This section is empty.

Functions

func GetMasterConfig

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

Types

type Bin added in v3.10.0

type Bin struct {
	Name  string
	Count int
}

type DescendingBins added in v3.10.0

type DescendingBins []Bin

func (DescendingBins) Len added in v3.10.0

func (m DescendingBins) Len() int

func (DescendingBins) Less added in v3.10.0

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

func (DescendingBins) Swap added in v3.10.0

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

type EtcdWriteVolume added in v3.10.0

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 added in v3.10.0

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

func (*EtcdWriteVolume) CanRun added in v3.10.0

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

func (*EtcdWriteVolume) Check added in v3.10.0

func (*EtcdWriteVolume) Complete added in v3.10.0

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

func (*EtcdWriteVolume) Description added in v3.10.0

func (d *EtcdWriteVolume) Description() string

func (*EtcdWriteVolume) Name added in v3.10.0

func (d *EtcdWriteVolume) Name() string

func (*EtcdWriteVolume) Requirements added in v3.10.0

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

type KeyCounter added in v3.10.0

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

type MasterConfigCheck

type MasterConfigCheck struct {
	MasterConfigFile string
	// contains filtered or unexported fields
}

MasterConfigCheck is a Diagnostic to check that the master config file is valid

func (*MasterConfigCheck) CanRun

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

func (*MasterConfigCheck) Check

func (*MasterConfigCheck) Complete

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

func (*MasterConfigCheck) Description

func (d *MasterConfigCheck) Description() string

func (*MasterConfigCheck) Name

func (d *MasterConfigCheck) Name() string

func (*MasterConfigCheck) Requirements

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

type NodeConfigCheck

type NodeConfigCheck struct {
	NodeConfigFile string
}

NodeConfigCheck is a Diagnostic to check that the node config file is valid

func (NodeConfigCheck) CanRun

func (d NodeConfigCheck) CanRun() (bool, error)

func (NodeConfigCheck) Check

func (NodeConfigCheck) Description

func (d NodeConfigCheck) Description() string

func (NodeConfigCheck) Name

func (d NodeConfigCheck) Name() string

func (NodeConfigCheck) Requirements

func (d NodeConfigCheck) Requirements() (client bool, host bool)

Jump to

Keyboard shortcuts

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