Documentation ¶
Overview ¶
Package instance provides primitives to interact with the openapi HTTP API.
Code generated by github.com/do87/stackit-client-generator version v0.0.2 DO NOT EDIT.
Index ¶
- Constants
- func NewCreateCloneRequest(ctx context.Context, server string, projectID string, instanceID string, ...) (*http.Request, error)
- func NewCreateCloneRequestWithBody(ctx context.Context, server string, projectID string, instanceID string, ...) (*http.Request, error)
- func NewCreateRequest(ctx context.Context, server string, projectID string, ...) (*http.Request, error)
- func NewCreateRequestWithBody(ctx context.Context, server string, projectID string, contentType string, ...) (*http.Request, error)
- func NewDeleteRequest(ctx context.Context, server string, projectID string, instanceID string) (*http.Request, error)
- func NewGetRequest(ctx context.Context, server string, projectID string, instanceID string) (*http.Request, error)
- func NewListRequest(ctx context.Context, server string, projectID string) (*http.Request, error)
- func NewPatchRequest(ctx context.Context, server string, projectID string, instanceID string, ...) (*http.Request, error)
- func NewPatchRequestWithBody(ctx context.Context, server string, projectID string, instanceID string, ...) (*http.Request, error)
- func NewPutRequest(ctx context.Context, server string, projectID string, instanceID string, ...) (*http.Request, error)
- func NewPutRequestWithBody(ctx context.Context, server string, projectID string, instanceID string, ...) (*http.Request, error)
- type Client
- func (c *Client) CreateCloneRaw(ctx context.Context, projectID string, instanceID string, ...) (*http.Response, error)
- func (c *Client) CreateCloneRawWithBody(ctx context.Context, projectID string, instanceID string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateRaw(ctx context.Context, projectID string, body CreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateRawWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteRaw(ctx context.Context, projectID string, instanceID string, ...) (*http.Response, error)
- func (c *Client) GetRaw(ctx context.Context, projectID string, instanceID string, ...) (*http.Response, error)
- func (c *Client) ListRaw(ctx context.Context, projectID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PatchRaw(ctx context.Context, projectID string, instanceID string, ...) (*http.Response, error)
- func (c *Client) PatchRawWithBody(ctx context.Context, projectID string, instanceID string, contentType string, ...) (*http.Response, error)
- func (c *Client) PutRaw(ctx context.Context, projectID string, instanceID string, ...) (*http.Response, error)
- func (c *Client) PutRawWithBody(ctx context.Context, projectID string, instanceID string, contentType string, ...) (*http.Response, error)
- type ClientWithResponses
- func (c *ClientWithResponses) Create(ctx context.Context, projectID string, body CreateJSONRequestBody, ...) (*CreateResponse, error)
- func (c *ClientWithResponses) CreateClone(ctx context.Context, projectID string, instanceID string, ...) (*CreateCloneResponse, error)
- func (c *ClientWithResponses) CreateCloneWithBody(ctx context.Context, projectID string, instanceID string, contentType string, ...) (*CreateCloneResponse, error)
- func (c *ClientWithResponses) CreateWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, ...) (*CreateResponse, error)
- func (c *ClientWithResponses) Delete(ctx context.Context, projectID string, instanceID string, ...) (*DeleteResponse, error)
- func (c *ClientWithResponses) Get(ctx context.Context, projectID string, instanceID string, ...) (*GetResponse, error)
- func (c *ClientWithResponses) List(ctx context.Context, projectID string, reqEditors ...RequestEditorFn) (*ListResponse, error)
- func (c *ClientWithResponses) ParseCreateCloneResponse(rsp *http.Response) (*CreateCloneResponse, error)
- func (c *ClientWithResponses) ParseCreateResponse(rsp *http.Response) (*CreateResponse, error)
- func (c *ClientWithResponses) ParseDeleteResponse(rsp *http.Response) (*DeleteResponse, error)
- func (c *ClientWithResponses) ParseGetResponse(rsp *http.Response) (*GetResponse, error)
- func (c *ClientWithResponses) ParseListResponse(rsp *http.Response) (*ListResponse, error)
- func (c *ClientWithResponses) ParsePatchResponse(rsp *http.Response) (*PatchResponse, error)
- func (c *ClientWithResponses) ParsePutResponse(rsp *http.Response) (*PutResponse, error)
- func (c *ClientWithResponses) Patch(ctx context.Context, projectID string, instanceID string, ...) (*PatchResponse, error)
- func (c *ClientWithResponses) PatchWithBody(ctx context.Context, projectID string, instanceID string, contentType string, ...) (*PatchResponse, error)
- func (c *ClientWithResponses) Put(ctx context.Context, projectID string, instanceID string, ...) (*PutResponse, error)
- func (c *ClientWithResponses) PutWithBody(ctx context.Context, projectID string, instanceID string, contentType string, ...) (*PutResponse, error)
- type ClientWithResponsesInterface
- type CreateCloneJSONRequestBody
- type CreateCloneResponse
- type CreateJSONRequestBody
- type CreateResponse
- type DeleteResponse
- type GetResponse
- type InstanceACL
- type InstanceCreateCloneInstanceRequest
- type InstanceCreateCloneInstanceResponse
- type InstanceCreateInstanceRequest
- type InstanceCreateInstanceResponse
- type InstanceError
- type InstanceFlavor
- type InstanceGetInstanceResponse
- type InstanceListInstance
- type InstanceListInstanceResponse
- type InstanceSingleInstance
- type InstanceStorage
- type InstanceUpdateInstanceRequest
- type InstanceUpdateInstanceResponse
- type ListResponse
- type PatchJSONRequestBody
- type PatchResponse
- type PutJSONRequestBody
- type PutResponse
- type RequestEditorFn
Constants ¶
const ( // Instance status options STATUS_READY = "Ready" STATUS_FAILED = "Failure" STATUS_PROCESSING = "Progressing" )
const (
BearerAuthScopes = "BearerAuth.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func NewCreateCloneRequest ¶
func NewCreateCloneRequest(ctx context.Context, server string, projectID string, instanceID string, body CreateCloneJSONRequestBody) (*http.Request, error)
NewCreateCloneRequest calls the generic CreateClone builder with application/json body
func NewCreateCloneRequestWithBody ¶
func NewCreateCloneRequestWithBody(ctx context.Context, server string, projectID string, instanceID string, contentType string, body io.Reader) (*http.Request, error)
NewCreateCloneRequestWithBody generates requests for CreateClone with any type of body
func NewCreateRequest ¶
func NewCreateRequest(ctx context.Context, server string, projectID string, body CreateJSONRequestBody) (*http.Request, error)
NewCreateRequest calls the generic Create builder with application/json body
func NewCreateRequestWithBody ¶
func NewCreateRequestWithBody(ctx context.Context, server string, projectID string, contentType string, body io.Reader) (*http.Request, error)
NewCreateRequestWithBody generates requests for Create with any type of body
func NewDeleteRequest ¶
func NewDeleteRequest(ctx context.Context, server string, projectID string, instanceID string) (*http.Request, error)
NewDeleteRequest generates requests for Delete
func NewGetRequest ¶
func NewGetRequest(ctx context.Context, server string, projectID string, instanceID string) (*http.Request, error)
NewGetRequest generates requests for Get
func NewListRequest ¶
NewListRequest generates requests for List
func NewPatchRequest ¶
func NewPatchRequest(ctx context.Context, server string, projectID string, instanceID string, body PatchJSONRequestBody) (*http.Request, error)
NewPatchRequest calls the generic Patch builder with application/json body
func NewPatchRequestWithBody ¶
func NewPatchRequestWithBody(ctx context.Context, server string, projectID string, instanceID string, contentType string, body io.Reader) (*http.Request, error)
NewPatchRequestWithBody generates requests for Patch with any type of body
Types ¶
type Client ¶
type Client struct { // The endpoint of the server conforming to this interface, with scheme, // https://api.deepmap.com for example. This can contain a path relative // to the server, such as https://api.deepmap.com/dev-test, and all the // paths in the swagger spec will be appended to the server. Server string // Doer for performing requests, typically a *http.Client with any // customized settings, such as certificate chains. Client contracts.BaseClientInterface }
Client which conforms to the OpenAPI3 specification for this service.
func NewRawClient ¶
func NewRawClient(server string, httpClient contracts.BaseClientInterface) *Client
NewRawClient Creates a new Client, with reasonable defaults
func (*Client) CreateCloneRaw ¶
func (c *Client) CreateCloneRaw(ctx context.Context, projectID string, instanceID string, body CreateCloneJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateCloneRawWithBody ¶
func (*Client) CreateRaw ¶
func (c *Client) CreateRaw(ctx context.Context, projectID string, body CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateRawWithBody ¶
func (*Client) PatchRaw ¶
func (c *Client) PatchRaw(ctx context.Context, projectID string, instanceID string, body PatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchRawWithBody ¶
type ClientWithResponses ¶
type ClientWithResponses struct {
// contains filtered or unexported fields
}
ClientWithResponses builds on rawClientInterface to offer response payloads
func NewClient ¶
func NewClient(server string, httpClient contracts.BaseClientInterface) *ClientWithResponses
NewClient creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) Create ¶
func (c *ClientWithResponses) Create(ctx context.Context, projectID string, body CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateResponse, error)
func (*ClientWithResponses) CreateClone ¶
func (c *ClientWithResponses) CreateClone(ctx context.Context, projectID string, instanceID string, body CreateCloneJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCloneResponse, error)
func (*ClientWithResponses) CreateCloneWithBody ¶
func (c *ClientWithResponses) CreateCloneWithBody(ctx context.Context, projectID string, instanceID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCloneResponse, error)
CreateCloneWithBody request with arbitrary body returning *CreateCloneResponse
func (*ClientWithResponses) CreateWithBody ¶
func (c *ClientWithResponses) CreateWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateResponse, error)
CreateWithBody request with arbitrary body returning *CreateResponse
func (*ClientWithResponses) Delete ¶
func (c *ClientWithResponses) Delete(ctx context.Context, projectID string, instanceID string, reqEditors ...RequestEditorFn) (*DeleteResponse, error)
Delete request returning *DeleteResponse
func (*ClientWithResponses) Get ¶
func (c *ClientWithResponses) Get(ctx context.Context, projectID string, instanceID string, reqEditors ...RequestEditorFn) (*GetResponse, error)
Get request returning *GetResponse
func (*ClientWithResponses) List ¶
func (c *ClientWithResponses) List(ctx context.Context, projectID string, reqEditors ...RequestEditorFn) (*ListResponse, error)
List request returning *ListResponse
func (*ClientWithResponses) ParseCreateCloneResponse ¶
func (c *ClientWithResponses) ParseCreateCloneResponse(rsp *http.Response) (*CreateCloneResponse, error)
ParseCreateCloneResponse parses an HTTP response from a CreateClone call
func (*ClientWithResponses) ParseCreateResponse ¶
func (c *ClientWithResponses) ParseCreateResponse(rsp *http.Response) (*CreateResponse, error)
ParseCreateResponse parses an HTTP response from a Create call
func (*ClientWithResponses) ParseDeleteResponse ¶
func (c *ClientWithResponses) ParseDeleteResponse(rsp *http.Response) (*DeleteResponse, error)
ParseDeleteResponse parses an HTTP response from a Delete call
func (*ClientWithResponses) ParseGetResponse ¶
func (c *ClientWithResponses) ParseGetResponse(rsp *http.Response) (*GetResponse, error)
ParseGetResponse parses an HTTP response from a Get call
func (*ClientWithResponses) ParseListResponse ¶
func (c *ClientWithResponses) ParseListResponse(rsp *http.Response) (*ListResponse, error)
ParseListResponse parses an HTTP response from a List call
func (*ClientWithResponses) ParsePatchResponse ¶
func (c *ClientWithResponses) ParsePatchResponse(rsp *http.Response) (*PatchResponse, error)
ParsePatchResponse parses an HTTP response from a Patch call
func (*ClientWithResponses) ParsePutResponse ¶
func (c *ClientWithResponses) ParsePutResponse(rsp *http.Response) (*PutResponse, error)
ParsePutResponse parses an HTTP response from a Put call
func (*ClientWithResponses) Patch ¶
func (c *ClientWithResponses) Patch(ctx context.Context, projectID string, instanceID string, body PatchJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchResponse, error)
func (*ClientWithResponses) PatchWithBody ¶
func (c *ClientWithResponses) PatchWithBody(ctx context.Context, projectID string, instanceID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchResponse, error)
PatchWithBody request with arbitrary body returning *PatchResponse
func (*ClientWithResponses) Put ¶
func (c *ClientWithResponses) Put(ctx context.Context, projectID string, instanceID string, body PutJSONRequestBody, reqEditors ...RequestEditorFn) (*PutResponse, error)
func (*ClientWithResponses) PutWithBody ¶
func (c *ClientWithResponses) PutWithBody(ctx context.Context, projectID string, instanceID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutResponse, error)
PutWithBody request with arbitrary body returning *PutResponse
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // List request List(ctx context.Context, projectID string, reqEditors ...RequestEditorFn) (*ListResponse, error) // Create request with any body CreateWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateResponse, error) Create(ctx context.Context, projectID string, body CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateResponse, error) // Delete request Delete(ctx context.Context, projectID string, instanceID string, reqEditors ...RequestEditorFn) (*DeleteResponse, error) // Get request Get(ctx context.Context, projectID string, instanceID string, reqEditors ...RequestEditorFn) (*GetResponse, error) // Patch request with any body PatchWithBody(ctx context.Context, projectID string, instanceID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchResponse, error) Patch(ctx context.Context, projectID string, instanceID string, body PatchJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchResponse, error) // Put request with any body PutWithBody(ctx context.Context, projectID string, instanceID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutResponse, error) Put(ctx context.Context, projectID string, instanceID string, body PutJSONRequestBody, reqEditors ...RequestEditorFn) (*PutResponse, error) // CreateClone request with any body CreateCloneWithBody(ctx context.Context, projectID string, instanceID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCloneResponse, error) CreateClone(ctx context.Context, projectID string, instanceID string, body CreateCloneJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCloneResponse, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CreateCloneJSONRequestBody ¶
type CreateCloneJSONRequestBody = InstanceCreateCloneInstanceRequest
CreateCloneJSONRequestBody defines body for CreateClone for application/json ContentType.
type CreateCloneResponse ¶
type CreateCloneResponse struct { Body []byte HTTPResponse *http.Response JSON201 *InstanceCreateCloneInstanceResponse JSON400 *InstanceError Error error // Aggregated error }
func (CreateCloneResponse) Status ¶
func (r CreateCloneResponse) Status() string
Status returns HTTPResponse.Status
func (CreateCloneResponse) StatusCode ¶
func (r CreateCloneResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateJSONRequestBody ¶
type CreateJSONRequestBody = InstanceCreateInstanceRequest
CreateJSONRequestBody defines body for Create for application/json ContentType.
type CreateResponse ¶
type CreateResponse struct { Body []byte HTTPResponse *http.Response JSON201 *InstanceCreateInstanceResponse JSON400 *InstanceError Error error // Aggregated error }
func (CreateResponse) Status ¶
func (r CreateResponse) Status() string
Status returns HTTPResponse.Status
func (CreateResponse) StatusCode ¶
func (r CreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
func (*CreateResponse) WaitHandler ¶
func (*CreateResponse) WaitHandler(ctx context.Context, c *ClientWithResponses, projectID, instanceID string) *wait.Handler
Wait will wait for instance create to complete
type DeleteResponse ¶
type DeleteResponse struct { Body []byte HTTPResponse *http.Response JSON400 *InstanceError Error error // Aggregated error }
func (DeleteResponse) Status ¶
func (r DeleteResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteResponse) StatusCode ¶
func (r DeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
func (DeleteResponse) WaitHandler ¶
func (DeleteResponse) WaitHandler(ctx context.Context, c *ClientWithResponses, projectID, instanceID string) *wait.Handler
Wait will wait for instance deletion returned value for deletion wait will always be nil
type GetResponse ¶
type GetResponse struct { Body []byte HTTPResponse *http.Response JSON200 *InstanceGetInstanceResponse JSON400 *InstanceError Error error // Aggregated error }
func (GetResponse) StatusCode ¶
func (r GetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InstanceACL ¶
type InstanceACL struct { // Items TODO validating in api (middleware) Items *[]string `json:"items,omitempty"` }
InstanceACL defines model for instance.ACL.
type InstanceCreateCloneInstanceRequest ¶
type InstanceCreateCloneInstanceRequest struct { InstanceID *string `json:"instanceId,omitempty"` Timestamp *string `json:"timestamp,omitempty"` }
InstanceCreateCloneInstanceRequest defines model for instance.CreateCloneInstanceRequest.
type InstanceCreateCloneInstanceResponse ¶
type InstanceCreateCloneInstanceResponse struct {
InstanceID *string `json:"instanceId,omitempty"`
}
InstanceCreateCloneInstanceResponse defines model for instance.CreateCloneInstanceResponse.
type InstanceCreateInstanceRequest ¶
type InstanceCreateInstanceRequest struct { ACL *InstanceACL `json:"acl,omitempty"` BackupSchedule *string `json:"backupSchedule,omitempty"` FlavorID *string `json:"flavorId,omitempty"` // Labels Following fields are not certain/clear Labels *map[string]string `json:"labels,omitempty"` Name *string `json:"name,omitempty"` Options *map[string]string `json:"options,omitempty"` Replicas *int `json:"replicas,omitempty"` Storage *InstanceStorage `json:"storage,omitempty"` Version *string `json:"version,omitempty"` }
InstanceCreateInstanceRequest defines model for instance.CreateInstanceRequest.
type InstanceCreateInstanceResponse ¶
type InstanceCreateInstanceResponse struct {
ID *string `json:"id,omitempty"`
}
InstanceCreateInstanceResponse defines model for instance.CreateInstanceResponse.
type InstanceError ¶
type InstanceError struct { Code *int `json:"code,omitempty"` Fields *map[string][]string `json:"fields,omitempty"` Message *string `json:"message,omitempty"` Type *string `json:"type,omitempty"` }
InstanceError defines model for instance.Error.
type InstanceFlavor ¶
type InstanceFlavor struct { Cpu *int `json:"cpu,omitempty"` Description *string `json:"description,omitempty"` ID *string `json:"id,omitempty"` Memory *int `json:"memory,omitempty"` }
InstanceFlavor defines model for instance.Flavor.
type InstanceGetInstanceResponse ¶
type InstanceGetInstanceResponse struct {
Item *InstanceSingleInstance `json:"item,omitempty"`
}
InstanceGetInstanceResponse defines model for instance.GetInstanceResponse.
type InstanceListInstance ¶
type InstanceListInstance struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Status *string `json:"status,omitempty"` }
InstanceListInstance defines model for instance.ListInstance.
type InstanceListInstanceResponse ¶
type InstanceListInstanceResponse struct { // Count TODO pagination ? Count *int `json:"count,omitempty"` Items *[]InstanceListInstance `json:"items,omitempty"` }
InstanceListInstanceResponse defines model for instance.ListInstanceResponse.
type InstanceSingleInstance ¶
type InstanceSingleInstance struct { ACL *InstanceACL `json:"acl,omitempty"` BackupSchedule *string `json:"backupSchedule,omitempty"` Flavor *InstanceFlavor `json:"flavor,omitempty"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Options *map[string]string `json:"options,omitempty"` Replicas *int `json:"replicas,omitempty"` Status *string `json:"status,omitempty"` Storage *InstanceStorage `json:"storage,omitempty"` Version *string `json:"version,omitempty"` }
InstanceSingleInstance defines model for instance.SingleInstance.
type InstanceStorage ¶
type InstanceStorage struct { Class *string `json:"class,omitempty"` Size *int `json:"size,omitempty"` }
InstanceStorage defines model for instance.Storage.
type InstanceUpdateInstanceRequest ¶
type InstanceUpdateInstanceRequest struct { ACL *InstanceACL `json:"acl,omitempty"` BackupSchedule *string `json:"backupSchedule,omitempty"` FlavorID *string `json:"flavorId,omitempty"` // Labels Following fields are not certain/clear Labels *map[string]string `json:"labels,omitempty"` Name *string `json:"name,omitempty"` Options *map[string]string `json:"options,omitempty"` Replicas *int `json:"replicas,omitempty"` Storage *InstanceStorage `json:"storage,omitempty"` Version *string `json:"version,omitempty"` }
InstanceUpdateInstanceRequest defines model for instance.UpdateInstanceRequest.
type InstanceUpdateInstanceResponse ¶
type InstanceUpdateInstanceResponse struct {
Item *InstanceSingleInstance `json:"item,omitempty"`
}
InstanceUpdateInstanceResponse defines model for instance.UpdateInstanceResponse.
type ListResponse ¶
type ListResponse struct { Body []byte HTTPResponse *http.Response JSON200 *InstanceListInstanceResponse JSON400 *InstanceError Error error // Aggregated error }
func (ListResponse) Status ¶
func (r ListResponse) Status() string
Status returns HTTPResponse.Status
func (ListResponse) StatusCode ¶
func (r ListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PatchJSONRequestBody ¶
type PatchJSONRequestBody = InstanceUpdateInstanceRequest
PatchJSONRequestBody defines body for Patch for application/json ContentType.
type PatchResponse ¶
type PatchResponse struct { Body []byte HTTPResponse *http.Response JSON200 *InstanceUpdateInstanceResponse JSON400 *InstanceError Error error // Aggregated error }
func (PatchResponse) Status ¶
func (r PatchResponse) Status() string
Status returns HTTPResponse.Status
func (PatchResponse) StatusCode ¶
func (r PatchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
func (*PatchResponse) WaitHandler ¶
func (*PatchResponse) WaitHandler(ctx context.Context, c *ClientWithResponses, projectID, instanceID string) *wait.Handler
Wait will wait for instance update to complete
type PutJSONRequestBody ¶
type PutJSONRequestBody = InstanceUpdateInstanceRequest
PutJSONRequestBody defines body for Put for application/json ContentType.
type PutResponse ¶
type PutResponse struct { Body []byte HTTPResponse *http.Response JSON200 *InstanceUpdateInstanceResponse JSON400 *InstanceError Error error // Aggregated error }
func (PutResponse) StatusCode ¶
func (r PutResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
func (*PutResponse) WaitHandler ¶
func (*PutResponse) WaitHandler(ctx context.Context, c *ClientWithResponses, projectID, instanceID string) *wait.Handler
Wait will wait for instance update to complete