Documentation ¶
Index ¶
- type ChannelCollectorsResponse
- type ChannelCollectorsResult
- type Client
- func (c *Client) GetChannelSpec(channelID string) ([]byte, error)
- func (c *Client) GetCustomerSpec(id string) ([]byte, error)
- func (c *Client) GetSupportBundleChannelUploadURI(channelID string, size int64, notes string) (string, *url.URL, error)
- func (c *Client) GetSupportBundleCustomerUploadURI(customerID string, size int64, notes string) (string, *url.URL, error)
- func (c *Client) GetSupportBundleWatchUploadURI(watchID string, size int64) (string, *url.URL, error)
- func (c *Client) GetWatchSpec(watchID string) ([]byte, error)
- func (c *Client) MarkSupportBundleUploaded(bundleID string) error
- type Error
- type Errors
- type Request
- type SupportBundle
- type SupportBundleChannelRequestResult
- type SupportBundleChannelUploadResponse
- type SupportBundleRequestResult
- type SupportBundleResponse
- type SupportBundleResult
- type SupportBundleSpec
- type SupportBundleUploadResponse
- type SupportBundleWatchRequestResult
- type SupportBundleWatchUploadResponse
- type UploadSupportBundle
- type UploadedSupportBundle
- type WatchCollectorsResponse
- type WatchCollectorsResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelCollectorsResponse ¶ added in v0.23.0
type ChannelCollectorsResponse struct { Data ChannelCollectorsResult `json:"data,omitempty"` Errors []Error `json:"errors,omitempty"` }
type ChannelCollectorsResult ¶ added in v0.23.0
type ChannelCollectorsResult struct {
SupportBundle `json:"channelCollectors,omitempty"`
}
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetChannelSpec ¶ added in v0.23.0
GetChannelSpec will query the endpoint set in the client with a Replicated ChannelID and will return a fully rendered spec, containing collect and lifecycle keys
func (*Client) GetCustomerSpec ¶
GetCustomerSpec is deprecated
func (*Client) GetSupportBundleChannelUploadURI ¶ added in v0.23.0
func (c *Client) GetSupportBundleChannelUploadURI(channelID string, size int64, notes string) (string, *url.URL, error)
GetSupportBundleChannelUploadURI queries the Endpoint in Client to retrieve a URI that can be used to upload a support bundle for a specific channel
func (*Client) GetSupportBundleCustomerUploadURI ¶ added in v0.23.0
func (c *Client) GetSupportBundleCustomerUploadURI(customerID string, size int64, notes string) (string, *url.URL, error)
GetSupportBundleCustomerUploadURI queries the Endpoint in Client to retrieve a URI that can be used to upload a support bundle for a specific customer This function is deprecated
func (*Client) GetSupportBundleWatchUploadURI ¶ added in v0.27.0
func (c *Client) GetSupportBundleWatchUploadURI(watchID string, size int64) (string, *url.URL, error)
GetSupportBundleWatchUploadURI queries the Endpoint in Client to retrieve a URI that can be used to upload a support bundle for a specific watch
func (*Client) GetWatchSpec ¶ added in v0.27.0
GetWatchSpec will query the endpoint set in the client with a Replicated WatchID and will return a fully rendered spec, containing collect and lifecycle keys
func (*Client) MarkSupportBundleUploaded ¶ added in v0.23.0
MarkSupportBundleUploaded mutates the Endpoint in Client to mark a support bundle as uploaded
type SupportBundle ¶
type SupportBundleChannelRequestResult ¶ added in v0.23.0
type SupportBundleChannelRequestResult struct {
UploadSupportBundle `json:"uploadChannelSupportBundle,omitempty"`
}
type SupportBundleChannelUploadResponse ¶ added in v0.23.0
type SupportBundleChannelUploadResponse struct { Data SupportBundleChannelRequestResult `json:"data,omitempty"` Errors []Error `json:"errors,omitempty"` }
type SupportBundleRequestResult ¶
type SupportBundleRequestResult struct {
UploadSupportBundle `json:"uploadSupportBundle,omitempty"`
}
type SupportBundleResponse ¶
type SupportBundleResponse struct { Data *SupportBundleResult `json:"data,omitempty"` Errors []Error `json:"errors,omitempty"` }
type SupportBundleResult ¶
type SupportBundleResult struct {
SupportBundle `json:"supportBundleSpec"`
}
type SupportBundleSpec ¶
type SupportBundleSpec struct {
CustomerID string
}
type SupportBundleUploadResponse ¶
type SupportBundleUploadResponse struct { Data SupportBundleRequestResult `json:"data,omitempty"` Errors []Error `json:"errors,omitempty"` }
type SupportBundleWatchRequestResult ¶ added in v0.27.0
type SupportBundleWatchRequestResult struct {
UploadSupportBundle `json:"uploadSupportBundle,omitempty"`
}
type SupportBundleWatchUploadResponse ¶ added in v0.27.0
type SupportBundleWatchUploadResponse struct { Data SupportBundleWatchRequestResult `json:"data,omitempty"` Errors []Error `json:"errors,omitempty"` }
type UploadSupportBundle ¶
type UploadSupportBundle struct { UploadURI string `json:"uploadUri,omitempty"` UploadedSupportBundle `json:"supportBundle,omitempty"` }
type UploadedSupportBundle ¶
type UploadedSupportBundle struct {
ID string `json:"id,omitempty"`
}
type WatchCollectorsResponse ¶ added in v0.27.0
type WatchCollectorsResponse struct { Data WatchCollectorsResult `json:"data,omitempty"` Errors []Error `json:"errors,omitempty"` }
type WatchCollectorsResult ¶ added in v0.27.0
type WatchCollectorsResult struct {
SupportBundle `json:"watchCollectors,omitempty"`
}