Documentation ¶
Index ¶
- func AddAPIKeyMeta(ctx context.Context, apiKey string) context.Context
- func NewGRPCConnection(ctx context.Context, isInsecure bool, server string, logger *zap.SugaredLogger) (*grpc.ClientConn, error)
- type Agent
- func (ag *Agent) Events() []testkube.EventType
- func (ag *Agent) Kind() string
- func (ag *Agent) Load() (listeners common.Listeners, err error)
- func (ag *Agent) Metadata() map[string]string
- func (ag *Agent) Name() string
- func (ag *Agent) Notify(event testkube.Event) (result testkube.EventResult)
- func (ag *Agent) Run(ctx context.Context) error
- func (ag *Agent) Selector() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddAPIKeyMeta ¶ added in v1.8.34
func NewGRPCConnection ¶ added in v1.8.34
func NewGRPCConnection(ctx context.Context, isInsecure bool, server string, logger *zap.SugaredLogger) (*grpc.ClientConn, error)
Types ¶
type Agent ¶
type Agent struct {
// contains filtered or unexported fields
}
func NewAgent ¶
func NewAgent(logger *zap.SugaredLogger, handler fasthttp.RequestHandler, apiKey string, client cloud.TestKubeCloudAPIClient, workerCount int) (*Agent, error)
Click to show internal directories.
Click to hide internal directories.