client

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Overview

Package client provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.1 DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AutoscalingConfigChangedEvent

type AutoscalingConfigChangedEvent struct {
	FromConfig *externalRef0.AutoscalingConfig `json:"fromConfig,omitempty"`
	ToConfig   externalRef0.AutoscalingConfig  `json:"toConfig"`
}

AutoscalingConfigChangedEvent defines model for autoscalingConfigChangedEvent.

type AutoscalingEndedEvent

type AutoscalingEndedEvent struct {
	FromInstances int `json:"fromInstances"`
	ToInstances   int `json:"toInstances"`
}

AutoscalingEndedEvent defines model for autoscalingEndedEvent.

type AutoscalingStartedEvent

type AutoscalingStartedEvent struct {
	CurrentCPU    *int64 `json:"currentCPU,omitempty"`
	CurrentMemory *int64 `json:"currentMemory,omitempty"`
	FromInstances int    `json:"fromInstances"`
	TargetCPU     *int64 `json:"targetCPU,omitempty"`
	TargetMemory  *int64 `json:"targetMemory,omitempty"`
	ToInstances   int    `json:"toInstances"`
}

AutoscalingStartedEvent defines model for autoscalingStartedEvent.

type BranchDeletedEvent

type BranchDeletedEvent struct {
	DeletedBranch string `json:"deletedBranch"`
	NewBranch     string `json:"newBranch"`
}

BranchDeletedEvent defines model for branchDeletedEvent.

type BuildDeployEndReason

type BuildDeployEndReason struct {
	BuildFailed *BuildDeployEndReasonID `json:"buildFailed,omitempty"`
	Failure     *FailureReason          `json:"failure,omitempty"`
	NewBuild    *BuildDeployEndReasonID `json:"newBuild,omitempty"`
	NewDeploy   *BuildDeployEndReasonID `json:"newDeploy,omitempty"`
}

BuildDeployEndReason defines model for buildDeployEndReason.

type BuildDeployEndReasonID

type BuildDeployEndReasonID struct {
	Id string `json:"id"`
}

BuildDeployEndReasonID defines model for buildDeployEndReasonID.

type BuildDeployTrigger

type BuildDeployTrigger struct {
	// ClearCache Whether the cache was cleared for the deploy
	ClearCache bool `json:"clearCache"`

	// DeployedByRender Deploy was triggered by Render
	DeployedByRender bool `json:"deployedByRender"`

	// EnvUpdated Deploy was triggered by an environment update
	EnvUpdated bool `json:"envUpdated"`

	// FirstBuild Deploy was triggered by service creation
	FirstBuild bool `json:"firstBuild"`

	// Manual Deploy was triggered manually from the dashboard
	Manual bool `json:"manual"`

	// NewCommit Commit that triggered the deploy
	NewCommit *string `json:"newCommit,omitempty"`

	// Rollback Whether the deploy was triggered by a rollback
	Rollback bool `json:"rollback"`

	// RollbackTargetDeployId Deploy ID that was rolled back to
	RollbackTargetDeployId *string `json:"rollbackTargetDeployId,omitempty"`

	// UpdatedProperty Updated property that triggered the deploy
	UpdatedProperty *string `json:"updatedProperty,omitempty"`

	// User User who triggered the action
	User *User `json:"user,omitempty"`
}

BuildDeployTrigger defines model for buildDeployTrigger.

type BuildEndedEvent

type BuildEndedEvent struct {
	BuildId     string               `json:"buildId"`
	BuildStatus EventStatus          `json:"buildStatus"`
	Reason      BuildDeployEndReason `json:"reason"`
	// Deprecated:
	Status int `json:"status"`
}

BuildEndedEvent defines model for buildEndedEvent.

type BuildStartedEvent

type BuildStartedEvent struct {
	BuildId string             `json:"buildId"`
	Trigger BuildDeployTrigger `json:"trigger"`
}

BuildStartedEvent defines model for buildStartedEvent.

type CommitIgnoredEvent

type CommitIgnoredEvent struct {
	// Id the commit id
	Id string `json:"id"`

	// Url the commit url
	Url string `json:"url"`
}

CommitIgnoredEvent defines model for commitIgnoredEvent.

type CronJobRunEndedEvent

type CronJobRunEndedEvent struct {
	CronJobRunId string           `json:"cronJobRunId"`
	Reason       *FailureReason   `json:"reason,omitempty"`
	Status       CronJobRunStatus `json:"status"`

	// User User who triggered the action
	User *User `json:"user,omitempty"`
}

CronJobRunEndedEvent defines model for cronJobRunEndedEvent.

type CronJobRunStartedEvent

type CronJobRunStartedEvent struct {
	CronJobRunId string `json:"cronJobRunId"`
}

CronJobRunStartedEvent defines model for cronJobRunStartedEvent.

type CronJobRunStatus

type CronJobRunStatus string

CronJobRunStatus defines model for cronJobRunStatus.

const (
	CronJobRunStatusCanceled     CronJobRunStatus = "canceled"
	CronJobRunStatusPending      CronJobRunStatus = "pending"
	CronJobRunStatusSuccessful   CronJobRunStatus = "successful"
	CronJobRunStatusUnsuccessful CronJobRunStatus = "unsuccessful"
)

Defines values for CronJobRunStatus.

type DeployEndedEvent

type DeployEndedEvent struct {
	DeployId     string               `json:"deployId"`
	DeployStatus EventStatus          `json:"deployStatus"`
	Reason       BuildDeployEndReason `json:"reason"`
	// Deprecated:
	Status int `json:"status"`
}

DeployEndedEvent defines model for deployEndedEvent.

type DeployStartedEvent

type DeployStartedEvent struct {
	DeployId string             `json:"deployId"`
	Trigger  BuildDeployTrigger `json:"trigger"`
}

DeployStartedEvent defines model for deployStartedEvent.

type DiskCreatedEvent

type DiskCreatedEvent struct {
	DiskId externalRef2.DiskId `json:"diskId"`
	SizeGB int                 `json:"sizeGB"`
}

DiskCreatedEvent defines model for diskCreatedEvent.

type DiskDeletedEvent

type DiskDeletedEvent struct {
	DiskId externalRef2.DiskId `json:"diskId"`
}

DiskDeletedEvent defines model for diskDeletedEvent.

type DiskUpdatedEvent

type DiskUpdatedEvent struct {
	DiskId     externalRef2.DiskId `json:"diskId"`
	FromSizeGB int                 `json:"fromSizeGB"`
	ToSizeGB   int                 `json:"toSizeGB"`
}

DiskUpdatedEvent defines model for diskUpdatedEvent.

type Event

type Event struct {
	Details   EventDetails           `json:"details"`
	Id        EventId                `json:"id"`
	ServiceId string                 `json:"serviceId"`
	Timestamp time.Time              `json:"timestamp"`
	Type      externalRef4.EventType `json:"type"`
}

Event defines model for event.

type EventDetails

type EventDetails struct {
	// contains filtered or unexported fields
}

EventDetails defines model for eventDetails.

func (EventDetails) AsKeyValueEventDetails

func (t EventDetails) AsKeyValueEventDetails() (KeyValueEventDetails, error)

AsKeyValueEventDetails returns the union data inside the EventDetails as a KeyValueEventDetails

func (EventDetails) AsPostgresEventDetails

func (t EventDetails) AsPostgresEventDetails() (PostgresEventDetails, error)

AsPostgresEventDetails returns the union data inside the EventDetails as a PostgresEventDetails

func (EventDetails) AsServiceEventDetails

func (t EventDetails) AsServiceEventDetails() (ServiceEventDetails, error)

AsServiceEventDetails returns the union data inside the EventDetails as a ServiceEventDetails

func (*EventDetails) FromKeyValueEventDetails

func (t *EventDetails) FromKeyValueEventDetails(v KeyValueEventDetails) error

FromKeyValueEventDetails overwrites any union data inside the EventDetails as the provided KeyValueEventDetails

func (*EventDetails) FromPostgresEventDetails

func (t *EventDetails) FromPostgresEventDetails(v PostgresEventDetails) error

FromPostgresEventDetails overwrites any union data inside the EventDetails as the provided PostgresEventDetails

func (*EventDetails) FromServiceEventDetails

func (t *EventDetails) FromServiceEventDetails(v ServiceEventDetails) error

FromServiceEventDetails overwrites any union data inside the EventDetails as the provided ServiceEventDetails

func (EventDetails) MarshalJSON

func (t EventDetails) MarshalJSON() ([]byte, error)

func (*EventDetails) MergeKeyValueEventDetails

func (t *EventDetails) MergeKeyValueEventDetails(v KeyValueEventDetails) error

MergeKeyValueEventDetails performs a merge with any union data inside the EventDetails, using the provided KeyValueEventDetails

func (*EventDetails) MergePostgresEventDetails

func (t *EventDetails) MergePostgresEventDetails(v PostgresEventDetails) error

MergePostgresEventDetails performs a merge with any union data inside the EventDetails, using the provided PostgresEventDetails

func (*EventDetails) MergeServiceEventDetails

func (t *EventDetails) MergeServiceEventDetails(v ServiceEventDetails) error

MergeServiceEventDetails performs a merge with any union data inside the EventDetails, using the provided ServiceEventDetails

func (*EventDetails) UnmarshalJSON

func (t *EventDetails) UnmarshalJSON(b []byte) error

type EventId

type EventId = string

EventId defines model for eventId.

type EventStatus

type EventStatus string

EventStatus defines model for eventStatus.

const (
	EventStatusCanceled  EventStatus = "canceled"
	EventStatusFailed    EventStatus = "failed"
	EventStatusSucceeded EventStatus = "succeeded"
)

