Documentation
¶
Overview ¶
Package instances provides primitives to interact with the openapi HTTP API.
Code generated by dev.azure.com/schwarzit/schwarzit.odj.core/_git/stackit-client-generator.git version v1.0.23 DO NOT EDIT.
Index ¶
- Constants
- 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 NewCredentialsCreateRequest(ctx context.Context, server string, projectID string, instanceID string) (*http.Request, error)
- func NewCredentialsDeleteRequest(ctx context.Context, server string, projectID string, instanceID string, ...) (*http.Request, error)
- func NewCredentialsReadRequest(ctx context.Context, server string, projectID string, instanceID string, ...) (*http.Request, error)
- func NewCredentialsRemoteWriteLimitsDeleteRequest(ctx context.Context, server string, projectID string, instanceID string, ...) (*http.Request, error)
- func NewCredentialsRemoteWriteLimitsListRequest(ctx context.Context, server string, projectID string, instanceID string, ...) (*http.Request, error)
- func NewCredentialsRemoteWriteLimitsUpdateRequest(ctx context.Context, server string, projectID string, instanceID string, ...) (*http.Request, error)
- func NewCredentialsRemoteWriteLimitsUpdateRequestWithBody(ctx context.Context, server string, projectID string, instanceID 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 NewListInstanceCredentialsRequest(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 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)
- func NewUpdateRequest(ctx context.Context, server string, projectID string, instanceID string, ...) (*http.Request, error)
- func NewUpdateRequestWithBody(ctx context.Context, server string, projectID string, instanceID string, ...) (*http.Request, error)
- type APIUserCreated
- type APIUserProjectCreated
- type Client
- 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) CredentialsCreateRaw(ctx context.Context, projectID string, instanceID string, ...) (*http.Response, error)
- func (c *Client) CredentialsDeleteRaw(ctx context.Context, projectID string, instanceID string, username string, ...) (*http.Response, error)
- func (c *Client) CredentialsReadRaw(ctx context.Context, projectID string, instanceID string, username string, ...) (*http.Response, error)
- func (c *Client) CredentialsRemoteWriteLimitsDeleteRaw(ctx context.Context, projectID string, instanceID string, username string, ...) (*http.Response, error)
- func (c *Client) CredentialsRemoteWriteLimitsListRaw(ctx context.Context, projectID string, instanceID string, username string, ...) (*http.Response, error)
- func (c *Client) CredentialsRemoteWriteLimitsUpdateRaw(ctx context.Context, projectID string, instanceID string, username string, ...) (*http.Response, error)
- func (c *Client) CredentialsRemoteWriteLimitsUpdateRawWithBody(ctx context.Context, projectID string, instanceID string, username string, ...) (*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) ListInstanceCredentialsRaw(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) SystemInstancesCredentialsCreateRaw(ctx context.Context, projectID string, instanceID string, ...) (*http.Response, error)
- func (c *Client) SystemInstancesCredentialsCreateRawWithBody(ctx context.Context, projectID string, instanceID string, contentType string, ...) (*http.Response, error)
- func (c *Client) SystemInstancesCredentialsDeleteRaw(ctx context.Context, projectID string, instanceID string, username string, ...) (*http.Response, error)
- func (c *Client) SystemInstancesReadRaw(ctx context.Context, projectID string, instanceID string, ...) (*http.Response, error)
- func (c *Client) UpdateRaw(ctx context.Context, projectID string, instanceID string, ...) (*http.Response, error)
- func (c *Client) UpdateRawWithBody(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) CreateWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, ...) (*CreateResponse, error)
- func (c *ClientWithResponses) CredentialsCreate(ctx context.Context, projectID string, instanceID string, ...) (*CredentialsCreateResponse, error)
- func (c *ClientWithResponses) CredentialsDelete(ctx context.Context, projectID string, instanceID string, username string, ...) (*CredentialsDeleteResponse, error)
- func (c *ClientWithResponses) CredentialsRead(ctx context.Context, projectID string, instanceID string, username string, ...) (*CredentialsReadResponse, error)
- func (c *ClientWithResponses) CredentialsRemoteWriteLimitsDelete(ctx context.Context, projectID string, instanceID string, username string, ...) (*CredentialsRemoteWriteLimitsDeleteResponse, error)
- func (c *ClientWithResponses) CredentialsRemoteWriteLimitsList(ctx context.Context, projectID string, instanceID string, username string, ...) (*CredentialsRemoteWriteLimitsListResponse, error)
- func (c *ClientWithResponses) CredentialsRemoteWriteLimitsUpdate(ctx context.Context, projectID string, instanceID string, username string, ...) (*CredentialsRemoteWriteLimitsUpdateResponse, error)
- func (c *ClientWithResponses) CredentialsRemoteWriteLimitsUpdateWithBody(ctx context.Context, projectID string, instanceID string, username string, ...) (*CredentialsRemoteWriteLimitsUpdateResponse, 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) ListInstanceCredentials(ctx context.Context, projectID string, instanceID string, ...) (*ListInstanceCredentialsResponse, error)
- func (c *ClientWithResponses) ParseCreateResponse(rsp *http.Response) (*CreateResponse, error)
- func (c *ClientWithResponses) ParseCredentialsCreateResponse(rsp *http.Response) (*CredentialsCreateResponse, error)
- func (c *ClientWithResponses) ParseCredentialsDeleteResponse(rsp *http.Response) (*CredentialsDeleteResponse, error)
- func (c *ClientWithResponses) ParseCredentialsReadResponse(rsp *http.Response) (*CredentialsReadResponse, error)
- func (c *ClientWithResponses) ParseCredentialsRemoteWriteLimitsDeleteResponse(rsp *http.Response) (*CredentialsRemoteWriteLimitsDeleteResponse, error)
- func (c *ClientWithResponses) ParseCredentialsRemoteWriteLimitsListResponse(rsp *http.Response) (*CredentialsRemoteWriteLimitsListResponse, error)
- func (c *ClientWithResponses) ParseCredentialsRemoteWriteLimitsUpdateResponse(rsp *http.Response) (*CredentialsRemoteWriteLimitsUpdateResponse, error)
- func (c *ClientWithResponses) ParseDeleteResponse(rsp *http.Response) (*DeleteResponse, error)
- func (c *ClientWithResponses) ParseGetResponse(rsp *http.Response) (*GetResponse, error)
- func (c *ClientWithResponses) ParseListInstanceCredentialsResponse(rsp *http.Response) (*ListInstanceCredentialsResponse, error)
- func (c *ClientWithResponses) ParseListResponse(rsp *http.Response) (*ListResponse, 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) ParseUpdateResponse(rsp *http.Response) (*UpdateResponse, error)
- func (c *ClientWithResponses) SystemInstancesCredentialsCreate(ctx context.Context, projectID string, instanceID string, ...) (*SystemInstancesCredentialsCreateResponse, error)
- func (c *ClientWithResponses) SystemInstancesCredentialsCreateWithBody(ctx context.Context, projectID string, instanceID string, contentType string, ...) (*SystemInstancesCredentialsCreateResponse, error)
- func (c *ClientWithResponses) SystemInstancesCredentialsDelete(ctx context.Context, projectID string, instanceID string, username string, ...) (*SystemInstancesCredentialsDeleteResponse, error)
- func (c *ClientWithResponses) SystemInstancesRead(ctx context.Context, projectID string, instanceID string, ...) (*SystemInstancesReadResponse, error)
- func (c *ClientWithResponses) Update(ctx context.Context, projectID string, instanceID string, ...) (*UpdateResponse, error)
- func (c *ClientWithResponses) UpdateWithBody(ctx context.Context, projectID string, instanceID string, contentType string, ...) (*UpdateResponse, error)
- type ClientWithResponsesInterface
- type CreateJSONBody
- type CreateJSONRequestBody
- type CreateResponse
- type Credentials
- type CredentialsCreateResponse
- type CredentialsDeleteResponse
- type CredentialsListResponse
- type CredentialsReadResponse
- type CredentialsRemoteWriteDeleteResponse
- type CredentialsRemoteWriteLimitsDeleteResponse
- type CredentialsRemoteWriteLimitsListResponse
- type CredentialsRemoteWriteLimitsUpdateJSONBody
- type CredentialsRemoteWriteLimitsUpdateJSONRequestBody
- type CredentialsRemoteWriteLimitsUpdateResponse
- type CredentialsRemoteWriteResponse
- type DeleteResponse
- type Error
- type GetResponse
- type InstanceSensitiveData
- type ListInstanceCredentialsResponse
- type ListResponse
- 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
- type UpdateJSONBody
- type UpdateJSONRequestBody
- type UpdateResponse
Constants ¶
const (
BearerAuthScopes = "bearerAuth.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
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 NewCredentialsCreateRequest ¶
func NewCredentialsCreateRequest(ctx context.Context, server string, projectID string, instanceID string) (*http.Request, error)
NewCredentialsCreateRequest generates requests for CredentialsCreate
func NewCredentialsDeleteRequest ¶
func NewCredentialsDeleteRequest(ctx context.Context, server string, projectID string, instanceID string, username string) (*http.Request, error)
NewCredentialsDeleteRequest generates requests for CredentialsDelete
func NewCredentialsReadRequest ¶
func NewCredentialsReadRequest(ctx context.Context, server string, projectID string, instanceID string, username string) (*http.Request, error)
NewCredentialsReadRequest generates requests for CredentialsRead
func NewCredentialsRemoteWriteLimitsDeleteRequest ¶
func NewCredentialsRemoteWriteLimitsDeleteRequest(ctx context.Context, server string, projectID string, instanceID string, username string) (*http.Request, error)
NewCredentialsRemoteWriteLimitsDeleteRequest generates requests for CredentialsRemoteWriteLimitsDelete
func NewCredentialsRemoteWriteLimitsListRequest ¶
func NewCredentialsRemoteWriteLimitsListRequest(ctx context.Context, server string, projectID string, instanceID string, username string) (*http.Request, error)
NewCredentialsRemoteWriteLimitsListRequest generates requests for CredentialsRemoteWriteLimitsList
func NewCredentialsRemoteWriteLimitsUpdateRequest ¶
func NewCredentialsRemoteWriteLimitsUpdateRequest(ctx context.Context, server string, projectID string, instanceID string, username string, body CredentialsRemoteWriteLimitsUpdateJSONRequestBody) (*http.Request, error)
NewCredentialsRemoteWriteLimitsUpdateRequest calls the generic CredentialsRemoteWriteLimitsUpdate builder with application/json body
func NewCredentialsRemoteWriteLimitsUpdateRequestWithBody ¶
func NewCredentialsRemoteWriteLimitsUpdateRequestWithBody(ctx context.Context, server string, projectID string, instanceID string, username string, contentType string, body io.Reader) (*http.Request, error)
NewCredentialsRemoteWriteLimitsUpdateRequestWithBody generates requests for CredentialsRemoteWriteLimitsUpdate 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 NewListInstanceCredentialsRequest ¶
func NewListInstanceCredentialsRequest(ctx context.Context, server string, projectID string, instanceID string) (*http.Request, error)
NewListInstanceCredentialsRequest generates requests for ListInstanceCredentials
func NewListRequest ¶
NewListRequest generates requests for List
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
func NewSystemInstancesReadRequest ¶
func NewSystemInstancesReadRequest(ctx context.Context, server string, projectID string, instanceID string) (*http.Request, error)
NewSystemInstancesReadRequest generates requests for SystemInstancesRead
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 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) CreateRaw ¶
func (c *Client) CreateRaw(ctx context.Context, projectID string, body CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateRawWithBody ¶
func (*Client) CredentialsCreateRaw ¶
func (*Client) CredentialsDeleteRaw ¶
func (*Client) CredentialsReadRaw ¶
func (*Client) CredentialsRemoteWriteLimitsDeleteRaw ¶
func (*Client) CredentialsRemoteWriteLimitsListRaw ¶
func (*Client) CredentialsRemoteWriteLimitsUpdateRaw ¶
func (*Client) CredentialsRemoteWriteLimitsUpdateRawWithBody ¶
func (*Client) ListInstanceCredentialsRaw ¶
func (*Client) SystemInstancesCredentialsCreateRaw ¶
func (c *Client) SystemInstancesCredentialsCreateRaw(ctx context.Context, projectID string, instanceID string, body SystemInstancesCredentialsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SystemInstancesCredentialsCreateRawWithBody ¶
func (*Client) SystemInstancesCredentialsDeleteRaw ¶
func (*Client) SystemInstancesReadRaw ¶
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) 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) CredentialsCreate ¶
func (c *ClientWithResponses) CredentialsCreate(ctx context.Context, projectID string, instanceID string, reqEditors ...RequestEditorFn) (*CredentialsCreateResponse, error)
CredentialsCreate request returning *CredentialsCreateResponse
func (*ClientWithResponses) CredentialsDelete ¶
func (c *ClientWithResponses) CredentialsDelete(ctx context.Context, projectID string, instanceID string, username string, reqEditors ...RequestEditorFn) (*CredentialsDeleteResponse, error)
CredentialsDelete request returning *CredentialsDeleteResponse
func (*ClientWithResponses) CredentialsRead ¶
func (c *ClientWithResponses) CredentialsRead(ctx context.Context, projectID string, instanceID string, username string, reqEditors ...RequestEditorFn) (*CredentialsReadResponse, error)
CredentialsRead request returning *CredentialsReadResponse
func (*ClientWithResponses) CredentialsRemoteWriteLimitsDelete ¶
func (c *ClientWithResponses) CredentialsRemoteWriteLimitsDelete(ctx context.Context, projectID string, instanceID string, username string, reqEditors ...RequestEditorFn) (*CredentialsRemoteWriteLimitsDeleteResponse, error)
CredentialsRemoteWriteLimitsDelete request returning *CredentialsRemoteWriteLimitsDeleteResponse
func (*ClientWithResponses) CredentialsRemoteWriteLimitsList ¶
func (c *ClientWithResponses) CredentialsRemoteWriteLimitsList(ctx context.Context, projectID string, instanceID string, username string, reqEditors ...RequestEditorFn) (*CredentialsRemoteWriteLimitsListResponse, error)
CredentialsRemoteWriteLimitsList request returning *CredentialsRemoteWriteLimitsListResponse
func (*ClientWithResponses) CredentialsRemoteWriteLimitsUpdate ¶
func (c *ClientWithResponses) CredentialsRemoteWriteLimitsUpdate(ctx context.Context, projectID string, instanceID string, username string, body CredentialsRemoteWriteLimitsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CredentialsRemoteWriteLimitsUpdateResponse, error)
func (*ClientWithResponses) CredentialsRemoteWriteLimitsUpdateWithBody ¶
func (c *ClientWithResponses) CredentialsRemoteWriteLimitsUpdateWithBody(ctx context.Context, projectID string, instanceID string, username string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CredentialsRemoteWriteLimitsUpdateResponse, error)
CredentialsRemoteWriteLimitsUpdateWithBody request with arbitrary body returning *CredentialsRemoteWriteLimitsUpdateResponse
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) ListInstanceCredentials ¶
func (c *ClientWithResponses) ListInstanceCredentials(ctx context.Context, projectID string, instanceID string, reqEditors ...RequestEditorFn) (*ListInstanceCredentialsResponse, error)
ListInstanceCredentials request returning *ListInstanceCredentialsResponse
func (*ClientWithResponses) ParseCreateResponse ¶
func (c *ClientWithResponses) ParseCreateResponse(rsp *http.Response) (*CreateResponse, error)
ParseCreateResponse parses an HTTP response from a Create call
func (*ClientWithResponses) ParseCredentialsCreateResponse ¶
func (c *ClientWithResponses) ParseCredentialsCreateResponse(rsp *http.Response) (*CredentialsCreateResponse, error)
ParseCredentialsCreateResponse parses an HTTP response from a CredentialsCreate call
func (*ClientWithResponses) ParseCredentialsDeleteResponse ¶
func (c *ClientWithResponses) ParseCredentialsDeleteResponse(rsp *http.Response) (*CredentialsDeleteResponse, error)
ParseCredentialsDeleteResponse parses an HTTP response from a CredentialsDelete call
func (*ClientWithResponses) ParseCredentialsReadResponse ¶
func (c *ClientWithResponses) ParseCredentialsReadResponse(rsp *http.Response) (*CredentialsReadResponse, error)
ParseCredentialsReadResponse parses an HTTP response from a CredentialsRead call
func (*ClientWithResponses) ParseCredentialsRemoteWriteLimitsDeleteResponse ¶
func (c *ClientWithResponses) ParseCredentialsRemoteWriteLimitsDeleteResponse(rsp *http.Response) (*CredentialsRemoteWriteLimitsDeleteResponse, error)
ParseCredentialsRemoteWriteLimitsDeleteResponse parses an HTTP response from a CredentialsRemoteWriteLimitsDelete call
func (*ClientWithResponses) ParseCredentialsRemoteWriteLimitsListResponse ¶
func (c *ClientWithResponses) ParseCredentialsRemoteWriteLimitsListResponse(rsp *http.Response) (*CredentialsRemoteWriteLimitsListResponse, error)
ParseCredentialsRemoteWriteLimitsListResponse parses an HTTP response from a CredentialsRemoteWriteLimitsList call
func (*ClientWithResponses) ParseCredentialsRemoteWriteLimitsUpdateResponse ¶
func (c *ClientWithResponses) ParseCredentialsRemoteWriteLimitsUpdateResponse(rsp *http.Response) (*CredentialsRemoteWriteLimitsUpdateResponse, error)
ParseCredentialsRemoteWriteLimitsUpdateResponse parses an HTTP response from a CredentialsRemoteWriteLimitsUpdate 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) ParseListInstanceCredentialsResponse ¶
func (c *ClientWithResponses) ParseListInstanceCredentialsResponse(rsp *http.Response) (*ListInstanceCredentialsResponse, error)
ParseListInstanceCredentialsResponse parses an HTTP response from a ListInstanceCredentials call
func (*ClientWithResponses) ParseListResponse ¶
func (c *ClientWithResponses) ParseListResponse(rsp *http.Response) (*ListResponse, error)
ParseListResponse parses an HTTP response from a List call
func (*ClientWithResponses) ParseSystemInstancesCredentialsCreateResponse ¶
func (c *ClientWithResponses) ParseSystemInstancesCredentialsCreateResponse(rsp *http.Response) (*SystemInstancesCredentialsCreateResponse, error)
ParseSystemInstancesCredentialsCreateResponse parses an HTTP response from a SystemInstancesCredentialsCreate call
func (*ClientWithResponses) ParseSystemInstancesCredentialsDeleteResponse ¶
func (c *ClientWithResponses) ParseSystemInstancesCredentialsDeleteResponse(rsp *http.Response) (*SystemInstancesCredentialsDeleteResponse, error)
ParseSystemInstancesCredentialsDeleteResponse parses an HTTP response from a SystemInstancesCredentialsDelete call
func (*ClientWithResponses) ParseSystemInstancesReadResponse ¶
func (c *ClientWithResponses) ParseSystemInstancesReadResponse(rsp *http.Response) (*SystemInstancesReadResponse, error)
ParseSystemInstancesReadResponse parses an HTTP response from a SystemInstancesRead call
func (*ClientWithResponses) ParseUpdateResponse ¶
func (c *ClientWithResponses) ParseUpdateResponse(rsp *http.Response) (*UpdateResponse, error)
ParseUpdateResponse parses an HTTP response from a Update call
func (*ClientWithResponses) SystemInstancesCredentialsCreate ¶
func (c *ClientWithResponses) SystemInstancesCredentialsCreate(ctx context.Context, projectID string, instanceID string, body SystemInstancesCredentialsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*SystemInstancesCredentialsCreateResponse, error)
func (*ClientWithResponses) SystemInstancesCredentialsCreateWithBody ¶
func (c *ClientWithResponses) SystemInstancesCredentialsCreateWithBody(ctx context.Context, projectID string, instanceID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SystemInstancesCredentialsCreateResponse, error)
SystemInstancesCredentialsCreateWithBody request with arbitrary body returning *SystemInstancesCredentialsCreateResponse
func (*ClientWithResponses) SystemInstancesCredentialsDelete ¶
func (c *ClientWithResponses) SystemInstancesCredentialsDelete(ctx context.Context, projectID string, instanceID string, username string, reqEditors ...RequestEditorFn) (*SystemInstancesCredentialsDeleteResponse, error)
SystemInstancesCredentialsDelete request returning *SystemInstancesCredentialsDeleteResponse
func (*ClientWithResponses) SystemInstancesRead ¶
func (c *ClientWithResponses) SystemInstancesRead(ctx context.Context, projectID string, instanceID string, reqEditors ...RequestEditorFn) (*SystemInstancesReadResponse, error)
SystemInstancesRead request returning *SystemInstancesReadResponse
func (*ClientWithResponses) Update ¶
func (c *ClientWithResponses) Update(ctx context.Context, projectID string, instanceID string, body UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateResponse, error)
func (*ClientWithResponses) UpdateWithBody ¶
func (c *ClientWithResponses) UpdateWithBody(ctx context.Context, projectID string, instanceID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateResponse, error)
UpdateWithBody request with arbitrary body returning *UpdateResponse
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) // Update request with any body UpdateWithBody(ctx context.Context, projectID string, instanceID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateResponse, error) Update(ctx context.Context, projectID string, instanceID string, body UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateResponse, error) // ListInstanceCredentials request ListInstanceCredentials(ctx context.Context, projectID string, instanceID string, reqEditors ...RequestEditorFn) (*ListInstanceCredentialsResponse, error) // CredentialsCreate request CredentialsCreate(ctx context.Context, projectID string, instanceID string, reqEditors ...RequestEditorFn) (*CredentialsCreateResponse, error) // CredentialsDelete request CredentialsDelete(ctx context.Context, projectID string, instanceID string, username string, reqEditors ...RequestEditorFn) (*CredentialsDeleteResponse, error) // CredentialsRead request CredentialsRead(ctx context.Context, projectID string, instanceID string, username string, reqEditors ...RequestEditorFn) (*CredentialsReadResponse, error) // CredentialsRemoteWriteLimitsDelete request CredentialsRemoteWriteLimitsDelete(ctx context.Context, projectID string, instanceID string, username string, reqEditors ...RequestEditorFn) (*CredentialsRemoteWriteLimitsDeleteResponse, error) // CredentialsRemoteWriteLimitsList request CredentialsRemoteWriteLimitsList(ctx context.Context, projectID string, instanceID string, username string, reqEditors ...RequestEditorFn) (*CredentialsRemoteWriteLimitsListResponse, error) // CredentialsRemoteWriteLimitsUpdate request with any body CredentialsRemoteWriteLimitsUpdateWithBody(ctx context.Context, projectID string, instanceID string, username string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CredentialsRemoteWriteLimitsUpdateResponse, error) CredentialsRemoteWriteLimitsUpdate(ctx context.Context, projectID string, instanceID string, username string, body CredentialsRemoteWriteLimitsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CredentialsRemoteWriteLimitsUpdateResponse, error) // SystemInstancesRead request SystemInstancesRead(ctx context.Context, projectID string, instanceID string, reqEditors ...RequestEditorFn) (*SystemInstancesReadResponse, error) // SystemInstancesCredentialsCreate request with any body SystemInstancesCredentialsCreateWithBody(ctx context.Context, projectID string, instanceID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SystemInstancesCredentialsCreateResponse, error) SystemInstancesCredentialsCreate(ctx context.Context, projectID string, instanceID string, body SystemInstancesCredentialsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*SystemInstancesCredentialsCreateResponse, error) // SystemInstancesCredentialsDelete request SystemInstancesCredentialsDelete(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 CreateJSONBody ¶
type CreateJSONBody 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"` }
CreateJSONBody defines parameters for Create.
type CreateJSONRequestBody ¶
type CreateJSONRequestBody CreateJSONBody
CreateJSONRequestBody defines body for Create for application/json ContentType.
type CreateResponse ¶
type CreateResponse struct { Body []byte HTTPResponse *http.Response JSON202 *ProjectInstancesCreateResponse JSON400 *Error JSON403 *PermissionDenied 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 creation returned interface is nil or *ProjectInstanceUI
type Credentials ¶
Credentials defines model for Credentials.
type CredentialsCreateResponse ¶
type CredentialsCreateResponse struct { Body []byte HTTPResponse *http.Response JSON201 *APIUserProjectCreated JSON403 *PermissionDenied Error error // Aggregated error }
func (CredentialsCreateResponse) Status ¶
func (r CredentialsCreateResponse) Status() string
Status returns HTTPResponse.Status
func (CredentialsCreateResponse) StatusCode ¶
func (r CredentialsCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CredentialsDeleteResponse ¶
type CredentialsDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Message JSON403 *PermissionDenied JSON404 *Message JSON500 *Message Error error // Aggregated error }
func (CredentialsDeleteResponse) Status ¶
func (r CredentialsDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (CredentialsDeleteResponse) StatusCode ¶
func (r CredentialsDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CredentialsListResponse ¶
type CredentialsListResponse struct { Credentials []ServiceKeysList `json:"credentials"` Message string `json:"message"` }
CredentialsListResponse defines model for CredentialsListResponse.
type CredentialsReadResponse ¶
type CredentialsReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ServiceKeysResponse JSON403 *PermissionDenied JSON404 *Message Error error // Aggregated error }
func (CredentialsReadResponse) Status ¶
func (r CredentialsReadResponse) Status() string
Status returns HTTPResponse.Status
func (CredentialsReadResponse) StatusCode ¶
func (r CredentialsReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CredentialsRemoteWriteDeleteResponse ¶
type CredentialsRemoteWriteDeleteResponse struct { MaxLimit int `json:"maxLimit"` Message string `json:"message"` }
CredentialsRemoteWriteDeleteResponse defines model for CredentialsRemoteWriteDeleteResponse.
type CredentialsRemoteWriteLimitsDeleteResponse ¶
type CredentialsRemoteWriteLimitsDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CredentialsRemoteWriteDeleteResponse JSON400 *Error JSON403 *PermissionDenied JSON404 *Message JSON502 *Message Error error // Aggregated error }
func (CredentialsRemoteWriteLimitsDeleteResponse) Status ¶
func (r CredentialsRemoteWriteLimitsDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (CredentialsRemoteWriteLimitsDeleteResponse) StatusCode ¶
func (r CredentialsRemoteWriteLimitsDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CredentialsRemoteWriteLimitsListResponse ¶
type CredentialsRemoteWriteLimitsListResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CredentialsRemoteWriteResponse JSON403 *PermissionDenied JSON404 *Message JSON502 *Message Error error // Aggregated error }
func (CredentialsRemoteWriteLimitsListResponse) Status ¶
func (r CredentialsRemoteWriteLimitsListResponse) Status() string
Status returns HTTPResponse.Status
func (CredentialsRemoteWriteLimitsListResponse) StatusCode ¶
func (r CredentialsRemoteWriteLimitsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CredentialsRemoteWriteLimitsUpdateJSONBody ¶
type CredentialsRemoteWriteLimitsUpdateJSONBody struct { // MaxLimit Remote write metric sample limit for credential to push in a single minute. MaxLimit *float32 `json:"maxLimit,omitempty"` }
CredentialsRemoteWriteLimitsUpdateJSONBody defines parameters for CredentialsRemoteWriteLimitsUpdate.
type CredentialsRemoteWriteLimitsUpdateJSONRequestBody ¶
type CredentialsRemoteWriteLimitsUpdateJSONRequestBody CredentialsRemoteWriteLimitsUpdateJSONBody
CredentialsRemoteWriteLimitsUpdateJSONRequestBody defines body for CredentialsRemoteWriteLimitsUpdate for application/json ContentType.
type CredentialsRemoteWriteLimitsUpdateResponse ¶
type CredentialsRemoteWriteLimitsUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CredentialsRemoteWriteResponse JSON400 *Error JSON403 *PermissionDenied JSON404 *Message JSON502 *Message Error error // Aggregated error }
func (CredentialsRemoteWriteLimitsUpdateResponse) Status ¶
func (r CredentialsRemoteWriteLimitsUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (CredentialsRemoteWriteLimitsUpdateResponse) StatusCode ¶
func (r CredentialsRemoteWriteLimitsUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CredentialsRemoteWriteResponse ¶
type CredentialsRemoteWriteResponse struct { CredentialsMaxLimit int `json:"credentialsMaxLimit"` MaxLimit int `json:"maxLimit"` Message string `json:"message"` }
CredentialsRemoteWriteResponse defines model for CredentialsRemoteWriteResponse.
type DeleteResponse ¶
type DeleteResponse struct { Body []byte HTTPResponse *http.Response JSON202 *ProjectInstancesUpdateResponse JSON403 *PermissionDenied 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 deletion returned interface is nil
type Error ¶
type Error struct { Errors *[]map[string]string `json:"errors,omitempty"` Message string `json:"message"` }
Error defines model for Error.
type GetResponse ¶
type GetResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ProjectInstanceUI JSON403 *PermissionDenied Error error // Aggregated error }
func (GetResponse) StatusCode ¶
func (r GetResponse) 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 ListInstanceCredentialsResponse ¶
type ListInstanceCredentialsResponse struct { Body []byte HTTPResponse *http.Response JSON201 *CredentialsListResponse JSON403 *PermissionDenied Error error // Aggregated error }
func (ListInstanceCredentialsResponse) Status ¶
func (r ListInstanceCredentialsResponse) Status() string
Status returns HTTPResponse.Status
func (ListInstanceCredentialsResponse) StatusCode ¶
func (r ListInstanceCredentialsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListResponse ¶
type ListResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ProjectInstanceFullMany JSON403 *PermissionDenied 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 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 openapiTypes.UUID `json:"id"` LogsAlert int `json:"logsAlert"` LogsStorage int `json:"logsStorage"` Name *string `json:"name,omitempty"` PlanID openapiTypes.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 ( PROJECT_INSTANCE_FULL_STATUS_CREATE_FAILED ProjectInstanceFullStatus = "CREATE_FAILED" PROJECT_INSTANCE_FULL_STATUS_CREATE_SUCCEEDED ProjectInstanceFullStatus = "CREATE_SUCCEEDED" PROJECT_INSTANCE_FULL_STATUS_CREATING ProjectInstanceFullStatus = "CREATING" PROJECT_INSTANCE_FULL_STATUS_DELETE_FAILED ProjectInstanceFullStatus = "DELETE_FAILED" PROJECT_INSTANCE_FULL_STATUS_DELETE_SUCCEEDED ProjectInstanceFullStatus = "DELETE_SUCCEEDED" PROJECT_INSTANCE_FULL_STATUS_DELETING ProjectInstanceFullStatus = "DELETING" PROJECT_INSTANCE_FULL_STATUS_UPDATE_FAILED ProjectInstanceFullStatus = "UPDATE_FAILED" PROJECT_INSTANCE_FULL_STATUS_UPDATE_SUCCEEDED ProjectInstanceFullStatus = "UPDATE_SUCCEEDED" PROJECT_INSTANCE_FULL_STATUS_UPDATING 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 ( PROJECT_INSTANCE_UI_STATUS_CREATE_FAILED ProjectInstanceUIStatus = "CREATE_FAILED" PROJECT_INSTANCE_UI_STATUS_CREATE_SUCCEEDED ProjectInstanceUIStatus = "CREATE_SUCCEEDED" PROJECT_INSTANCE_UI_STATUS_CREATING ProjectInstanceUIStatus = "CREATING" PROJECT_INSTANCE_UI_STATUS_DELETE_FAILED ProjectInstanceUIStatus = "DELETE_FAILED" PROJECT_INSTANCE_UI_STATUS_DELETE_SUCCEEDED ProjectInstanceUIStatus = "DELETE_SUCCEEDED" PROJECT_INSTANCE_UI_STATUS_DELETING ProjectInstanceUIStatus = "DELETING" PROJECT_INSTANCE_UI_STATUS_UPDATE_FAILED ProjectInstanceUIStatus = "UPDATE_FAILED" PROJECT_INSTANCE_UI_STATUS_UPDATE_SUCCEEDED ProjectInstanceUIStatus = "UPDATE_SUCCEEDED" PROJECT_INSTANCE_UI_STATUS_UPDATING 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 Error 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 Error 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 Error 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
type UpdateJSONBody ¶
type UpdateJSONBody 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"` }
UpdateJSONBody defines parameters for Update.
type UpdateJSONRequestBody ¶
type UpdateJSONRequestBody UpdateJSONBody
UpdateJSONRequestBody defines body for Update for application/json ContentType.
type UpdateResponse ¶
type UpdateResponse struct { Body []byte HTTPResponse *http.Response JSON202 *ProjectInstancesUpdateResponse JSON400 *Error JSON403 *PermissionDenied Error error // Aggregated error }
func (UpdateResponse) Status ¶
func (r UpdateResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateResponse) StatusCode ¶
func (r UpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
func (*UpdateResponse) WaitHandler ¶
func (*UpdateResponse) WaitHandler(ctx context.Context, c *ClientWithResponses, projectID, instanceID string) *wait.Handler
Wait will wait for update returned interface is nil or *ProjectInstanceUI