package
0.4.1
Repository: https://github.com/cdevents/sdk-go.git
Documentation: pkg.go.dev

# Packages

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

# Functions

AsCloudEvent renders a CDEvent as a CloudEvent.
AsJsonBytes renders a CDEvent as a JSON string.
AsJsonString renders a CDEvent as a JSON string.
No description provided by the author
Used to implement SetCustomData().
Used to implement type specific GetCustomData().
Used to implement type specific GetCustomDataAs().
Used to implement type specific GetCustomDataRaw().
LoadJsonSchema compiles and loads a JSON schema in []byte format into the sdk custom JSON schema databased.
New creates a new ArtifactDeletedEventV0_1_0.
New creates a new ArtifactDownloadedEventV0_1_0.
New creates a new ArtifactPackagedEventV0_1_1.
New creates a new ArtifactPackagedEventV0_2_0.
New creates a new ArtifactPublishedEventV0_1_1.
New creates a new ArtifactPublishedEventV0_2_0.
New creates a new ArtifactSignedEventV0_1_0.
New creates a new ArtifactSignedEventV0_2_0.
New creates a new BranchCreatedEventV0_1_2.
New creates a new BranchCreatedEventV0_2_0.
New creates a new BranchDeletedEventV0_1_2.
New creates a new BranchDeletedEventV0_2_0.
New creates a new BuildFinishedEventV0_1_1.
New creates a new BuildFinishedEventV0_2_0.
New creates a new BuildQueuedEventV0_1_1.
New creates a new BuildQueuedEventV0_2_0.
New creates a new BuildStartedEventV0_1_1.
New creates a new BuildStartedEventV0_2_0.
New creates a new ChangeAbandonedEventV0_1_2.
New creates a new ChangeAbandonedEventV0_2_0.
New creates a new ChangeCreatedEventV0_1_2.
New creates a new ChangeCreatedEventV0_3_0.
New creates a new ChangeMergedEventV0_1_2.
New creates a new ChangeMergedEventV0_2_0.
New creates a new ChangeReviewedEventV0_1_2.
New creates a new ChangeReviewedEventV0_2_0.
New creates a new ChangeUpdatedEventV0_1_2.
New creates a new ChangeUpdatedEventV0_2_0.
New creates a new CustomTypeEventV0_4_1.
No description provided by the author
No description provided by the author
No description provided by the author
New creates a new EnvironmentCreatedEventV0_1_1.
New creates a new EnvironmentCreatedEventV0_2_0.
New creates a new EnvironmentDeletedEventV0_1_1.
New creates a new EnvironmentDeletedEventV0_2_0.
New creates a new EnvironmentModifiedEventV0_1_1.
New creates a new EnvironmentModifiedEventV0_2_0.
NewFromJsonBytesContext[ContextType] builds a new CDEventReader from a JSON string as []bytes This works by unmarshalling the context first, extracting the event type and using that to unmarshal the rest of the event into the correct object.
New creates a new IncidentDetectedEventV0_1_0.
New creates a new IncidentDetectedEventV0_2_0.
New creates a new IncidentReportedEventV0_1_0.
New creates a new IncidentReportedEventV0_2_0.
New creates a new IncidentResolvedEventV0_1_0.
New creates a new IncidentResolvedEventV0_2_0.
New creates a new PipelineRunFinishedEventV0_1_1.
New creates a new PipelineRunFinishedEventV0_2_0.
New creates a new PipelineRunQueuedEventV0_1_1.
New creates a new PipelineRunQueuedEventV0_2_0.
New creates a new PipelineRunStartedEventV0_1_1.
New creates a new PipelineRunStartedEventV0_2_0.
New creates a new RepositoryCreatedEventV0_1_1.
New creates a new RepositoryCreatedEventV0_2_0.
New creates a new RepositoryDeletedEventV0_1_1.
New creates a new RepositoryDeletedEventV0_2_0.
New creates a new RepositoryModifiedEventV0_1_1.
New creates a new RepositoryModifiedEventV0_2_0.
New creates a new ServiceDeployedEventV0_1_1.
New creates a new ServiceDeployedEventV0_2_0.
New creates a new ServicePublishedEventV0_1_1.
New creates a new ServicePublishedEventV0_2_0.
New creates a new ServiceRemovedEventV0_1_1.
New creates a new ServiceRemovedEventV0_2_0.
New creates a new ServiceRolledbackEventV0_1_1.
New creates a new ServiceRolledbackEventV0_2_0.
New creates a new ServiceUpgradedEventV0_1_1.
New creates a new ServiceUpgradedEventV0_2_0.
New creates a new TaskRunFinishedEventV0_1_1.
New creates a new TaskRunFinishedEventV0_2_0.
New creates a new TaskRunStartedEventV0_1_1.
New creates a new TaskRunStartedEventV0_2_0.
New creates a new TestCaseRunFinishedEventV0_1_0.
New creates a new TestCaseRunFinishedEventV0_2_0.
New creates a new TestCaseRunQueuedEventV0_1_0.
New creates a new TestCaseRunQueuedEventV0_2_0.
New creates a new TestCaseRunSkippedEventV0_1_0.
New creates a new TestCaseRunStartedEventV0_1_0.
New creates a new TestCaseRunStartedEventV0_2_0.
New creates a new TestOutputPublishedEventV0_1_0.
New creates a new TestOutputPublishedEventV0_2_0.
New creates a new TestSuiteRunFinishedEventV0_1_0.
New creates a new TestSuiteRunFinishedEventV0_2_0.
New creates a new TestSuiteRunQueuedEventV0_1_0.
New creates a new TestSuiteRunQueuedEventV0_2_0.
New creates a new TestSuiteRunStartedEventV0_1_0.
New creates a new TestSuiteRunStartedEventV0_2_0.
New creates a new TicketClosedEventV0_1_0.
New creates a new TicketCreatedEventV0_1_0.
New creates a new TicketUpdatedEventV0_1_0.
ParseType returns a CDEventType if eventType is a valid type Since the list of valid events is spec specific, we only validate in spec specific code whether this event type exists.
Validate checks the CDEvent against the JSON schema and validate constraints.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

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