Defines values for EventStatus.

type FailureReason

type FailureReason struct {
	Evicted         bool       `json:"evicted"`
	NonZeroExit     *int       `json:"nonZeroExit,omitempty"`
	OomKilled       *OomKilled `json:"oomKilled,omitempty"`
	TimedOutReason  *string    `json:"timedOutReason,omitempty"`
	TimedOutSeconds *int64     `json:"timedOutSeconds,omitempty"`
	Unhealthy       *string    `json:"unhealthy,omitempty"`
}

FailureReason defines model for failureReason.

type ImagePullFailedEvent

type ImagePullFailedEvent struct {
	ImageURL string `json:"imageURL"`
	Message  string `json:"message"`
}

ImagePullFailedEvent defines model for imagePullFailedEvent.

type InitialDeployHookEndedEvent

type InitialDeployHookEndedEvent struct {
	DeployId string `json:"deployId"`
}

InitialDeployHookEndedEvent defines model for initialDeployHookEndedEvent.

type InitialDeployHookStartedEvent

type InitialDeployHookStartedEvent struct {
	DeployId string `json:"deployId"`
}

InitialDeployHookStartedEvent defines model for initialDeployHookStartedEvent.

type InstanceCountChangedEvent

type InstanceCountChangedEvent struct {
	FromInstances int `json:"fromInstances"`
	ToInstances   int `json:"toInstances"`
}

InstanceCountChangedEvent defines model for instanceCountChangedEvent.

type JobRunEndedEvent

type JobRunEndedEvent struct {
	JobId  externalRef5.JobId     `json:"jobId"`
	Reason *FailureReason         `json:"reason,omitempty"`
	Status externalRef5.JobStatus `json:"status"`
}

JobRunEndedEvent defines model for jobRunEndedEvent.

type KeyValueAvailableEvent

type KeyValueAvailableEvent = map[string]interface{}

KeyValueAvailableEvent defines model for keyValueAvailableEvent.

type KeyValueConfigRestartEvent

type KeyValueConfigRestartEvent struct {
	Message string `json:"message"`
	Reason  string `json:"reason"`
}

KeyValueConfigRestartEvent defines model for keyValueConfigRestartEvent.

type KeyValueEventDetails

type KeyValueEventDetails struct {
	// contains filtered or unexported fields
}

KeyValueEventDetails defines model for keyValueEventDetails.

func (KeyValueEventDetails) AsKeyValueAvailableEvent

func (t KeyValueEventDetails) AsKeyValueAvailableEvent() (KeyValueAvailableEvent, error)

AsKeyValueAvailableEvent returns the union data inside the KeyValueEventDetails as a KeyValueAvailableEvent

func (KeyValueEventDetails) AsKeyValueConfigRestartEvent

func (t KeyValueEventDetails) AsKeyValueConfigRestartEvent() (KeyValueConfigRestartEvent, error)

AsKeyValueConfigRestartEvent returns the union data inside the KeyValueEventDetails as a KeyValueConfigRestartEvent

func (KeyValueEventDetails) AsKeyValueUnhealthyEvent

func (t KeyValueEventDetails) AsKeyValueUnhealthyEvent() (KeyValueUnhealthyEvent, error)

AsKeyValueUnhealthyEvent returns the union data inside the KeyValueEventDetails as a KeyValueUnhealthyEvent

func (*KeyValueEventDetails) FromKeyValueAvailableEvent

func (t *KeyValueEventDetails) FromKeyValueAvailableEvent(v KeyValueAvailableEvent) error

FromKeyValueAvailableEvent overwrites any union data inside the KeyValueEventDetails as the provided KeyValueAvailableEvent

func (*KeyValueEventDetails) FromKeyValueConfigRestartEvent

func (t *KeyValueEventDetails) FromKeyValueConfigRestartEvent(v KeyValueConfigRestartEvent) error

FromKeyValueConfigRestartEvent overwrites any union data inside the KeyValueEventDetails as the provided KeyValueConfigRestartEvent

func (*KeyValueEventDetails) FromKeyValueUnhealthyEvent

func (t *KeyValueEventDetails) FromKeyValueUnhealthyEvent(v KeyValueUnhealthyEvent) error

FromKeyValueUnhealthyEvent overwrites any union data inside the KeyValueEventDetails as the provided KeyValueUnhealthyEvent

func (KeyValueEventDetails) MarshalJSON

func (t KeyValueEventDetails) MarshalJSON() ([]byte, error)

func (*KeyValueEventDetails) MergeKeyValueAvailableEvent

func (t *KeyValueEventDetails) MergeKeyValueAvailableEvent(v KeyValueAvailableEvent) error

MergeKeyValueAvailableEvent performs a merge with any union data inside the KeyValueEventDetails, using the provided KeyValueAvailableEvent

func (*KeyValueEventDetails) MergeKeyValueConfigRestartEvent

func (t *KeyValueEventDetails) MergeKeyValueConfigRestartEvent(v KeyValueConfigRestartEvent) error

MergeKeyValueConfigRestartEvent performs a merge with any union data inside the KeyValueEventDetails, using the provided KeyValueConfigRestartEvent

func (*KeyValueEventDetails) MergeKeyValueUnhealthyEvent

func (t *KeyValueEventDetails) MergeKeyValueUnhealthyEvent(v KeyValueUnhealthyEvent) error

MergeKeyValueUnhealthyEvent performs a merge with any union data inside the KeyValueEventDetails, using the provided KeyValueUnhealthyEvent

func (*KeyValueEventDetails) UnmarshalJSON

func (t *KeyValueEventDetails) UnmarshalJSON(b []byte) error

type KeyValueUnhealthyEvent

type KeyValueUnhealthyEvent = map[string]interface{}

KeyValueUnhealthyEvent defines model for keyValueUnhealthyEvent.

type MaintenanceEndedEvent

type MaintenanceEndedEvent = map[string]interface{}

MaintenanceEndedEvent defines model for maintenanceEndedEvent.

type MaintenanceModeEnabledEvent

type MaintenanceModeEnabledEvent struct {
	Enabled bool `json:"enabled"`
}

MaintenanceModeEnabledEvent defines model for maintenanceModeEnabledEvent.

type MaintenanceModeURIUpdatedEvent

type MaintenanceModeURIUpdatedEvent struct {
	FromURI string `json:"fromURI"`
	ToURI   string `json:"toURI"`
}

MaintenanceModeURIUpdatedEvent defines model for maintenanceModeURIUpdatedEvent.

type MaintenanceStartedEvent

type MaintenanceStartedEvent struct {
	Trigger MaintenanceTrigger `json:"trigger"`
}

MaintenanceStartedEvent defines model for maintenanceStartedEvent.

type MaintenanceTrigger

type MaintenanceTrigger struct {
	// Manual Maintenance was triggered manually
	Manual bool `json:"manual"`

	// StartedByRender Maintenance was triggered by Render
	StartedByRender bool `json:"startedByRender"`

	// User User who triggered the action
	User *User `json:"user,omitempty"`
}

MaintenanceTrigger defines model for maintenanceTrigger.

type OomKilled

type OomKilled struct {
	MemoryLimit string `json:"memoryLimit"`
}

OomKilled defines model for oomKilled.

type PipelineMinutesExhaustedEvent

type PipelineMinutesExhaustedEvent struct {
	BuildId string             `json:"buildId"`
	Trigger BuildDeployTrigger `json:"trigger"`
}

PipelineMinutesExhaustedEvent defines model for pipelineMinutesExhaustedEvent.

type PlanChangedEvent

type PlanChangedEvent struct {
	From string `json:"from"`
	To   string `json:"to"`
}

PlanChangedEvent defines model for planChangedEvent.

type PostgresAvailableEvent

type PostgresAvailableEvent = map[string]interface{}

PostgresAvailableEvent defines model for postgresAvailableEvent.

type PostgresBackupCompletedEvent

type PostgresBackupCompletedEvent = map[string]interface{}

PostgresBackupCompletedEvent defines model for postgresBackupCompletedEvent.

type PostgresBackupFailedEvent

type PostgresBackupFailedEvent = map[string]interface{}

PostgresBackupFailedEvent defines model for postgresBackupFailedEvent.

type PostgresBackupStartedEvent

type PostgresBackupStartedEvent = map[string]interface{}

PostgresBackupStartedEvent defines model for postgresBackupStartedEvent.

type PostgresClusterLeaderChangedEvent

type PostgresClusterLeaderChangedEvent struct {
	LeaderId *string `json:"leaderId,omitempty"`
}

PostgresClusterLeaderChangedEvent defines model for postgresClusterLeaderChangedEvent.

type PostgresCreatedEvent

type PostgresCreatedEvent struct {
	// User User who triggered the action
	User *User `json:"user,omitempty"`
}

PostgresCreatedEvent defines model for postgresCreatedEvent.

type PostgresDiskSizeChangedEvent

type PostgresDiskSizeChangedEvent struct {
	FromDiskSize int `json:"fromDiskSize"`
	ToDiskSize   int `json:"toDiskSize"`

	// User User who triggered the action
	User *User `json:"user,omitempty"`
}

PostgresDiskSizeChangedEvent defines model for postgresDiskSizeChangedEvent.

type PostgresEventDetails

type PostgresEventDetails struct {
	// contains filtered or unexported fields
}

PostgresEventDetails defines model for postgresEventDetails.

func (PostgresEventDetails) AsPostgresAvailableEvent

func (t PostgresEventDetails) AsPostgresAvailableEvent() (PostgresAvailableEvent, error)

AsPostgresAvailableEvent returns the union data inside the PostgresEventDetails as a PostgresAvailableEvent

func (PostgresEventDetails) AsPostgresBackupCompletedEvent

