Documentation ¶
Index ¶
- Variables
- func Get(ctx context.Context) cloudevents.Client
- func SendEvent(ctx context.Context, eventType KServiceEvent, obj *v1.Service) error
- func SetTarget(ctx context.Context, target string) context.Context
- func ToContext(ctx context.Context, client cloudevents.Client) context.Context
- type CECKey
- type Config
- type KServiceEvent
- type KServiceToCDEventMap
- type Key
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type KServiceEvent ¶
type KServiceEvent string
const ( ServiceDeployed KServiceEvent = "deployed" ServiceUpgraded KServiceEvent = "upgraded" ServiceRemoved KServiceEvent = "removed" )
type KServiceToCDEventMap ¶
type KServiceToCDEventMap map[KServiceEvent]cdevents.CDEventType
Click to show internal directories.
Click to hide internal directories.