package
0.20.4
Repository: https://github.com/keptn/go-utils.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

CreateErrorEvent takes a parent event (e.g.
CreateErrorLogEvent takes a parent event (e.g.
CreateFinishedEvent takes a parent event (e.g.
CreateFinishedEventWithError takes a parent event (e.g.
CreateStartedEvent takes a parent event (e.g.
Decode decodes the given raw interface to the target pointer specified by the out parameter.
DecodeShipyardYAML takes a shipyard string formatted as YAML and decodes it to Shipyard value.
DecodeWebHookConfigYAML takes a webhook config string formatted as YAML and decodes it to Shipyard value.
EventDataAs decodes the event data of the given keptn cloud event to the target pointer specified by the out parameter.
No description provided by the author
GetFinishedEventType returns for the given task the name of the finished event type.
GetInvalidatedEventType returns for the given task the name of the finished event type.
GetStartedEventType returns for the given task the name of the started event type.
GetStatusChangedEventType returns for the given task the name of the status.changed event type.
GetTriggeredEventType returns for the given task the name of the triggered event type.
No description provided by the author
IsSequenceEventType checks whether the given event type is a sequence event type like e.g.
No description provided by the author
IsTaskEventType checks whether the given eventType is a task event type like e.g.
No description provided by the author
IsValidEventType checks whether the given event type is a valid event type, i.e.
KeptnEvent creates a builder for a new KeptnContextExtendedCE.
NewHTTPEventSender creates a new HTTPSender.
No description provided by the author
ParseEventKind parses the given event type and returns the last element which is the "kind" of the event (e.g.
ParseEventTypeWithoutKind parses the given event type and trims away the last element of the event which is the "kind" of the event (e.g.
ParseSequenceEventType parses the given sequence event type and returns the stage name, sequence name, event type as well as an error which is eventually nil.
ParseTaskEventType parses the given task event type and returns the task name, event type as well as an error which is eventually nil.
ReplaceEventTypeKind replaces the last element of the event which is the "kind" of the event (e.g.
ToCloudEvent takes a KeptnContextExtendedCE and converts it to an ordinary CloudEvent.
ToKeptnEvent takes a CloudEvent and converts it into a KeptnContextExtendedCE.
WithSendRetries allows to specify the number of retries that are performed if the receiver of an event returns a HTTP error code.

# Constants

No description provided by the author
ApprovalAutomatic indicates an automatic approval strategy.
ApprovalManual indicates a manual approval strategy.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

ActionFinishedEventData contains information about the execution of an action.
ActionInfo contains information about the action to be performed.
ActionStartedEventData contains information about an action.started event.
ActionTriggeredEventData contains information about an action.triggered event.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ConfigureMonitoringFinishedEventData godoc.
ConfigureMonitoringStartedEventData godoc.
ConfigureMonitoringTriggeredEventData godoc.
ConfigureMonitoringTriggeredParams godoc.
No description provided by the author
DeploymentFinishedData contains the data associated with a .deployment.finished event.
No description provided by the author
No description provided by the author
No description provided by the author
DeploymentTriggeredData contains the data associated with a .deployment.triggered event.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
EventData contains mandatory fields of all Keptn CloudEvents.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
HTTPEventSender sends CloudEvents via HTTP.
No description provided by the author
KeptnEventBuilder is used for constructing a new KeptnContextExtendedCE.
Metadata contains meta-data of a resource.
ProblemDetails contains information about a problem.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Selector defines conditions that need to evaluate to true for a trigger to fire.
Sequence defines a task sequence by its name and tasks.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Shipyard describes a shipyard specification according to Keptn spec 0.2.0.
ShipyardSpec consists of any number of stages.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Stage defines a stage by its name and list of task sequences.
Task defines a task by its name and optional properties.
No description provided by the author
No description provided by the author
No description provided by the author
EventSender fakes the sending of CloudEvents.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Trigger defines a trigger which causes a sequence to get activated.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author