func (t PostgresEventDetails) AsPostgresBackupCompletedEvent() (PostgresBackupCompletedEvent, error)

AsPostgresBackupCompletedEvent returns the union data inside the PostgresEventDetails as a PostgresBackupCompletedEvent

func (PostgresEventDetails) AsPostgresBackupFailedEvent

func (t PostgresEventDetails) AsPostgresBackupFailedEvent() (PostgresBackupFailedEvent, error)

AsPostgresBackupFailedEvent returns the union data inside the PostgresEventDetails as a PostgresBackupFailedEvent

func (PostgresEventDetails) AsPostgresBackupStartedEvent

func (t PostgresEventDetails) AsPostgresBackupStartedEvent() (PostgresBackupStartedEvent, error)

AsPostgresBackupStartedEvent returns the union data inside the PostgresEventDetails as a PostgresBackupStartedEvent

func (PostgresEventDetails) AsPostgresClusterLeaderChangedEvent

func (t PostgresEventDetails) AsPostgresClusterLeaderChangedEvent() (PostgresClusterLeaderChangedEvent, error)

AsPostgresClusterLeaderChangedEvent returns the union data inside the PostgresEventDetails as a PostgresClusterLeaderChangedEvent

func (PostgresEventDetails) AsPostgresCreatedEvent

func (t PostgresEventDetails) AsPostgresCreatedEvent() (PostgresCreatedEvent, error)

AsPostgresCreatedEvent returns the union data inside the PostgresEventDetails as a PostgresCreatedEvent

func (PostgresEventDetails) AsPostgresDiskSizeChangedEvent

func (t PostgresEventDetails) AsPostgresDiskSizeChangedEvent() (PostgresDiskSizeChangedEvent, error)

AsPostgresDiskSizeChangedEvent returns the union data inside the PostgresEventDetails as a PostgresDiskSizeChangedEvent

func (PostgresEventDetails) AsPostgresHaStatusChangedEvent

func (t PostgresEventDetails) AsPostgresHaStatusChangedEvent() (PostgresHaStatusChangedEvent, error)

AsPostgresHaStatusChangedEvent returns the union data inside the PostgresEventDetails as a PostgresHaStatusChangedEvent

func (PostgresEventDetails) AsPostgresPITRCheckpointCompletedEvent

func (t PostgresEventDetails) AsPostgresPITRCheckpointCompletedEvent() (PostgresPITRCheckpointCompletedEvent, error)

AsPostgresPITRCheckpointCompletedEvent returns the union data inside the PostgresEventDetails as a PostgresPITRCheckpointCompletedEvent

func (PostgresEventDetails) AsPostgresPITRCheckpointFailedEvent

func (t PostgresEventDetails) AsPostgresPITRCheckpointFailedEvent() (PostgresPITRCheckpointFailedEvent, error)

AsPostgresPITRCheckpointFailedEvent returns the union data inside the PostgresEventDetails as a PostgresPITRCheckpointFailedEvent

func (PostgresEventDetails) AsPostgresPITRCheckpointStartedEvent

func (t PostgresEventDetails) AsPostgresPITRCheckpointStartedEvent() (PostgresPITRCheckpointStartedEvent, error)

AsPostgresPITRCheckpointStartedEvent returns the union data inside the PostgresEventDetails as a PostgresPITRCheckpointStartedEvent

func (PostgresEventDetails) AsPostgresReadReplicasChangedEvent

func (t PostgresEventDetails) AsPostgresReadReplicasChangedEvent() (PostgresReadReplicasChangedEvent, error)

AsPostgresReadReplicasChangedEvent returns the union data inside the PostgresEventDetails as a PostgresReadReplicasChangedEvent

func (PostgresEventDetails) AsPostgresRestartedEvent

func (t PostgresEventDetails) AsPostgresRestartedEvent() (PostgresRestartedEvent, error)

AsPostgresRestartedEvent returns the union data inside the PostgresEventDetails as a PostgresRestartedEvent

func (PostgresEventDetails) AsPostgresUnavailableEvent

func (t PostgresEventDetails) AsPostgresUnavailableEvent() (PostgresUnavailableEvent, error)

AsPostgresUnavailableEvent returns the union data inside the PostgresEventDetails as a PostgresUnavailableEvent

func (PostgresEventDetails) AsPostgresUpgradeFailedEvent

func (t PostgresEventDetails) AsPostgresUpgradeFailedEvent() (PostgresUpgradeFailedEvent, error)

AsPostgresUpgradeFailedEvent returns the union data inside the PostgresEventDetails as a PostgresUpgradeFailedEvent

func (PostgresEventDetails) AsPostgresUpgradeStartedEvent

func (t PostgresEventDetails) AsPostgresUpgradeStartedEvent() (PostgresUpgradeStartedEvent, error)

AsPostgresUpgradeStartedEvent returns the union data inside the PostgresEventDetails as a PostgresUpgradeStartedEvent

func (PostgresEventDetails) AsPostgresUpgradeSucceededEvent

func (t PostgresEventDetails) AsPostgresUpgradeSucceededEvent() (PostgresUpgradeSucceededEvent, error)

AsPostgresUpgradeSucceededEvent returns the union data inside the PostgresEventDetails as a PostgresUpgradeSucceededEvent

func (*PostgresEventDetails) FromPostgresAvailableEvent

func (t *PostgresEventDetails) FromPostgresAvailableEvent(v PostgresAvailableEvent) error

FromPostgresAvailableEvent overwrites any union data inside the PostgresEventDetails as the provided PostgresAvailableEvent

func (*PostgresEventDetails) FromPostgresBackupCompletedEvent

func (t *PostgresEventDetails) FromPostgresBackupCompletedEvent(v PostgresBackupCompletedEvent) error

FromPostgresBackupCompletedEvent overwrites any union data inside the PostgresEventDetails as the provided PostgresBackupCompletedEvent

func (*PostgresEventDetails) FromPostgresBackupFailedEvent

func (t *PostgresEventDetails) FromPostgresBackupFailedEvent(v PostgresBackupFailedEvent) error

FromPostgresBackupFailedEvent overwrites any union data inside the PostgresEventDetails as the provided PostgresBackupFailedEvent

func (*PostgresEventDetails) FromPostgresBackupStartedEvent

func (t *PostgresEventDetails) FromPostgresBackupStartedEvent(v PostgresBackupStartedEvent) error

FromPostgresBackupStartedEvent overwrites any union data inside the PostgresEventDetails as the provided PostgresBackupStartedEvent

func (*PostgresEventDetails) FromPostgresClusterLeaderChangedEvent

func (t *PostgresEventDetails) FromPostgresClusterLeaderChangedEvent(v PostgresClusterLeaderChangedEvent) error

FromPostgresClusterLeaderChangedEvent overwrites any union data inside the PostgresEventDetails as the provided PostgresClusterLeaderChangedEvent

func (*PostgresEventDetails) FromPostgresCreatedEvent

func (t *PostgresEventDetails) FromPostgresCreatedEvent(v PostgresCreatedEvent) error

FromPostgresCreatedEvent overwrites any union data inside the PostgresEventDetails as the provided PostgresCreatedEvent

func (*PostgresEventDetails) FromPostgresDiskSizeChangedEvent

func (t *PostgresEventDetails) FromPostgresDiskSizeChangedEvent(v PostgresDiskSizeChangedEvent) error

FromPostgresDiskSizeChangedEvent overwrites any union data inside the PostgresEventDetails as the provided PostgresDiskSizeChangedEvent

func (*PostgresEventDetails) FromPostgresHaStatusChangedEvent

func (t *PostgresEventDetails) FromPostgresHaStatusChangedEvent(v PostgresHaStatusChangedEvent) error

FromPostgresHaStatusChangedEvent overwrites any union data inside the PostgresEventDetails as the provided PostgresHaStatusChangedEvent

func (*PostgresEventDetails) FromPostgresPITRCheckpointCompletedEvent

func (t *PostgresEventDetails) FromPostgresPITRCheckpointCompletedEvent(v PostgresPITRCheckpointCompletedEvent) error

FromPostgresPITRCheckpointCompletedEvent overwrites any union data inside the PostgresEventDetails as the provided PostgresPITRCheckpointCompletedEvent

func (*PostgresEventDetails) FromPostgresPITRCheckpointFailedEvent

func (t *PostgresEventDetails) FromPostgresPITRCheckpointFailedEvent(v PostgresPITRCheckpointFailedEvent) error

FromPostgresPITRCheckpointFailedEvent overwrites any union data inside the PostgresEventDetails as the provided PostgresPITRCheckpointFailedEvent

func (*PostgresEventDetails) FromPostgresPITRCheckpointStartedEvent

func (t *PostgresEventDetails) FromPostgresPITRCheckpointStartedEvent(v PostgresPITRCheckpointStartedEvent) error

FromPostgresPITRCheckpointStartedEvent overwrites any union data inside the PostgresEventDetails as the provided PostgresPITRCheckpointStartedEvent

func (*PostgresEventDetails) FromPostgresReadReplicasChangedEvent

func (t *PostgresEventDetails) FromPostgresReadReplicasChangedEvent(v PostgresReadReplicasChangedEvent) error

FromPostgresReadReplicasChangedEvent overwrites any union data inside the PostgresEventDetails as the provided PostgresReadReplicasChangedEvent

func (*PostgresEventDetails) FromPostgresRestartedEvent

func (t *PostgresEventDetails) FromPostgresRestartedEvent(v PostgresRestartedEvent) error

FromPostgresRestartedEvent overwrites any union data inside the PostgresEventDetails as the provided PostgresRestartedEvent

func (*PostgresEventDetails) FromPostgresUnavailableEvent

