Documentation
¶
Overview ¶
Package instances provides primitives to interact with the openapi HTTP API.
Code generated by github.com/do87/oapi-codegen version v0.4.0 DO NOT EDIT.
Index ¶
- Constants
- func NewInstanceCreateRequest(ctx context.Context, server string, projectID string, ...) (*http.Request, error)
- func NewInstanceCreateRequestWithBody(ctx context.Context, server string, projectID string, contentType string, ...) (*http.Request, error)
- func NewInstanceCredentialsCreateRequest(ctx context.Context, server string, projectID string, instanceID string) (*http.Request, error)
- func NewInstanceCredentialsDeleteRequest(ctx context.Context, server string, projectID string, instanceID string, ...) (*http.Request, error)
- func NewInstanceCredentialsListRequest(ctx context.Context, server string, projectID string, instanceID string) (*http.Request, error)
- func NewInstanceCredentialsReadRequest(ctx context.Context, server string, projectID string, instanceID string, ...) (*http.Request, error)
- func NewInstanceCredentialsRemoteWriteLimitsDeleteRequest(ctx context.Context, server string, projectID string, instanceID string, ...) (*http.Request, error)
- func NewInstanceCredentialsRemoteWriteLimitsListRequest(ctx context.Context, server string, projectID string, instanceID string, ...) (*http.Request, error)
- func NewInstanceCredentialsRemoteWriteLimitsUpdateRequest(ctx context.Context, server string, projectID string, instanceID string, ...) (*http.Request, error)
- func NewInstanceCredentialsRemoteWriteLimitsUpdateRequestWithBody(ctx context.Context, server string, projectID string, instanceID string, ...) (*http.Request, error)
- func NewInstanceDeleteRequest(ctx context.Context, server string, projectID string, instanceID string) (*http.Request, error)
- func NewInstanceListRequest(ctx context.Context, server string, projectID string) (*http.Request, error)
- func NewInstanceReadRequest(ctx context.Context, server string, projectID string, instanceID string) (*http.Request, error)
- func NewInstanceUpdateRequest(ctx context.Context, server string, projectID string, instanceID string, ...) (*http.Request, error)
- func NewInstanceUpdateRequestWithBody(ctx context.Context, server string, projectID string, instanceID string, ...) (*http.Request, error)
- func NewSystemInstancesCredentialsCreateRequest(ctx context.Context, server string, projectID string, instanceID string, ...) (*http.Request, error)
- func NewSystemInstancesCredentialsCreateRequestWithBody(ctx context.Context, server string, projectID string, instanceID string, ...) (*http.Request, error)
- func NewSystemInstancesCredentialsDeleteRequest(ctx context.Context, server string, projectID string, instanceID string, ...) (*http.Request, error)
- func NewSystemInstancesReadRequest(ctx context.Context, server string, projectID string, instanceID string) (*http.Request, error)
- type APIUserCreated
- type APIUserProjectCreated
- type Client
- func (c *Client) InstanceCreate(ctx context.Context, projectID string, body InstanceCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) InstanceCreateWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) InstanceCredentialsCreate(ctx context.Context, projectID string, instanceID string, ...) (*http.Response, error)
- func (c *Client) InstanceCredentialsDelete(ctx context.Context, projectID string, instanceID string, username string, ...) (*http.Response, error)
- func (c *Client) InstanceCredentialsList(ctx context.Context, projectID string, instanceID string, ...) (*http.Response, error)
- func (c *Client) InstanceCredentialsRead(ctx context.Context, projectID string, instanceID string, username string, ...) (*http.Response, error)
- func (c *Client) InstanceCredentialsRemoteWriteLimitsDelete(ctx context.Context, projectID string, instanceID string, username string, ...) (*http.Response, error)
- func (c *Client) InstanceCredentialsRemoteWriteLimitsList(ctx context.Context, projectID string, instanceID string, username string, ...) (*http.Response, error)
- func (c *Client) InstanceCredentialsRemoteWriteLimitsUpdate(ctx context.Context, projectID string, instanceID string, username string, ...) (*http.Response, error)
- func (c *Client) InstanceCredentialsRemoteWriteLimitsUpdateWithBody(ctx context.Context, projectID string, instanceID string, username string, ...) (*http.Response, error)
- func (c *Client) InstanceDelete(ctx context.Context, projectID string, instanceID string, ...) (*http.Response, error)
- func (c *Client) InstanceList(ctx context.Context, projectID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) InstanceRead(ctx context.Context, projectID string, instanceID string, ...) (*http.Response, error)
- func (c *Client) InstanceUpdate(ctx context.Context, projectID string, instanceID string, ...) (*http.Response, error)
- func (c *Client) InstanceUpdateWithBody(ctx context.Context, projectID string, instanceID string, contentType string, ...) (*http.Response, error)
- func (c *Client) SystemInstancesCredentialsCreate(ctx context.Context, projectID string, instanceID string, ...) (*http.Response, error)
- func (c *Client) SystemInstancesCredentialsCreateWithBody(ctx context.Context, projectID string, instanceID string, contentType string, ...) (*http.Response, error)
- func (c *Client) SystemInstancesCredentialsDelete(ctx context.Context, projectID string, instanceID string, username string, ...) (*http.Response, error)
- func (c *Client) SystemInstancesRead(ctx context.Context, projectID string, instanceID string, ...) (*http.Response, error)
- type ClientInterface
- type ClientWithResponses
- func (c *ClientWithResponses) InstanceCreateWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, ...) (*InstanceCreateResponse, error)
- func (c *ClientWithResponses) InstanceCreateWithResponse(ctx context.Context, projectID string, body InstanceCreateJSONRequestBody, ...) (*InstanceCreateResponse, error)
- func (c *ClientWithResponses) InstanceCredentialsCreateWithResponse(ctx context.Context, projectID string, instanceID string, ...) (*InstanceCredentialsCreateResponse, error)
- func (c *ClientWithResponses) InstanceCredentialsDeleteWithResponse(ctx context.Context, projectID string, instanceID string, username string, ...) (*InstanceCredentialsDeleteResponse, error)
- func (c *ClientWithResponses) InstanceCredentialsListWithResponse(ctx context.Context, projectID string, instanceID string, ...) (*InstanceCredentialsListResponse, error)
- func (c *ClientWithResponses) InstanceCredentialsReadWithResponse(ctx context.Context, projectID string, instanceID string, username string, ...) (*InstanceCredentialsReadResponse, error)
- func (c *ClientWithResponses) InstanceCredentialsRemoteWriteLimitsDeleteWithResponse(ctx context.Context, projectID string, instanceID string, username string, ...) (*InstanceCredentialsRemoteWriteLimitsDeleteResponse, error)
- func (c *ClientWithResponses) InstanceCredentialsRemoteWriteLimitsListWithResponse(ctx context.Context, projectID string, instanceID string, username string, ...) (*InstanceCredentialsRemoteWriteLimitsListResponse, error)
- func (c *ClientWithResponses) InstanceCredentialsRemoteWriteLimitsUpdateWithBodyWithResponse(ctx context.Context, projectID string, instanceID string, username string, ...) (*InstanceCredentialsRemoteWriteLimitsUpdateResponse, error)
- func (c *ClientWithResponses) InstanceCredentialsRemoteWriteLimitsUpdateWithResponse(ctx context.Context, projectID string, instanceID string, username string, ...) (*InstanceCredentialsRemoteWriteLimitsUpdateResponse, error)
- func (c *ClientWithResponses) InstanceDeleteWithResponse(ctx context.Context, projectID string, instanceID string, ...) (*InstanceDeleteResponse, error)
- func (c *ClientWithResponses) InstanceListWithResponse(ctx context.Context, projectID string, reqEditors ...RequestEditorFn) (*InstanceListResponse, error)
- func (c *ClientWithResponses) InstanceReadWithResponse(ctx context.Context, projectID string, instanceID string, ...) (*InstanceReadResponse, error)
- func (c *ClientWithResponses) InstanceUpdateWithBodyWithResponse(ctx context.Context, projectID string, instanceID string, contentType string, ...) (*InstanceUpdateResponse, error)
- func (c *ClientWithResponses) InstanceUpdateWithResponse(ctx context.Context, projectID string, instanceID string, ...) (*InstanceUpdateResponse, error)
- func (c *ClientWithResponses) ParseInstanceCreateResponse(rsp *http.Response) (*InstanceCreateResponse, error)
- func (c *ClientWithResponses) ParseInstanceCredentialsCreateResponse(rsp *http.Response) (*InstanceCredentialsCreateResponse, error)
- func (c *ClientWithResponses) ParseInstanceCredentialsDeleteResponse(rsp *http.Response) (*InstanceCredentialsDeleteResponse, error)
- func (c *ClientWithResponses) ParseInstanceCredentialsListResponse(rsp *http.Response) (*InstanceCredentialsListResponse, error)
- func (c *ClientWithResponses) ParseInstanceCredentialsReadResponse(rsp *http.Response) (*InstanceCredentialsReadResponse, error)
- func (c *ClientWithResponses) ParseInstanceCredentialsRemoteWriteLimitsDeleteResponse(rsp *http.Response) (*InstanceCredentialsRemoteWriteLimitsDeleteResponse, error)
- func (c *ClientWithResponses) ParseInstanceCredentialsRemoteWriteLimitsListResponse(rsp *http.Response) (*InstanceCredentialsRemoteWriteLimitsListResponse, error)
- func (c *ClientWithResponses) ParseInstanceCredentialsRemoteWriteLimitsUpdateResponse(rsp *http.Response) (*InstanceCredentialsRemoteWriteLimitsUpdateResponse, error)
- func (c *ClientWithResponses) ParseInstanceDeleteResponse(rsp *http.Response) (*InstanceDeleteResponse, error)
- func (c *ClientWithResponses) ParseInstanceListResponse(rsp *http.Response) (*InstanceListResponse, error)
- func (c *ClientWithResponses) ParseInstanceReadResponse(rsp *http.Response) (*InstanceReadResponse, error)
- func (c *ClientWithResponses) ParseInstanceUpdateResponse(rsp *http.Response) (*InstanceUpdateResponse, error)
- func (c *ClientWithResponses) ParseSystemInstancesCredentialsCreateResponse(rsp *http.Response) (*SystemInstancesCredentialsCreateResponse, error)
- func (c *ClientWithResponses) ParseSystemInstancesCredentialsDeleteResponse(rsp *http.Response) (*SystemInstancesCredentialsDeleteResponse, error)
- func (c *ClientWithResponses) ParseSystemInstancesReadResponse(rsp *http.Response) (*SystemInstancesReadResponse, error)
- func (c *ClientWithResponses) SystemInstancesCredentialsCreateWithBodyWithResponse(ctx context.Context, projectID string, instanceID string, contentType string, ...) (*SystemInstancesCredentialsCreateResponse, error)
- func (c *ClientWithResponses) SystemInstancesCredentialsCreateWithResponse(ctx context.Context, projectID string, instanceID string, ...) (*SystemInstancesCredentialsCreateResponse, error)
- func (c *ClientWithResponses) SystemInstancesCredentialsDeleteWithResponse(ctx context.Context, projectID string, instanceID string, username string, ...) (*SystemInstancesCredentialsDeleteResponse, error)
- func (c *ClientWithResponses) SystemInstancesReadWithResponse(ctx context.Context, projectID string, instanceID string, ...) (*SystemInstancesReadResponse, error)
- type ClientWithResponsesInterface
- type Credentials
- type CredentialsListResponse
- type CredentialsRemoteWriteDeleteResponse
- type CredentialsRemoteWriteResponse
- type Error
- type InstanceCreateJSONBody
- type InstanceCreateJSONRequestBody
- type InstanceCreateResponse
- type InstanceCredentialsCreateResponse
- type InstanceCredentialsDeleteResponse
- type InstanceCredentialsListResponse
- type InstanceCredentialsReadResponse
- type InstanceCredentialsRemoteWriteLimitsDeleteResponse
- type InstanceCredentialsRemoteWriteLimitsListResponse
- type InstanceCredentialsRemoteWriteLimitsUpdateJSONBody
- type InstanceCredentialsRemoteWriteLimitsUpdateJSONRequestBody
- type InstanceCredentialsRemoteWriteLimitsUpdateResponse
- type InstanceDeleteResponse
- type InstanceListResponse
- type InstanceReadResponse
- type InstanceSensitiveData
- type InstanceUpdateJSONBody
- type InstanceUpdateJSONRequestBody
- type InstanceUpdateResponse
- type Message
- type PermissionDenied
- type PlanModel
- type ProjectInstanceFull
- type ProjectInstanceFullMany
- type ProjectInstanceFullStatus
- type ProjectInstanceUI
- type ProjectInstanceUIStatus
- type ProjectInstancesCreateResponse
- type ProjectInstancesUpdateResponse
- type RequestEditorFn
- type ServiceKeysList
- type ServiceKeysResponse
- type SystemInstance
- type SystemInstanceResponse
- type SystemInstancesCredentialsCreateJSONBody
- type SystemInstancesCredentialsCreateJSONRequestBody
- type SystemInstancesCredentialsCreateResponse
- type SystemInstancesCredentialsDeleteResponse
- type SystemInstancesReadResponse
Constants ¶
const (
BearerAuthScopes = "bearerAuth.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func NewInstanceCreateRequest ¶
func NewInstanceCreateRequest(ctx context.Context, server string, projectID string, body InstanceCreateJSONRequestBody) (*http.Request, error)
NewInstanceCreateRequest calls the generic InstanceCreate builder with application/json body
func NewInstanceCreateRequestWithBody ¶
func NewInstanceCreateRequestWithBody(ctx context.Context, server string, projectID string, contentType string, body io.Reader) (*http.Request, error)
NewInstanceCreateRequestWithBody generates requests for InstanceCreate with any type of body
func NewInstanceCredentialsCreateRequest ¶
func NewInstanceCredentialsCreateRequest(ctx context.Context, server string, projectID string, instanceID string) (*http.Request, error)
NewInstanceCredentialsCreateRequest generates requests for InstanceCredentialsCreate
func NewInstanceCredentialsDeleteRequest ¶
func NewInstanceCredentialsDeleteRequest(ctx context.Context, server string, projectID string, instanceID string, username string) (*http.Request, error)
NewInstanceCredentialsDeleteRequest generates requests for InstanceCredentialsDelete
func NewInstanceCredentialsListRequest ¶
func NewInstanceCredentialsListRequest(ctx context.Context, server string, projectID string, instanceID string) (*http.Request, error)
NewInstanceCredentialsListRequest generates requests for InstanceCredentialsList
func NewInstanceCredentialsReadRequest ¶
func NewInstanceCredentialsReadRequest(ctx context.Context, server string, projectID string, instanceID string, username string) (*http.Request, error)
NewInstanceCredentialsReadRequest generates requests for InstanceCredentialsRead
func NewInstanceCredentialsRemoteWriteLimitsDeleteRequest ¶
func NewInstanceCredentialsRemoteWriteLimitsDeleteRequest(ctx context.Context, server string, projectID string, instanceID string, username string) (*http.Request, error)
NewInstanceCredentialsRemoteWriteLimitsDeleteRequest generates requests for InstanceCredentialsRemoteWriteLimitsDelete
func NewInstanceCredentialsRemoteWriteLimitsListRequest ¶
func NewInstanceCredentialsRemoteWriteLimitsListRequest(ctx context.Context, server string, projectID string, instanceID string, username string) (*http.Request, error)
NewInstanceCredentialsRemoteWriteLimitsListRequest generates requests for InstanceCredentialsRemoteWriteLimitsList
func NewInstanceCredentialsRemoteWriteLimitsUpdateRequest ¶
func NewInstanceCredentialsRemoteWriteLimitsUpdateRequest(ctx context.Context, server string, projectID string, instanceID string, username string, body InstanceCredentialsRemoteWriteLimitsUpdateJSONRequestBody) (*http.Request, error)
NewInstanceCredentialsRemoteWriteLimitsUpdateRequest calls the generic InstanceCredentialsRemoteWriteLimitsUpdate builder with application/json body
func NewInstanceCredentialsRemoteWriteLimitsUpdateRequestWithBody ¶
func NewInstanceCredentialsRemoteWriteLimitsUpdateRequestWithBody(ctx context.Context, server string, projectID string, instanceID string, username string, contentType string, body io.Reader) (*http.Request, error)
NewInstanceCredentialsRemoteWriteLimitsUpdateRequestWithBody generates requests for InstanceCredentialsRemoteWriteLimitsUpdate with any type of body
func NewInstanceDeleteRequest ¶
func NewInstanceDeleteRequest(ctx context.Context, server string, projectID string, instanceID string) (*http.Request, error)
NewInstanceDeleteRequest generates requests for InstanceDelete
func NewInstanceListRequest ¶
func NewInstanceListRequest(ctx context.Context, server string, projectID string) (*http.Request, error)
NewInstanceListRequest generates requests for InstanceList
func NewInstanceReadRequest ¶
func NewInstanceReadRequest(ctx context.Context, server string, projectID string, instanceID string) (*http.Request, error)
NewInstanceReadRequest generates requests for InstanceRead
func NewInstanceUpdateRequest ¶
func NewInstanceUpdateRequest(ctx context.Context, server string, projectID string, instanceID string, body InstanceUpdateJSONRequestBody) (*http.Request, error)
NewInstanceUpdateRequest calls the generic InstanceUpdate builder with application/json body
func NewInstanceUpdateRequestWithBody ¶
func NewInstanceUpdateRequestWithBody(ctx context.Context, server string, projectID string, instanceID string, contentType string, body io.Reader) (*http.Request, error)
NewInstanceUpdateRequestWithBody generates requests for InstanceUpdate with any type of body
func NewSystemInstancesCredentialsCreateRequest ¶
func NewSystemInstancesCredentialsCreateRequest(ctx context.Context, server string, projectID string, instanceID string, body SystemInstancesCredentialsCreateJSONRequestBody) (*http.Request, error)
NewSystemInstancesCredentialsCreateRequest calls the generic SystemInstancesCredentialsCreate builder with application/json body
func NewSystemInstancesCredentialsCreateRequestWithBody ¶
func NewSystemInstancesCredentialsCreateRequestWithBody(ctx context.Context, server string, projectID string, instanceID string, contentType string, body io.Reader) (*http.Request, error)
NewSystemInstancesCredentialsCreateRequestWithBody generates requests for SystemInstancesCredentialsCreate with any type of body
func NewSystemInstancesCredentialsDeleteRequest ¶
func NewSystemInstancesCredentialsDeleteRequest(ctx context.Context, server string, projectID string, instanceID string, username string) (*http.Request, error)
NewSystemInstancesCredentialsDeleteRequest generates requests for SystemInstancesCredentialsDelete
Types ¶
type APIUserCreated ¶
type APIUserCreated struct { APIURL string `json:"apiUrl"` APIURLSwagger string `json:"apiUrlSwagger"` InstanceID string `json:"instanceId"` Message string `json:"message"` Password string `json:"password"` Username string `json:"username"` }
APIUserCreated defines model for APIUserCreated.
type APIUserProjectCreated ¶
type APIUserProjectCreated struct { Credentials Credentials `json:"credentials"` Message string `json:"message"` }
APIUserProjectCreated defines model for APIUserProjectCreated.
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 common.Client }
Client which conforms to the OpenAPI3 specification for this service.
func (*Client) InstanceCreate ¶
func (c *Client) InstanceCreate(ctx context.Context, projectID string, body InstanceCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) InstanceCreateWithBody ¶
func (*Client) InstanceCredentialsCreate ¶
func (*Client) InstanceCredentialsDelete ¶
func (*Client) InstanceCredentialsList ¶
func (*Client) InstanceCredentialsRead ¶
func (*Client) InstanceCredentialsRemoteWriteLimitsDelete ¶
func (*Client) InstanceCredentialsRemoteWriteLimitsList ¶
func (*Client) InstanceCredentialsRemoteWriteLimitsUpdate ¶
func (*Client) InstanceCredentialsRemoteWriteLimitsUpdateWithBody ¶
func (*Client) InstanceDelete ¶
func (*Client) InstanceList ¶
func (*Client) InstanceRead ¶
func (*Client) InstanceUpdate ¶
func (c *Client) InstanceUpdate(ctx context.Context, projectID string, instanceID string, body InstanceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) InstanceUpdateWithBody ¶
func (*Client) SystemInstancesCredentialsCreate ¶
func (c *Client) SystemInstancesCredentialsCreate(ctx context.Context, projectID string, instanceID string, body SystemInstancesCredentialsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SystemInstancesCredentialsCreateWithBody ¶
func (*Client) SystemInstancesCredentialsDelete ¶
type ClientInterface ¶
type ClientInterface interface { // InstanceList request InstanceList(ctx context.Context, projectID string, reqEditors ...RequestEditorFn) (*http.Response, error) // InstanceCreate request with any body InstanceCreateWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) InstanceCreate(ctx context.Context, projectID string, body InstanceCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // InstanceDelete request InstanceDelete(ctx context.Context, projectID string, instanceID string, reqEditors ...RequestEditorFn) (*http.Response, error) // InstanceRead request InstanceRead(ctx context.Context, projectID string, instanceID string, reqEditors ...RequestEditorFn) (*http.Response, error) // InstanceUpdate request with any body InstanceUpdateWithBody(ctx context.Context, projectID string, instanceID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) InstanceUpdate(ctx context.Context, projectID string, instanceID string, body InstanceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // InstanceCredentialsList request InstanceCredentialsList(ctx context.Context, projectID string, instanceID string, reqEditors ...RequestEditorFn) (*http.Response, error) // InstanceCredentialsCreate request InstanceCredentialsCreate(ctx context.Context, projectID string, instanceID string, reqEditors ...RequestEditorFn) (*http.Response, error) // InstanceCredentialsDelete request InstanceCredentialsDelete(ctx context.Context, projectID string, instanceID string, username string, reqEditors ...RequestEditorFn) (*http.Response, error) // InstanceCredentialsRead request InstanceCredentialsRead(ctx context.Context, projectID string, instanceID string, username string, reqEditors ...RequestEditorFn) (*http.Response, error) // InstanceCredentialsRemoteWriteLimitsDelete request InstanceCredentialsRemoteWriteLimitsDelete(ctx context.Context, projectID string, instanceID string, username string, reqEditors ...RequestEditorFn) (*http.Response, error) // InstanceCredentialsRemoteWriteLimitsList request InstanceCredentialsRemoteWriteLimitsList(ctx context.Context, projectID string, instanceID string, username string, reqEditors ...RequestEditorFn) (*http.Response, error) // InstanceCredentialsRemoteWriteLimitsUpdate request with any body InstanceCredentialsRemoteWriteLimitsUpdateWithBody(ctx context.Context, projectID string, instanceID string, username string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) InstanceCredentialsRemoteWriteLimitsUpdate(ctx context.Context, projectID string, instanceID string, username string, body InstanceCredentialsRemoteWriteLimitsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // SystemInstancesRead request SystemInstancesRead(ctx context.Context, projectID string, instanceID string, reqEditors ...RequestEditorFn) (*http.Response, error) // SystemInstancesCredentialsCreate request with any body SystemInstancesCredentialsCreateWithBody(ctx context.Context, projectID string, instanceID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) SystemInstancesCredentialsCreate(ctx context.Context, projectID string, instanceID string, body SystemInstancesCredentialsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // SystemInstancesCredentialsDelete request SystemInstancesCredentialsDelete(ctx context.Context, projectID string, instanceID string, username string, reqEditors ...RequestEditorFn) (*http.Response, error) }
The interface specification for the client above.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, httpClient common.Client) *ClientWithResponses
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) InstanceCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) InstanceCreateWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InstanceCreateResponse, error)
InstanceCreateWithBodyWithResponse request with arbitrary body returning *InstanceCreateResponse
func (*ClientWithResponses) InstanceCreateWithResponse ¶
func (c *ClientWithResponses) InstanceCreateWithResponse(ctx context.Context, projectID string, body InstanceCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*InstanceCreateResponse, error)
func (*ClientWithResponses) InstanceCredentialsCreateWithResponse ¶
func (c *ClientWithResponses) InstanceCredentialsCreateWithResponse(ctx context.Context, projectID string, instanceID string, reqEditors ...RequestEditorFn) (*InstanceCredentialsCreateResponse, error)
InstanceCredentialsCreateWithResponse request returning *InstanceCredentialsCreateResponse
func (*ClientWithResponses) InstanceCredentialsDeleteWithResponse ¶
func (c *ClientWithResponses) InstanceCredentialsDeleteWithResponse(ctx context.Context, projectID string, instanceID string, username string, reqEditors ...RequestEditorFn) (*InstanceCredentialsDeleteResponse, error)
InstanceCredentialsDeleteWithResponse request returning *InstanceCredentialsDeleteResponse
func (*ClientWithResponses) InstanceCredentialsListWithResponse ¶
func (c *ClientWithResponses) InstanceCredentialsListWithResponse(ctx context.Context, projectID string, instanceID string, reqEditors ...RequestEditorFn) (*InstanceCredentialsListResponse, error)
InstanceCredentialsListWithResponse request returning *InstanceCredentialsListResponse
func (*ClientWithResponses) InstanceCredentialsReadWithResponse ¶
func (c *ClientWithResponses) InstanceCredentialsReadWithResponse(ctx context.Context, projectID string, instanceID string, username string, reqEditors ...RequestEditorFn) (*InstanceCredentialsReadResponse, error)
InstanceCredentialsReadWithResponse request returning *InstanceCredentialsReadResponse
func (*ClientWithResponses) InstanceCredentialsRemoteWriteLimitsDeleteWithResponse ¶
func (c *ClientWithResponses) InstanceCredentialsRemoteWriteLimitsDeleteWithResponse(ctx context.Context, projectID string, instanceID string, username string, reqEditors ...RequestEditorFn) (*InstanceCredentialsRemoteWriteLimitsDeleteResponse, error)
InstanceCredentialsRemoteWriteLimitsDeleteWithResponse request returning *InstanceCredentialsRemoteWriteLimitsDeleteResponse
func (*ClientWithResponses) InstanceCredentialsRemoteWriteLimitsListWithResponse ¶
func (c *ClientWithResponses) InstanceCredentialsRemoteWriteLimitsListWithResponse(ctx context.Context, projectID string, instanceID string, username string, reqEditors ...RequestEditorFn) (*InstanceCredentialsRemoteWriteLimitsListResponse, error)
InstanceCredentialsRemoteWriteLimitsListWithResponse request returning *InstanceCredentialsRemoteWriteLimitsListResponse
func (*ClientWithResponses) InstanceCredentialsRemoteWriteLimitsUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) InstanceCredentialsRemoteWriteLimitsUpdateWithBodyWithResponse(ctx context.Context, projectID string, instanceID string, username string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InstanceCredentialsRemoteWriteLimitsUpdateResponse, error)
InstanceCredentialsRemoteWriteLimitsUpdateWithBodyWithResponse request with arbitrary body returning *InstanceCredentialsRemoteWriteLimitsUpdateResponse
func (*ClientWithResponses) InstanceCredentialsRemoteWriteLimitsUpdateWithResponse ¶
func (c *ClientWithResponses) InstanceCredentialsRemoteWriteLimitsUpdateWithResponse(ctx context.Context, projectID string, instanceID string, username string, body InstanceCredentialsRemoteWriteLimitsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*InstanceCredentialsRemoteWriteLimitsUpdateResponse, error)
func (*ClientWithResponses) InstanceDeleteWithResponse ¶
func (c *ClientWithResponses) InstanceDeleteWithResponse(ctx context.Context, projectID string, instanceID string, reqEditors ...RequestEditorFn) (*InstanceDeleteResponse, error)
InstanceDeleteWithResponse request returning *InstanceDeleteResponse
func (*ClientWithResponses) InstanceListWithResponse ¶
func (c *ClientWithResponses) InstanceListWithResponse(ctx context.Context, projectID string, reqEditors ...RequestEditorFn) (*InstanceListResponse, error)
InstanceListWithResponse request returning *InstanceListResponse
func (*ClientWithResponses) InstanceReadWithResponse ¶
func (c *ClientWithResponses) InstanceReadWithResponse(ctx context.Context, projectID string, instanceID string, reqEditors ...RequestEditorFn) (*InstanceReadResponse, error)
InstanceReadWithResponse request returning *InstanceReadResponse
func (*ClientWithResponses) InstanceUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) InstanceUpdateWithBodyWithResponse(ctx context.Context, projectID string, instanceID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InstanceUpdateResponse, error)
InstanceUpdateWithBodyWithResponse request with arbitrary body returning *InstanceUpdateResponse
func (*ClientWithResponses) InstanceUpdateWithResponse ¶
func (c *ClientWithResponses) InstanceUpdateWithResponse(ctx context.Context, projectID string, instanceID string, body InstanceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*InstanceUpdateResponse, error)
func (*ClientWithResponses) ParseInstanceCreateResponse ¶
func (c *ClientWithResponses) ParseInstanceCreateResponse(rsp *http.Response) (*InstanceCreateResponse, error)
ParseInstanceCreateResponse parses an HTTP response from a InstanceCreateWithResponse call
func (*ClientWithResponses) ParseInstanceCredentialsCreateResponse ¶
func (c *ClientWithResponses) ParseInstanceCredentialsCreateResponse(rsp *http.Response) (*InstanceCredentialsCreateResponse, error)
ParseInstanceCredentialsCreateResponse parses an HTTP response from a InstanceCredentialsCreateWithResponse call
func (*ClientWithResponses) ParseInstanceCredentialsDeleteResponse ¶
func (c *ClientWithResponses) ParseInstanceCredentialsDeleteResponse(rsp *http.Response) (*InstanceCredentialsDeleteResponse, error)
ParseInstanceCredentialsDeleteResponse parses an HTTP response from a InstanceCredentialsDeleteWithResponse call
func (*ClientWithResponses) ParseInstanceCredentialsListResponse ¶
func (c *ClientWithResponses) ParseInstanceCredentialsListResponse(rsp *http.Response) (*InstanceCredentialsListResponse, error)
ParseInstanceCredentialsListResponse parses an HTTP response from a InstanceCredentialsListWithResponse call
func (*ClientWithResponses) ParseInstanceCredentialsReadResponse ¶
func (c *ClientWithResponses) ParseInstanceCredentialsReadResponse(rsp *http.Response) (*InstanceCredentialsReadResponse, error)
ParseInstanceCredentialsReadResponse parses an HTTP response from a InstanceCredentialsReadWithResponse call
func (*ClientWithResponses) ParseInstanceCredentialsRemoteWriteLimitsDeleteResponse ¶
func (c *ClientWithResponses) ParseInstanceCredentialsRemoteWriteLimitsDeleteResponse(rsp *http.Response) (*InstanceCredentialsRemoteWriteLimitsDeleteResponse, error)
ParseInstanceCredentialsRemoteWriteLimitsDeleteResponse parses an HTTP response from a InstanceCredentialsRemoteWriteLimitsDeleteWithResponse call
func (*ClientWithResponses) ParseInstanceCredentialsRemoteWriteLimitsListResponse ¶
func (c *ClientWithResponses) ParseInstanceCredentialsRemoteWriteLimitsListResponse(rsp *http.Response) (*InstanceCredentialsRemoteWriteLimitsListResponse, error)
ParseInstanceCredentialsRemoteWriteLimitsListResponse parses an HTTP response from a InstanceCredentialsRemoteWriteLimitsListWithResponse call
func (*ClientWithResponses) ParseInstanceCredentialsRemoteWriteLimitsUpdateResponse ¶
func (c *ClientWithResponses) ParseInstanceCredentialsRemoteWriteLimitsUpdateResponse(rsp *http.Response) (*InstanceCredentialsRemoteWriteLimitsUpdateResponse, error)
ParseInstanceCredentialsRemoteWriteLimitsUpdateResponse parses an HTTP response from a InstanceCredentialsRemoteWriteLimitsUpdateWithResponse call
func (*ClientWithResponses) ParseInstanceDeleteResponse ¶
func (c *ClientWithResponses) ParseInstanceDeleteResponse(rsp *http.Response) (*InstanceDeleteResponse, error)
ParseInstanceDeleteResponse parses an HTTP response from a InstanceDeleteWithResponse call
func (*ClientWithResponses) ParseInstanceListResponse ¶
func (c *ClientWithResponses) ParseInstanceListResponse(rsp *http.Response) (*InstanceListResponse, error)
ParseInstanceListResponse parses an HTTP response from a InstanceListWithResponse call
func (*ClientWithResponses) ParseInstanceReadResponse ¶
func (c *ClientWithResponses) ParseInstanceReadResponse(rsp *http.Response) (*InstanceReadResponse, error)
ParseInstanceReadResponse parses an HTTP response from a InstanceReadWithResponse call
func (*ClientWithResponses) ParseInstanceUpdateResponse ¶
func (c *ClientWithResponses) ParseInstanceUpdateResponse(rsp *http.Response) (*InstanceUpdateResponse, error)
ParseInstanceUpdateResponse parses an HTTP response from a InstanceUpdateWithResponse call
func (*ClientWithResponses) ParseSystemInstancesCredentialsCreateResponse ¶
func (c *ClientWithResponses) ParseSystemInstancesCredentialsCreateResponse(rsp *http.Response) (*SystemInstancesCredentialsCreateResponse, error)
ParseSystemInstancesCredentialsCreateResponse parses an HTTP response from a SystemInstancesCredentialsCreateWithResponse call
func (*ClientWithResponses) ParseSystemInstancesCredentialsDeleteResponse ¶
func (c *ClientWithResponses) ParseSystemInstancesCredentialsDeleteResponse(rsp *http.Response) (*SystemInstancesCredentialsDeleteResponse, error)
ParseSystemInstancesCredentialsDeleteResponse parses an HTTP response from a SystemInstancesCredentialsDeleteWithResponse call
func (*ClientWithResponses) ParseSystemInstancesReadResponse ¶
func (c *ClientWithResponses) ParseSystemInstancesReadResponse(rsp *http.Response) (*SystemInstancesReadResponse, error)
ParseSystemInstancesReadResponse parses an HTTP response from a SystemInstancesReadWithResponse call
func (*ClientWithResponses) SystemInstancesCredentialsCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) SystemInstancesCredentialsCreateWithBodyWithResponse(ctx context.Context, projectID string, instanceID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SystemInstancesCredentialsCreateResponse, error)
SystemInstancesCredentialsCreateWithBodyWithResponse request with arbitrary body returning *SystemInstancesCredentialsCreateResponse
func (*ClientWithResponses) SystemInstancesCredentialsCreateWithResponse ¶
func (c *ClientWithResponses) SystemInstancesCredentialsCreateWithResponse(ctx context.Context, projectID string, instanceID string, body SystemInstancesCredentialsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*SystemInstancesCredentialsCreateResponse, error)
func (*ClientWithResponses) SystemInstancesCredentialsDeleteWithResponse ¶
func (c *ClientWithResponses) SystemInstancesCredentialsDeleteWithResponse(ctx context.Context, projectID string, instanceID string, username string, reqEditors ...RequestEditorFn) (*SystemInstancesCredentialsDeleteResponse, error)
SystemInstancesCredentialsDeleteWithResponse request returning *SystemInstancesCredentialsDeleteResponse
func (*ClientWithResponses) SystemInstancesReadWithResponse ¶
func (c *ClientWithResponses) SystemInstancesReadWithResponse(ctx context.Context, projectID string, instanceID string, reqEditors ...RequestEditorFn) (*SystemInstancesReadResponse, error)
SystemInstancesReadWithResponse request returning *SystemInstancesReadResponse
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // InstanceList request InstanceListWithResponse(ctx context.Context, projectID string, reqEditors ...RequestEditorFn) (*InstanceListResponse, error) // InstanceCreate request with any body InstanceCreateWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InstanceCreateResponse, error) InstanceCreateWithResponse(ctx context.Context, projectID string, body InstanceCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*InstanceCreateResponse, error) // InstanceDelete request InstanceDeleteWithResponse(ctx context.Context, projectID string, instanceID string, reqEditors ...RequestEditorFn) (*InstanceDeleteResponse, error) // InstanceRead request InstanceReadWithResponse(ctx context.Context, projectID string, instanceID string, reqEditors ...RequestEditorFn) (*InstanceReadResponse, error) // InstanceUpdate request with any body InstanceUpdateWithBodyWithResponse(ctx context.Context, projectID string, instanceID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InstanceUpdateResponse, error) InstanceUpdateWithResponse(ctx context.Context, projectID string, instanceID string, body InstanceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*InstanceUpdateResponse, error) // InstanceCredentialsList request InstanceCredentialsListWithResponse(ctx context.Context, projectID string, instanceID string, reqEditors ...RequestEditorFn) (*InstanceCredentialsListResponse, error) // InstanceCredentialsCreate request InstanceCredentialsCreateWithResponse(ctx context.Context, projectID string, instanceID string, reqEditors ...RequestEditorFn) (*InstanceCredentialsCreateResponse, error) // InstanceCredentialsDelete request InstanceCredentialsDeleteWithResponse(ctx context.Context, projectID string, instanceID string, username string, reqEditors ...RequestEditorFn) (*InstanceCredentialsDeleteResponse, error) // InstanceCredentialsRead request InstanceCredentialsReadWithResponse(ctx context.Context, projectID string, instanceID string, username string, reqEditors ...RequestEditorFn) (*InstanceCredentialsReadResponse, error) // InstanceCredentialsRemoteWriteLimitsDelete request InstanceCredentialsRemoteWriteLimitsDeleteWithResponse(ctx context.Context, projectID string, instanceID string, username string, reqEditors ...RequestEditorFn) (*InstanceCredentialsRemoteWriteLimitsDeleteResponse, error) // InstanceCredentialsRemoteWriteLimitsList request InstanceCredentialsRemoteWriteLimitsListWithResponse(ctx context.Context, projectID string, instanceID string, username string, reqEditors ...RequestEditorFn) (*InstanceCredentialsRemoteWriteLimitsListResponse, error) // InstanceCredentialsRemoteWriteLimitsUpdate request with any body InstanceCredentialsRemoteWriteLimitsUpdateWithBodyWithResponse(ctx context.Context, projectID string, instanceID string, username string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InstanceCredentialsRemoteWriteLimitsUpdateResponse, error) InstanceCredentialsRemoteWriteLimitsUpdateWithResponse(ctx context.Context, projectID string, instanceID string, username string, body InstanceCredentialsRemoteWriteLimitsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*InstanceCredentialsRemoteWriteLimitsUpdateResponse, error) // SystemInstancesRead request SystemInstancesReadWithResponse(ctx context.Context, projectID string, instanceID string, reqEditors ...RequestEditorFn) (*SystemInstancesReadResponse, error) // SystemInstancesCredentialsCreate request with any body SystemInstancesCredentialsCreateWithBodyWithResponse(ctx context.Context, projectID string, instanceID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SystemInstancesCredentialsCreateResponse, error) SystemInstancesCredentialsCreateWithResponse(ctx context.Context, projectID string, instanceID string, body SystemInstancesCredentialsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*SystemInstancesCredentialsCreateResponse, error) // SystemInstancesCredentialsDelete request SystemInstancesCredentialsDeleteWithResponse(ctx context.Context, projectID string, instanceID string, username string, reqEditors ...RequestEditorFn) (*SystemInstancesCredentialsDeleteResponse, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type Credentials ¶
Credentials defines model for Credentials.
type CredentialsListResponse ¶
type CredentialsListResponse struct { Credentials []ServiceKeysList `json:"credentials"` Message string `json:"message"` }
CredentialsListResponse defines model for CredentialsListResponse.
type CredentialsRemoteWriteDeleteResponse ¶
type CredentialsRemoteWriteDeleteResponse struct { MaxLimit int `json:"maxLimit"` Message string `json:"message"` }
CredentialsRemoteWriteDeleteResponse defines model for CredentialsRemoteWriteDeleteResponse.
type CredentialsRemoteWriteResponse ¶
type CredentialsRemoteWriteResponse struct { CredentialsMaxLimit int `json:"credentialsMaxLimit"` MaxLimit int `json:"maxLimit"` Message string `json:"message"` }
CredentialsRemoteWriteResponse defines model for CredentialsRemoteWriteResponse.
type Error ¶
type Error struct { Errors *[]map[string]string `json:"errors,omitempty"` Message string `json:"message"` }
Error defines model for Error.
type InstanceCreateJSONBody ¶
type InstanceCreateJSONBody struct { // Name Name of the service Name *string `json:"name,omitempty"` // Parameter additional parameters Parameter *map[string]interface{} `json:"parameter,omitempty"` // PlanId uuid of the plan to create/update PlanID string `json:"planId"` }
InstanceCreateJSONBody defines parameters for InstanceCreate.
type InstanceCreateJSONRequestBody ¶
type InstanceCreateJSONRequestBody InstanceCreateJSONBody
InstanceCreateJSONRequestBody defines body for InstanceCreate for application/json ContentType.
type InstanceCreateResponse ¶
type InstanceCreateResponse struct { Body []byte HTTPResponse *http.Response JSON202 *ProjectInstancesCreateResponse JSON400 *Error JSON403 *PermissionDenied HasError error // Aggregated error }
func (InstanceCreateResponse) Status ¶
func (r InstanceCreateResponse) Status() string
Status returns HTTPResponse.Status
func (InstanceCreateResponse) StatusCode ¶
func (r InstanceCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InstanceCredentialsCreateResponse ¶
type InstanceCredentialsCreateResponse struct { Body []byte HTTPResponse *http.Response JSON201 *APIUserProjectCreated JSON403 *PermissionDenied HasError error // Aggregated error }
func (InstanceCredentialsCreateResponse) Status ¶
func (r InstanceCredentialsCreateResponse) Status() string
Status returns HTTPResponse.Status
func (InstanceCredentialsCreateResponse) StatusCode ¶
func (r InstanceCredentialsCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InstanceCredentialsDeleteResponse ¶
type InstanceCredentialsDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Message JSON403 *PermissionDenied JSON404 *Message JSON500 *Message HasError error // Aggregated error }
func (InstanceCredentialsDeleteResponse) Status ¶
func (r InstanceCredentialsDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (InstanceCredentialsDeleteResponse) StatusCode ¶
func (r InstanceCredentialsDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InstanceCredentialsListResponse ¶
type InstanceCredentialsListResponse struct { Body []byte HTTPResponse *http.Response JSON201 *CredentialsListResponse JSON403 *PermissionDenied HasError error // Aggregated error }
func (InstanceCredentialsListResponse) Status ¶
func (r InstanceCredentialsListResponse) Status() string
Status returns HTTPResponse.Status
func (InstanceCredentialsListResponse) StatusCode ¶
func (r InstanceCredentialsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InstanceCredentialsReadResponse ¶
type InstanceCredentialsReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ServiceKeysResponse JSON403 *PermissionDenied JSON404 *Message HasError error // Aggregated error }
func (InstanceCredentialsReadResponse) Status ¶
func (r InstanceCredentialsReadResponse) Status() string
Status returns HTTPResponse.Status
func (InstanceCredentialsReadResponse) StatusCode ¶
func (r InstanceCredentialsReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InstanceCredentialsRemoteWriteLimitsDeleteResponse ¶
type InstanceCredentialsRemoteWriteLimitsDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CredentialsRemoteWriteDeleteResponse JSON400 *Error JSON403 *PermissionDenied JSON404 *Message JSON502 *Message HasError error // Aggregated error }
func (InstanceCredentialsRemoteWriteLimitsDeleteResponse) Status ¶
func (r InstanceCredentialsRemoteWriteLimitsDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (InstanceCredentialsRemoteWriteLimitsDeleteResponse) StatusCode ¶
func (r InstanceCredentialsRemoteWriteLimitsDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InstanceCredentialsRemoteWriteLimitsListResponse ¶
type InstanceCredentialsRemoteWriteLimitsListResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CredentialsRemoteWriteResponse JSON403 *PermissionDenied JSON404 *Message JSON502 *Message HasError error // Aggregated error }
func (InstanceCredentialsRemoteWriteLimitsListResponse) Status ¶
func (r InstanceCredentialsRemoteWriteLimitsListResponse) Status() string
Status returns HTTPResponse.Status
func (InstanceCredentialsRemoteWriteLimitsListResponse) StatusCode ¶
func (r InstanceCredentialsRemoteWriteLimitsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InstanceCredentialsRemoteWriteLimitsUpdateJSONBody ¶
type InstanceCredentialsRemoteWriteLimitsUpdateJSONBody struct { // MaxLimit Remote write metric sample limit for credential to push in a single minute. MaxLimit *float32 `json:"maxLimit,omitempty"` }
InstanceCredentialsRemoteWriteLimitsUpdateJSONBody defines parameters for InstanceCredentialsRemoteWriteLimitsUpdate.
type InstanceCredentialsRemoteWriteLimitsUpdateJSONRequestBody ¶
type InstanceCredentialsRemoteWriteLimitsUpdateJSONRequestBody InstanceCredentialsRemoteWriteLimitsUpdateJSONBody
InstanceCredentialsRemoteWriteLimitsUpdateJSONRequestBody defines body for InstanceCredentialsRemoteWriteLimitsUpdate for application/json ContentType.
type InstanceCredentialsRemoteWriteLimitsUpdateResponse ¶
type InstanceCredentialsRemoteWriteLimitsUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CredentialsRemoteWriteResponse JSON400 *Error JSON403 *PermissionDenied JSON404 *Message JSON502 *Message HasError error // Aggregated error }
func (InstanceCredentialsRemoteWriteLimitsUpdateResponse) Status ¶
func (r InstanceCredentialsRemoteWriteLimitsUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (InstanceCredentialsRemoteWriteLimitsUpdateResponse) StatusCode ¶
func (r InstanceCredentialsRemoteWriteLimitsUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InstanceDeleteResponse ¶
type InstanceDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON202 *ProjectInstancesUpdateResponse JSON403 *PermissionDenied HasError error // Aggregated error }
func (InstanceDeleteResponse) Status ¶
func (r InstanceDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (InstanceDeleteResponse) StatusCode ¶
func (r InstanceDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InstanceListResponse ¶
type InstanceListResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ProjectInstanceFullMany JSON403 *PermissionDenied HasError error // Aggregated error }
func (InstanceListResponse) Status ¶
func (r InstanceListResponse) Status() string
Status returns HTTPResponse.Status
func (InstanceListResponse) StatusCode ¶
func (r InstanceListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InstanceReadResponse ¶
type InstanceReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ProjectInstanceUI JSON403 *PermissionDenied HasError error // Aggregated error }
func (InstanceReadResponse) Status ¶
func (r InstanceReadResponse) Status() string
Status returns HTTPResponse.Status
func (InstanceReadResponse) StatusCode ¶
func (r InstanceReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InstanceSensitiveData ¶
type InstanceSensitiveData struct { AlertingURL string `json:"alertingUrl"` Cluster string `json:"cluster"` DashboardURL string `json:"dashboardUrl"` GrafanaAdminPassword string `json:"grafanaAdminPassword"` GrafanaAdminUser string `json:"grafanaAdminUser"` GrafanaPublicReadAccess bool `json:"grafanaPublicReadAccess"` GrafanaURL string `json:"grafanaUrl"` Instance string `json:"instance"` JaegerTracesURL string `json:"jaegerTracesUrl"` JaegerUiURL string `json:"jaegerUiUrl"` LogsPushURL string `json:"logsPushUrl"` LogsURL string `json:"logsUrl"` MetricsRetentionTime1h int `json:"metricsRetentionTime1h"` MetricsRetentionTime5m int `json:"metricsRetentionTime5m"` MetricsRetentionTimeRaw int `json:"metricsRetentionTimeRaw"` MetricsURL string `json:"metricsUrl"` Name *string `json:"name,omitempty"` OtlpTracesURL string `json:"otlpTracesUrl"` Plan PlanModel `json:"plan"` PushMetricsURL string `json:"pushMetricsUrl"` TargetsURL string `json:"targetsUrl"` ZipkinSpansURL string `json:"zipkinSpansUrl"` }
InstanceSensitiveData defines model for InstanceSensitiveData.
type InstanceUpdateJSONBody ¶
type InstanceUpdateJSONBody struct { // Name Name of the service Name *string `json:"name,omitempty"` // Parameter additional parameters Parameter *map[string]interface{} `json:"parameter,omitempty"` // PlanId uuid of the plan to create/update PlanID string `json:"planId"` }
InstanceUpdateJSONBody defines parameters for InstanceUpdate.
type InstanceUpdateJSONRequestBody ¶
type InstanceUpdateJSONRequestBody InstanceUpdateJSONBody
InstanceUpdateJSONRequestBody defines body for InstanceUpdate for application/json ContentType.
type InstanceUpdateResponse ¶
type InstanceUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON202 *ProjectInstancesUpdateResponse JSON400 *Error JSON403 *PermissionDenied HasError error // Aggregated error }
func (InstanceUpdateResponse) Status ¶
func (r InstanceUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (InstanceUpdateResponse) StatusCode ¶
func (r InstanceUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Message ¶
type Message struct {
Message string `json:"message"`
}
Message defines model for Message.
type PermissionDenied ¶
type PermissionDenied struct {
Detail string `json:"detail"`
}
PermissionDenied defines model for PermissionDenied.
type PlanModel ¶
type PlanModel struct { AlertMatchers int `json:"alertMatchers"` AlertReceivers int `json:"alertReceivers"` AlertRules int `json:"alertRules"` Amount *float32 `json:"amount,omitempty"` BucketSize int `json:"bucketSize"` Description *string `json:"description,omitempty"` GrafanaGlobalDashboards int `json:"grafanaGlobalDashboards"` GrafanaGlobalOrgs int `json:"grafanaGlobalOrgs"` GrafanaGlobalSessions int `json:"grafanaGlobalSessions"` GrafanaGlobalUsers int `json:"grafanaGlobalUsers"` ID openapi_types.UUID `json:"id"` LogsAlert int `json:"logsAlert"` LogsStorage int `json:"logsStorage"` Name *string `json:"name,omitempty"` PlanID openapi_types.UUID `json:"planId"` SamplesPerScrape int `json:"samplesPerScrape"` TargetNumber int `json:"targetNumber"` TracesStorage int `json:"tracesStorage"` }
PlanModel defines model for PlanModel.
type ProjectInstanceFull ¶
type ProjectInstanceFull struct { Error *string `json:"error"` ID string `json:"id"` Instance string `json:"instance"` Name *string `json:"name,omitempty"` PlanName string `json:"planName"` ServiceName string `json:"serviceName"` Status ProjectInstanceFullStatus `json:"status"` }
ProjectInstanceFull defines model for ProjectInstanceFull.
type ProjectInstanceFullMany ¶
type ProjectInstanceFullMany struct { Instances []ProjectInstanceFull `json:"instances"` Message string `json:"message"` }
ProjectInstanceFullMany defines model for ProjectInstanceFullMany.
type ProjectInstanceFullStatus ¶
type ProjectInstanceFullStatus string
ProjectInstanceFullStatus defines model for ProjectInstanceFull.Status.
const ( ProjectInstanceFullStatusCREATE_FAILED ProjectInstanceFullStatus = "CREATE_FAILED" ProjectInstanceFullStatusCREATE_SUCCEEDED ProjectInstanceFullStatus = "CREATE_SUCCEEDED" ProjectInstanceFullStatusCREATING ProjectInstanceFullStatus = "CREATING" ProjectInstanceFullStatusDELETE_FAILED ProjectInstanceFullStatus = "DELETE_FAILED" ProjectInstanceFullStatusDELETE_SUCCEEDED ProjectInstanceFullStatus = "DELETE_SUCCEEDED" ProjectInstanceFullStatusDELETING ProjectInstanceFullStatus = "DELETING" ProjectInstanceFullStatusUPDATE_FAILED ProjectInstanceFullStatus = "UPDATE_FAILED" ProjectInstanceFullStatusUPDATE_SUCCEEDED ProjectInstanceFullStatus = "UPDATE_SUCCEEDED" ProjectInstanceFullStatusUPDATING ProjectInstanceFullStatus = "UPDATING" )
Defines values for ProjectInstanceFullStatus.
type ProjectInstanceUI ¶
type ProjectInstanceUI struct { DashboardURL string `json:"dashboardUrl"` Error *string `json:"error"` ID string `json:"id"` Instance InstanceSensitiveData `json:"instance"` IsUpdatable *bool `json:"isUpdatable,omitempty"` Message string `json:"message"` Name *string `json:"name,omitempty"` Parameters *map[string]string `json:"parameters,omitempty"` PlanID string `json:"planId"` PlanName string `json:"planName"` PlanSchema *string `json:"planSchema,omitempty"` ServiceName string `json:"serviceName"` Status ProjectInstanceUIStatus `json:"status"` }
ProjectInstanceUI defines model for ProjectInstanceUI.
type ProjectInstanceUIStatus ¶
type ProjectInstanceUIStatus string
ProjectInstanceUIStatus defines model for ProjectInstanceUI.Status.
const ( ProjectInstanceUIStatusCREATE_FAILED ProjectInstanceUIStatus = "CREATE_FAILED" ProjectInstanceUIStatusCREATE_SUCCEEDED ProjectInstanceUIStatus = "CREATE_SUCCEEDED" ProjectInstanceUIStatusCREATING ProjectInstanceUIStatus = "CREATING" ProjectInstanceUIStatusDELETE_FAILED ProjectInstanceUIStatus = "DELETE_FAILED" ProjectInstanceUIStatusDELETE_SUCCEEDED ProjectInstanceUIStatus = "DELETE_SUCCEEDED" ProjectInstanceUIStatusDELETING ProjectInstanceUIStatus = "DELETING" ProjectInstanceUIStatusUPDATE_FAILED ProjectInstanceUIStatus = "UPDATE_FAILED" ProjectInstanceUIStatusUPDATE_SUCCEEDED ProjectInstanceUIStatus = "UPDATE_SUCCEEDED" ProjectInstanceUIStatusUPDATING ProjectInstanceUIStatus = "UPDATING" )
Defines values for ProjectInstanceUIStatus.
type ProjectInstancesCreateResponse ¶
type ProjectInstancesCreateResponse struct { DashboardURL string `json:"dashboardUrl"` InstanceID string `json:"instanceId"` Message string `json:"message"` }
ProjectInstancesCreateResponse defines model for ProjectInstancesCreateResponse.
type ProjectInstancesUpdateResponse ¶
type ProjectInstancesUpdateResponse struct {
Message string `json:"message"`
}
ProjectInstancesUpdateResponse defines model for ProjectInstancesUpdateResponse.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ServiceKeysList ¶
type ServiceKeysList struct { CredentialsInfo *map[string]string `json:"credentialsInfo,omitempty"` ID string `json:"id"` Name string `json:"name"` }
ServiceKeysList defines model for ServiceKeysList.
type ServiceKeysResponse ¶
type ServiceKeysResponse struct { CredentialsInfo *map[string]string `json:"credentialsInfo,omitempty"` ID string `json:"id"` Message string `json:"message"` Name string `json:"name"` }
ServiceKeysResponse defines model for ServiceKeysResponse.
type SystemInstance ¶
type SystemInstance struct { AlertingURL string `json:"alertingUrl"` Instance string `json:"instance"` JaegerTracesURL string `json:"jaegerTracesUrl"` JaegerUiURL string `json:"jaegerUiUrl"` LogsPushURL string `json:"logsPushUrl"` LogsURL string `json:"logsUrl"` MetricsURL string `json:"metricsUrl"` Name *string `json:"name,omitempty"` OtlpTracesURL string `json:"otlpTracesUrl"` PushMetricsURL string `json:"pushMetricsUrl"` TargetsURL string `json:"targetsUrl"` ZipkinSpansURL string `json:"zipkinSpansUrl"` }
SystemInstance defines model for SystemInstance.
type SystemInstanceResponse ¶
type SystemInstanceResponse struct { Instance SystemInstance `json:"instance"` Message string `json:"message"` }
SystemInstanceResponse defines model for SystemInstanceResponse.
type SystemInstancesCredentialsCreateJSONBody ¶
type SystemInstancesCredentialsCreateJSONBody struct { // RemoteWriteMaxLimit Remote write metric sample limit for credential to push in a single minute. RemoteWriteMaxLimit *float32 `json:"remoteWriteMaxLimit,omitempty"` }
SystemInstancesCredentialsCreateJSONBody defines parameters for SystemInstancesCredentialsCreate.
type SystemInstancesCredentialsCreateJSONRequestBody ¶
type SystemInstancesCredentialsCreateJSONRequestBody SystemInstancesCredentialsCreateJSONBody
SystemInstancesCredentialsCreateJSONRequestBody defines body for SystemInstancesCredentialsCreate for application/json ContentType.
type SystemInstancesCredentialsCreateResponse ¶
type SystemInstancesCredentialsCreateResponse struct { Body []byte HTTPResponse *http.Response JSON201 *APIUserCreated JSON403 *PermissionDenied HasError error // Aggregated error }
func (SystemInstancesCredentialsCreateResponse) Status ¶
func (r SystemInstancesCredentialsCreateResponse) Status() string
Status returns HTTPResponse.Status
func (SystemInstancesCredentialsCreateResponse) StatusCode ¶
func (r SystemInstancesCredentialsCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SystemInstancesCredentialsDeleteResponse ¶
type SystemInstancesCredentialsDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Message JSON403 *PermissionDenied JSON404 *Message JSON500 *Message HasError error // Aggregated error }
func (SystemInstancesCredentialsDeleteResponse) Status ¶
func (r SystemInstancesCredentialsDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (SystemInstancesCredentialsDeleteResponse) StatusCode ¶
func (r SystemInstancesCredentialsDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SystemInstancesReadResponse ¶
type SystemInstancesReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SystemInstanceResponse JSON403 *PermissionDenied JSON404 *Message HasError error // Aggregated error }
func (SystemInstancesReadResponse) Status ¶
func (r SystemInstancesReadResponse) Status() string
Status returns HTTPResponse.Status
func (SystemInstancesReadResponse) StatusCode ¶
func (r SystemInstancesReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode