actions

package
v0.29.1 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArtifactIDFromBranch

func ArtifactIDFromBranch(client *httpinternal.Client, service string, branch string) (string, error)

func ArtifactIDFromEnvironment

func ArtifactIDFromEnvironment(client *httpinternal.Client, service, namespace, environment string) (string, error)

func ReleasesFromEnvironment added in v0.9.0

func ReleasesFromEnvironment(client *httpinternal.Client, service, environment string, count int) (httpinternal.DescribeReleaseResponse, error)

Types

type ReleaseHttpClient added in v0.24.0

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

func NewReleaseHttpClient added in v0.24.0

func NewReleaseHttpClient(client *httpinternal.Client) *ReleaseHttpClient

func (*ReleaseHttpClient) ReleaseArtifactID added in v0.24.0

func (hc *ReleaseHttpClient) ReleaseArtifactID(service, environment string, artifactID string, intent intent.Intent) (ReleaseResult, error)

ReleaseArtifactID issues a release request to a single environment.

func (*ReleaseHttpClient) ReleaseArtifactIDMultipleEnvironments added in v0.24.0

func (hc *ReleaseHttpClient) ReleaseArtifactIDMultipleEnvironments(service string, environments []string, artifactID string, intent intent.Intent) ([]ReleaseResult, error)

ReleaseArtifactIDMultipleEnvironments issues a release request to multiple environments.

type ReleaseResult added in v0.12.0

type ReleaseResult struct {
	Response    httpinternal.ReleaseResponse
	Environment string
	Error       error
}

Jump to

Keyboard shortcuts

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