func (t *PostgresEventDetails) FromPostgresUnavailableEvent(v PostgresUnavailableEvent) error

FromPostgresUnavailableEvent overwrites any union data inside the PostgresEventDetails as the provided PostgresUnavailableEvent

func (*PostgresEventDetails) FromPostgresUpgradeFailedEvent

func (t *PostgresEventDetails) FromPostgresUpgradeFailedEvent(v PostgresUpgradeFailedEvent) error

FromPostgresUpgradeFailedEvent overwrites any union data inside the PostgresEventDetails as the provided PostgresUpgradeFailedEvent

func (*PostgresEventDetails) FromPostgresUpgradeStartedEvent

func (t *PostgresEventDetails) FromPostgresUpgradeStartedEvent(v PostgresUpgradeStartedEvent) error

FromPostgresUpgradeStartedEvent overwrites any union data inside the PostgresEventDetails as the provided PostgresUpgradeStartedEvent

func (*PostgresEventDetails) FromPostgresUpgradeSucceededEvent

func (t *PostgresEventDetails) FromPostgresUpgradeSucceededEvent(v PostgresUpgradeSucceededEvent) error

FromPostgresUpgradeSucceededEvent overwrites any union data inside the PostgresEventDetails as the provided PostgresUpgradeSucceededEvent

func (PostgresEventDetails) MarshalJSON

func (t PostgresEventDetails) MarshalJSON() ([]byte, error)

func (*PostgresEventDetails) MergePostgresAvailableEvent

func (t *PostgresEventDetails) MergePostgresAvailableEvent(v PostgresAvailableEvent) error

MergePostgresAvailableEvent performs a merge with any union data inside the PostgresEventDetails, using the provided PostgresAvailableEvent

func (*PostgresEventDetails) MergePostgresBackupCompletedEvent

func (t *PostgresEventDetails) MergePostgresBackupCompletedEvent(v PostgresBackupCompletedEvent) error

MergePostgresBackupCompletedEvent performs a merge with any union data inside the PostgresEventDetails, using the provided PostgresBackupCompletedEvent

func (*PostgresEventDetails) MergePostgresBackupFailedEvent

func (t *PostgresEventDetails) MergePostgresBackupFailedEvent(v PostgresBackupFailedEvent) error

MergePostgresBackupFailedEvent performs a merge with any union data inside the PostgresEventDetails, using the provided PostgresBackupFailedEvent

func (*PostgresEventDetails) MergePostgresBackupStartedEvent

func (t *PostgresEventDetails) MergePostgresBackupStartedEvent(v PostgresBackupStartedEvent) error

MergePostgresBackupStartedEvent performs a merge with any union data inside the PostgresEventDetails, using the provided PostgresBackupStartedEvent

func (*PostgresEventDetails) MergePostgresClusterLeaderChangedEvent

func (t *PostgresEventDetails) MergePostgresClusterLeaderChangedEvent(v PostgresClusterLeaderChangedEvent) error

MergePostgresClusterLeaderChangedEvent performs a merge with any union data inside the PostgresEventDetails, using the provided PostgresClusterLeaderChangedEvent

func (*PostgresEventDetails) MergePostgresCreatedEvent

func (t *PostgresEventDetails) MergePostgresCreatedEvent(v PostgresCreatedEvent) error

MergePostgresCreatedEvent performs a merge with any union data inside the PostgresEventDetails, using the provided PostgresCreatedEvent

func (*PostgresEventDetails) MergePostgresDiskSizeChangedEvent

func (t *PostgresEventDetails) MergePostgresDiskSizeChangedEvent(v PostgresDiskSizeChangedEvent) error

MergePostgresDiskSizeChangedEvent performs a merge with any union data inside the PostgresEventDetails, using the provided PostgresDiskSizeChangedEvent

func (*PostgresEventDetails) MergePostgresHaStatusChangedEvent

func (t *PostgresEventDetails) MergePostgresHaStatusChangedEvent(v PostgresHaStatusChangedEvent) error

MergePostgresHaStatusChangedEvent performs a merge with any union data inside the PostgresEventDetails, using the provided PostgresHaStatusChangedEvent

func (*PostgresEventDetails) MergePostgresPITRCheckpointCompletedEvent

func (t *PostgresEventDetails) MergePostgresPITRCheckpointCompletedEvent(v PostgresPITRCheckpointCompletedEvent) error

MergePostgresPITRCheckpointCompletedEvent performs a merge with any union data inside the PostgresEventDetails, using the provided PostgresPITRCheckpointCompletedEvent

func (*PostgresEventDetails) MergePostgresPITRCheckpointFailedEvent

func (t *PostgresEventDetails) MergePostgresPITRCheckpointFailedEvent(v PostgresPITRCheckpointFailedEvent) error

MergePostgresPITRCheckpointFailedEvent performs a merge with any union data inside the PostgresEventDetails, using the provided PostgresPITRCheckpointFailedEvent

func (*PostgresEventDetails) MergePostgresPITRCheckpointStartedEvent

func (t *PostgresEventDetails) MergePostgresPITRCheckpointStartedEvent(v PostgresPITRCheckpointStartedEvent) error

MergePostgresPITRCheckpointStartedEvent performs a merge with any union data inside the PostgresEventDetails, using the provided PostgresPITRCheckpointStartedEvent

func (*PostgresEventDetails) MergePostgresReadReplicasChangedEvent

func (t *PostgresEventDetails) MergePostgresReadReplicasChangedEvent(v PostgresReadReplicasChangedEvent) error

MergePostgresReadReplicasChangedEvent performs a merge with any union data inside the PostgresEventDetails, using the provided PostgresReadReplicasChangedEvent

func (*PostgresEventDetails) MergePostgresRestartedEvent

func (t *PostgresEventDetails) MergePostgresRestartedEvent(v PostgresRestartedEvent) error

MergePostgresRestartedEvent performs a merge with any union data inside the PostgresEventDetails, using the provided PostgresRestartedEvent

func (*PostgresEventDetails) MergePostgresUnavailableEvent

func (t *PostgresEventDetails) MergePostgresUnavailableEvent(v PostgresUnavailableEvent) error

MergePostgresUnavailableEvent performs a merge with any union data inside the PostgresEventDetails, using the provided PostgresUnavailableEvent

func (*PostgresEventDetails) MergePostgresUpgradeFailedEvent

func (t *PostgresEventDetails) MergePostgresUpgradeFailedEvent(v PostgresUpgradeFailedEvent) error

MergePostgresUpgradeFailedEvent performs a merge with any union data inside the PostgresEventDetails, using the provided PostgresUpgradeFailedEvent

func (*PostgresEventDetails) MergePostgresUpgradeStartedEvent

func (t *PostgresEventDetails) MergePostgresUpgradeStartedEvent(v PostgresUpgradeStartedEvent) error

MergePostgresUpgradeStartedEvent performs a merge with any union data inside the PostgresEventDetails, using the provided PostgresUpgradeStartedEvent

func (*PostgresEventDetails) MergePostgresUpgradeSucceededEvent

func (t *PostgresEventDetails) MergePostgresUpgradeSucceededEvent(v PostgresUpgradeSucceededEvent) error

MergePostgresUpgradeSucceededEvent performs a merge with any union data inside the PostgresEventDetails, using the provided PostgresUpgradeSucceededEvent

func (*PostgresEventDetails) UnmarshalJSON

func (t *PostgresEventDetails) UnmarshalJSON(b []byte) error

type PostgresHaStatusChangedEvent

type PostgresHaStatusChangedEvent struct {
	FromStatus string `json:"fromStatus"`
	ToStatus   string `json:"toStatus"`
}

PostgresHaStatusChangedEvent defines model for postgresHaStatusChangedEvent.

type PostgresPITRCheckpointCompletedEvent

type PostgresPITRCheckpointCompletedEvent = map[string]interface{}

PostgresPITRCheckpointCompletedEvent defines model for postgresPITRCheckpointCompletedEvent.

type PostgresPITRCheckpointFailedEvent

type PostgresPITRCheckpointFailedEvent = map[string]interface{}

PostgresPITRCheckpointFailedEvent defines model for postgresPITRCheckpointFailedEvent.

type PostgresPITRCheckpointStartedEvent

type PostgresPITRCheckpointStartedEvent = map[string]interface{}

PostgresPITRCheckpointStartedEvent defines model for postgresPITRCheckpointStartedEvent.

type PostgresReadReplicasChangedEvent

type PostgresReadReplicasChangedEvent struct {
	FromReplicas int `json:"fromReplicas"`
	ToReplicas   int `json:"toReplicas"`
}

PostgresReadReplicasChangedEvent defines model for postgresReadReplicasChangedEvent.

type PostgresRestartedEvent

type PostgresRestartedEvent struct {
	// User User who triggered the action
	User *User `json:"user,omitempty"`
}

PostgresRestartedEvent defines model for postgresRestartedEvent.

type PostgresUnavailableEvent

type PostgresUnavailableEvent = map[string]interface{}

PostgresUnavailableEvent defines model for postgresUnavailableEvent.

type PostgresUpgradeFailedEvent

type PostgresUpgradeFailedEvent struct {
	FromVersion string `json:"fromVersion"`
	ToVersion   string `json:"toVersion"`
}

PostgresUpgradeFailedEvent defines model for postgresUpgradeFailedEvent.

type PostgresUpgradeStartedEvent

type PostgresUpgradeStartedEvent struct {
	FromVersion string `json:"fromVersion"`
	ToVersion   string `json:"toVersion"`

	// User User who triggered the action
	User *User `json:"user,omitempty"`
}

PostgresUpgradeStartedEvent defines model for postgresUpgradeStartedEvent.

