measurer

package
v0.0.0-...-e28121d Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package measurer wraps the logic used to perform the measurements.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FCMeasurer

type FCMeasurer struct {
	// contains filtered or unexported fields
}

func NewFCMeasurer

func NewFCMeasurer(clusterID string, start time.Time, completion chan<- struct{}) *FCMeasurer

func (*FCMeasurer) Authentication

func (m *FCMeasurer) Authentication() time.Duration

func (*FCMeasurer) NetworkSetup

func (m *FCMeasurer) NetworkSetup() time.Duration

func (*FCMeasurer) NodeSetup

func (m *FCMeasurer) NodeSetup() time.Duration

func (*FCMeasurer) ResourceNegotiation

func (m *FCMeasurer) ResourceNegotiation() time.Duration

func (*FCMeasurer) SetAuthenticationIncomingEndTimestamp

func (m *FCMeasurer) SetAuthenticationIncomingEndTimestamp(t time.Time)

func (*FCMeasurer) SetAuthenticationOutgoingEndTimestamp

func (m *FCMeasurer) SetAuthenticationOutgoingEndTimestamp(t time.Time)

func (*FCMeasurer) SetNetworkSetupEndTimestamp

func (m *FCMeasurer) SetNetworkSetupEndTimestamp(t time.Time)

func (*FCMeasurer) SetNetworkSetupStartTimestamp

func (m *FCMeasurer) SetNetworkSetupStartTimestamp(t time.Time)

func (*FCMeasurer) SetNodeReady

func (m *FCMeasurer) SetNodeReady(t time.Time)

func (*FCMeasurer) SetPeeringStartTimestamp

func (m *FCMeasurer) SetPeeringStartTimestamp(t time.Time)

func (*FCMeasurer) SetResourceNegotiationEndTimestamp

func (m *FCMeasurer) SetResourceNegotiationEndTimestamp(t time.Time)

func (*FCMeasurer) SetResourceNegotiationStartTimestamp

func (m *FCMeasurer) SetResourceNegotiationStartTimestamp(t time.Time)

func (*FCMeasurer) SetVirtualKubeletSetupEndTimestamp

func (m *FCMeasurer) SetVirtualKubeletSetupEndTimestamp(t time.Time)

func (*FCMeasurer) SetVirtualKubeletSetupStartTimestamp

func (m *FCMeasurer) SetVirtualKubeletSetupStartTimestamp(t time.Time)

func (*FCMeasurer) ToSliceParsed

func (m *FCMeasurer) ToSliceParsed() []string

func (*FCMeasurer) ToSliceRaw

func (m *FCMeasurer) ToSliceRaw() []string

func (*FCMeasurer) Total

func (m *FCMeasurer) Total() time.Duration

func (*FCMeasurer) VirtualKubeletSetup

func (m *FCMeasurer) VirtualKubeletSetup() time.Duration

type GlobalMeasurer

type GlobalMeasurer struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewMeasurer

func NewMeasurer(completion chan<- struct{}) *GlobalMeasurer

func (*GlobalMeasurer) ClusterID

func (m *GlobalMeasurer) ClusterID(clusterID string) *FCMeasurer

func (*GlobalMeasurer) SetPeeringStartTimestamp

func (m *GlobalMeasurer) SetPeeringStartTimestamp(t time.Time)

func (*GlobalMeasurer) ToCSV

func (m *GlobalMeasurer) ToCSV(w io.Writer) error

func (*GlobalMeasurer) ToTable

func (m *GlobalMeasurer) ToTable(w io.Writer)

Jump to

Keyboard shortcuts

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