# Variables

ArtifactDeleted event type v0.1.0.
ArtifactDownloaded event type v0.1.0.
ArtifactPackaged event type v0.1.1.
ArtifactPackaged event type v0.2.0.
ArtifactPublished event type v0.1.1.
ArtifactPublished event type v0.2.0.
ArtifactSigned event type v0.1.0.
ArtifactSigned event type v0.2.0.
BranchCreated event type v0.1.2.
BranchCreated event type v0.2.0.
BranchDeleted event type v0.1.2.
BranchDeleted event type v0.2.0.
BuildFinished event type v0.1.1.
BuildFinished event type v0.2.0.
BuildQueued event type v0.1.1.
BuildQueued event type v0.2.0.
BuildStarted event type v0.1.1.
BuildStarted event type v0.2.0.
No description provided by the author
No description provided by the author
No description provided by the author
ChangeAbandoned event type v0.1.2.
ChangeAbandoned event type v0.2.0.
ChangeCreated event type v0.1.2.
ChangeCreated event type v0.3.0.
ChangeMerged event type v0.1.2.
ChangeMerged event type v0.2.0.
ChangeReviewed event type v0.1.2.
ChangeReviewed event type v0.2.0.
ChangeUpdated event type v0.1.2.
ChangeUpdated event type v0.2.0.
All compiled custom schemas by Id.
All compiled schemas by Id.
CustomType event type v0.4.1.
EnvironmentCreated event type v0.1.1.
EnvironmentCreated event type v0.2.0.
EnvironmentDeleted event type v0.1.1.
EnvironmentDeleted event type v0.2.0.
EnvironmentModified event type v0.1.1.
EnvironmentModified event type v0.2.0.
IncidentDetected event type v0.1.0.
IncidentDetected event type v0.2.0.
IncidentReported event type v0.1.0.
IncidentReported event type v0.2.0.
IncidentResolved event type v0.1.0.
IncidentResolved event type v0.2.0.
No description provided by the author
PipelineRunFinished event type v0.1.1.
PipelineRunFinished event type v0.2.0.
PipelineRunQueued event type v0.1.1.
PipelineRunQueued event type v0.2.0.
PipelineRunStarted event type v0.1.1.
PipelineRunStarted event type v0.2.0.
RepositoryCreated event type v0.1.1.
RepositoryCreated event type v0.2.0.
RepositoryDeleted event type v0.1.1.
RepositoryDeleted event type v0.2.0.
RepositoryModified event type v0.1.1.
RepositoryModified event type v0.2.0.
All schemas as string by Id.
ServiceDeployed event type v0.1.1.
ServiceDeployed event type v0.2.0.
ServicePublished event type v0.1.1.
ServicePublished event type v0.2.0.
ServiceRemoved event type v0.1.1.
ServiceRemoved event type v0.2.0.
ServiceRolledback event type v0.1.1.
ServiceRolledback event type v0.2.0.
ServiceUpgraded event type v0.1.1.
ServiceUpgraded event type v0.2.0.
TaskRunFinished event type v0.1.1.
TaskRunFinished event type v0.2.0.
TaskRunStarted event type v0.1.1.
TaskRunStarted event type v0.2.0.
TestCaseRunFinished event type v0.1.0.
TestCaseRunFinished event type v0.2.0.
TestCaseRunQueued event type v0.1.0.
TestCaseRunQueued event type v0.2.0.
TestCaseRunSkipped event type v0.1.0.
TestCaseRunStarted event type v0.1.0.
TestCaseRunStarted event type v0.2.0.
TestOutputPublished event type v0.1.0.
TestOutputPublished event type v0.2.0.
TestSuiteRunFinished event type v0.1.0.
TestSuiteRunFinished event type v0.2.0.
TestSuiteRunQueued event type v0.1.0.
TestSuiteRunQueued event type v0.2.0.
TestSuiteRunStarted event type v0.1.0.
TestSuiteRunStarted event type v0.2.0.
TicketClosed event type v0.1.0.
TicketCreated event type v0.1.0.
TicketUpdated event type v0.1.0.