type PostgresUpgradeSucceededEvent

type PostgresUpgradeSucceededEvent struct {
	FromVersion string `json:"fromVersion"`
	ToVersion   string `json:"toVersion"`
}

PostgresUpgradeSucceededEvent defines model for postgresUpgradeSucceededEvent.

type PreDeployEndedEvent

type PreDeployEndedEvent struct {
	DeployCommandExecutionId string               `json:"deployCommandExecutionId"`
	DeployId                 string               `json:"deployId"`
	PreDeployStatus          EventStatus          `json:"preDeployStatus"`
	Reason                   BuildDeployEndReason `json:"reason"`
	// Deprecated:
	Status int `json:"status"`
}

PreDeployEndedEvent defines model for preDeployEndedEvent.

type PreDeployStartedEvent

type PreDeployStartedEvent struct {
	DeployCommandExecutionId string `json:"deployCommandExecutionId"`
	DeployId                 string `json:"deployId"`
}

PreDeployStartedEvent defines model for preDeployStartedEvent.

type ServerAvailableEvent

type ServerAvailableEvent = map[string]interface{}

ServerAvailableEvent defines model for serverAvailableEvent.

type ServerFailedEvent

type ServerFailedEvent struct {
	Reason *FailureReason `json:"reason,omitempty"`
}

ServerFailedEvent defines model for serverFailedEvent.

type ServerHardwareFailureEvent

type ServerHardwareFailureEvent = map[string]interface{}

ServerHardwareFailureEvent defines model for serverHardwareFailureEvent.

type ServerRestartedEvent

type ServerRestartedEvent struct {
	TriggeredByUser *string `json:"triggeredByUser"`
}

ServerRestartedEvent defines model for serverRestartedEvent.

type ServerUnhealthyEvent

type ServerUnhealthyEvent = map[string]interface{}

ServerUnhealthyEvent defines model for serverUnhealthyEvent.

type ServiceEvent

type ServiceEvent struct {
	Details   ServiceEventDetails           `json:"details"`
	Id        EventId                       `json:"id"`
	ServiceId string                        `json:"serviceId"`
	Timestamp time.Time                     `json:"timestamp"`
	Type      externalRef4.ServiceEventType `json:"type"`
}

ServiceEvent defines model for serviceEvent.

type ServiceEventDetails

type ServiceEventDetails struct {
	// contains filtered or unexported fields
}

ServiceEventDetails defines model for serviceEventDetails.

func (ServiceEventDetails) AsAutoscalingConfigChangedEvent

func (t ServiceEventDetails) AsAutoscalingConfigChangedEvent() (AutoscalingConfigChangedEvent, error)

AsAutoscalingConfigChangedEvent returns the union data inside the ServiceEventDetails as a AutoscalingConfigChangedEvent

func (ServiceEventDetails) AsAutoscalingEndedEvent

func (t ServiceEventDetails) AsAutoscalingEndedEvent() (AutoscalingEndedEvent, error)

AsAutoscalingEndedEvent returns the union data inside the ServiceEventDetails as a AutoscalingEndedEvent

func (ServiceEventDetails) AsAutoscalingStartedEvent

func (t ServiceEventDetails) AsAutoscalingStartedEvent() (AutoscalingStartedEvent, error)

AsAutoscalingStartedEvent returns the union data inside the ServiceEventDetails as a AutoscalingStartedEvent

func (ServiceEventDetails) AsBranchDeletedEvent

func (t ServiceEventDetails) AsBranchDeletedEvent() (BranchDeletedEvent, error)

AsBranchDeletedEvent returns the union data inside the ServiceEventDetails as a BranchDeletedEvent

func (ServiceEventDetails) AsBuildEndedEvent

func (t ServiceEventDetails) AsBuildEndedEvent() (BuildEndedEvent, error)

AsBuildEndedEvent returns the union data inside the ServiceEventDetails as a BuildEndedEvent

func (ServiceEventDetails) AsBuildStartedEvent

func (t ServiceEventDetails) AsBuildStartedEvent() (BuildStartedEvent, error)

AsBuildStartedEvent returns the union data inside the ServiceEventDetails as a BuildStartedEvent

func (ServiceEventDetails) AsCommitIgnoredEvent

func (t ServiceEventDetails) AsCommitIgnoredEvent() (CommitIgnoredEvent, error)

AsCommitIgnoredEvent returns the union data inside the ServiceEventDetails as a CommitIgnoredEvent

func (ServiceEventDetails) AsCronJobRunEndedEvent

func (t ServiceEventDetails) AsCronJobRunEndedEvent() (CronJobRunEndedEvent, error)

AsCronJobRunEndedEvent returns the union data inside the ServiceEventDetails as a CronJobRunEndedEvent

func (ServiceEventDetails) AsCronJobRunStartedEvent

func (t ServiceEventDetails) AsCronJobRunStartedEvent() (CronJobRunStartedEvent, error)

AsCronJobRunStartedEvent returns the union data inside the ServiceEventDetails as a CronJobRunStartedEvent

func (ServiceEventDetails) AsDeployEndedEvent

func (t ServiceEventDetails) AsDeployEndedEvent() (DeployEndedEvent, error)

AsDeployEndedEvent returns the union data inside the ServiceEventDetails as a DeployEndedEvent

func (ServiceEventDetails) AsDeployStartedEvent

func (t ServiceEventDetails) AsDeployStartedEvent() (DeployStartedEvent, error)

AsDeployStartedEvent returns the union data inside the ServiceEventDetails as a DeployStartedEvent

func (ServiceEventDetails) AsDiskCreatedEvent

func (t ServiceEventDetails) AsDiskCreatedEvent() (DiskCreatedEvent, error)

AsDiskCreatedEvent returns the union data inside the ServiceEventDetails as a DiskCreatedEvent

func (ServiceEventDetails) AsDiskDeletedEvent

func (t ServiceEventDetails) AsDiskDeletedEvent() (DiskDeletedEvent, error)

AsDiskDeletedEvent returns the union data inside the ServiceEventDetails as a DiskDeletedEvent

func (ServiceEventDetails) AsDiskUpdatedEvent

func (t ServiceEventDetails) AsDiskUpdatedEvent() (DiskUpdatedEvent, error)

AsDiskUpdatedEvent returns the union data inside the ServiceEventDetails as a DiskUpdatedEvent

func (ServiceEventDetails) AsImagePullFailedEvent

func (t ServiceEventDetails) AsImagePullFailedEvent() (ImagePullFailedEvent, error)

AsImagePullFailedEvent returns the union data inside the ServiceEventDetails as a ImagePullFailedEvent

func (ServiceEventDetails) AsInitialDeployHookEndedEvent

func (t ServiceEventDetails) AsInitialDeployHookEndedEvent() (InitialDeployHookEndedEvent, error)

AsInitialDeployHookEndedEvent returns the union data inside the ServiceEventDetails as a InitialDeployHookEndedEvent

func (ServiceEventDetails) AsInitialDeployHookStartedEvent

func (t ServiceEventDetails) AsInitialDeployHookStartedEvent() (InitialDeployHookStartedEvent, error)

AsInitialDeployHookStartedEvent returns the union data inside the ServiceEventDetails as a InitialDeployHookStartedEvent

func (ServiceEventDetails) AsInstanceCountChangedEvent

func (t ServiceEventDetails) AsInstanceCountChangedEvent() (InstanceCountChangedEvent, error)

AsInstanceCountChangedEvent returns the union data inside the ServiceEventDetails as a InstanceCountChangedEvent

func (ServiceEventDetails) AsJobRunEndedEvent

func (t ServiceEventDetails) AsJobRunEndedEvent() (JobRunEndedEvent, error)

AsJobRunEndedEvent returns the union data inside the ServiceEventDetails as a JobRunEndedEvent

func (ServiceEventDetails) AsMaintenanceEndedEvent

func (t ServiceEventDetails) AsMaintenanceEndedEvent() (MaintenanceEndedEvent, error)

AsMaintenanceEndedEvent returns the union data inside the ServiceEventDetails as a MaintenanceEndedEvent

func (ServiceEventDetails) AsMaintenanceModeEnabledEvent

func (t ServiceEventDetails) AsMaintenanceModeEnabledEvent() (MaintenanceModeEnabledEvent, error)

AsMaintenanceModeEnabledEvent returns the union data inside the ServiceEventDetails as a MaintenanceModeEnabledEvent

func (ServiceEventDetails) AsMaintenanceModeURIUpdatedEvent

func (t ServiceEventDetails) AsMaintenanceModeURIUpdatedEvent() (MaintenanceModeURIUpdatedEvent, error)

AsMaintenanceModeURIUpdatedEvent returns the union data inside the ServiceEventDetails as a MaintenanceModeURIUpdatedEvent

func (ServiceEventDetails) AsMaintenanceStartedEvent

func (t ServiceEventDetails) AsMaintenanceStartedEvent() (MaintenanceStartedEvent, error)

AsMaintenanceStartedEvent returns the union data inside the ServiceEventDetails as a MaintenanceStartedEvent

func (ServiceEventDetails) AsPipelineMinutesExhaustedEvent

func (t ServiceEventDetails) AsPipelineMinutesExhaustedEvent() (PipelineMinutesExhaustedEvent, error)

AsPipelineMinutesExhaustedEvent returns the union data inside the ServiceEventDetails as a PipelineMinutesExhaustedEvent

func (ServiceEventDetails) AsPlanChangedEvent

func (t ServiceEventDetails) AsPlanChangedEvent() (PlanChangedEvent, error)

AsPlanChangedEvent returns the union data inside the ServiceEventDetails as a PlanChangedEvent

func (ServiceEventDetails) AsPreDeployEndedEvent

