Documentation ¶
Index ¶
- func ArtifactIDFromBranch(client *httpinternal.Client, service string, branch string) (string, error)
- func ArtifactIDFromEnvironment(client *httpinternal.Client, service, namespace, environment string) (string, error)
- func ReleasesFromEnvironment(client *httpinternal.Client, service, environment string, count int) (httpinternal.DescribeReleaseResponse, error)
- type ReleaseHttpClient
- func (hc *ReleaseHttpClient) ReleaseArtifactID(service, environment string, artifactID string, intent intent.Intent) (ReleaseResult, error)
- func (hc *ReleaseHttpClient) ReleaseArtifactIDMultipleEnvironments(service string, environments []string, artifactID string, intent intent.Intent) ([]ReleaseResult, error)
- type ReleaseResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArtifactIDFromBranch ¶
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 }
Click to show internal directories.
Click to hide internal directories.