rpc

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectionType

type ConnectionType string
const (
	REST ConnectionType = "REST"
	GRPC ConnectionType = "GRPC"
)

type MonitoringConfig

type MonitoringConfig struct {
	MetricsProviderType     string             `yaml:"metricsProviderType"`
	MetricsEndpoint         string             `yaml:"metricsEndpoint"`
	TracerExporterType      tracing.TracerType `yaml:"tracerExporterType"`
	TracerCollectorEndpoint string             `yaml:"tracerCollectorEndpoint"`
	TracerCollectorFile     string             `yaml:"tracerCollectorFile"`
	TracerSamplingRatio     float64            `yaml:"tracerSamplingRatio"`
}

type SuiteExecutor

type SuiteExecutor struct {
	*txgen.SuiteExecutor
}

func NewSuiteExecutor

func NewSuiteExecutor(config UserProviderConfig) (*SuiteExecutor, error)

func (*SuiteExecutor) Execute

func (e *SuiteExecutor) Execute(suites []model.SuiteConfig) error

type UserConfig

type UserConfig struct {
	Name     model.UserAlias `yaml:"name"`
	Host     string          `yaml:"host"`
	CorePath string          `yaml:"corePath"`
}

type UserProviderConfig

type UserProviderConfig struct {
	ConnectionType     ConnectionType   `yaml:"connectionType"`
	Users              []UserConfig     `yaml:"users"`
	Auditors           []UserConfig     `yaml:"auditors"`
	Issuers            []UserConfig     `yaml:"issuers"`
	ControllerEndpoint string           `yaml:"controllerEndpoint"`
	Monitoring         MonitoringConfig `yaml:"monitoring"`
}

func (*UserProviderConfig) IssuerNames

func (c *UserProviderConfig) IssuerNames() []model.Username

Jump to

Keyboard shortcuts

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