func (t ServiceEventDetails) AsPreDeployEndedEvent() (PreDeployEndedEvent, error)

AsPreDeployEndedEvent returns the union data inside the ServiceEventDetails as a PreDeployEndedEvent

func (ServiceEventDetails) AsPreDeployStartedEvent

func (t ServiceEventDetails) AsPreDeployStartedEvent() (PreDeployStartedEvent, error)

AsPreDeployStartedEvent returns the union data inside the ServiceEventDetails as a PreDeployStartedEvent

func (ServiceEventDetails) AsServerAvailableEvent

func (t ServiceEventDetails) AsServerAvailableEvent() (ServerAvailableEvent, error)

AsServerAvailableEvent returns the union data inside the ServiceEventDetails as a ServerAvailableEvent

func (ServiceEventDetails) AsServerFailedEvent

func (t ServiceEventDetails) AsServerFailedEvent() (ServerFailedEvent, error)

AsServerFailedEvent returns the union data inside the ServiceEventDetails as a ServerFailedEvent

func (ServiceEventDetails) AsServerHardwareFailureEvent

func (t ServiceEventDetails) AsServerHardwareFailureEvent() (ServerHardwareFailureEvent, error)

AsServerHardwareFailureEvent returns the union data inside the ServiceEventDetails as a ServerHardwareFailureEvent

func (ServiceEventDetails) AsServerRestartedEvent

func (t ServiceEventDetails) AsServerRestartedEvent() (ServerRestartedEvent, error)

AsServerRestartedEvent returns the union data inside the ServiceEventDetails as a ServerRestartedEvent

func (ServiceEventDetails) AsServerUnhealthyEvent

func (t ServiceEventDetails) AsServerUnhealthyEvent() (ServerUnhealthyEvent, error)

AsServerUnhealthyEvent returns the union data inside the ServiceEventDetails as a ServerUnhealthyEvent

func (ServiceEventDetails) AsServiceResumedEvent

func (t ServiceEventDetails) AsServiceResumedEvent() (ServiceResumedEvent, error)

AsServiceResumedEvent returns the union data inside the ServiceEventDetails as a ServiceResumedEvent

func (ServiceEventDetails) AsServiceSuspendedEvent

func (t ServiceEventDetails) AsServiceSuspendedEvent() (ServiceSuspendedEvent, error)

AsServiceSuspendedEvent returns the union data inside the ServiceEventDetails as a ServiceSuspendedEvent

func (ServiceEventDetails) AsSuspenderAddedEvent

func (t ServiceEventDetails) AsSuspenderAddedEvent() (SuspenderAddedEvent, error)

AsSuspenderAddedEvent returns the union data inside the ServiceEventDetails as a SuspenderAddedEvent

func (ServiceEventDetails) AsSuspenderRemovedEvent

func (t ServiceEventDetails) AsSuspenderRemovedEvent() (SuspenderRemovedEvent, error)

AsSuspenderRemovedEvent returns the union data inside the ServiceEventDetails as a SuspenderRemovedEvent

func (ServiceEventDetails) AsZeroDowntimeRedeployEndedEvent

func (t ServiceEventDetails) AsZeroDowntimeRedeployEndedEvent() (ZeroDowntimeRedeployEndedEvent, error)

AsZeroDowntimeRedeployEndedEvent returns the union data inside the ServiceEventDetails as a ZeroDowntimeRedeployEndedEvent

func (ServiceEventDetails) AsZeroDowntimeRedeployStartedEvent

func (t ServiceEventDetails) AsZeroDowntimeRedeployStartedEvent() (ZeroDowntimeRedeployStartedEvent, error)

AsZeroDowntimeRedeployStartedEvent returns the union data inside the ServiceEventDetails as a ZeroDowntimeRedeployStartedEvent

func (*ServiceEventDetails) FromAutoscalingConfigChangedEvent

func (t *ServiceEventDetails) FromAutoscalingConfigChangedEvent(v AutoscalingConfigChangedEvent) error

FromAutoscalingConfigChangedEvent overwrites any union data inside the ServiceEventDetails as the provided AutoscalingConfigChangedEvent

func (*ServiceEventDetails) FromAutoscalingEndedEvent

func (t *ServiceEventDetails) FromAutoscalingEndedEvent(v AutoscalingEndedEvent) error

FromAutoscalingEndedEvent overwrites any union data inside the ServiceEventDetails as the provided AutoscalingEndedEvent

func (*ServiceEventDetails) FromAutoscalingStartedEvent

func (t *ServiceEventDetails) FromAutoscalingStartedEvent(v AutoscalingStartedEvent) error

FromAutoscalingStartedEvent overwrites any union data inside the ServiceEventDetails as the provided AutoscalingStartedEvent

func (*ServiceEventDetails) FromBranchDeletedEvent

func (t *ServiceEventDetails) FromBranchDeletedEvent(v BranchDeletedEvent) error

FromBranchDeletedEvent overwrites any union data inside the ServiceEventDetails as the provided BranchDeletedEvent

func (*ServiceEventDetails) FromBuildEndedEvent

func (t *ServiceEventDetails) FromBuildEndedEvent(v BuildEndedEvent) error

FromBuildEndedEvent overwrites any union data inside the ServiceEventDetails as the provided BuildEndedEvent

func (*ServiceEventDetails) FromBuildStartedEvent

func (t *ServiceEventDetails) FromBuildStartedEvent(v BuildStartedEvent) error

FromBuildStartedEvent overwrites any union data inside the ServiceEventDetails as the provided BuildStartedEvent

func (*ServiceEventDetails) FromCommitIgnoredEvent

func (t *ServiceEventDetails) FromCommitIgnoredEvent(v CommitIgnoredEvent) error

FromCommitIgnoredEvent overwrites any union data inside the ServiceEventDetails as the provided CommitIgnoredEvent

func (*ServiceEventDetails) FromCronJobRunEndedEvent

func (t *ServiceEventDetails) FromCronJobRunEndedEvent(v CronJobRunEndedEvent) error

FromCronJobRunEndedEvent overwrites any union data inside the ServiceEventDetails as the provided CronJobRunEndedEvent

func (*ServiceEventDetails) FromCronJobRunStartedEvent

func (t *ServiceEventDetails) FromCronJobRunStartedEvent(v CronJobRunStartedEvent) error

FromCronJobRunStartedEvent overwrites any union data inside the ServiceEventDetails as the provided CronJobRunStartedEvent

func (*ServiceEventDetails) FromDeployEndedEvent

func (t *ServiceEventDetails) FromDeployEndedEvent(v DeployEndedEvent) error

FromDeployEndedEvent overwrites any union data inside the ServiceEventDetails as the provided DeployEndedEvent

func (*ServiceEventDetails) FromDeployStartedEvent

func (t *ServiceEventDetails) FromDeployStartedEvent(v DeployStartedEvent) error

FromDeployStartedEvent overwrites any union data inside the ServiceEventDetails as the provided DeployStartedEvent

func (*ServiceEventDetails) FromDiskCreatedEvent

func (t *ServiceEventDetails) FromDiskCreatedEvent(v DiskCreatedEvent) error

FromDiskCreatedEvent overwrites any union data inside the ServiceEventDetails as the provided DiskCreatedEvent

func (*ServiceEventDetails) FromDiskDeletedEvent

func (t *ServiceEventDetails) FromDiskDeletedEvent(v DiskDeletedEvent) error

FromDiskDeletedEvent overwrites any union data inside the ServiceEventDetails as the provided DiskDeletedEvent

func (*ServiceEventDetails) FromDiskUpdatedEvent

func (t *ServiceEventDetails) FromDiskUpdatedEvent(v DiskUpdatedEvent) error

FromDiskUpdatedEvent overwrites any union data inside the ServiceEventDetails as the provided DiskUpdatedEvent

func (*ServiceEventDetails) FromImagePullFailedEvent

func (t *ServiceEventDetails) FromImagePullFailedEvent(v ImagePullFailedEvent) error

FromImagePullFailedEvent overwrites any union data inside the ServiceEventDetails as the provided ImagePullFailedEvent

func (*ServiceEventDetails) FromInitialDeployHookEndedEvent

func (t *ServiceEventDetails) FromInitialDeployHookEndedEvent(v InitialDeployHookEndedEvent) error

FromInitialDeployHookEndedEvent overwrites any union data inside the ServiceEventDetails as the provided InitialDeployHookEndedEvent

func (*ServiceEventDetails) FromInitialDeployHookStartedEvent

func (t *ServiceEventDetails) FromInitialDeployHookStartedEvent(v InitialDeployHookStartedEvent) error

FromInitialDeployHookStartedEvent overwrites any union data inside the ServiceEventDetails as the provided InitialDeployHookStartedEvent

func (*ServiceEventDetails) FromInstanceCountChangedEvent

func (t *ServiceEventDetails) FromInstanceCountChangedEvent(v InstanceCountChangedEvent) error

FromInstanceCountChangedEvent overwrites any union data inside the ServiceEventDetails as the provided InstanceCountChangedEvent

func (*ServiceEventDetails) FromJobRunEndedEvent

func (t *ServiceEventDetails) FromJobRunEndedEvent(v JobRunEndedEvent) error

FromJobRunEndedEvent overwrites any union data inside the ServiceEventDetails as the provided JobRunEndedEvent

func (*ServiceEventDetails) FromMaintenanceEndedEvent

func (t *ServiceEventDetails) FromMaintenanceEndedEvent(v MaintenanceEndedEvent) error

FromMaintenanceEndedEvent overwrites any union data inside the ServiceEventDetails as the provided MaintenanceEndedEvent

func (*ServiceEventDetails) FromMaintenanceModeEnabledEvent

