Documentation ¶
Index ¶
- func ErrorAPINotReady(apiName string, status string) error
- func ErrorConfigCannotBeChangedOnUpdate(configKey string, prevVal interface{}) error
- func ErrorDuplicateCLIEnvNames(environment string) error
- func ErrorFailedToConnectOperator(originalError error, operatorURL string) error
- func Execute()
- func HTTPDelete(endpoint string, qParams ...map[string]string) ([]byte, error)
- func HTTPGet(endpoint string, qParams ...map[string]string) ([]byte, error)
- func HTTPPostJSON(endpoint string, jsonRequestData []byte, qParams ...map[string]string) ([]byte, error)
- func HTTPPostNoBody(endpoint string, qParams ...map[string]string) ([]byte, error)
- func HTTPPostObjAsJSON(endpoint string, requestData interface{}, qParams ...map[string]string) ([]byte, error)
- func HTTPUpload(endpoint string, input *HTTPUploadInput, qParams ...map[string]string) ([]byte, error)
- func HTTPUploadZip(endpoint string, zipInput *zip.Input, fileName string, ...) ([]byte, error)
- func StreamLogs(apiName string) error
- type AWSCredentials
- type CLIConfig
- type CLIEnvConfig
- type Error
- type ErrorKind
- type GenericClient
- type HTTPUploadInput
- type OperatorClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorAPINotReady ¶ added in v0.4.0
func ErrorConfigCannotBeChangedOnUpdate ¶ added in v0.11.0
func ErrorDuplicateCLIEnvNames ¶ added in v0.12.0
func ErrorFailedToConnectOperator ¶ added in v0.9.0
func HTTPDelete ¶ added in v0.13.0
func HTTPPostJSON ¶
func HTTPPostNoBody ¶ added in v0.13.0
func HTTPPostObjAsJSON ¶ added in v0.13.0
func HTTPUpload ¶
func HTTPUploadZip ¶
func StreamLogs ¶
Types ¶
type AWSCredentials ¶ added in v0.10.0
type CLIConfig ¶ added in v0.8.0
type CLIConfig struct { Telemetry bool `json:"telemetry" yaml:"telemetry"` Environments []*CLIEnvConfig `json:"environments" yaml:"environments"` }
type CLIEnvConfig ¶ added in v0.12.0
type CLIEnvConfig struct { Name string `json:"name" yaml:"name"` OperatorEndpoint string `json:"operator_endpoint" yaml:"operator_endpoint"` AWSAccessKeyID string `json:"aws_access_key_id" yaml:"aws_access_key_id"` AWSSecretAccessKey string `json:"aws_secret_access_key" yaml:"aws_secret_access_key"` }
type Error ¶ added in v0.4.0
type Error struct { Kind ErrorKind // contains filtered or unexported fields }
type ErrorKind ¶ added in v0.4.0
type ErrorKind int
func (ErrorKind) MarshalBinary ¶ added in v0.4.0
MarshalBinary satisfies BinaryMarshaler
func (ErrorKind) MarshalText ¶ added in v0.4.0
MarshalText satisfies TextMarshaler
func (*ErrorKind) UnmarshalBinary ¶ added in v0.4.0
UnmarshalBinary satisfies BinaryUnmarshaler Needed for msgpack
func (*ErrorKind) UnmarshalText ¶ added in v0.4.0
UnmarshalText satisfies TextUnmarshaler
type GenericClient ¶ added in v0.12.0
func (*GenericClient) MakeRequest ¶ added in v0.12.0
func (client *GenericClient) MakeRequest(request *http.Request) ([]byte, error)
type HTTPUploadInput ¶
type OperatorClient ¶ added in v0.12.0
func (*OperatorClient) MakeRequest ¶ added in v0.12.0
func (client *OperatorClient) MakeRequest(request *http.Request) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.