Documentation
¶
Index ¶
- func Login(authenticator http.UserAuthenticator) *cobra.Command
- func NewCompletion(rootCmd *cobra.Command) *cobra.Command
- func NewDescribe(client *httpinternal.Client, service *string) *cobra.Command
- func NewPolicy(client *http.Client, service *string) *cobra.Command
- func NewPromote(client *httpinternal.Client, service *string, releaseClient ReleaseArtifact) *cobra.Command
- func NewRelease(client *httpinternal.Client, service *string, logger LoggerFunc, ...) *cobra.Command
- func NewRollback(client *httpinternal.Client, service *string, logger LoggerFunc, ...) *cobra.Command
- func NewRoot(version *string) (*cobra.Command, error)
- func NewStatus(client *httpinternal.Client, service *string) *cobra.Command
- func NewVersion(version string) *cobra.Command
- func SelectRollbackReleaseFunc(environment string, releases []httpinternal.DescribeReleaseResponseRelease) (int, error)
- func Time(epoch int64) time.Time
- type LoggerFunc
- type ReleaseArtifact
- type ReleaseArtifactMultipleEnvironments
- type SelectRollbackRelease
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDescribe ¶ added in v0.0.33
func NewDescribe(client *httpinternal.Client, service *string) *cobra.Command
func NewPromote ¶
func NewPromote(client *httpinternal.Client, service *string, releaseClient ReleaseArtifact) *cobra.Command
func NewRelease ¶
func NewRelease(client *httpinternal.Client, service *string, logger LoggerFunc, releaseClient ReleaseArtifactMultipleEnvironments) *cobra.Command
func NewRollback ¶ added in v0.0.10
func NewRollback( client *httpinternal.Client, service *string, logger LoggerFunc, selectReleaseUI SelectRollbackRelease, releaseClient ReleaseArtifact, ) *cobra.Command
func NewVersion ¶ added in v0.11.3
func SelectRollbackReleaseFunc ¶ added in v0.24.0
func SelectRollbackReleaseFunc( environment string, releases []httpinternal.DescribeReleaseResponseRelease, ) (int, error)
Types ¶
type LoggerFunc ¶ added in v0.12.0
type LoggerFunc = func(string, ...interface{})
type ReleaseArtifact ¶ added in v0.24.0
type ReleaseArtifactMultipleEnvironments ¶ added in v0.24.0
type SelectRollbackRelease ¶ added in v0.24.0
type SelectRollbackRelease func(environment string, releases []httpinternal.DescribeReleaseResponseRelease) (int, error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.