Documentation ¶
Overview ¶
Package skysql provides primitives to interact with the openapi HTTP API.
Code generated by unknown module path version unknown version DO NOT EDIT.
Package skysql provides primitives to interact with the openapi HTTP API.
Code generated by unknown module path version unknown version DO NOT EDIT.
Index ¶
- Constants
- func NewAddAllowedAddressRequest(server string, serviceId string, body AddAllowedAddressJSONRequestBody) (*http.Request, error)
- func NewAddAllowedAddressRequestWithBody(server string, serviceId string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateConfigurationRequest(server string, body CreateConfigurationJSONRequestBody) (*http.Request, error)
- func NewCreateConfigurationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateServiceRequest(server string, body CreateServiceJSONRequestBody) (*http.Request, error)
- func NewCreateServiceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteConfigurationRequest(server string, configurationIdentifier string) (*http.Request, error)
- func NewDeleteServiceRequest(server string, serviceId string) (*http.Request, error)
- func NewGetCurrentUserTierRequest(server string) (*http.Request, error)
- func NewListAllowedAddressesRequest(server string, serviceId string, params *ListAllowedAddressesParams) (*http.Request, error)
- func NewListConfigurationsRequest(server string, params *ListConfigurationsParams) (*http.Request, error)
- func NewListServicesRequest(server string, params *ListServicesParams) (*http.Request, error)
- func NewReadAllowlistStatusRequest(server string, serviceId string) (*http.Request, error)
- func NewReadConfigurationRequest(server string, configurationIdentifier string) (*http.Request, error)
- func NewReadProvidersRequest(server string, params *ReadProvidersParams) (*http.Request, error)
- func NewReadQuotasRequest(server string) (*http.Request, error)
- func NewReadRegionsRequest(server string, params *ReadRegionsParams) (*http.Request, error)
- func NewReadServiceRequest(server string, serviceId string) (*http.Request, error)
- func NewReadServiceTypesRequest(server string, params *ReadServiceTypesParams) (*http.Request, error)
- func NewReadSizesRequest(server string, params *ReadSizesParams) (*http.Request, error)
- func NewReadStatusRequest(server string, serviceId string) (*http.Request, error)
- func NewReadTiersRequest(server string, params *ReadTiersParams) (*http.Request, error)
- func NewReadTopologiesRequest(server string, params *ReadTopologiesParams) (*http.Request, error)
- func NewReadVersionsRequest(server string, params *ReadVersionsParams) (*http.Request, error)
- func NewRemoveAllowedAddressRequest(server string, serviceId string, params *RemoveAllowedAddressParams) (*http.Request, error)
- func NewRetrieveApiVersionRequest(server string) (*http.Request, error)
- func NewRetrieveDefaultCredentialsRequest(server string, serviceId string) (*http.Request, error)
- func NewUpdateConfigurationRequest(server string, configurationIdentifier string, ...) (*http.Request, error)
- func NewUpdateConfigurationRequestWithBody(server string, configurationIdentifier string, contentType string, ...) (*http.Request, error)
- func NewUpdateServiceRequest(server string, serviceId string, body UpdateServiceJSONRequestBody) (*http.Request, error)
- func NewUpdateServiceRequestWithBody(server string, serviceId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateStatusRequest(server string, serviceId string, body UpdateStatusJSONRequestBody) (*http.Request, error)
- func NewUpdateStatusRequestWithBody(server string, serviceId string, contentType string, body io.Reader) (*http.Request, error)
- type AddAllowedAddressJSONBody
- type AddAllowedAddressJSONRequestBody
- type AddAllowedAddressResponse
- type AllowlistIPAddress
- type AllowlistStatus
- type AllowlistStatuses
- type Client
- func (c *Client) AddAllowedAddress(ctx context.Context, serviceId string, body AddAllowedAddressJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AddAllowedAddressWithBody(ctx context.Context, serviceId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateConfiguration(ctx context.Context, body CreateConfigurationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateConfigurationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateService(ctx context.Context, body CreateServiceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateServiceWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteConfiguration(ctx context.Context, configurationIdentifier string, ...) (*http.Response, error)
- func (c *Client) DeleteService(ctx context.Context, serviceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCurrentUserTier(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListAllowedAddresses(ctx context.Context, serviceId string, params *ListAllowedAddressesParams, ...) (*http.Response, error)
- func (c *Client) ListConfigurations(ctx context.Context, params *ListConfigurationsParams, ...) (*http.Response, error)
- func (c *Client) ListServices(ctx context.Context, params *ListServicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ReadAllowlistStatus(ctx context.Context, serviceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ReadConfiguration(ctx context.Context, configurationIdentifier string, ...) (*http.Response, error)
- func (c *Client) ReadProviders(ctx context.Context, params *ReadProvidersParams, ...) (*http.Response, error)
- func (c *Client) ReadQuotas(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ReadRegions(ctx context.Context, params *ReadRegionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ReadService(ctx context.Context, serviceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ReadServiceTypes(ctx context.Context, params *ReadServiceTypesParams, ...) (*http.Response, error)
- func (c *Client) ReadSizes(ctx context.Context, params *ReadSizesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ReadStatus(ctx context.Context, serviceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ReadTiers(ctx context.Context, params *ReadTiersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ReadTopologies(ctx context.Context, params *ReadTopologiesParams, ...) (*http.Response, error)
- func (c *Client) ReadVersions(ctx context.Context, params *ReadVersionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RemoveAllowedAddress(ctx context.Context, serviceId string, params *RemoveAllowedAddressParams, ...) (*http.Response, error)
- func (c *Client) RetrieveApiVersion(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RetrieveDefaultCredentials(ctx context.Context, serviceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UpdateConfiguration(ctx context.Context, configurationIdentifier string, ...) (*http.Response, error)
- func (c *Client) UpdateConfigurationWithBody(ctx context.Context, configurationIdentifier string, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateService(ctx context.Context, serviceId string, body UpdateServiceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateServiceWithBody(ctx context.Context, serviceId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateStatus(ctx context.Context, serviceId string, body UpdateStatusJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateStatusWithBody(ctx context.Context, serviceId string, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AddAllowedAddressWithBodyWithResponse(ctx context.Context, serviceId string, contentType string, body io.Reader, ...) (*AddAllowedAddressResponse, error)
- func (c *ClientWithResponses) AddAllowedAddressWithResponse(ctx context.Context, serviceId string, body AddAllowedAddressJSONRequestBody, ...) (*AddAllowedAddressResponse, error)
- func (c *ClientWithResponses) CreateConfigurationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateConfigurationResponse, error)
- func (c *ClientWithResponses) CreateConfigurationWithResponse(ctx context.Context, body CreateConfigurationJSONRequestBody, ...) (*CreateConfigurationResponse, error)
- func (c *ClientWithResponses) CreateServiceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateServiceResponse, error)
- func (c *ClientWithResponses) CreateServiceWithResponse(ctx context.Context, body CreateServiceJSONRequestBody, ...) (*CreateServiceResponse, error)
- func (c *ClientWithResponses) DeleteConfigurationWithResponse(ctx context.Context, configurationIdentifier string, ...) (*DeleteConfigurationResponse, error)
- func (c *ClientWithResponses) DeleteServiceWithResponse(ctx context.Context, serviceId string, reqEditors ...RequestEditorFn) (*DeleteServiceResponse, error)
- func (c *ClientWithResponses) GetCurrentUserTierWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentUserTierResponse, error)
- func (c *ClientWithResponses) ListAllowedAddressesWithResponse(ctx context.Context, serviceId string, params *ListAllowedAddressesParams, ...) (*ListAllowedAddressesResponse, error)
- func (c *ClientWithResponses) ListConfigurationsWithResponse(ctx context.Context, params *ListConfigurationsParams, ...) (*ListConfigurationsResponse, error)
- func (c *ClientWithResponses) ListServicesWithResponse(ctx context.Context, params *ListServicesParams, reqEditors ...RequestEditorFn) (*ListServicesResponse, error)
- func (c *ClientWithResponses) ReadAllowlistStatusWithResponse(ctx context.Context, serviceId string, reqEditors ...RequestEditorFn) (*ReadAllowlistStatusResponse, error)
- func (c *ClientWithResponses) ReadConfigurationWithResponse(ctx context.Context, configurationIdentifier string, ...) (*ReadConfigurationResponse, error)
- func (c *ClientWithResponses) ReadProvidersWithResponse(ctx context.Context, params *ReadProvidersParams, ...) (*ReadProvidersResponse, error)
- func (c *ClientWithResponses) ReadQuotasWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ReadQuotasResponse, error)
- func (c *ClientWithResponses) ReadRegionsWithResponse(ctx context.Context, params *ReadRegionsParams, reqEditors ...RequestEditorFn) (*ReadRegionsResponse, error)
- func (c *ClientWithResponses) ReadServiceTypesWithResponse(ctx context.Context, params *ReadServiceTypesParams, ...) (*ReadServiceTypesResponse, error)
- func (c *ClientWithResponses) ReadServiceWithResponse(ctx context.Context, serviceId string, reqEditors ...RequestEditorFn) (*ReadServiceResponse, error)
- func (c *ClientWithResponses) ReadSizesWithResponse(ctx context.Context, params *ReadSizesParams, reqEditors ...RequestEditorFn) (*ReadSizesResponse, error)
- func (c *ClientWithResponses) ReadStatusWithResponse(ctx context.Context, serviceId string, reqEditors ...RequestEditorFn) (*ReadStatusResponse, error)
- func (c *ClientWithResponses) ReadTiersWithResponse(ctx context.Context, params *ReadTiersParams, reqEditors ...RequestEditorFn) (*ReadTiersResponse, error)
- func (c *ClientWithResponses) ReadTopologiesWithResponse(ctx context.Context, params *ReadTopologiesParams, ...) (*ReadTopologiesResponse, error)
- func (c *ClientWithResponses) ReadVersionsWithResponse(ctx context.Context, params *ReadVersionsParams, reqEditors ...RequestEditorFn) (*ReadVersionsResponse, error)
- func (c *ClientWithResponses) RemoveAllowedAddressWithResponse(ctx context.Context, serviceId string, params *RemoveAllowedAddressParams, ...) (*RemoveAllowedAddressResponse, error)
- func (c *ClientWithResponses) RetrieveApiVersionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RetrieveApiVersionResponse, error)
- func (c *ClientWithResponses) RetrieveDefaultCredentialsWithResponse(ctx context.Context, serviceId string, reqEditors ...RequestEditorFn) (*RetrieveDefaultCredentialsResponse, error)
- func (c *ClientWithResponses) UpdateConfigurationWithBodyWithResponse(ctx context.Context, configurationIdentifier string, contentType string, ...) (*UpdateConfigurationResponse, error)
- func (c *ClientWithResponses) UpdateConfigurationWithResponse(ctx context.Context, configurationIdentifier string, ...) (*UpdateConfigurationResponse, error)
- func (c *ClientWithResponses) UpdateServiceWithBodyWithResponse(ctx context.Context, serviceId string, contentType string, body io.Reader, ...) (*UpdateServiceResponse, error)
- func (c *ClientWithResponses) UpdateServiceWithResponse(ctx context.Context, serviceId string, body UpdateServiceJSONRequestBody, ...) (*UpdateServiceResponse, error)
- func (c *ClientWithResponses) UpdateStatusWithBodyWithResponse(ctx context.Context, serviceId string, contentType string, body io.Reader, ...) (*UpdateStatusResponse, error)
- func (c *ClientWithResponses) UpdateStatusWithResponse(ctx context.Context, serviceId string, body UpdateStatusJSONRequestBody, ...) (*UpdateStatusResponse, error)
- type ClientWithResponsesInterface
- type ConfigurationResp
- type ConfigurationResponseBaseModel
- type ConfigurationVersionResp
- type CreateConfigurationJSONBody
- type CreateConfigurationJSONRequestBody
- type CreateConfigurationRequest
- type CreateConfigurationResp
- type CreateConfigurationResponse
- type CreateServiceJSONBody
- type CreateServiceJSONRequestBody
- type CreateServiceResponse
- type DefaultCredentials
- type DeleteConfigurationResponse
- type DeleteServiceResponse
- type GetCurrentUserTierResponse
- type HTTPValidationError
- type HttpRequestDoer
- type IPAddress
- type ListAllowedAddressesParams
- type ListAllowedAddressesResponse
- type ListConfigurationsParams
- type ListConfigurationsResponse
- type ListServicesParams
- type ListServicesResponse
- type Message
- type Provider
- type QuotaProgress
- type ReadAllowlistStatusResponse
- type ReadConfigurationResponse
- type ReadProvidersParams
- type ReadProvidersResponse
- type ReadQuotasResponse
- type ReadRegionsParams
- type ReadRegionsResponse
- type ReadServiceResponse
- type ReadServiceTypesParams
- type ReadServiceTypesResponse
- type ReadSizesParams
- type ReadSizesParamsTier
- type ReadSizesParamsTopology
- type ReadSizesResponse
- type ReadStatusResponse
- type ReadTiersParams
- type ReadTiersResponse
- type ReadTopologiesParams
- type ReadTopologiesParamsServiceType
- type ReadTopologiesResponse
- type ReadVersionsParams
- type ReadVersionsResponse
- type Region
- type RemoveAllowedAddressParams
- type RemoveAllowedAddressResponse
- type RequestEditorFn
- type RetrieveApiVersionResponse
- type RetrieveDefaultCredentialsResponse
- type ServiceActions
- type ServiceIn
- type ServiceInSslTls
- type ServiceInTier
- type ServiceInTopology
- type ServiceOut
- type ServiceOutSslTls
- type ServiceStatus
- type ServiceStatusUpdate
- type ServiceType
- type ServiceUpdate
- type Size
- type SnowProviders
- type Tier
- type Topology
- type UnmetExpectationDetail
- type UnmetExpectationMessage
- type UpdateConfigurationJSONBody
- type UpdateConfigurationJSONRequestBody
- type UpdateConfigurationRequest
- type UpdateConfigurationResponse
- type UpdateServiceJSONBody
- type UpdateServiceJSONRequestBody
- type UpdateServiceResponse
- type UpdateStatusJSONBody
- type UpdateStatusJSONRequestBody
- type UpdateStatusResponse
- type ValidationError
- type Version
Constants ¶
const (
HTTPBearerScopes = "HTTPBearer.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func NewAddAllowedAddressRequest ¶
func NewAddAllowedAddressRequest(server string, serviceId string, body AddAllowedAddressJSONRequestBody) (*http.Request, error)
NewAddAllowedAddressRequest calls the generic AddAllowedAddress builder with application/json body
func NewAddAllowedAddressRequestWithBody ¶
func NewAddAllowedAddressRequestWithBody(server string, serviceId string, contentType string, body io.Reader) (*http.Request, error)
NewAddAllowedAddressRequestWithBody generates requests for AddAllowedAddress with any type of body
func NewCreateConfigurationRequest ¶
func NewCreateConfigurationRequest(server string, body CreateConfigurationJSONRequestBody) (*http.Request, error)
NewCreateConfigurationRequest calls the generic CreateConfiguration builder with application/json body
func NewCreateConfigurationRequestWithBody ¶
func NewCreateConfigurationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateConfigurationRequestWithBody generates requests for CreateConfiguration with any type of body
func NewCreateServiceRequest ¶
func NewCreateServiceRequest(server string, body CreateServiceJSONRequestBody) (*http.Request, error)
NewCreateServiceRequest calls the generic CreateService builder with application/json body
func NewCreateServiceRequestWithBody ¶
func NewCreateServiceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateServiceRequestWithBody generates requests for CreateService with any type of body
func NewDeleteConfigurationRequest ¶
func NewDeleteConfigurationRequest(server string, configurationIdentifier string) (*http.Request, error)
NewDeleteConfigurationRequest generates requests for DeleteConfiguration
func NewDeleteServiceRequest ¶
NewDeleteServiceRequest generates requests for DeleteService
func NewGetCurrentUserTierRequest ¶ added in v0.0.25
NewGetCurrentUserTierRequest generates requests for GetCurrentUserTier
func NewListAllowedAddressesRequest ¶
func NewListAllowedAddressesRequest(server string, serviceId string, params *ListAllowedAddressesParams) (*http.Request, error)
NewListAllowedAddressesRequest generates requests for ListAllowedAddresses
func NewListConfigurationsRequest ¶
func NewListConfigurationsRequest(server string, params *ListConfigurationsParams) (*http.Request, error)
NewListConfigurationsRequest generates requests for ListConfigurations
func NewListServicesRequest ¶
func NewListServicesRequest(server string, params *ListServicesParams) (*http.Request, error)
NewListServicesRequest generates requests for ListServices
func NewReadAllowlistStatusRequest ¶
NewReadAllowlistStatusRequest generates requests for ReadAllowlistStatus
func NewReadConfigurationRequest ¶
func NewReadConfigurationRequest(server string, configurationIdentifier string) (*http.Request, error)
NewReadConfigurationRequest generates requests for ReadConfiguration
func NewReadProvidersRequest ¶
func NewReadProvidersRequest(server string, params *ReadProvidersParams) (*http.Request, error)
NewReadProvidersRequest generates requests for ReadProviders
func NewReadQuotasRequest ¶
NewReadQuotasRequest generates requests for ReadQuotas
func NewReadRegionsRequest ¶
func NewReadRegionsRequest(server string, params *ReadRegionsParams) (*http.Request, error)
NewReadRegionsRequest generates requests for ReadRegions
func NewReadServiceRequest ¶
NewReadServiceRequest generates requests for ReadService
func NewReadServiceTypesRequest ¶
func NewReadServiceTypesRequest(server string, params *ReadServiceTypesParams) (*http.Request, error)
NewReadServiceTypesRequest generates requests for ReadServiceTypes
func NewReadSizesRequest ¶
func NewReadSizesRequest(server string, params *ReadSizesParams) (*http.Request, error)
NewReadSizesRequest generates requests for ReadSizes
func NewReadStatusRequest ¶
NewReadStatusRequest generates requests for ReadStatus
func NewReadTiersRequest ¶
func NewReadTiersRequest(server string, params *ReadTiersParams) (*http.Request, error)
NewReadTiersRequest generates requests for ReadTiers
func NewReadTopologiesRequest ¶
func NewReadTopologiesRequest(server string, params *ReadTopologiesParams) (*http.Request, error)
NewReadTopologiesRequest generates requests for ReadTopologies
func NewReadVersionsRequest ¶
func NewReadVersionsRequest(server string, params *ReadVersionsParams) (*http.Request, error)
NewReadVersionsRequest generates requests for ReadVersions
func NewRemoveAllowedAddressRequest ¶
func NewRemoveAllowedAddressRequest(server string, serviceId string, params *RemoveAllowedAddressParams) (*http.Request, error)
NewRemoveAllowedAddressRequest generates requests for RemoveAllowedAddress
func NewRetrieveApiVersionRequest ¶ added in v0.0.24
NewRetrieveApiVersionRequest generates requests for RetrieveApiVersion
func NewRetrieveDefaultCredentialsRequest ¶
NewRetrieveDefaultCredentialsRequest generates requests for RetrieveDefaultCredentials
func NewUpdateConfigurationRequest ¶
func NewUpdateConfigurationRequest(server string, configurationIdentifier string, body UpdateConfigurationJSONRequestBody) (*http.Request, error)
NewUpdateConfigurationRequest calls the generic UpdateConfiguration builder with application/json body
func NewUpdateConfigurationRequestWithBody ¶
func NewUpdateConfigurationRequestWithBody(server string, configurationIdentifier string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateConfigurationRequestWithBody generates requests for UpdateConfiguration with any type of body
func NewUpdateServiceRequest ¶
func NewUpdateServiceRequest(server string, serviceId string, body UpdateServiceJSONRequestBody) (*http.Request, error)
NewUpdateServiceRequest calls the generic UpdateService builder with application/json body
func NewUpdateServiceRequestWithBody ¶
func NewUpdateServiceRequestWithBody(server string, serviceId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateServiceRequestWithBody generates requests for UpdateService with any type of body
func NewUpdateStatusRequest ¶
func NewUpdateStatusRequest(server string, serviceId string, body UpdateStatusJSONRequestBody) (*http.Request, error)
NewUpdateStatusRequest calls the generic UpdateStatus builder with application/json body
Types ¶
type AddAllowedAddressJSONBody ¶
type AddAllowedAddressJSONBody IPAddress
AddAllowedAddressJSONBody defines parameters for AddAllowedAddress.
type AddAllowedAddressJSONRequestBody ¶
type AddAllowedAddressJSONRequestBody AddAllowedAddressJSONBody
AddAllowedAddressJSONRequestBody defines body for AddAllowedAddress for application/json ContentType.
type AddAllowedAddressResponse ¶
type AddAllowedAddressResponse struct { Body []byte HTTPResponse *http.Response JSON200 *AllowlistIPAddress JSON401 *Message JSON403 *Message JSON422 *HTTPValidationError JSON502 *Message }
func ParseAddAllowedAddressResponse ¶
func ParseAddAllowedAddressResponse(rsp *http.Response) (*AddAllowedAddressResponse, error)
ParseAddAllowedAddressResponse parses an HTTP response from a AddAllowedAddressWithResponse call
func (AddAllowedAddressResponse) Status ¶
func (r AddAllowedAddressResponse) Status() string
Status returns HTTPResponse.Status
func (AddAllowedAddressResponse) StatusCode ¶
func (r AddAllowedAddressResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AllowlistIPAddress ¶
type AllowlistIPAddress struct { Comment *string `json:"comment,omitempty"` IpAddress string `json:"ip_address"` ServiceId string `json:"service_id"` }
IP Address that has been added to the services network allowlist
type AllowlistStatus ¶
type AllowlistStatus struct { // Possible statuses for the allowlist Status AllowlistStatuses `json:"status"` }
Status of the service allowlist to indicate if address changes are provisioning
type AllowlistStatuses ¶
type AllowlistStatuses string
Possible statuses for the allowlist
const ( AllowlistStatusesEnforcing AllowlistStatuses = "Enforcing" AllowlistStatusesUpdating AllowlistStatuses = "Updating" )
Defines values for AllowlistStatuses.
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 HttpRequestDoer // A list of callbacks for modifying requests which are generated before sending over // the network. RequestEditors []RequestEditorFn }
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) AddAllowedAddress ¶
func (c *Client) AddAllowedAddress(ctx context.Context, serviceId string, body AddAllowedAddressJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AddAllowedAddressWithBody ¶
func (*Client) CreateConfiguration ¶
func (c *Client) CreateConfiguration(ctx context.Context, body CreateConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateConfigurationWithBody ¶
func (*Client) CreateService ¶
func (c *Client) CreateService(ctx context.Context, body CreateServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateServiceWithBody ¶
func (*Client) DeleteConfiguration ¶
func (*Client) DeleteService ¶
func (*Client) GetCurrentUserTier ¶ added in v0.0.25
func (*Client) ListAllowedAddresses ¶
func (c *Client) ListAllowedAddresses(ctx context.Context, serviceId string, params *ListAllowedAddressesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListConfigurations ¶
func (c *Client) ListConfigurations(ctx context.Context, params *ListConfigurationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListServices ¶
func (c *Client) ListServices(ctx context.Context, params *ListServicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ReadAllowlistStatus ¶
func (*Client) ReadConfiguration ¶
func (*Client) ReadProviders ¶
func (c *Client) ReadProviders(ctx context.Context, params *ReadProvidersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ReadQuotas ¶
func (*Client) ReadRegions ¶
func (c *Client) ReadRegions(ctx context.Context, params *ReadRegionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ReadService ¶
func (*Client) ReadServiceTypes ¶
func (c *Client) ReadServiceTypes(ctx context.Context, params *ReadServiceTypesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ReadSizes ¶
func (c *Client) ReadSizes(ctx context.Context, params *ReadSizesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ReadStatus ¶
func (*Client) ReadTiers ¶
func (c *Client) ReadTiers(ctx context.Context, params *ReadTiersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ReadTopologies ¶
func (c *Client) ReadTopologies(ctx context.Context, params *ReadTopologiesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ReadVersions ¶
func (c *Client) ReadVersions(ctx context.Context, params *ReadVersionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RemoveAllowedAddress ¶
func (c *Client) RemoveAllowedAddress(ctx context.Context, serviceId string, params *RemoveAllowedAddressParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RetrieveApiVersion ¶ added in v0.0.24
func (*Client) RetrieveDefaultCredentials ¶
func (*Client) UpdateConfiguration ¶
func (c *Client) UpdateConfiguration(ctx context.Context, configurationIdentifier string, body UpdateConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateConfigurationWithBody ¶
func (*Client) UpdateService ¶
func (c *Client) UpdateService(ctx context.Context, serviceId string, body UpdateServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateServiceWithBody ¶
func (*Client) UpdateStatus ¶
func (c *Client) UpdateStatus(ctx context.Context, serviceId string, body UpdateStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface { // ReadQuotas request ReadQuotas(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // ListConfigurations request ListConfigurations(ctx context.Context, params *ListConfigurationsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateConfiguration request with any body CreateConfigurationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateConfiguration(ctx context.Context, body CreateConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteConfiguration request DeleteConfiguration(ctx context.Context, configurationIdentifier string, reqEditors ...RequestEditorFn) (*http.Response, error) // ReadConfiguration request ReadConfiguration(ctx context.Context, configurationIdentifier string, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateConfiguration request with any body UpdateConfigurationWithBody(ctx context.Context, configurationIdentifier string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateConfiguration(ctx context.Context, configurationIdentifier string, body UpdateConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ReadProviders request ReadProviders(ctx context.Context, params *ReadProvidersParams, reqEditors ...RequestEditorFn) (*http.Response, error) // ReadRegions request ReadRegions(ctx context.Context, params *ReadRegionsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // ReadServiceTypes request ReadServiceTypes(ctx context.Context, params *ReadServiceTypesParams, reqEditors ...RequestEditorFn) (*http.Response, error) // ReadSizes request ReadSizes(ctx context.Context, params *ReadSizesParams, reqEditors ...RequestEditorFn) (*http.Response, error) // ReadTiers request ReadTiers(ctx context.Context, params *ReadTiersParams, reqEditors ...RequestEditorFn) (*http.Response, error) // ReadTopologies request ReadTopologies(ctx context.Context, params *ReadTopologiesParams, reqEditors ...RequestEditorFn) (*http.Response, error) // ReadVersions request ReadVersions(ctx context.Context, params *ReadVersionsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // ListServices request ListServices(ctx context.Context, params *ListServicesParams, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateService request with any body CreateServiceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateService(ctx context.Context, body CreateServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteService request DeleteService(ctx context.Context, serviceId string, reqEditors ...RequestEditorFn) (*http.Response, error) // ReadService request ReadService(ctx context.Context, serviceId string, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateService request with any body UpdateServiceWithBody(ctx context.Context, serviceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateService(ctx context.Context, serviceId string, body UpdateServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // RemoveAllowedAddress request RemoveAllowedAddress(ctx context.Context, serviceId string, params *RemoveAllowedAddressParams, reqEditors ...RequestEditorFn) (*http.Response, error) // ListAllowedAddresses request ListAllowedAddresses(ctx context.Context, serviceId string, params *ListAllowedAddressesParams, reqEditors ...RequestEditorFn) (*http.Response, error) // AddAllowedAddress request with any body AddAllowedAddressWithBody(ctx context.Context, serviceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) AddAllowedAddress(ctx context.Context, serviceId string, body AddAllowedAddressJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ReadAllowlistStatus request ReadAllowlistStatus(ctx context.Context, serviceId string, reqEditors ...RequestEditorFn) (*http.Response, error) // RetrieveDefaultCredentials request RetrieveDefaultCredentials(ctx context.Context, serviceId string, reqEditors ...RequestEditorFn) (*http.Response, error) // ReadStatus request ReadStatus(ctx context.Context, serviceId string, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateStatus request with any body UpdateStatusWithBody(ctx context.Context, serviceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateStatus(ctx context.Context, serviceId string, body UpdateStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetCurrentUserTier request GetCurrentUserTier(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // RetrieveApiVersion request RetrieveApiVersion(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) }
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) AddAllowedAddressWithBodyWithResponse ¶
func (c *ClientWithResponses) AddAllowedAddressWithBodyWithResponse(ctx context.Context, serviceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddAllowedAddressResponse, error)
AddAllowedAddressWithBodyWithResponse request with arbitrary body returning *AddAllowedAddressResponse
func (*ClientWithResponses) AddAllowedAddressWithResponse ¶
func (c *ClientWithResponses) AddAllowedAddressWithResponse(ctx context.Context, serviceId string, body AddAllowedAddressJSONRequestBody, reqEditors ...RequestEditorFn) (*AddAllowedAddressResponse, error)
func (*ClientWithResponses) CreateConfigurationWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateConfigurationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateConfigurationResponse, error)
CreateConfigurationWithBodyWithResponse request with arbitrary body returning *CreateConfigurationResponse
func (*ClientWithResponses) CreateConfigurationWithResponse ¶
func (c *ClientWithResponses) CreateConfigurationWithResponse(ctx context.Context, body CreateConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateConfigurationResponse, error)
func (*ClientWithResponses) CreateServiceWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateServiceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateServiceResponse, error)
CreateServiceWithBodyWithResponse request with arbitrary body returning *CreateServiceResponse
func (*ClientWithResponses) CreateServiceWithResponse ¶
func (c *ClientWithResponses) CreateServiceWithResponse(ctx context.Context, body CreateServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateServiceResponse, error)
func (*ClientWithResponses) DeleteConfigurationWithResponse ¶
func (c *ClientWithResponses) DeleteConfigurationWithResponse(ctx context.Context, configurationIdentifier string, reqEditors ...RequestEditorFn) (*DeleteConfigurationResponse, error)
DeleteConfigurationWithResponse request returning *DeleteConfigurationResponse
func (*ClientWithResponses) DeleteServiceWithResponse ¶
func (c *ClientWithResponses) DeleteServiceWithResponse(ctx context.Context, serviceId string, reqEditors ...RequestEditorFn) (*DeleteServiceResponse, error)
DeleteServiceWithResponse request returning *DeleteServiceResponse
func (*ClientWithResponses) GetCurrentUserTierWithResponse ¶ added in v0.0.25
func (c *ClientWithResponses) GetCurrentUserTierWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentUserTierResponse, error)
GetCurrentUserTierWithResponse request returning *GetCurrentUserTierResponse
func (*ClientWithResponses) ListAllowedAddressesWithResponse ¶
func (c *ClientWithResponses) ListAllowedAddressesWithResponse(ctx context.Context, serviceId string, params *ListAllowedAddressesParams, reqEditors ...RequestEditorFn) (*ListAllowedAddressesResponse, error)
ListAllowedAddressesWithResponse request returning *ListAllowedAddressesResponse
func (*ClientWithResponses) ListConfigurationsWithResponse ¶
func (c *ClientWithResponses) ListConfigurationsWithResponse(ctx context.Context, params *ListConfigurationsParams, reqEditors ...RequestEditorFn) (*ListConfigurationsResponse, error)
ListConfigurationsWithResponse request returning *ListConfigurationsResponse
func (*ClientWithResponses) ListServicesWithResponse ¶
func (c *ClientWithResponses) ListServicesWithResponse(ctx context.Context, params *ListServicesParams, reqEditors ...RequestEditorFn) (*ListServicesResponse, error)
ListServicesWithResponse request returning *ListServicesResponse
func (*ClientWithResponses) ReadAllowlistStatusWithResponse ¶
func (c *ClientWithResponses) ReadAllowlistStatusWithResponse(ctx context.Context, serviceId string, reqEditors ...RequestEditorFn) (*ReadAllowlistStatusResponse, error)
ReadAllowlistStatusWithResponse request returning *ReadAllowlistStatusResponse
func (*ClientWithResponses) ReadConfigurationWithResponse ¶
func (c *ClientWithResponses) ReadConfigurationWithResponse(ctx context.Context, configurationIdentifier string, reqEditors ...RequestEditorFn) (*ReadConfigurationResponse, error)
ReadConfigurationWithResponse request returning *ReadConfigurationResponse
func (*ClientWithResponses) ReadProvidersWithResponse ¶
func (c *ClientWithResponses) ReadProvidersWithResponse(ctx context.Context, params *ReadProvidersParams, reqEditors ...RequestEditorFn) (*ReadProvidersResponse, error)
ReadProvidersWithResponse request returning *ReadProvidersResponse
func (*ClientWithResponses) ReadQuotasWithResponse ¶
func (c *ClientWithResponses) ReadQuotasWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ReadQuotasResponse, error)
ReadQuotasWithResponse request returning *ReadQuotasResponse
func (*ClientWithResponses) ReadRegionsWithResponse ¶
func (c *ClientWithResponses) ReadRegionsWithResponse(ctx context.Context, params *ReadRegionsParams, reqEditors ...RequestEditorFn) (*ReadRegionsResponse, error)
ReadRegionsWithResponse request returning *ReadRegionsResponse
func (*ClientWithResponses) ReadServiceTypesWithResponse ¶
func (c *ClientWithResponses) ReadServiceTypesWithResponse(ctx context.Context, params *ReadServiceTypesParams, reqEditors ...RequestEditorFn) (*ReadServiceTypesResponse, error)
ReadServiceTypesWithResponse request returning *ReadServiceTypesResponse
func (*ClientWithResponses) ReadServiceWithResponse ¶
func (c *ClientWithResponses) ReadServiceWithResponse(ctx context.Context, serviceId string, reqEditors ...RequestEditorFn) (*ReadServiceResponse, error)
ReadServiceWithResponse request returning *ReadServiceResponse
func (*ClientWithResponses) ReadSizesWithResponse ¶
func (c *ClientWithResponses) ReadSizesWithResponse(ctx context.Context, params *ReadSizesParams, reqEditors ...RequestEditorFn) (*ReadSizesResponse, error)
ReadSizesWithResponse request returning *ReadSizesResponse
func (*ClientWithResponses) ReadStatusWithResponse ¶
func (c *ClientWithResponses) ReadStatusWithResponse(ctx context.Context, serviceId string, reqEditors ...RequestEditorFn) (*ReadStatusResponse, error)
ReadStatusWithResponse request returning *ReadStatusResponse
func (*ClientWithResponses) ReadTiersWithResponse ¶
func (c *ClientWithResponses) ReadTiersWithResponse(ctx context.Context, params *ReadTiersParams, reqEditors ...RequestEditorFn) (*ReadTiersResponse, error)
ReadTiersWithResponse request returning *ReadTiersResponse
func (*ClientWithResponses) ReadTopologiesWithResponse ¶
func (c *ClientWithResponses) ReadTopologiesWithResponse(ctx context.Context, params *ReadTopologiesParams, reqEditors ...RequestEditorFn) (*ReadTopologiesResponse, error)
ReadTopologiesWithResponse request returning *ReadTopologiesResponse
func (*ClientWithResponses) ReadVersionsWithResponse ¶
func (c *ClientWithResponses) ReadVersionsWithResponse(ctx context.Context, params *ReadVersionsParams, reqEditors ...RequestEditorFn) (*ReadVersionsResponse, error)
ReadVersionsWithResponse request returning *ReadVersionsResponse
func (*ClientWithResponses) RemoveAllowedAddressWithResponse ¶
func (c *ClientWithResponses) RemoveAllowedAddressWithResponse(ctx context.Context, serviceId string, params *RemoveAllowedAddressParams, reqEditors ...RequestEditorFn) (*RemoveAllowedAddressResponse, error)
RemoveAllowedAddressWithResponse request returning *RemoveAllowedAddressResponse
func (*ClientWithResponses) RetrieveApiVersionWithResponse ¶ added in v0.0.24
func (c *ClientWithResponses) RetrieveApiVersionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RetrieveApiVersionResponse, error)
RetrieveApiVersionWithResponse request returning *RetrieveApiVersionResponse
func (*ClientWithResponses) RetrieveDefaultCredentialsWithResponse ¶
func (c *ClientWithResponses) RetrieveDefaultCredentialsWithResponse(ctx context.Context, serviceId string, reqEditors ...RequestEditorFn) (*RetrieveDefaultCredentialsResponse, error)
RetrieveDefaultCredentialsWithResponse request returning *RetrieveDefaultCredentialsResponse
func (*ClientWithResponses) UpdateConfigurationWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateConfigurationWithBodyWithResponse(ctx context.Context, configurationIdentifier string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateConfigurationResponse, error)
UpdateConfigurationWithBodyWithResponse request with arbitrary body returning *UpdateConfigurationResponse
func (*ClientWithResponses) UpdateConfigurationWithResponse ¶
func (c *ClientWithResponses) UpdateConfigurationWithResponse(ctx context.Context, configurationIdentifier string, body UpdateConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateConfigurationResponse, error)
func (*ClientWithResponses) UpdateServiceWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateServiceWithBodyWithResponse(ctx context.Context, serviceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateServiceResponse, error)
UpdateServiceWithBodyWithResponse request with arbitrary body returning *UpdateServiceResponse
func (*ClientWithResponses) UpdateServiceWithResponse ¶
func (c *ClientWithResponses) UpdateServiceWithResponse(ctx context.Context, serviceId string, body UpdateServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateServiceResponse, error)
func (*ClientWithResponses) UpdateStatusWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateStatusWithBodyWithResponse(ctx context.Context, serviceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateStatusResponse, error)
UpdateStatusWithBodyWithResponse request with arbitrary body returning *UpdateStatusResponse
func (*ClientWithResponses) UpdateStatusWithResponse ¶
func (c *ClientWithResponses) UpdateStatusWithResponse(ctx context.Context, serviceId string, body UpdateStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateStatusResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // ReadQuotas request ReadQuotasWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ReadQuotasResponse, error) // ListConfigurations request ListConfigurationsWithResponse(ctx context.Context, params *ListConfigurationsParams, reqEditors ...RequestEditorFn) (*ListConfigurationsResponse, error) // CreateConfiguration request with any body CreateConfigurationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateConfigurationResponse, error) CreateConfigurationWithResponse(ctx context.Context, body CreateConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateConfigurationResponse, error) // DeleteConfiguration request DeleteConfigurationWithResponse(ctx context.Context, configurationIdentifier string, reqEditors ...RequestEditorFn) (*DeleteConfigurationResponse, error) // ReadConfiguration request ReadConfigurationWithResponse(ctx context.Context, configurationIdentifier string, reqEditors ...RequestEditorFn) (*ReadConfigurationResponse, error) // UpdateConfiguration request with any body UpdateConfigurationWithBodyWithResponse(ctx context.Context, configurationIdentifier string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateConfigurationResponse, error) UpdateConfigurationWithResponse(ctx context.Context, configurationIdentifier string, body UpdateConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateConfigurationResponse, error) // ReadProviders request ReadProvidersWithResponse(ctx context.Context, params *ReadProvidersParams, reqEditors ...RequestEditorFn) (*ReadProvidersResponse, error) // ReadRegions request ReadRegionsWithResponse(ctx context.Context, params *ReadRegionsParams, reqEditors ...RequestEditorFn) (*ReadRegionsResponse, error) // ReadServiceTypes request ReadServiceTypesWithResponse(ctx context.Context, params *ReadServiceTypesParams, reqEditors ...RequestEditorFn) (*ReadServiceTypesResponse, error) // ReadSizes request ReadSizesWithResponse(ctx context.Context, params *ReadSizesParams, reqEditors ...RequestEditorFn) (*ReadSizesResponse, error) // ReadTiers request ReadTiersWithResponse(ctx context.Context, params *ReadTiersParams, reqEditors ...RequestEditorFn) (*ReadTiersResponse, error) // ReadTopologies request ReadTopologiesWithResponse(ctx context.Context, params *ReadTopologiesParams, reqEditors ...RequestEditorFn) (*ReadTopologiesResponse, error) // ReadVersions request ReadVersionsWithResponse(ctx context.Context, params *ReadVersionsParams, reqEditors ...RequestEditorFn) (*ReadVersionsResponse, error) // ListServices request ListServicesWithResponse(ctx context.Context, params *ListServicesParams, reqEditors ...RequestEditorFn) (*ListServicesResponse, error) // CreateService request with any body CreateServiceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateServiceResponse, error) CreateServiceWithResponse(ctx context.Context, body CreateServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateServiceResponse, error) // DeleteService request DeleteServiceWithResponse(ctx context.Context, serviceId string, reqEditors ...RequestEditorFn) (*DeleteServiceResponse, error) // ReadService request ReadServiceWithResponse(ctx context.Context, serviceId string, reqEditors ...RequestEditorFn) (*ReadServiceResponse, error) // UpdateService request with any body UpdateServiceWithBodyWithResponse(ctx context.Context, serviceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateServiceResponse, error) UpdateServiceWithResponse(ctx context.Context, serviceId string, body UpdateServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateServiceResponse, error) // RemoveAllowedAddress request RemoveAllowedAddressWithResponse(ctx context.Context, serviceId string, params *RemoveAllowedAddressParams, reqEditors ...RequestEditorFn) (*RemoveAllowedAddressResponse, error) // ListAllowedAddresses request ListAllowedAddressesWithResponse(ctx context.Context, serviceId string, params *ListAllowedAddressesParams, reqEditors ...RequestEditorFn) (*ListAllowedAddressesResponse, error) // AddAllowedAddress request with any body AddAllowedAddressWithBodyWithResponse(ctx context.Context, serviceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddAllowedAddressResponse, error) AddAllowedAddressWithResponse(ctx context.Context, serviceId string, body AddAllowedAddressJSONRequestBody, reqEditors ...RequestEditorFn) (*AddAllowedAddressResponse, error) // ReadAllowlistStatus request ReadAllowlistStatusWithResponse(ctx context.Context, serviceId string, reqEditors ...RequestEditorFn) (*ReadAllowlistStatusResponse, error) // RetrieveDefaultCredentials request RetrieveDefaultCredentialsWithResponse(ctx context.Context, serviceId string, reqEditors ...RequestEditorFn) (*RetrieveDefaultCredentialsResponse, error) // ReadStatus request ReadStatusWithResponse(ctx context.Context, serviceId string, reqEditors ...RequestEditorFn) (*ReadStatusResponse, error) // UpdateStatus request with any body UpdateStatusWithBodyWithResponse(ctx context.Context, serviceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateStatusResponse, error) UpdateStatusWithResponse(ctx context.Context, serviceId string, body UpdateStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateStatusResponse, error) // GetCurrentUserTier request GetCurrentUserTierWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentUserTierResponse, error) // RetrieveApiVersion request RetrieveApiVersionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RetrieveApiVersionResponse, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type ConfigurationResp ¶
type ConfigurationResp struct { ConfigurationVersions *[]ConfigurationVersionResp `json:"configuration_versions,omitempty"` Name string `json:"name"` Number string `json:"number"` Public string `json:"public"` Topology string `json:"topology"` }
GET Configuration Response
type ConfigurationResponseBaseModel ¶
type ConfigurationResponseBaseModel struct { Name string `json:"name"` Number string `json:"number"` Public string `json:"public"` Topology string `json:"topology"` }
Configuration Response Base Model
type ConfigurationVersionResp ¶
type ConfigurationVersionResp struct { ConfigJson map[string]interface{} `json:"config_json"` CurrentVersion string `json:"current_version"` Version string `json:"version"` }
GET Configuration Response nested configuration version
type CreateConfigurationJSONBody ¶
type CreateConfigurationJSONBody CreateConfigurationRequest
CreateConfigurationJSONBody defines parameters for CreateConfiguration.
type CreateConfigurationJSONRequestBody ¶
type CreateConfigurationJSONRequestBody CreateConfigurationJSONBody
CreateConfigurationJSONRequestBody defines body for CreateConfiguration for application/json ContentType.
type CreateConfigurationRequest ¶
type CreateConfigurationRequest struct { ConfigJson *map[string]interface{} `json:"config_json,omitempty"` Name string `json:"name"` Topology string `json:"topology"` }
Request body to create a new MariaDB Configuration
type CreateConfigurationResp ¶
type CreateConfigurationResp struct { // GET Configuration Response nested configuration version ConfigurationVersion ConfigurationVersionResp `json:"configuration_version"` Name string `json:"name"` Number string `json:"number"` Public string `json:"public"` Topology string `json:"topology"` }
Update Configuration Response
type CreateConfigurationResponse ¶
type CreateConfigurationResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CreateConfigurationResp JSON401 *Message JSON403 *Message JSON422 *HTTPValidationError JSON502 *Message }
func ParseCreateConfigurationResponse ¶
func ParseCreateConfigurationResponse(rsp *http.Response) (*CreateConfigurationResponse, error)
ParseCreateConfigurationResponse parses an HTTP response from a CreateConfigurationWithResponse call
func (CreateConfigurationResponse) Status ¶
func (r CreateConfigurationResponse) Status() string
Status returns HTTPResponse.Status
func (CreateConfigurationResponse) StatusCode ¶
func (r CreateConfigurationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateServiceJSONBody ¶
type CreateServiceJSONBody ServiceIn
CreateServiceJSONBody defines parameters for CreateService.
type CreateServiceJSONRequestBody ¶
type CreateServiceJSONRequestBody CreateServiceJSONBody
CreateServiceJSONRequestBody defines body for CreateService for application/json ContentType.
type CreateServiceResponse ¶
type CreateServiceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ServiceOut JSON400 *UnmetExpectationDetail JSON401 *Message JSON403 *Message JSON404 *Message JSON422 *Message JSON502 *Message }
func ParseCreateServiceResponse ¶
func ParseCreateServiceResponse(rsp *http.Response) (*CreateServiceResponse, error)
ParseCreateServiceResponse parses an HTTP response from a CreateServiceWithResponse call
func (CreateServiceResponse) Status ¶
func (r CreateServiceResponse) Status() string
Status returns HTTPResponse.Status
func (CreateServiceResponse) StatusCode ¶
func (r CreateServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DefaultCredentials ¶
type DefaultCredentials struct { Password string `json:"password"` Username string `json:"username"` }
A credential issued for initial connection to a database, intended to be immediately replaced by the user
type DeleteConfigurationResponse ¶
type DeleteConfigurationResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Message JSON401 *Message JSON403 *Message JSON404 *Message JSON409 *Message JSON422 *Message JSON502 *Message }
func ParseDeleteConfigurationResponse ¶
func ParseDeleteConfigurationResponse(rsp *http.Response) (*DeleteConfigurationResponse, error)
ParseDeleteConfigurationResponse parses an HTTP response from a DeleteConfigurationWithResponse call
func (DeleteConfigurationResponse) Status ¶
func (r DeleteConfigurationResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteConfigurationResponse) StatusCode ¶
func (r DeleteConfigurationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteServiceResponse ¶
type DeleteServiceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Message JSON401 *Message JSON403 *Message JSON404 *Message JSON409 *Message JSON422 *Message JSON502 *Message }
func ParseDeleteServiceResponse ¶
func ParseDeleteServiceResponse(rsp *http.Response) (*DeleteServiceResponse, error)
ParseDeleteServiceResponse parses an HTTP response from a DeleteServiceWithResponse call
func (DeleteServiceResponse) Status ¶
func (r DeleteServiceResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteServiceResponse) StatusCode ¶
func (r DeleteServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCurrentUserTierResponse ¶ added in v0.0.25
type GetCurrentUserTierResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Tier JSON401 *Message JSON403 *Message JSON502 *Message }
func ParseGetCurrentUserTierResponse ¶ added in v0.0.25
func ParseGetCurrentUserTierResponse(rsp *http.Response) (*GetCurrentUserTierResponse, error)
ParseGetCurrentUserTierResponse parses an HTTP response from a GetCurrentUserTierWithResponse call
func (GetCurrentUserTierResponse) Status ¶ added in v0.0.25
func (r GetCurrentUserTierResponse) Status() string
Status returns HTTPResponse.Status
func (GetCurrentUserTierResponse) StatusCode ¶ added in v0.0.25
func (r GetCurrentUserTierResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HTTPValidationError ¶
type HTTPValidationError struct {
Detail *[]ValidationError `json:"detail,omitempty"`
}
HTTPValidationError defines model for HTTPValidationError.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type IPAddress ¶
type IPAddress struct { Comment *string `json:"comment,omitempty"` IpAddress string `json:"ip_address"` }
IP Address representation in SkySQL
type ListAllowedAddressesParams ¶
type ListAllowedAddressesParams struct { Limit *int `json:"limit,omitempty"` Offset *int `json:"offset,omitempty"` }
ListAllowedAddressesParams defines parameters for ListAllowedAddresses.
type ListAllowedAddressesResponse ¶
type ListAllowedAddressesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]AllowlistIPAddress JSON422 *HTTPValidationError }
func ParseListAllowedAddressesResponse ¶
func ParseListAllowedAddressesResponse(rsp *http.Response) (*ListAllowedAddressesResponse, error)
ParseListAllowedAddressesResponse parses an HTTP response from a ListAllowedAddressesWithResponse call
func (ListAllowedAddressesResponse) Status ¶
func (r ListAllowedAddressesResponse) Status() string
Status returns HTTPResponse.Status
func (ListAllowedAddressesResponse) StatusCode ¶
func (r ListAllowedAddressesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListConfigurationsParams ¶
type ListConfigurationsParams struct {
Limit *int `json:"limit,omitempty"`
}
ListConfigurationsParams defines parameters for ListConfigurations.
type ListConfigurationsResponse ¶
type ListConfigurationsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]ConfigurationResponseBaseModel JSON401 *Message JSON403 *Message JSON422 *HTTPValidationError JSON502 *Message }
func ParseListConfigurationsResponse ¶
func ParseListConfigurationsResponse(rsp *http.Response) (*ListConfigurationsResponse, error)
ParseListConfigurationsResponse parses an HTTP response from a ListConfigurationsWithResponse call
func (ListConfigurationsResponse) Status ¶
func (r ListConfigurationsResponse) Status() string
Status returns HTTPResponse.Status
func (ListConfigurationsResponse) StatusCode ¶
func (r ListConfigurationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListServicesParams ¶
type ListServicesParams struct { Name *string `json:"name,omitempty"` Limit *int `json:"limit,omitempty"` Offset *int `json:"offset,omitempty"` }
ListServicesParams defines parameters for ListServices.
type ListServicesResponse ¶
type ListServicesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]ServiceOut JSON401 *Message JSON403 *Message JSON422 *HTTPValidationError JSON502 *Message }
func ParseListServicesResponse ¶
func ParseListServicesResponse(rsp *http.Response) (*ListServicesResponse, error)
ParseListServicesResponse parses an HTTP response from a ListServicesWithResponse call
func (ListServicesResponse) Status ¶
func (r ListServicesResponse) Status() string
Status returns HTTPResponse.Status
func (ListServicesResponse) StatusCode ¶
func (r ListServicesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Message ¶
type Message struct {
Detail string `json:"detail"`
}
Generic message body containing error details for failed requests
type Provider ¶
type Provider struct { Active *string `json:"active,omitempty"` CreatedOn *string `json:"created_on,omitempty"` IconImage *string `json:"icon_image,omitempty"` LogoImage *string `json:"logo_image,omitempty"` ModCount *string `json:"mod_count,omitempty"` Name string `json:"name"` ServiceTypes *string `json:"service_types,omitempty"` Topologies *string `json:"topologies,omitempty"` UpdatedOn string `json:"updated_on"` Value string `json:"value"` }
Cloud provider, e.g. AWS or GCP
type QuotaProgress ¶
type QuotaProgress struct { Description *string `json:"description,omitempty"` Limit int `json:"limit"` Name string `json:"name"` Provider *string `json:"provider,omitempty"` Region *string `json:"region,omitempty"` Remaining *int `json:"remaining,omitempty"` Used *int `json:"used,omitempty"` }
A quota progress response
type ReadAllowlistStatusResponse ¶
type ReadAllowlistStatusResponse struct { Body []byte HTTPResponse *http.Response JSON200 *AllowlistStatus JSON422 *HTTPValidationError }
func ParseReadAllowlistStatusResponse ¶
func ParseReadAllowlistStatusResponse(rsp *http.Response) (*ReadAllowlistStatusResponse, error)
ParseReadAllowlistStatusResponse parses an HTTP response from a ReadAllowlistStatusWithResponse call
func (ReadAllowlistStatusResponse) Status ¶
func (r ReadAllowlistStatusResponse) Status() string
Status returns HTTPResponse.Status
func (ReadAllowlistStatusResponse) StatusCode ¶
func (r ReadAllowlistStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReadConfigurationResponse ¶
type ReadConfigurationResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ConfigurationResp JSON401 *Message JSON403 *Message JSON404 *Message JSON422 *Message JSON502 *Message }
func ParseReadConfigurationResponse ¶
func ParseReadConfigurationResponse(rsp *http.Response) (*ReadConfigurationResponse, error)
ParseReadConfigurationResponse parses an HTTP response from a ReadConfigurationWithResponse call
func (ReadConfigurationResponse) Status ¶
func (r ReadConfigurationResponse) Status() string
Status returns HTTPResponse.Status
func (ReadConfigurationResponse) StatusCode ¶
func (r ReadConfigurationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReadProvidersParams ¶
type ReadProvidersParams struct { Limit *int `json:"limit,omitempty"` Offset *int `json:"offset,omitempty"` }
ReadProvidersParams defines parameters for ReadProviders.
type ReadProvidersResponse ¶
type ReadProvidersResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]Provider JSON401 *Message JSON403 *Message JSON422 *HTTPValidationError JSON502 *Message }
func ParseReadProvidersResponse ¶
func ParseReadProvidersResponse(rsp *http.Response) (*ReadProvidersResponse, error)
ParseReadProvidersResponse parses an HTTP response from a ReadProvidersWithResponse call
func (ReadProvidersResponse) Status ¶
func (r ReadProvidersResponse) Status() string
Status returns HTTPResponse.Status
func (ReadProvidersResponse) StatusCode ¶
func (r ReadProvidersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReadQuotasResponse ¶
type ReadQuotasResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]QuotaProgress JSON401 *Message JSON403 *Message JSON502 *Message }
func ParseReadQuotasResponse ¶
func ParseReadQuotasResponse(rsp *http.Response) (*ReadQuotasResponse, error)
ParseReadQuotasResponse parses an HTTP response from a ReadQuotasWithResponse call
func (ReadQuotasResponse) Status ¶
func (r ReadQuotasResponse) Status() string
Status returns HTTPResponse.Status
func (ReadQuotasResponse) StatusCode ¶
func (r ReadQuotasResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReadRegionsParams ¶
type ReadRegionsParams struct { Provider SnowProviders `json:"provider"` Limit *int `json:"limit,omitempty"` Offset *int `json:"offset,omitempty"` }
ReadRegionsParams defines parameters for ReadRegions.
type ReadRegionsResponse ¶
type ReadRegionsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]Region JSON401 *Message JSON403 *Message JSON422 *HTTPValidationError JSON502 *Message }
func ParseReadRegionsResponse ¶
func ParseReadRegionsResponse(rsp *http.Response) (*ReadRegionsResponse, error)
ParseReadRegionsResponse parses an HTTP response from a ReadRegionsWithResponse call
func (ReadRegionsResponse) Status ¶
func (r ReadRegionsResponse) Status() string
Status returns HTTPResponse.Status
func (ReadRegionsResponse) StatusCode ¶
func (r ReadRegionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReadServiceResponse ¶
type ReadServiceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ServiceOut JSON401 *Message JSON403 *Message JSON404 *Message JSON422 *Message JSON502 *Message }
func ParseReadServiceResponse ¶
func ParseReadServiceResponse(rsp *http.Response) (*ReadServiceResponse, error)
ParseReadServiceResponse parses an HTTP response from a ReadServiceWithResponse call
func (ReadServiceResponse) Status ¶
func (r ReadServiceResponse) Status() string
Status returns HTTPResponse.Status
func (ReadServiceResponse) StatusCode ¶
func (r ReadServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReadServiceTypesParams ¶
type ReadServiceTypesParams struct { Limit *int `json:"limit,omitempty"` Offset *int `json:"offset,omitempty"` }
ReadServiceTypesParams defines parameters for ReadServiceTypes.
type ReadServiceTypesResponse ¶
type ReadServiceTypesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]ServiceType JSON401 *Message JSON403 *Message JSON422 *HTTPValidationError JSON502 *Message }
func ParseReadServiceTypesResponse ¶
func ParseReadServiceTypesResponse(rsp *http.Response) (*ReadServiceTypesResponse, error)
ParseReadServiceTypesResponse parses an HTTP response from a ReadServiceTypesWithResponse call
func (ReadServiceTypesResponse) Status ¶
func (r ReadServiceTypesResponse) Status() string
Status returns HTTPResponse.Status
func (ReadServiceTypesResponse) StatusCode ¶
func (r ReadServiceTypesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReadSizesParams ¶
type ReadSizesParams struct { Region string `json:"region"` Topology ReadSizesParamsTopology `json:"topology"` Provider SnowProviders `json:"provider"` Tier ReadSizesParamsTier `json:"tier"` Limit *int `json:"limit,omitempty"` Offset *int `json:"offset,omitempty"` }
ReadSizesParams defines parameters for ReadSizes.
type ReadSizesParamsTier ¶
type ReadSizesParamsTier string
ReadSizesParamsTier defines parameters for ReadSizes.
type ReadSizesParamsTopology ¶ added in v0.0.25
type ReadSizesParamsTopology string
ReadSizesParamsTopology defines parameters for ReadSizes.
type ReadSizesResponse ¶
type ReadSizesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]Size JSON401 *Message JSON403 *Message JSON422 *HTTPValidationError JSON502 *Message }
func ParseReadSizesResponse ¶
func ParseReadSizesResponse(rsp *http.Response) (*ReadSizesResponse, error)
ParseReadSizesResponse parses an HTTP response from a ReadSizesWithResponse call
func (ReadSizesResponse) Status ¶
func (r ReadSizesResponse) Status() string
Status returns HTTPResponse.Status
func (ReadSizesResponse) StatusCode ¶
func (r ReadSizesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReadStatusResponse ¶
type ReadStatusResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ServiceStatus JSON401 *Message JSON403 *Message JSON422 *HTTPValidationError JSON502 *Message }
func ParseReadStatusResponse ¶
func ParseReadStatusResponse(rsp *http.Response) (*ReadStatusResponse, error)
ParseReadStatusResponse parses an HTTP response from a ReadStatusWithResponse call
func (ReadStatusResponse) Status ¶
func (r ReadStatusResponse) Status() string
Status returns HTTPResponse.Status
func (ReadStatusResponse) StatusCode ¶
func (r ReadStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReadTiersParams ¶
type ReadTiersParams struct { Limit *int `json:"limit,omitempty"` Offset *int `json:"offset,omitempty"` }
ReadTiersParams defines parameters for ReadTiers.
type ReadTiersResponse ¶
type ReadTiersResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]Tier JSON401 *Message JSON403 *Message JSON422 *HTTPValidationError JSON502 *Message }
func ParseReadTiersResponse ¶
func ParseReadTiersResponse(rsp *http.Response) (*ReadTiersResponse, error)
ParseReadTiersResponse parses an HTTP response from a ReadTiersWithResponse call
func (ReadTiersResponse) Status ¶
func (r ReadTiersResponse) Status() string
Status returns HTTPResponse.Status
func (ReadTiersResponse) StatusCode ¶
func (r ReadTiersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReadTopologiesParams ¶
type ReadTopologiesParams struct { ServiceType ReadTopologiesParamsServiceType `json:"service_type"` Limit *int `json:"limit,omitempty"` Offset *int `json:"offset,omitempty"` }
ReadTopologiesParams defines parameters for ReadTopologies.
type ReadTopologiesParamsServiceType ¶
type ReadTopologiesParamsServiceType string
ReadTopologiesParamsServiceType defines parameters for ReadTopologies.
type ReadTopologiesResponse ¶
type ReadTopologiesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]Topology JSON401 *Message JSON403 *Message JSON422 *HTTPValidationError JSON502 *Message }
func ParseReadTopologiesResponse ¶
func ParseReadTopologiesResponse(rsp *http.Response) (*ReadTopologiesResponse, error)
ParseReadTopologiesResponse parses an HTTP response from a ReadTopologiesWithResponse call
func (ReadTopologiesResponse) Status ¶
func (r ReadTopologiesResponse) Status() string
Status returns HTTPResponse.Status
func (ReadTopologiesResponse) StatusCode ¶
func (r ReadTopologiesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReadVersionsParams ¶
type ReadVersionsParams struct { Limit *int `json:"limit,omitempty"` Offset *int `json:"offset,omitempty"` }
ReadVersionsParams defines parameters for ReadVersions.
type ReadVersionsResponse ¶
type ReadVersionsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]Version JSON401 *Message JSON403 *Message JSON422 *HTTPValidationError JSON502 *Message }
func ParseReadVersionsResponse ¶
func ParseReadVersionsResponse(rsp *http.Response) (*ReadVersionsResponse, error)
ParseReadVersionsResponse parses an HTTP response from a ReadVersionsWithResponse call
func (ReadVersionsResponse) Status ¶
func (r ReadVersionsResponse) Status() string
Status returns HTTPResponse.Status
func (ReadVersionsResponse) StatusCode ¶
func (r ReadVersionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Region ¶
type Region struct { CreatedOn *string `json:"created_on,omitempty"` Default *string `json:"default,omitempty"` Name string `json:"name"` NodeType *string `json:"node_type,omitempty"` Provider string `json:"provider"` Region string `json:"region"` }
Geographic region, as defined by the providers
type RemoveAllowedAddressParams ¶
type RemoveAllowedAddressParams struct {
Address string `json:"address"`
}
RemoveAllowedAddressParams defines parameters for RemoveAllowedAddress.
type RemoveAllowedAddressResponse ¶
type RemoveAllowedAddressResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Message JSON401 *Message JSON403 *Message JSON422 *HTTPValidationError JSON502 *Message }
func ParseRemoveAllowedAddressResponse ¶
func ParseRemoveAllowedAddressResponse(rsp *http.Response) (*RemoveAllowedAddressResponse, error)
ParseRemoveAllowedAddressResponse parses an HTTP response from a RemoveAllowedAddressWithResponse call
func (RemoveAllowedAddressResponse) Status ¶
func (r RemoveAllowedAddressResponse) Status() string
Status returns HTTPResponse.Status
func (RemoveAllowedAddressResponse) StatusCode ¶
func (r RemoveAllowedAddressResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type RetrieveApiVersionResponse ¶ added in v0.0.24
type RetrieveApiVersionResponse struct { Body []byte HTTPResponse *http.Response JSON200 *interface{} }
func ParseRetrieveApiVersionResponse ¶ added in v0.0.24
func ParseRetrieveApiVersionResponse(rsp *http.Response) (*RetrieveApiVersionResponse, error)
ParseRetrieveApiVersionResponse parses an HTTP response from a RetrieveApiVersionWithResponse call
func (RetrieveApiVersionResponse) Status ¶ added in v0.0.24
func (r RetrieveApiVersionResponse) Status() string
Status returns HTTPResponse.Status
func (RetrieveApiVersionResponse) StatusCode ¶ added in v0.0.24
func (r RetrieveApiVersionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RetrieveDefaultCredentialsResponse ¶
type RetrieveDefaultCredentialsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DefaultCredentials JSON401 *Message JSON403 *Message JSON404 *Message JSON409 *Message JSON422 *Message JSON502 *Message }
func ParseRetrieveDefaultCredentialsResponse ¶
func ParseRetrieveDefaultCredentialsResponse(rsp *http.Response) (*RetrieveDefaultCredentialsResponse, error)
ParseRetrieveDefaultCredentialsResponse parses an HTTP response from a RetrieveDefaultCredentialsWithResponse call
func (RetrieveDefaultCredentialsResponse) Status ¶
func (r RetrieveDefaultCredentialsResponse) Status() string
Status returns HTTPResponse.Status
func (RetrieveDefaultCredentialsResponse) StatusCode ¶
func (r RetrieveDefaultCredentialsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServiceActions ¶
type ServiceActions interface{}
Actions that can be taken on a services in a Task
type ServiceIn ¶
type ServiceIn struct { MaxscaleConfig *string `json:"maxscale_config,omitempty"` MaxscaleProxy *string `json:"maxscale_proxy,omitempty"` Monitor *string `json:"monitor,omitempty"` Name string `json:"name"` // Providers configured in snow Provider SnowProviders `json:"provider"` Region string `json:"region"` ReleaseVersion string `json:"release_version"` Replicas string `json:"replicas"` Size string `json:"size"` SslTls *ServiceInSslTls `json:"ssl_tls,omitempty"` Tier ServiceInTier `json:"tier"` Topology ServiceInTopology `json:"topology"` TxStorage string `json:"tx_storage"` VolumeIops *string `json:"volume_iops,omitempty"` }
Request body to create a new MariaDB services deployed by SkySQL
type ServiceInSslTls ¶
type ServiceInSslTls string
ServiceInSslTls defines model for ServiceIn.SslTls.
const ( ServiceInSslTlsDisabled ServiceInSslTls = "Disabled" ServiceInSslTlsEmpty ServiceInSslTls = "" ServiceInSslTlsEnabled ServiceInSslTls = "Enabled" )
Defines values for ServiceInSslTls.
type ServiceInTier ¶
type ServiceInTier string
ServiceInTier defines model for ServiceIn.Tier.
const ( ServiceInTierFoundation ServiceInTier = "Foundation" ServiceInTierPower ServiceInTier = "Power" )
Defines values for ServiceInTier.
type ServiceInTopology ¶
type ServiceInTopology string
ServiceInTopology defines model for ServiceIn.Topology.
const ( ServiceInTopologyDistributedTransactions ServiceInTopology = "Distributed Transactions" ServiceInTopologyMultiNodeAnalytics ServiceInTopology = "Multi-Node Analytics" ServiceInTopologyReplicatedTransactions ServiceInTopology = "Replicated Transactions" ServiceInTopologySingleNodeAnalytics ServiceInTopology = "Single Node Analytics" ServiceInTopologySingleNodeTransactions ServiceInTopology = "Single Node Transactions" )
Defines values for ServiceInTopology.
type ServiceOut ¶
type ServiceOut struct { CreatedOn *string `json:"created_on,omitempty"` CustomConfig *string `json:"custom_config,omitempty"` Fqdn *string `json:"fqdn,omitempty"` Id *string `json:"id,omitempty"` InstallStatus *string `json:"install_status,omitempty"` IpAddress *string `json:"ip_address,omitempty"` MaxscaleConfig *string `json:"maxscale_config,omitempty"` MaxscaleProxy *string `json:"maxscale_proxy,omitempty"` Monitor *string `json:"monitor,omitempty"` Name *string `json:"name,omitempty"` Number *string `json:"number,omitempty"` OwnedBy *string `json:"owned_by,omitempty"` Provider *string `json:"provider,omitempty"` ReadOnlyPort *string `json:"read_only_port,omitempty"` ReadWritePort *string `json:"read_write_port,omitempty"` Region *string `json:"region,omitempty"` ReleaseVersion *string `json:"release_version,omitempty"` Replicas *string `json:"replicas,omitempty"` Size *string `json:"size,omitempty"` SslTls *ServiceOutSslTls `json:"ssl_tls,omitempty"` Tier *string `json:"tier,omitempty"` Topology *string `json:"topology,omitempty"` TxStorage *string `json:"tx_storage,omitempty"` UpdatedOn *string `json:"updated_on,omitempty"` VolumeIops *string `json:"volume_iops,omitempty"` }
Base class for Service responses
type ServiceOutSslTls ¶
type ServiceOutSslTls string
ServiceOutSslTls defines model for ServiceOut.SslTls.
const ( ServiceOutSslTlsDisabled ServiceOutSslTls = "Disabled" ServiceOutSslTlsEmpty ServiceOutSslTls = "" ServiceOutSslTlsEnabled ServiceOutSslTls = "Enabled" )
Defines values for ServiceOutSslTls.
type ServiceStatus ¶
type ServiceStatus struct {
Status string `json:"status"`
}
Response body for a services status
type ServiceStatusUpdate ¶
type ServiceStatusUpdate struct { // Actions that can be taken on a services in a Task Action ServiceActions `json:"action"` }
Request body to update a service
type ServiceType ¶
type ServiceType struct { ActiveTopologies *string `json:"active_topologies,omitempty"` CreatedOn *string `json:"created_on,omitempty"` DefaultTopology *string `json:"default_topology,omitempty"` Description *string `json:"description,omitempty"` ModCount *string `json:"mod_count,omitempty"` Name *string `json:"name,omitempty"` Order *string `json:"order,omitempty"` ShortDescription *string `json:"short_description,omitempty"` UpdatedOn *string `json:"updated_on,omitempty"` }
A database service type, e.g. Distributed Transactions
type ServiceUpdate ¶
type ServiceUpdate struct { Name *string `json:"name,omitempty"` TxStorage *string `json:"tx_storage,omitempty"` }
Request body to update a services - currently limited to name only
type Size ¶
type Size struct { Cpu *string `json:"cpu,omitempty"` CreatedOn *string `json:"created_on,omitempty"` Name string `json:"name"` Provider string `json:"provider"` Ram *string `json:"ram,omitempty"` ServiceType string `json:"service_type"` Tier string `json:"tier"` Visibility string `json:"visibility"` }
Node size, as defined by the providers
type SnowProviders ¶
type SnowProviders string
Providers configured in snow
const ( SnowProvidersAWS SnowProviders = "AWS" SnowProvidersAmazon SnowProviders = "Amazon" SnowProvidersAmazonAWS SnowProviders = "Amazon AWS" SnowProvidersAws SnowProviders = "aws" SnowProvidersGCP SnowProviders = "GCP" SnowProvidersGcp SnowProviders = "gcp" SnowProvidersGoogle SnowProviders = "Google" SnowProvidersGoogleCloud SnowProviders = "Google Cloud" )
Defines values for SnowProviders.
type Topology ¶
type Topology struct { Active *string `json:"active,omitempty"` MaxscaleSupported *string `json:"maxscale_supported,omitempty"` Name *string `json:"name,omitempty"` ReplicaLabel *string `json:"replica_label,omitempty"` ReplicaOptions *string `json:"replica_options,omitempty"` ServiceType string `json:"service_type"` }
Cluster topology valid for a particular product, e.g. Standalone or MaxScale
type UnmetExpectationDetail ¶
type UnmetExpectationDetail struct { // Message body with details regarding failed specifications Detail UnmetExpectationMessage `json:"detail"` }
Message details containing unmet expectations from failed specs
type UnmetExpectationMessage ¶
type UnmetExpectationMessage struct { Description string `json:"description"` UnmetExpectations *string `json:"unmet_expectations,omitempty"` }
Message body with details regarding failed specifications
type UpdateConfigurationJSONBody ¶
type UpdateConfigurationJSONBody UpdateConfigurationRequest
UpdateConfigurationJSONBody defines parameters for UpdateConfiguration.
type UpdateConfigurationJSONRequestBody ¶
type UpdateConfigurationJSONRequestBody UpdateConfigurationJSONBody
UpdateConfigurationJSONRequestBody defines body for UpdateConfiguration for application/json ContentType.
type UpdateConfigurationRequest ¶
type UpdateConfigurationRequest struct { ConfigJson *map[string]interface{} `json:"config_json,omitempty"` Name *string `json:"name,omitempty"` }
Request body to update a configuration
type UpdateConfigurationResponse ¶
type UpdateConfigurationResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ConfigurationResp JSON401 *Message JSON403 *Message JSON404 *Message JSON422 *Message JSON502 *Message }
func ParseUpdateConfigurationResponse ¶
func ParseUpdateConfigurationResponse(rsp *http.Response) (*UpdateConfigurationResponse, error)
ParseUpdateConfigurationResponse parses an HTTP response from a UpdateConfigurationWithResponse call
func (UpdateConfigurationResponse) Status ¶
func (r UpdateConfigurationResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateConfigurationResponse) StatusCode ¶
func (r UpdateConfigurationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateServiceJSONBody ¶
type UpdateServiceJSONBody ServiceUpdate
UpdateServiceJSONBody defines parameters for UpdateService.
type UpdateServiceJSONRequestBody ¶
type UpdateServiceJSONRequestBody UpdateServiceJSONBody
UpdateServiceJSONRequestBody defines body for UpdateService for application/json ContentType.
type UpdateServiceResponse ¶
type UpdateServiceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ServiceOut JSON401 *Message JSON403 *Message JSON404 *Message JSON422 *Message JSON502 *Message }
func ParseUpdateServiceResponse ¶
func ParseUpdateServiceResponse(rsp *http.Response) (*UpdateServiceResponse, error)
ParseUpdateServiceResponse parses an HTTP response from a UpdateServiceWithResponse call
func (UpdateServiceResponse) Status ¶
func (r UpdateServiceResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateServiceResponse) StatusCode ¶
func (r UpdateServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateStatusJSONBody ¶
type UpdateStatusJSONBody ServiceStatusUpdate
UpdateStatusJSONBody defines parameters for UpdateStatus.
type UpdateStatusJSONRequestBody ¶
type UpdateStatusJSONRequestBody UpdateStatusJSONBody
UpdateStatusJSONRequestBody defines body for UpdateStatus for application/json ContentType.
type UpdateStatusResponse ¶
type UpdateStatusResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ServiceStatus JSON401 *Message JSON403 *Message JSON422 *HTTPValidationError JSON502 *Message }
func ParseUpdateStatusResponse ¶
func ParseUpdateStatusResponse(rsp *http.Response) (*UpdateStatusResponse, error)
ParseUpdateStatusResponse parses an HTTP response from a UpdateStatusWithResponse call
func (UpdateStatusResponse) Status ¶
func (r UpdateStatusResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateStatusResponse) StatusCode ¶
func (r UpdateStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ValidationError ¶
type ValidationError struct { Loc []string `json:"loc"` Msg string `json:"msg"` Type string `json:"type"` }
ValidationError defines model for ValidationError.
type Version ¶
type Version struct { CreatedOn *string `json:"created_on,omitempty"` EnterpriseVersion *string `json:"enterprise_version,omitempty"` ModCount *string `json:"mod_count,omitempty"` Name *string `json:"name,omitempty"` ParentRelease *string `json:"parent_release,omitempty"` Provider *string `json:"provider,omitempty"` Public *string `json:"public,omitempty"` ReleaseDate *string `json:"release_date,omitempty"` ReleaseNotesUrl *string `json:"release_notes_url,omitempty"` ServiceType *string `json:"service_type,omitempty"` Type *string `json:"type,omitempty"` UpdatedOn *string `json:"updated_on,omitempty"` }
Database version, e.g. 10.4 or 10.5