v03

package
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ArtifactPackagedEventType = api.ArtifactPackagedEventTypeV0_1_1
View Source
var ArtifactPublishedEventType = api.ArtifactPublishedEventTypeV0_1_1
View Source
var ArtifactSignedEventType = api.ArtifactSignedEventTypeV0_1_0
View Source
var BranchCreatedEventType = api.BranchCreatedEventTypeV0_1_2
View Source
var BranchDeletedEventType = api.BranchDeletedEventTypeV0_1_2
View Source
var BuildFinishedEventType = api.BuildFinishedEventTypeV0_1_1
View Source
var BuildQueuedEventType = api.BuildQueuedEventTypeV0_1_1
View Source
var BuildStartedEventType = api.BuildStartedEventTypeV0_1_1
View Source
var CDEventsByUnversionedTypes map[string]api.CDEvent
View Source
var ChangeAbandonedEventType = api.ChangeAbandonedEventTypeV0_1_2
View Source
var ChangeCreatedEventType = api.ChangeCreatedEventTypeV0_1_2
View Source
var ChangeMergedEventType = api.ChangeMergedEventTypeV0_1_2
View Source
var ChangeReviewedEventType = api.ChangeReviewedEventTypeV0_1_2
View Source
var ChangeUpdatedEventType = api.ChangeUpdatedEventTypeV0_1_2
View Source
var EnvironmentCreatedEventType = api.EnvironmentCreatedEventTypeV0_1_1
View Source
var EnvironmentDeletedEventType = api.EnvironmentDeletedEventTypeV0_1_1
View Source
var EnvironmentModifiedEventType = api.EnvironmentModifiedEventTypeV0_1_1
View Source
var IncidentDetectedEventType = api.IncidentDetectedEventTypeV0_1_0
View Source
var IncidentReportedEventType = api.IncidentReportedEventTypeV0_1_0
View Source
var IncidentResolvedEventType = api.IncidentResolvedEventTypeV0_1_0
View Source
var PipelineRunFinishedEventType = api.PipelineRunFinishedEventTypeV0_1_1
View Source
var PipelineRunQueuedEventType = api.PipelineRunQueuedEventTypeV0_1_1
View Source
var PipelineRunStartedEventType = api.PipelineRunStartedEventTypeV0_1_1
View Source
var RepositoryCreatedEventType = api.RepositoryCreatedEventTypeV0_1_1
View Source
var RepositoryDeletedEventType = api.RepositoryDeletedEventTypeV0_1_1
View Source
var RepositoryModifiedEventType = api.RepositoryModifiedEventTypeV0_1_1
View Source
var ServiceDeployedEventType = api.ServiceDeployedEventTypeV0_1_1
View Source
var ServicePublishedEventType = api.ServicePublishedEventTypeV0_1_1
View Source
var ServiceRemovedEventType = api.ServiceRemovedEventTypeV0_1_1
View Source
var ServiceRolledbackEventType = api.ServiceRolledbackEventTypeV0_1_1
View Source
var ServiceUpgradedEventType = api.ServiceUpgradedEventTypeV0_1_1
View Source
var SpecVersion = "0.3.0"
View Source
var TaskRunFinishedEventType = api.TaskRunFinishedEventTypeV0_1_1
View Source
var TaskRunStartedEventType = api.TaskRunStartedEventTypeV0_1_1
View Source
var TestCaseRunFinishedEventType = api.TestCaseRunFinishedEventTypeV0_1_0
View Source
var TestCaseRunQueuedEventType = api.TestCaseRunQueuedEventTypeV0_1_0
View Source
var TestCaseRunStartedEventType = api.TestCaseRunStartedEventTypeV0_1_0
View Source
var TestOutputPublishedEventType = api.TestOutputPublishedEventTypeV0_1_0
View Source
var TestSuiteRunFinishedEventType = api.TestSuiteRunFinishedEventTypeV0_1_0
View Source
var TestSuiteRunQueuedEventType = api.TestSuiteRunQueuedEventTypeV0_1_0
View Source
var TestSuiteRunStartedEventType = api.TestSuiteRunStartedEventTypeV0_1_0

Functions

func NewCDEvent

func NewCDEvent(eventType, specVersion string) (api.CDEvent, error)

NewCDEvent produces a CDEvent by type This function can be used by users but it's meant mainly for testing purposes

func NewFromJsonBytes

func NewFromJsonBytes(event []byte) (api.CDEvent, error)

