Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrUnsupportedTargetType is an error if user pass unsupported event target // type. Only supporting: reachable or addressable. ErrUnsupportedTargetType = errors.New("unsupported target type") // ErrCouldntBeSent is an error that will be return in case event that suppose // to be sent, couldn't be, for whatever technical reason. ErrCouldntBeSent = errors.New("event couldn't be sent") )
Functions ¶
This section is empty.
Types ¶
type Binding ¶ added in v0.3.0
type Binding struct { CreateJobRunner CreateAddressResolver CreateKubeClients }
Binding holds injectable dependencies.
type CreateAddressResolver ¶ added in v0.3.0
type CreateAddressResolver func(kube k8s.Clients) k8s.ReferenceAddressResolver
CreateAddressResolver creates a k8s.ReferenceAddressResolver.
type CreateJobRunner ¶ added in v0.3.0
CreateJobRunner creates a k8s.JobRunner.
type CreateKubeClients ¶ added in v0.3.0
type CreateKubeClients func(props *event.Properties) (k8s.Clients, error)
CreateKubeClients creates k8s.Clients.
Click to show internal directories.
Click to hide internal directories.