agent

package
v1.7.25 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

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

func NewAgent

func NewAgent(logger *zap.SugaredLogger, handler fasthttp.RequestHandler, server, apiKey string, isInsecure bool) (*Agent, error)

func (*Agent) Close

func (ag *Agent) Close() error

func (*Agent) Events added in v1.7.21

func (ag *Agent) Events() []testkube.EventType

func (*Agent) Kind added in v1.7.21

func (ag *Agent) Kind() string

func (*Agent) Load added in v1.7.21

func (ag *Agent) Load() (listeners common.Listeners, err error)

func (*Agent) Metadata added in v1.7.21

func (ag *Agent) Metadata() map[string]string

func (*Agent) Name added in v1.7.21

func (ag *Agent) Name() string

func (*Agent) Notify added in v1.7.21

func (ag *Agent) Notify(event testkube.Event) (result testkube.EventResult)

func (*Agent) Run

func (ag *Agent) Run(ctx context.Context) error

func (*Agent) RunEventLoop added in v1.7.21

func (ag *Agent) RunEventLoop(ctx context.Context) error

func (*Agent) Selector added in v1.7.21

func (ag *Agent) Selector() string

Jump to

Keyboard shortcuts

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