NewFromJsonBytes 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. It assumes the context can be unmarshalled in a `Context` object.

func NewFromJsonString

func NewFromJsonString(event string) (api.CDEvent, error)

Build a new CDEventReader from a JSON string

Types

type ArtifactPackagedEvent

type ArtifactPackagedEvent = api.ArtifactPackagedEventV0_1_1

func NewArtifactPackagedEvent

func NewArtifactPackagedEvent() (*ArtifactPackagedEvent, error)

type ArtifactPackagedSubject

type ArtifactPackagedSubject = api.ArtifactPackagedSubjectV0_1_1

type ArtifactPublishedEvent

type ArtifactPublishedEvent = api.ArtifactPublishedEventV0_1_1

func NewArtifactPublishedEvent

func NewArtifactPublishedEvent() (*ArtifactPublishedEvent, error)

type ArtifactPublishedSubject

type ArtifactPublishedSubject = api.ArtifactPublishedSubjectV0_1_1

type ArtifactSignedEvent

type ArtifactSignedEvent = api.ArtifactSignedEventV0_1_0

func NewArtifactSignedEvent

func NewArtifactSignedEvent() (*ArtifactSignedEvent, error)

type ArtifactSignedSubject

type ArtifactSignedSubject = api.ArtifactSignedSubjectV0_1_0

type BranchCreatedEvent

type BranchCreatedEvent = api.BranchCreatedEventV0_1_2

func NewBranchCreatedEvent

func NewBranchCreatedEvent() (*BranchCreatedEvent, error)

type BranchCreatedSubject

type BranchCreatedSubject = api.BranchCreatedSubjectV0_1_2

type BranchDeletedEvent

type BranchDeletedEvent = api.BranchDeletedEventV0_1_2

func NewBranchDeletedEvent

func NewBranchDeletedEvent() (*BranchDeletedEvent, error)

type BranchDeletedSubject

type BranchDeletedSubject = api.BranchDeletedSubjectV0_1_2

type BuildFinishedEvent

type BuildFinishedEvent = api.BuildFinishedEventV0_1_1

func NewBuildFinishedEvent

func NewBuildFinishedEvent() (*BuildFinishedEvent, error)

type BuildFinishedSubject

type BuildFinishedSubject = api.BuildFinishedSubjectV0_1_1

type BuildQueuedEvent

type BuildQueuedEvent = api.BuildQueuedEventV0_1_1

func NewBuildQueuedEvent

func NewBuildQueuedEvent() (*BuildQueuedEvent, error)

type BuildQueuedSubject

type BuildQueuedSubject = api.BuildQueuedSubjectV0_1_1

type BuildStartedEvent

type BuildStartedEvent = api.BuildStartedEventV0_1_1

func NewBuildStartedEvent

func NewBuildStartedEvent() (*BuildStartedEvent, error)

type BuildStartedSubject

type BuildStartedSubject = api.BuildStartedSubjectV0_1_1

type ChangeAbandonedEvent

type ChangeAbandonedEvent = api.ChangeAbandonedEventV0_1_2

func NewChangeAbandonedEvent

func NewChangeAbandonedEvent() (*ChangeAbandonedEvent, error)

type ChangeAbandonedSubject

type ChangeAbandonedSubject = api.ChangeAbandonedSubjectV0_1_2

type ChangeCreatedEvent

type ChangeCreatedEvent = api.ChangeCreatedEventV0_1_2

func NewChangeCreatedEvent

func NewChangeCreatedEvent() (*ChangeCreatedEvent, error)

type ChangeCreatedSubject

type ChangeCreatedSubject = api.ChangeCreatedSubjectV0_1_2

type ChangeMergedEvent

type ChangeMergedEvent = api.ChangeMergedEventV0_1_2

func NewChangeMergedEvent

func NewChangeMergedEvent() (*ChangeMergedEvent, error)

type ChangeMergedSubject

type ChangeMergedSubject = api.ChangeMergedSubjectV0_1_2

type ChangeReviewedEvent

type ChangeReviewedEvent = api.ChangeReviewedEventV0_1_2

func NewChangeReviewedEvent

func NewChangeReviewedEvent() (*ChangeReviewedEvent, error)

type ChangeReviewedSubject

type ChangeReviewedSubject = api.ChangeReviewedSubjectV0_1_2

type ChangeUpdatedEvent

type ChangeUpdatedEvent = api.ChangeUpdatedEventV0_1_2

