Documentation ¶
Index ¶
- func AddAPIKeyMeta(ctx context.Context, apiKey string) context.Context
- func NewGRPCConnection(ctx context.Context, isInsecure bool, skipVerify bool, server string, ...) (*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, skipVerify 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, client cloud.TestKubeCloudAPIClient, logStreamFunc func(ctx context.Context, executionID string) (chan output.Output, error), clusterID string, clusterName string, envs map[string]string, features featureflags.FeatureFlags, proContext config.ProContext, ) (*Agent, error)
Click to show internal directories.
Click to hide internal directories.