# Structs

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
ArtifactPackagedSubjectContentSbomV0_2_0 holds the content of a Sbom field in the content.
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
ArtifactPublishedSubjectContentSbomV0_2_0 holds the content of a Sbom field in the content.
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
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
CDEventCustomData hosts the CDEvent custom data fields `CustomDataContentType` describes the content type of the data.
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
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
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
EventReference contains the ID of a linked 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
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
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
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
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
TestCaseRunFinishedSubjectContentTestCaseV0_1_0 holds the content of a TestCase field in the content.
TestCaseRunFinishedSubjectContentTestCaseV0_2_0 holds the content of a TestCase field in the content.
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
TestCaseRunQueuedSubjectContentTestCaseV0_1_0 holds the content of a TestCase field in the content.
TestCaseRunQueuedSubjectContentTestCaseV0_2_0 holds the content of a TestCase field in the content.
TestCaseRunQueuedSubjectContentTriggerV0_1_0 holds the content of a Trigger field in the content.
TestCaseRunQueuedSubjectContentTriggerV0_2_0 holds the content of a Trigger field in the content.
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
TestCaseRunSkippedSubjectContentTestCaseV0_1_0 holds the content of a TestCase field in the content.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TestCaseRunStartedSubjectContentTestCaseV0_1_0 holds the content of a TestCase field in the content.
TestCaseRunStartedSubjectContentTestCaseV0_2_0 holds the content of a TestCase field in the content.
TestCaseRunStartedSubjectContentTriggerV0_1_0 holds the content of a Trigger field in the content.
TestCaseRunStartedSubjectContentTriggerV0_2_0 holds the content of a Trigger field in the content.
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
TestSuiteRunFinishedSubjectContentTestSuiteV0_1_0 holds the content of a TestSuite field in the content.
TestSuiteRunFinishedSubjectContentTestSuiteV0_2_0 holds the content of a TestSuite field in the content.
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
TestSuiteRunQueuedSubjectContentTestSuiteV0_1_0 holds the content of a TestSuite field in the content.
TestSuiteRunQueuedSubjectContentTestSuiteV0_2_0 holds the content of a TestSuite field in the content.
TestSuiteRunQueuedSubjectContentTriggerV0_1_0 holds the content of a Trigger field in the content.
TestSuiteRunQueuedSubjectContentTriggerV0_2_0 holds the content of a Trigger field in the content.
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
TestSuiteRunStartedSubjectContentTestSuiteV0_1_0 holds the content of a TestSuite field in the content.
TestSuiteRunStartedSubjectContentTestSuiteV0_2_0 holds the content of a TestSuite field in the content.
TestSuiteRunStartedSubjectContentTriggerV0_1_0 holds the content of a Trigger field in the content.
TestSuiteRunStartedSubjectContentTriggerV0_2_0 holds the content of a Trigger field in the content.
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

# Interfaces

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

# Type aliases

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