Documentation ¶
Index ¶
- Constants
- func GetMasterConfig(masterConfigFile string, logger *log.Logger) (*configapi.MasterConfig, error)
- type Bin
- type DescendingBins
- type EtcdWriteVolume
- func (d *EtcdWriteVolume) AvailableParameters() []types.Parameter
- func (d *EtcdWriteVolume) CanRun() (bool, error)
- func (d *EtcdWriteVolume) Check() types.DiagnosticResult
- func (d *EtcdWriteVolume) Complete(logger *log.Logger) error
- func (d *EtcdWriteVolume) Description() string
- func (d *EtcdWriteVolume) Name() string
- func (d *EtcdWriteVolume) Requirements() (client bool, host bool)
- type KeyCounter
Constants ¶
View Source
const ( EtcdWriteName = "EtcdWriteVolume" DurationParam = "duration" DurationDefault = "1m" )
Variables ¶
This section is empty.
Functions ¶
func GetMasterConfig ¶
Types ¶
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 (d *EtcdWriteVolume) Check() types.DiagnosticResult
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)
}
Click to show internal directories.
Click to hide internal directories.