func (t *ServiceEventDetails) FromMaintenanceModeEnabledEvent(v MaintenanceModeEnabledEvent) error

FromMaintenanceModeEnabledEvent overwrites any union data inside the ServiceEventDetails as the provided MaintenanceModeEnabledEvent

func (*ServiceEventDetails) FromMaintenanceModeURIUpdatedEvent

func (t *ServiceEventDetails) FromMaintenanceModeURIUpdatedEvent(v MaintenanceModeURIUpdatedEvent) error

FromMaintenanceModeURIUpdatedEvent overwrites any union data inside the ServiceEventDetails as the provided MaintenanceModeURIUpdatedEvent

func (*ServiceEventDetails) FromMaintenanceStartedEvent

func (t *ServiceEventDetails) FromMaintenanceStartedEvent(v MaintenanceStartedEvent) error

FromMaintenanceStartedEvent overwrites any union data inside the ServiceEventDetails as the provided MaintenanceStartedEvent

func (*ServiceEventDetails) FromPipelineMinutesExhaustedEvent

func (t *ServiceEventDetails) FromPipelineMinutesExhaustedEvent(v PipelineMinutesExhaustedEvent) error

FromPipelineMinutesExhaustedEvent overwrites any union data inside the ServiceEventDetails as the provided PipelineMinutesExhaustedEvent

func (*ServiceEventDetails) FromPlanChangedEvent

func (t *ServiceEventDetails) FromPlanChangedEvent(v PlanChangedEvent) error

FromPlanChangedEvent overwrites any union data inside the ServiceEventDetails as the provided PlanChangedEvent

func (*ServiceEventDetails) FromPreDeployEndedEvent

func (t *ServiceEventDetails) FromPreDeployEndedEvent(v PreDeployEndedEvent) error

FromPreDeployEndedEvent overwrites any union data inside the ServiceEventDetails as the provided PreDeployEndedEvent

func (*ServiceEventDetails) FromPreDeployStartedEvent

func (t *ServiceEventDetails) FromPreDeployStartedEvent(v PreDeployStartedEvent) error

FromPreDeployStartedEvent overwrites any union data inside the ServiceEventDetails as the provided PreDeployStartedEvent

func (*ServiceEventDetails) FromServerAvailableEvent

func (t *ServiceEventDetails) FromServerAvailableEvent(v ServerAvailableEvent) error

FromServerAvailableEvent overwrites any union data inside the ServiceEventDetails as the provided ServerAvailableEvent

func (*ServiceEventDetails) FromServerFailedEvent

func (t *ServiceEventDetails) FromServerFailedEvent(v ServerFailedEvent) error

FromServerFailedEvent overwrites any union data inside the ServiceEventDetails as the provided ServerFailedEvent

func (*ServiceEventDetails) FromServerHardwareFailureEvent

func (t *ServiceEventDetails) FromServerHardwareFailureEvent(v ServerHardwareFailureEvent) error

FromServerHardwareFailureEvent overwrites any union data inside the ServiceEventDetails as the provided ServerHardwareFailureEvent

func (*ServiceEventDetails) FromServerRestartedEvent

func (t *ServiceEventDetails) FromServerRestartedEvent(v ServerRestartedEvent) error

FromServerRestartedEvent overwrites any union data inside the ServiceEventDetails as the provided ServerRestartedEvent

func (*ServiceEventDetails) FromServerUnhealthyEvent

func (t *ServiceEventDetails) FromServerUnhealthyEvent(v ServerUnhealthyEvent) error

FromServerUnhealthyEvent overwrites any union data inside the ServiceEventDetails as the provided ServerUnhealthyEvent

func (*ServiceEventDetails) FromServiceResumedEvent

func (t *ServiceEventDetails) FromServiceResumedEvent(v ServiceResumedEvent) error

FromServiceResumedEvent overwrites any union data inside the ServiceEventDetails as the provided ServiceResumedEvent

func (*ServiceEventDetails) FromServiceSuspendedEvent

func (t *ServiceEventDetails) FromServiceSuspendedEvent(v ServiceSuspendedEvent) error

FromServiceSuspendedEvent overwrites any union data inside the ServiceEventDetails as the provided ServiceSuspendedEvent

func (*ServiceEventDetails) FromSuspenderAddedEvent

func (t *ServiceEventDetails) FromSuspenderAddedEvent(v SuspenderAddedEvent) error

FromSuspenderAddedEvent overwrites any union data inside the ServiceEventDetails as the provided SuspenderAddedEvent

func (*ServiceEventDetails) FromSuspenderRemovedEvent

func (t *ServiceEventDetails) FromSuspenderRemovedEvent(v SuspenderRemovedEvent) error

FromSuspenderRemovedEvent overwrites any union data inside the ServiceEventDetails as the provided SuspenderRemovedEvent

func (*ServiceEventDetails) FromZeroDowntimeRedeployEndedEvent

func (t *ServiceEventDetails) FromZeroDowntimeRedeployEndedEvent(v ZeroDowntimeRedeployEndedEvent) error

FromZeroDowntimeRedeployEndedEvent overwrites any union data inside the ServiceEventDetails as the provided ZeroDowntimeRedeployEndedEvent

func (*ServiceEventDetails) FromZeroDowntimeRedeployStartedEvent

func (t *ServiceEventDetails) FromZeroDowntimeRedeployStartedEvent(v ZeroDowntimeRedeployStartedEvent) error

FromZeroDowntimeRedeployStartedEvent overwrites any union data inside the ServiceEventDetails as the provided ZeroDowntimeRedeployStartedEvent

func (ServiceEventDetails) MarshalJSON

func (t ServiceEventDetails) MarshalJSON() ([]byte, error)

func (*ServiceEventDetails) MergeAutoscalingConfigChangedEvent

func (t *ServiceEventDetails) MergeAutoscalingConfigChangedEvent(v AutoscalingConfigChangedEvent) error

MergeAutoscalingConfigChangedEvent performs a merge with any union data inside the ServiceEventDetails, using the provided AutoscalingConfigChangedEvent

func (*ServiceEventDetails) MergeAutoscalingEndedEvent

func (t *ServiceEventDetails) MergeAutoscalingEndedEvent(v AutoscalingEndedEvent) error

MergeAutoscalingEndedEvent performs a merge with any union data inside the ServiceEventDetails, using the provided AutoscalingEndedEvent

func (*ServiceEventDetails) MergeAutoscalingStartedEvent

func (t *ServiceEventDetails) MergeAutoscalingStartedEvent(v AutoscalingStartedEvent) error

MergeAutoscalingStartedEvent performs a merge with any union data inside the ServiceEventDetails, using the provided AutoscalingStartedEvent

func (*ServiceEventDetails) MergeBranchDeletedEvent

func (t *ServiceEventDetails) MergeBranchDeletedEvent(v BranchDeletedEvent) error

MergeBranchDeletedEvent performs a merge with any union data inside the ServiceEventDetails, using the provided BranchDeletedEvent

func (*ServiceEventDetails) MergeBuildEndedEvent

func (t *ServiceEventDetails) MergeBuildEndedEvent(v BuildEndedEvent) error

MergeBuildEndedEvent performs a merge with any union data inside the ServiceEventDetails, using the provided BuildEndedEvent

func (*ServiceEventDetails) MergeBuildStartedEvent

func (t *ServiceEventDetails) MergeBuildStartedEvent(v BuildStartedEvent) error

MergeBuildStartedEvent performs a merge with any union data inside the ServiceEventDetails, using the provided BuildStartedEvent

func (*ServiceEventDetails) MergeCommitIgnoredEvent

func (t *ServiceEventDetails) MergeCommitIgnoredEvent(v CommitIgnoredEvent) error

MergeCommitIgnoredEvent performs a merge with any union data inside the ServiceEventDetails, using the provided CommitIgnoredEvent

func (*ServiceEventDetails) MergeCronJobRunEndedEvent

func (t *ServiceEventDetails) MergeCronJobRunEndedEvent(v CronJobRunEndedEvent) error

MergeCronJobRunEndedEvent performs a merge with any union data inside the ServiceEventDetails, using the provided CronJobRunEndedEvent

func (*ServiceEventDetails) MergeCronJobRunStartedEvent

func (t *ServiceEventDetails) MergeCronJobRunStartedEvent(v CronJobRunStartedEvent) error

MergeCronJobRunStartedEvent performs a merge with any union data inside the ServiceEventDetails, using the provided CronJobRunStartedEvent

func (*ServiceEventDetails) MergeDeployEndedEvent

func (t *ServiceEventDetails) MergeDeployEndedEvent(v DeployEndedEvent) error

MergeDeployEndedEvent performs a merge with any union data inside the ServiceEventDetails, using the provided DeployEndedEvent

func (*ServiceEventDetails) MergeDeployStartedEvent

func (t *ServiceEventDetails) MergeDeployStartedEvent(v DeployStartedEvent) error

MergeDeployStartedEvent performs a merge with any union data inside the ServiceEventDetails, using the provided DeployStartedEvent

func (*ServiceEventDetails) MergeDiskCreatedEvent

func (t *ServiceEventDetails) MergeDiskCreatedEvent(v DiskCreatedEvent) error

MergeDiskCreatedEvent performs a merge with any union data inside the ServiceEventDetails, using the provided DiskCreatedEvent

func (*ServiceEventDetails) MergeDiskDeletedEvent

func (t *ServiceEventDetails) MergeDiskDeletedEvent(v DiskDeletedEvent) error

MergeDiskDeletedEvent performs a merge with any union data inside the ServiceEventDetails, using the provided DiskDeletedEvent

func (*ServiceEventDetails) MergeDiskUpdatedEvent

