Documentation
¶
Index ¶
- func WaitForSwitchesReady(ctx context.Context, kube client.WithWatch, expectedSwitches []string, ...) error
- type Duration
- type Iperf3Report
- type Iperf3ReportEnd
- type Iperf3ReportInterval
- type Iperf3ReportSum
- type LStep
- type LStepTestConnectivity
- type LTest
- type LoaderFile
- type Runner
- type RunnerConfig
- type Step
- type StepAPIAbbr
- type StepHelper
- type StepNetconf
- type StepTestConnectivity
- type StepWaitReady
- type Test
- type VLABStepHelper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Duration ¶
func (*Duration) UnmarshalJSON ¶
type Iperf3Report ¶
type Iperf3Report struct { Intervals []Iperf3ReportInterval `json:"intervals"` End Iperf3ReportEnd `json:"end"` }
func ParseIperf3Report ¶
func ParseIperf3Report(data string) (*Iperf3Report, error)
type Iperf3ReportEnd ¶
type Iperf3ReportEnd struct { SumSent Iperf3ReportSum `json:"sum_sent"` SumReceived Iperf3ReportSum `json:"sum_received"` }
type Iperf3ReportInterval ¶
type Iperf3ReportInterval struct {
Sum Iperf3ReportSum `json:"sum"`
}
type Iperf3ReportSum ¶
type LStep ¶
type LStep struct { Name string `json:"name,omitempty"` WaitReady *StepWaitReady `json:"waitready,omitempty"` Enforce *string `json:"enforce,omitempty"` Update *string `json:"update,omitempty"` Netconf *StepNetconf `json:"netconf,omitempty"` TestConnectivity *StepTestConnectivity `json:"connectivity,omitempty"` }
type LStepTestConnectivity ¶
type LStepTestConnectivity struct{}
type LoaderFile ¶
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
func NewRunner ¶
func NewRunner(cfg RunnerConfig) (*Runner, error)
type RunnerConfig ¶
type StepAPIAbbr ¶
type StepAPIAbbr struct {
// contains filtered or unexported fields
}
func (*StepAPIAbbr) Run ¶
func (s *StepAPIAbbr) Run(ctx context.Context, h StepHelper) error
type StepHelper ¶
type StepNetconf ¶
type StepNetconf struct {
// contains filtered or unexported fields
}
func (*StepNetconf) Run ¶
func (s *StepNetconf) Run(ctx context.Context, h StepHelper) error
type StepTestConnectivity ¶
type StepTestConnectivity struct { PingCount uint `json:"pingCount,omitempty"` IPerfSeconds uint `json:"iperfSeconds,omitempty"` IPerfSpeed float64 `json:"iperfSpeed,omitempty"` // contains filtered or unexported fields }
func (*StepTestConnectivity) Run ¶
func (s *StepTestConnectivity) Run(ctx context.Context, h StepHelper) error
type StepWaitReady ¶
type StepWaitReady struct {
Timeout Duration `json:"timeout,omitempty"`
}
func (*StepWaitReady) Run ¶
func (s *StepWaitReady) Run(ctx context.Context, h StepHelper) error
type VLABStepHelper ¶
type VLABStepHelper struct {
// contains filtered or unexported fields
}
func NewVLABStepHelper ¶
func (*VLABStepHelper) Kube ¶
func (h *VLABStepHelper) Kube() client.WithWatch
func (*VLABStepHelper) ServerExec ¶
Click to show internal directories.
Click to hide internal directories.