func NewChangeUpdatedEvent

func NewChangeUpdatedEvent() (*ChangeUpdatedEvent, error)

type ChangeUpdatedSubject

type ChangeUpdatedSubject = api.ChangeUpdatedSubjectV0_1_2

type EnvironmentCreatedEvent

type EnvironmentCreatedEvent = api.EnvironmentCreatedEventV0_1_1

func NewEnvironmentCreatedEvent

func NewEnvironmentCreatedEvent() (*EnvironmentCreatedEvent, error)

type EnvironmentCreatedSubject

type EnvironmentCreatedSubject = api.EnvironmentCreatedSubjectV0_1_1

type EnvironmentDeletedEvent

type EnvironmentDeletedEvent = api.EnvironmentDeletedEventV0_1_1

func NewEnvironmentDeletedEvent

func NewEnvironmentDeletedEvent() (*EnvironmentDeletedEvent, error)

type EnvironmentDeletedSubject

type EnvironmentDeletedSubject = api.EnvironmentDeletedSubjectV0_1_1

type EnvironmentModifiedEvent

type EnvironmentModifiedEvent = api.EnvironmentModifiedEventV0_1_1

func NewEnvironmentModifiedEvent

func NewEnvironmentModifiedEvent() (*EnvironmentModifiedEvent, error)

type EnvironmentModifiedSubject

type EnvironmentModifiedSubject = api.EnvironmentModifiedSubjectV0_1_1

type IncidentDetectedEvent

type IncidentDetectedEvent = api.IncidentDetectedEventV0_1_0

func NewIncidentDetectedEvent

func NewIncidentDetectedEvent() (*IncidentDetectedEvent, error)

type IncidentDetectedSubject

type IncidentDetectedSubject = api.IncidentDetectedSubjectV0_1_0

type IncidentReportedEvent

type IncidentReportedEvent = api.IncidentReportedEventV0_1_0

func NewIncidentReportedEvent

func NewIncidentReportedEvent() (*IncidentReportedEvent, error)

type IncidentReportedSubject

type IncidentReportedSubject = api.IncidentReportedSubjectV0_1_0

type IncidentResolvedEvent

type IncidentResolvedEvent = api.IncidentResolvedEventV0_1_0

func NewIncidentResolvedEvent

func NewIncidentResolvedEvent() (*IncidentResolvedEvent, error)

type IncidentResolvedSubject

type IncidentResolvedSubject = api.IncidentResolvedSubjectV0_1_0

type PipelineRunFinishedEvent

type PipelineRunFinishedEvent = api.PipelineRunFinishedEventV0_1_1

func NewPipelineRunFinishedEvent

func NewPipelineRunFinishedEvent() (*PipelineRunFinishedEvent, error)

type PipelineRunFinishedSubject

type PipelineRunFinishedSubject = api.PipelineRunFinishedSubjectV0_1_1

type PipelineRunQueuedEvent

type PipelineRunQueuedEvent = api.PipelineRunQueuedEventV0_1_1

func NewPipelineRunQueuedEvent

func NewPipelineRunQueuedEvent() (*PipelineRunQueuedEvent, error)

type PipelineRunQueuedSubject

type PipelineRunQueuedSubject = api.PipelineRunQueuedSubjectV0_1_1

type PipelineRunStartedEvent

type PipelineRunStartedEvent = api.PipelineRunStartedEventV0_1_1

func NewPipelineRunStartedEvent

func NewPipelineRunStartedEvent() (*PipelineRunStartedEvent, error)

type PipelineRunStartedSubject

type PipelineRunStartedSubject = api.PipelineRunStartedSubjectV0_1_1

type RepositoryCreatedEvent

type RepositoryCreatedEvent = api.RepositoryCreatedEventV0_1_1

func NewRepositoryCreatedEvent

func NewRepositoryCreatedEvent() (*RepositoryCreatedEvent, error)

type RepositoryCreatedSubject

type RepositoryCreatedSubject = api.RepositoryCreatedSubjectV0_1_1

type RepositoryDeletedEvent

type RepositoryDeletedEvent = api.RepositoryDeletedEventV0_1_1

func NewRepositoryDeletedEvent

func NewRepositoryDeletedEvent() (*RepositoryDeletedEvent, error)

type RepositoryDeletedSubject

type RepositoryDeletedSubject = api.RepositoryDeletedSubjectV0_1_1

type RepositoryModifiedEvent