func (t *ServiceEventDetails) MergeDiskUpdatedEvent(v DiskUpdatedEvent) error

MergeDiskUpdatedEvent performs a merge with any union data inside the ServiceEventDetails, using the provided DiskUpdatedEvent

func (*ServiceEventDetails) MergeImagePullFailedEvent

func (t *ServiceEventDetails) MergeImagePullFailedEvent(v ImagePullFailedEvent) error

MergeImagePullFailedEvent performs a merge with any union data inside the ServiceEventDetails, using the provided ImagePullFailedEvent

func (*ServiceEventDetails) MergeInitialDeployHookEndedEvent

func (t *ServiceEventDetails) MergeInitialDeployHookEndedEvent(v InitialDeployHookEndedEvent) error

MergeInitialDeployHookEndedEvent performs a merge with any union data inside the ServiceEventDetails, using the provided InitialDeployHookEndedEvent

func (*ServiceEventDetails) MergeInitialDeployHookStartedEvent

func (t *ServiceEventDetails) MergeInitialDeployHookStartedEvent(v InitialDeployHookStartedEvent) error

MergeInitialDeployHookStartedEvent performs a merge with any union data inside the ServiceEventDetails, using the provided InitialDeployHookStartedEvent

func (*ServiceEventDetails) MergeInstanceCountChangedEvent

func (t *ServiceEventDetails) MergeInstanceCountChangedEvent(v InstanceCountChangedEvent) error

MergeInstanceCountChangedEvent performs a merge with any union data inside the ServiceEventDetails, using the provided InstanceCountChangedEvent

func (*ServiceEventDetails) MergeJobRunEndedEvent

func (t *ServiceEventDetails) MergeJobRunEndedEvent(v JobRunEndedEvent) error

MergeJobRunEndedEvent performs a merge with any union data inside the ServiceEventDetails, using the provided JobRunEndedEvent

func (*ServiceEventDetails) MergeMaintenanceEndedEvent

func (t *ServiceEventDetails) MergeMaintenanceEndedEvent(v MaintenanceEndedEvent) error

MergeMaintenanceEndedEvent performs a merge with any union data inside the ServiceEventDetails, using the provided MaintenanceEndedEvent

func (*ServiceEventDetails) MergeMaintenanceModeEnabledEvent

func (t *ServiceEventDetails) MergeMaintenanceModeEnabledEvent(v MaintenanceModeEnabledEvent) error

MergeMaintenanceModeEnabledEvent performs a merge with any union data inside the ServiceEventDetails, using the provided MaintenanceModeEnabledEvent

func (*ServiceEventDetails) MergeMaintenanceModeURIUpdatedEvent

func (t *ServiceEventDetails) MergeMaintenanceModeURIUpdatedEvent(v MaintenanceModeURIUpdatedEvent) error

MergeMaintenanceModeURIUpdatedEvent performs a merge with any union data inside the ServiceEventDetails, using the provided MaintenanceModeURIUpdatedEvent

func (*ServiceEventDetails) MergeMaintenanceStartedEvent

func (t *ServiceEventDetails) MergeMaintenanceStartedEvent(v MaintenanceStartedEvent) error

MergeMaintenanceStartedEvent performs a merge with any union data inside the ServiceEventDetails, using the provided MaintenanceStartedEvent

func (*ServiceEventDetails) MergePipelineMinutesExhaustedEvent

func (t *ServiceEventDetails) MergePipelineMinutesExhaustedEvent(v PipelineMinutesExhaustedEvent) error

MergePipelineMinutesExhaustedEvent performs a merge with any union data inside the ServiceEventDetails, using the provided PipelineMinutesExhaustedEvent

func (*ServiceEventDetails) MergePlanChangedEvent

func (t *ServiceEventDetails) MergePlanChangedEvent(v PlanChangedEvent) error

MergePlanChangedEvent performs a merge with any union data inside the ServiceEventDetails, using the provided PlanChangedEvent

func (*ServiceEventDetails) MergePreDeployEndedEvent

func (t *ServiceEventDetails) MergePreDeployEndedEvent(v PreDeployEndedEvent) error

MergePreDeployEndedEvent performs a merge with any union data inside the ServiceEventDetails, using the provided PreDeployEndedEvent

func (*ServiceEventDetails) MergePreDeployStartedEvent

func (t *ServiceEventDetails) MergePreDeployStartedEvent(v PreDeployStartedEvent) error

MergePreDeployStartedEvent performs a merge with any union data inside the ServiceEventDetails, using the provided PreDeployStartedEvent

func (*ServiceEventDetails) MergeServerAvailableEvent

func (t *ServiceEventDetails) MergeServerAvailableEvent(v ServerAvailableEvent) error

MergeServerAvailableEvent performs a merge with any union data inside the ServiceEventDetails, using the provided ServerAvailableEvent

func (*ServiceEventDetails) MergeServerFailedEvent

func (t *ServiceEventDetails) MergeServerFailedEvent(v ServerFailedEvent) error

MergeServerFailedEvent performs a merge with any union data inside the ServiceEventDetails, using the provided ServerFailedEvent

func (*ServiceEventDetails) MergeServerHardwareFailureEvent

func (t *ServiceEventDetails) MergeServerHardwareFailureEvent(v ServerHardwareFailureEvent) error

MergeServerHardwareFailureEvent performs a merge with any union data inside the ServiceEventDetails, using the provided ServerHardwareFailureEvent

func (*ServiceEventDetails) MergeServerRestartedEvent

func (t *ServiceEventDetails) MergeServerRestartedEvent(v ServerRestartedEvent) error

MergeServerRestartedEvent performs a merge with any union data inside the ServiceEventDetails, using the provided ServerRestartedEvent

func (*ServiceEventDetails) MergeServerUnhealthyEvent

func (t *ServiceEventDetails) MergeServerUnhealthyEvent(v ServerUnhealthyEvent) error

MergeServerUnhealthyEvent performs a merge with any union data inside the ServiceEventDetails, using the provided ServerUnhealthyEvent

func (*ServiceEventDetails) MergeServiceResumedEvent

func (t *ServiceEventDetails) MergeServiceResumedEvent(v ServiceResumedEvent) error

MergeServiceResumedEvent performs a merge with any union data inside the ServiceEventDetails, using the provided ServiceResumedEvent

func (*ServiceEventDetails) MergeServiceSuspendedEvent

func (t *ServiceEventDetails) MergeServiceSuspendedEvent(v ServiceSuspendedEvent) error

MergeServiceSuspendedEvent performs a merge with any union data inside the ServiceEventDetails, using the provided ServiceSuspendedEvent

func (*ServiceEventDetails) MergeSuspenderAddedEvent

func (t *ServiceEventDetails) MergeSuspenderAddedEvent(v SuspenderAddedEvent) error

MergeSuspenderAddedEvent performs a merge with any union data inside the ServiceEventDetails, using the provided SuspenderAddedEvent

func (*ServiceEventDetails) MergeSuspenderRemovedEvent

func (t *ServiceEventDetails) MergeSuspenderRemovedEvent(v SuspenderRemovedEvent) error

MergeSuspenderRemovedEvent performs a merge with any union data inside the ServiceEventDetails, using the provided SuspenderRemovedEvent

func (*ServiceEventDetails) MergeZeroDowntimeRedeployEndedEvent

func (t *ServiceEventDetails) MergeZeroDowntimeRedeployEndedEvent(v ZeroDowntimeRedeployEndedEvent) error

MergeZeroDowntimeRedeployEndedEvent performs a merge with any union data inside the ServiceEventDetails, using the provided ZeroDowntimeRedeployEndedEvent

func (*ServiceEventDetails) MergeZeroDowntimeRedeployStartedEvent

func (t *ServiceEventDetails) MergeZeroDowntimeRedeployStartedEvent(v ZeroDowntimeRedeployStartedEvent) error

MergeZeroDowntimeRedeployStartedEvent performs a merge with any union data inside the ServiceEventDetails, using the provided ZeroDowntimeRedeployStartedEvent

func (*ServiceEventDetails) UnmarshalJSON

func (t *ServiceEventDetails) UnmarshalJSON(b []byte) error

type ServiceResumedEvent

type ServiceResumedEvent = map[string]interface{}

ServiceResumedEvent defines model for serviceResumedEvent.

type ServiceSuspendedEvent

type ServiceSuspendedEvent = map[string]interface{}

ServiceSuspendedEvent defines model for serviceSuspendedEvent.

type SuspenderAddedEvent

type SuspenderAddedEvent struct {
	Actor string `json:"actor"`

	// SuspendedByUser User who triggered the action
	SuspendedByUser *User `json:"suspendedByUser,omitempty"`
}

SuspenderAddedEvent defines model for suspenderAddedEvent.

type SuspenderRemovedEvent

type SuspenderRemovedEvent struct {
	Actor string `json:"actor"`

	// ResumedByUser User who triggered the action
	ResumedByUser *User `json:"resumedByUser,omitempty"`
}

SuspenderRemovedEvent defines model for suspenderRemovedEvent.

type User

type User struct {
	Email string `json:"email"`
	Id    string `json:"id"`
}

User User who triggered the action

type ZeroDowntimeRedeployEndedEvent

type ZeroDowntimeRedeployEndedEvent = map[string]interface{}

ZeroDowntimeRedeployEndedEvent defines model for zeroDowntimeRedeployEndedEvent.

type ZeroDowntimeRedeployStartedEvent

type ZeroDowntimeRedeployStartedEvent struct {
	Trigger string `json:"trigger"`
}

ZeroDowntimeRedeployStartedEvent defines model for zeroDowntimeRedeployStartedEvent.

Jump to

Keyboard shortcuts

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