events

package
v0.26.8 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReleaseFailed added in v0.26.0

type ReleaseFailed struct {
	PodName     string   `json:"podName,omitempty"`
	Namespace   string   `json:"namespace,omitempty"`
	Errors      []string `json:"errors,omitempty"`
	AuthorEmail string   `json:"authorEmail,omitempty"`
	Environment string   `json:"environment,omitempty"`
	ArtifactID  string   `json:"artifactId,omitempty"`
	Squad       string   `json:"squad,omitempty"`
	AlertSquad  string   `json:"alertSquad,omitempty"`
}

func (ReleaseFailed) Marshal added in v0.26.0

func (re ReleaseFailed) Marshal() ([]byte, error)

Marshal implements broker.Publishable

func (ReleaseFailed) Type added in v0.26.0

func (re ReleaseFailed) Type() string

func (ReleaseFailed) Unmarshal added in v0.26.0

func (re ReleaseFailed) Unmarshal(data []byte) error

Unmarshal implements broker.Publishable

type ReleaseSucceeded added in v0.25.0

type ReleaseSucceeded struct {
	Name          string `json:"name,omitempty"`
	Namespace     string `json:"namespace,omitempty"`
	ResourceType  string `json:"resourceType,omitempty"`
	AvailablePods int32  `json:"availablePods,omitempty"`
	DesiredPods   int32  `json:"desiredPods,omitempty"`
	ArtifactID    string `json:"artifactId,omitempty"`
	AuthorEmail   string `json:"authorEmail,omitempty"`
	Environment   string `json:"environment,omitempty"`
}

func (ReleaseSucceeded) Marshal added in v0.25.0

func (re ReleaseSucceeded) Marshal() ([]byte, error)

TODO: Make generic when go1.18 is adopted Marshal implements broker.Publishable

func (ReleaseSucceeded) Type added in v0.25.0

func (re ReleaseSucceeded) Type() string

func (ReleaseSucceeded) Unmarshal added in v0.25.0

func (re ReleaseSucceeded) Unmarshal(data []byte) error

Unmarshal implements broker.Publishable

type ReleasedEvent

type ReleasedEvent struct {
	Service     string `json:"name,omitempty"`
	Namespace   string `json:"namespace,omitempty"`
	ArtifactID  string `json:"artifactId,omitempty"`
	AuthorEmail string `json:"authorEmail,omitempty"`
	AuthorName  string `json:"authorName,omitempty"`
	Squad       string `json:"squad,omitempty"`
	Environment string `json:"environment,omitempty"`
	IntentType  string `json:"intentType,omitempty"`
}

func (ReleasedEvent) Marshal

func (re ReleasedEvent) Marshal() ([]byte, error)

TODO: Make generic when go1.18 is adopted Marshal implements broker.Publishable

func (ReleasedEvent) Type

func (re ReleasedEvent) Type() string

func (ReleasedEvent) Unmarshal

func (re ReleasedEvent) Unmarshal(data []byte) error

Unmarshal implements broker.Publishable

Jump to

Keyboard shortcuts

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