type RepositoryModifiedEvent = api.RepositoryModifiedEventV0_1_1

func NewRepositoryModifiedEvent

func NewRepositoryModifiedEvent() (*RepositoryModifiedEvent, error)

type RepositoryModifiedSubject

type RepositoryModifiedSubject = api.RepositoryModifiedSubjectV0_1_1

type ServiceDeployedEvent

type ServiceDeployedEvent = api.ServiceDeployedEventV0_1_1

func NewServiceDeployedEvent

func NewServiceDeployedEvent() (*ServiceDeployedEvent, error)

type ServiceDeployedSubject

type ServiceDeployedSubject = api.ServiceDeployedSubjectV0_1_1

type ServicePublishedEvent

type ServicePublishedEvent = api.ServicePublishedEventV0_1_1

func NewServicePublishedEvent

func NewServicePublishedEvent() (*ServicePublishedEvent, error)

type ServicePublishedSubject

type ServicePublishedSubject = api.ServicePublishedSubjectV0_1_1

type ServiceRemovedEvent

type ServiceRemovedEvent = api.ServiceRemovedEventV0_1_1

func NewServiceRemovedEvent

func NewServiceRemovedEvent() (*ServiceRemovedEvent, error)

type ServiceRemovedSubject

type ServiceRemovedSubject = api.ServiceRemovedSubjectV0_1_1

type ServiceRolledbackEvent

type ServiceRolledbackEvent = api.ServiceRolledbackEventV0_1_1

func NewServiceRolledbackEvent

func NewServiceRolledbackEvent() (*ServiceRolledbackEvent, error)

type ServiceRolledbackSubject

type ServiceRolledbackSubject = api.ServiceRolledbackSubjectV0_1_1

type ServiceUpgradedEvent

type ServiceUpgradedEvent = api.ServiceUpgradedEventV0_1_1

func NewServiceUpgradedEvent

func NewServiceUpgradedEvent() (*ServiceUpgradedEvent, error)

type ServiceUpgradedSubject

type ServiceUpgradedSubject = api.ServiceUpgradedSubjectV0_1_1

type TaskRunFinishedEvent

type TaskRunFinishedEvent = api.TaskRunFinishedEventV0_1_1

func NewTaskRunFinishedEvent

func NewTaskRunFinishedEvent() (*TaskRunFinishedEvent, error)

type TaskRunFinishedSubject

type TaskRunFinishedSubject = api.TaskRunFinishedSubjectV0_1_1

type TaskRunStartedEvent

type TaskRunStartedEvent = api.TaskRunStartedEventV0_1_1

func NewTaskRunStartedEvent

func NewTaskRunStartedEvent() (*TaskRunStartedEvent, error)

type TaskRunStartedSubject

type TaskRunStartedSubject = api.TaskRunStartedSubjectV0_1_1

type TestCaseRunFinishedEvent

type TestCaseRunFinishedEvent = api.TestCaseRunFinishedEventV0_1_0

func NewTestCaseRunFinishedEvent

func NewTestCaseRunFinishedEvent() (*TestCaseRunFinishedEvent, error)

type TestCaseRunFinishedSubject

type TestCaseRunFinishedSubject = api.TestCaseRunFinishedSubjectV0_1_0

type TestCaseRunFinishedSubjectContentTestCase

type TestCaseRunFinishedSubjectContentTestCase = api.TestCaseRunFinishedSubjectContentTestCaseV0_1_0

TestCaseRunTestCaseRunSubjectContentTestCaseV0_1_0 holds the content of a TestCase field in the content

type TestCaseRunQueuedEvent

type TestCaseRunQueuedEvent = api.TestCaseRunQueuedEventV0_1_0

func NewTestCaseRunQueuedEvent

func NewTestCaseRunQueuedEvent() (*TestCaseRunQueuedEvent, error)

type TestCaseRunQueuedSubject

type TestCaseRunQueuedSubject = api.TestCaseRunQueuedSubjectV0_1_0

type TestCaseRunQueuedSubjectContentTestCase

type TestCaseRunQueuedSubjectContentTestCase = api.TestCaseRunQueuedSubjectContentTestCaseV0_1_0

TestCaseRunTestCaseRunSubjectContentTestCaseV0_1_0 holds the content of a TestCase field in the content

type TestCaseRunQueuedSubjectContentTrigger

type TestCaseRunQueuedSubjectContentTrigger = api.TestCaseRunQueuedSubjectContentTriggerV0_1_0

