agentclientparams

package
v0.50.3-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package agentclientparams implements function parameters for [e2e.Agent]

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*Params)

Option alias to a functional option changing a given Params instance

func WithSkipWaitForAgentReady

func WithSkipWaitForAgentReady() Option

WithSkipWaitForAgentReady skips waiting for agent readiness after setting up the agent client Use it to testagent configuration that are expected to have an unhealthy agent

type Params

type Params struct {
	ShouldWaitForReady bool
}

Params defines the parameters for the Agent client. The Params configuration uses the Functional options pattern.

The available options are:

func NewParams

func NewParams(options ...Option) *Params

NewParams creates a new instance of Agent client params default ShouldWaitForReady: true

Jump to

Keyboard shortcuts

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