Documentation ¶
Index ¶
- func WithAgentId(agentId string) func(agent *Agent)
- func WithDriver(drv driver.Driver) func(agent *Agent)
- func WithGrpc(grpcUrl string, creds clientcredentials.Config) func(agent *Agent)
- func WithHttpClient(client *http.Client) func(agent *Agent)
- func WithLogger(logger *zap.Logger) func(agent *Agent)
- func WithOrganizationId(organizationId string) func(agent *Agent)
- func WithRunnerImage(runnerImage string, pullPolicy string) func(agent *Agent)
- type Agent
- type AuthInterceptor
- type ChangeSink
- type ChangeSummary
- type ChangeSummaryChange
- type Config
- type RunnerConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithAgentId ¶ added in v1.7.0
func WithDriver ¶ added in v1.10.0
func WithGrpc ¶ added in v1.7.0
func WithGrpc(grpcUrl string, creds clientcredentials.Config) func(agent *Agent)
TODO: This should be updated to accept clientcredentials.Config to support rotation of expired tokens. For now, we will accept failure
func WithHttpClient ¶ added in v1.7.0
func WithLogger ¶ added in v1.7.0
func WithOrganizationId ¶ added in v1.7.0
func WithRunnerImage ¶ added in v1.7.0
Types ¶
type AuthInterceptor ¶ added in v1.10.0
type AuthInterceptor struct {
// contains filtered or unexported fields
}
func NewAuthInterceptor ¶ added in v1.10.0
func NewAuthInterceptor( credentials clientcredentials.Config, ) *AuthInterceptor
func (*AuthInterceptor) WrapStreamingClient ¶ added in v1.10.0
func (i *AuthInterceptor) WrapStreamingClient(next connect.StreamingClientFunc) connect.StreamingClientFunc
func (*AuthInterceptor) WrapStreamingHandler ¶ added in v1.10.0
func (i *AuthInterceptor) WrapStreamingHandler(next connect.StreamingHandlerFunc) connect.StreamingHandlerFunc
type ChangeSink ¶
type ChangeSummary ¶
type ChangeSummary struct { Type string `json:"type"` Changes ChangeSummaryChange `json:"changes"` }
type ChangeSummaryChange ¶
type Config ¶
type Config struct { Runner *RunnerConfig `yaml:"runner,omitempty"` AgentId string `yaml:"agentId"` }
func LoadConfig ¶
func (*Config) GetAgentId ¶
func (*Config) GetNamespace ¶
type RunnerConfig ¶
Click to show internal directories.
Click to hide internal directories.