downstream

package
v1.38.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteDownstreamDeployStatus

func DeleteDownstreamDeployStatus(appID string, clusterID string, sequence int64) error

func GetCurrentParentSequence

func GetCurrentParentSequence(appID string, clusterID string) (int64, error)

func GetCurrentSequence

func GetCurrentSequence(appID string, clusterID string) (int64, error)

func GetCurrentVersion

func GetCurrentVersion(appID string, clusterID string) (*types.DownstreamVersion, error)

func GetDownstreamOutput

func GetDownstreamOutput(appID string, clusterID string, sequence int64) (*types.DownstreamOutput, error)

func GetDownstreamVersionStatus

func GetDownstreamVersionStatus(appID string, sequence int64) (string, error)

GetDownstreamVersionStatus gets the status for the downstream version with the given sequence and app id

func GetIgnoreRBACErrors

func GetIgnoreRBACErrors(appID string, sequence int64) (bool, error)

func GetParentSequenceForSequence

func GetParentSequenceForSequence(appID string, clusterID string, sequence int64) (int64, error)

func GetPastVersions

func GetPastVersions(appID string, clusterID string) ([]types.DownstreamVersion, error)

func GetPendingVersions

func GetPendingVersions(appID string, clusterID string) ([]types.DownstreamVersion, error)

func GetPreviouslyDeployedSequence

func GetPreviouslyDeployedSequence(appID string, clusterID string) (int64, error)

func IsDownstreamDeploySuccessful

func IsDownstreamDeploySuccessful(appID string, clusterID string, sequence int64) (bool, error)

func SetDownstreamVersionPendingPreflight

func SetDownstreamVersionPendingPreflight(appID string, sequence int64) error

SetDownstreamVersionPendingPreflight sets the status for the downstream version with the given sequence and app id to "pending_preflight"

func SetDownstreamVersionReady

func SetDownstreamVersionReady(appID string, sequence int64) error

SetDownstreamVersionReady sets the status for the downstream version with the given sequence and app id to "pending"

func UpdateDownstreamDeployStatus

func UpdateDownstreamDeployStatus(appID string, clusterID string, sequence int64, isError bool, output types.DownstreamOutput) error

func UpdateDownstreamVersionStatus added in v1.35.0

func UpdateDownstreamVersionStatus(appID string, sequence int64, status string, statusInfo string) error

UpdateDownstreamVersionStatus updates the status and status info for the downstream version with the given sequence and app id

Types

This section is empty.

Jump to

Keyboard shortcuts

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