TestCaseRunTestCaseRunSubjectContentTriggerV0_1_0 holds the content of a Trigger field in the content

type TestCaseRunStartedEvent

type TestCaseRunStartedEvent = api.TestCaseRunStartedEventV0_1_0

func NewTestCaseRunStartedEvent

func NewTestCaseRunStartedEvent() (*TestCaseRunStartedEvent, error)

type TestCaseRunStartedSubject

type TestCaseRunStartedSubject = api.TestCaseRunStartedSubjectV0_1_0

type TestCaseRunStartedSubjectContentTestCase

type TestCaseRunStartedSubjectContentTestCase = api.TestCaseRunStartedSubjectContentTestCaseV0_1_0

TestCaseRunTestCaseRunSubjectContentTestCaseV0_1_0 holds the content of a TestCase field in the content

type TestCaseRunStartedSubjectContentTrigger

type TestCaseRunStartedSubjectContentTrigger = api.TestCaseRunStartedSubjectContentTriggerV0_1_0

TestCaseRunTestCaseRunSubjectContentTriggerV0_1_0 holds the content of a Trigger field in the content

type TestOutputPublishedEvent

type TestOutputPublishedEvent = api.TestOutputPublishedEventV0_1_0

func NewTestOutputPublishedEvent

func NewTestOutputPublishedEvent() (*TestOutputPublishedEvent, error)

type TestOutputPublishedSubject

type TestOutputPublishedSubject = api.TestOutputPublishedSubjectV0_1_0

type TestSuiteRunFinishedEvent

type TestSuiteRunFinishedEvent = api.TestSuiteRunFinishedEventV0_1_0

func NewTestSuiteRunFinishedEvent

func NewTestSuiteRunFinishedEvent() (*TestSuiteRunFinishedEvent, error)

type TestSuiteRunFinishedSubject

type TestSuiteRunFinishedSubject = api.TestSuiteRunFinishedSubjectV0_1_0

type TestSuiteRunFinishedSubjectContentTestSuite

type TestSuiteRunFinishedSubjectContentTestSuite = api.TestSuiteRunFinishedSubjectContentTestSuiteV0_1_0

TestSuiteRunTestSuiteRunSubjectContentTestSuiteV0_1_0 holds the content of a TestSuite field in the content

type TestSuiteRunQueuedEvent

type TestSuiteRunQueuedEvent = api.TestSuiteRunQueuedEventV0_1_0

func NewTestSuiteRunQueuedEvent

func NewTestSuiteRunQueuedEvent() (*TestSuiteRunQueuedEvent, error)

type TestSuiteRunQueuedSubject

type TestSuiteRunQueuedSubject = api.TestSuiteRunQueuedSubjectV0_1_0

type TestSuiteRunQueuedSubjectContentTestSuite

type TestSuiteRunQueuedSubjectContentTestSuite = api.TestSuiteRunQueuedSubjectContentTestSuiteV0_1_0

TestSuiteRunTestSuiteRunSubjectContentTestSuiteV0_1_0 holds the content of a TestSuite field in the content

type TestSuiteRunQueuedSubjectContentTrigger

type TestSuiteRunQueuedSubjectContentTrigger = api.TestSuiteRunQueuedSubjectContentTriggerV0_1_0

TestSuiteRunTestSuiteRunSubjectContentTriggerV0_1_0 holds the content of a Trigger field in the content

type TestSuiteRunStartedEvent

type TestSuiteRunStartedEvent = api.TestSuiteRunStartedEventV0_1_0

func NewTestSuiteRunStartedEvent

func NewTestSuiteRunStartedEvent() (*TestSuiteRunStartedEvent, error)

type TestSuiteRunStartedSubject

type TestSuiteRunStartedSubject = api.TestSuiteRunStartedSubjectV0_1_0

type TestSuiteRunStartedSubjectContentTestSuite

type TestSuiteRunStartedSubjectContentTestSuite = api.TestSuiteRunStartedSubjectContentTestSuiteV0_1_0

TestSuiteRunTestSuiteRunSubjectContentTestSuiteV0_1_0 holds the content of a TestSuite field in the content

type TestSuiteRunStartedSubjectContentTrigger

type TestSuiteRunStartedSubjectContentTrigger = api.TestSuiteRunStartedSubjectContentTriggerV0_1_0

TestSuiteRunTestSuiteRunSubjectContentTriggerV0_1_0 holds the content of a Trigger field in the content

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL