Documentation
¶
Overview ¶
Package api provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.
Package api provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.
Index ¶
- func NewAgentServiceCreateAgentRequest(server string, body AgentServiceCreateAgentJSONRequestBody) (*http.Request, error)
- func NewAgentServiceCreateAgentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAgentServiceDeleteAgentRequest(server string, id string) (*http.Request, error)
- func NewAgentServiceGeneratePeeringConfigRequest(server string, id string, ...) (*http.Request, error)
- func NewAgentServiceGeneratePeeringConfigRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewAgentServiceGetAgentRequest(server string, id string) (*http.Request, error)
- func NewAgentServiceListAgentsRequest(server string, params *AgentServiceListAgentsParams) (*http.Request, error)
- func NewAgentServiceUpdateAgentRequest(server string, id string, body AgentServiceUpdateAgentJSONRequestBody) (*http.Request, error)
- func NewAgentServiceUpdateAgentRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewAgentServiceUploadInboundPeeringConfigRequest(server string, id string, ...) (*http.Request, error)
- func NewAgentServiceUploadInboundPeeringConfigRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewGroupServiceAddServiceAccountToGroupRequest(server string, body GroupServiceAddServiceAccountToGroupJSONRequestBody) (*http.Request, error)
- func NewGroupServiceAddServiceAccountToGroupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewGroupServiceRemoveServiceAccountFromGroupRequest(server string, params *GroupServiceRemoveServiceAccountFromGroupParams) (*http.Request, error)
- func NewMetadataServiceGetPlatformVersionsRequest(server string) (*http.Request, error)
- func NewMetricsCredentialServiceCreateMetricsWriteCredentialRequest(server string, ...) (*http.Request, error)
- func NewMetricsCredentialServiceCreateMetricsWriteCredentialRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewMetricsCredentialServiceListMetricsWriteCredentialsRequest(server string, ...) (*http.Request, error)
- func NewMetricsCredentialServiceRotateMetricsWriteCredentialRequest(server string, id string, ...) (*http.Request, error)
- func NewMetricsCredentialServiceRotateMetricsWriteCredentialRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewOrganizationServiceGetOrganizationRequest(server string) (*http.Request, error)
- func NewOrganizationServiceListOrganizationsRequest(server string, params *OrganizationServiceListOrganizationsParams) (*http.Request, error)
- func NewRoleServiceReplaceRoleForServiceAccountRequest(server string, body RoleServiceReplaceRoleForServiceAccountJSONRequestBody) (*http.Request, error)
- func NewRoleServiceReplaceRoleForServiceAccountRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewServiceAccountServiceCreateServiceAccountRequest(server string, body ServiceAccountServiceCreateServiceAccountJSONRequestBody) (*http.Request, error)
- func NewServiceAccountServiceCreateServiceAccountRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewServiceAccountServiceDeleteServiceAccountRequest(server string, id string) (*http.Request, error)
- func NewServiceAccountServiceGenerateTokenRequest(server string, serviceAccountId string, ...) (*http.Request, error)
- func NewServiceAccountServiceGenerateTokenRequestWithBody(server string, serviceAccountId string, contentType string, body io.Reader) (*http.Request, error)
- func NewServiceAccountServiceGetServiceAccountRequest(server string, id string) (*http.Request, error)
- func NewServiceAccountServiceListServiceAccountsRequest(server string, params *ServiceAccountServiceListServiceAccountsParams) (*http.Request, error)
- func NewServiceAccountServiceListTokensRequest(server string, serviceAccountId string, ...) (*http.Request, error)
- func NewServiceAccountServiceRevokeTokenRequest(server string, tokenId string) (*http.Request, error)
- func NewServiceAccountServiceUpdateServiceAccountRequest(server string, id string, ...) (*http.Request, error)
- func NewServiceAccountServiceUpdateServiceAccountRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- type AgentServiceCreateAgentJSONRequestBody
- type AgentServiceCreateAgentResponse
- func (r AgentServiceCreateAgentResponse) ContentType() string
- func (r AgentServiceCreateAgentResponse) GetBody() []byte
- func (r AgentServiceCreateAgentResponse) GetJSON200() *V1GetAgentResponse
- func (r AgentServiceCreateAgentResponse) Status() string
- func (r AgentServiceCreateAgentResponse) StatusCode() int
- type AgentServiceDeleteAgentResponse
- func (r AgentServiceDeleteAgentResponse) ContentType() string
- func (r AgentServiceDeleteAgentResponse) GetBody() []byte
- func (r AgentServiceDeleteAgentResponse) GetJSON200() *V1SuccessResponse
- func (r AgentServiceDeleteAgentResponse) Status() string
- func (r AgentServiceDeleteAgentResponse) StatusCode() int
- type AgentServiceGeneratePeeringConfigBody
- type AgentServiceGeneratePeeringConfigJSONRequestBody
- type AgentServiceGeneratePeeringConfigResponse
- func (r AgentServiceGeneratePeeringConfigResponse) ContentType() string
- func (r AgentServiceGeneratePeeringConfigResponse) GetBody() []byte
- func (r AgentServiceGeneratePeeringConfigResponse) GetJSON200() *V1GeneratePeeringConfigResponse
- func (r AgentServiceGeneratePeeringConfigResponse) Status() string
- func (r AgentServiceGeneratePeeringConfigResponse) StatusCode() int
- type AgentServiceGetAgentResponse
- type AgentServiceListAgentsParams
- type AgentServiceListAgentsParamsGatewayRegion
- type AgentServiceListAgentsResponse
- func (r AgentServiceListAgentsResponse) ContentType() string
- func (r AgentServiceListAgentsResponse) GetBody() []byte
- func (r AgentServiceListAgentsResponse) GetJSON200() *V1ListAgentsResponse
- func (r AgentServiceListAgentsResponse) Status() string
- func (r AgentServiceListAgentsResponse) StatusCode() int
- type AgentServiceUpdateAgentBody
- type AgentServiceUpdateAgentJSONRequestBody
- type AgentServiceUpdateAgentResponse
- func (r AgentServiceUpdateAgentResponse) ContentType() string
- func (r AgentServiceUpdateAgentResponse) GetBody() []byte
- func (r AgentServiceUpdateAgentResponse) GetJSON200() *V1UpdateAgentResponse
- func (r AgentServiceUpdateAgentResponse) Status() string
- func (r AgentServiceUpdateAgentResponse) StatusCode() int
- type AgentServiceUploadInboundPeeringConfigBody
- type AgentServiceUploadInboundPeeringConfigJSONRequestBody
- type AgentServiceUploadInboundPeeringConfigResponse
- func (r AgentServiceUploadInboundPeeringConfigResponse) ContentType() string
- func (r AgentServiceUploadInboundPeeringConfigResponse) GetBody() []byte
- func (r AgentServiceUploadInboundPeeringConfigResponse) GetJSON200() *V1UploadInboundPeeringConfigResponse
- func (r AgentServiceUploadInboundPeeringConfigResponse) Status() string
- func (r AgentServiceUploadInboundPeeringConfigResponse) StatusCode() int
- type Client
- func (c *Client) AgentServiceCreateAgent(ctx context.Context, body AgentServiceCreateAgentJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AgentServiceCreateAgentWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AgentServiceDeleteAgent(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AgentServiceGeneratePeeringConfig(ctx context.Context, id string, ...) (*http.Response, error)
- func (c *Client) AgentServiceGeneratePeeringConfigWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AgentServiceGetAgent(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AgentServiceListAgents(ctx context.Context, params *AgentServiceListAgentsParams, ...) (*http.Response, error)
- func (c *Client) AgentServiceUpdateAgent(ctx context.Context, id string, body AgentServiceUpdateAgentJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AgentServiceUpdateAgentWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AgentServiceUploadInboundPeeringConfig(ctx context.Context, id string, ...) (*http.Response, error)
- func (c *Client) AgentServiceUploadInboundPeeringConfigWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GroupServiceAddServiceAccountToGroup(ctx context.Context, body GroupServiceAddServiceAccountToGroupJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) GroupServiceAddServiceAccountToGroupWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GroupServiceRemoveServiceAccountFromGroup(ctx context.Context, params *GroupServiceRemoveServiceAccountFromGroupParams, ...) (*http.Response, error)
- func (c *Client) MetadataServiceGetPlatformVersions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) MetricsCredentialServiceCreateMetricsWriteCredential(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) MetricsCredentialServiceCreateMetricsWriteCredentialWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) MetricsCredentialServiceListMetricsWriteCredentials(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) MetricsCredentialServiceRotateMetricsWriteCredential(ctx context.Context, id string, ...) (*http.Response, error)
- func (c *Client) MetricsCredentialServiceRotateMetricsWriteCredentialWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) OrganizationServiceGetOrganization(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) OrganizationServiceListOrganizations(ctx context.Context, params *OrganizationServiceListOrganizationsParams, ...) (*http.Response, error)
- func (c *Client) RoleServiceReplaceRoleForServiceAccount(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) RoleServiceReplaceRoleForServiceAccountWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ServiceAccountServiceCreateServiceAccount(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) ServiceAccountServiceCreateServiceAccountWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ServiceAccountServiceDeleteServiceAccount(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ServiceAccountServiceGenerateToken(ctx context.Context, serviceAccountId string, ...) (*http.Response, error)
- func (c *Client) ServiceAccountServiceGenerateTokenWithBody(ctx context.Context, serviceAccountId string, contentType string, ...) (*http.Response, error)
- func (c *Client) ServiceAccountServiceGetServiceAccount(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ServiceAccountServiceListServiceAccounts(ctx context.Context, params *ServiceAccountServiceListServiceAccountsParams, ...) (*http.Response, error)
- func (c *Client) ServiceAccountServiceListTokens(ctx context.Context, serviceAccountId string, ...) (*http.Response, error)
- func (c *Client) ServiceAccountServiceRevokeToken(ctx context.Context, tokenId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ServiceAccountServiceUpdateServiceAccount(ctx context.Context, id string, ...) (*http.Response, error)
- func (c *Client) ServiceAccountServiceUpdateServiceAccountWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AgentServiceCreateAgentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AgentServiceCreateAgentResponse, error)
- func (c *ClientWithResponses) AgentServiceCreateAgentWithResponse(ctx context.Context, body AgentServiceCreateAgentJSONRequestBody, ...) (*AgentServiceCreateAgentResponse, error)
- func (c *ClientWithResponses) AgentServiceDeleteAgentWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AgentServiceDeleteAgentResponse, error)
- func (c *ClientWithResponses) AgentServiceGeneratePeeringConfigWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*AgentServiceGeneratePeeringConfigResponse, error)
- func (c *ClientWithResponses) AgentServiceGeneratePeeringConfigWithResponse(ctx context.Context, id string, ...) (*AgentServiceGeneratePeeringConfigResponse, error)
- func (c *ClientWithResponses) AgentServiceGetAgentWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AgentServiceGetAgentResponse, error)
- func (c *ClientWithResponses) AgentServiceListAgentsWithResponse(ctx context.Context, params *AgentServiceListAgentsParams, ...) (*AgentServiceListAgentsResponse, error)
- func (c *ClientWithResponses) AgentServiceUpdateAgentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*AgentServiceUpdateAgentResponse, error)
- func (c *ClientWithResponses) AgentServiceUpdateAgentWithResponse(ctx context.Context, id string, body AgentServiceUpdateAgentJSONRequestBody, ...) (*AgentServiceUpdateAgentResponse, error)
- func (c *ClientWithResponses) AgentServiceUploadInboundPeeringConfigWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*AgentServiceUploadInboundPeeringConfigResponse, error)
- func (c *ClientWithResponses) AgentServiceUploadInboundPeeringConfigWithResponse(ctx context.Context, id string, ...) (*AgentServiceUploadInboundPeeringConfigResponse, error)
- func (c *ClientWithResponses) GroupServiceAddServiceAccountToGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*GroupServiceAddServiceAccountToGroupResponse, error)
- func (c *ClientWithResponses) GroupServiceAddServiceAccountToGroupWithResponse(ctx context.Context, body GroupServiceAddServiceAccountToGroupJSONRequestBody, ...) (*GroupServiceAddServiceAccountToGroupResponse, error)
- func (c *ClientWithResponses) GroupServiceRemoveServiceAccountFromGroupWithResponse(ctx context.Context, params *GroupServiceRemoveServiceAccountFromGroupParams, ...) (*GroupServiceRemoveServiceAccountFromGroupResponse, error)
- func (c *ClientWithResponses) MetadataServiceGetPlatformVersionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MetadataServiceGetPlatformVersionsResponse, error)
- func (c *ClientWithResponses) MetricsCredentialServiceCreateMetricsWriteCredentialWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*MetricsCredentialServiceCreateMetricsWriteCredentialResponse, error)
- func (c *ClientWithResponses) MetricsCredentialServiceCreateMetricsWriteCredentialWithResponse(ctx context.Context, ...) (*MetricsCredentialServiceCreateMetricsWriteCredentialResponse, error)
- func (c *ClientWithResponses) MetricsCredentialServiceListMetricsWriteCredentialsWithResponse(ctx context.Context, ...) (*MetricsCredentialServiceListMetricsWriteCredentialsResponse, error)
- func (c *ClientWithResponses) MetricsCredentialServiceRotateMetricsWriteCredentialWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*MetricsCredentialServiceRotateMetricsWriteCredentialResponse, error)
- func (c *ClientWithResponses) MetricsCredentialServiceRotateMetricsWriteCredentialWithResponse(ctx context.Context, id string, ...) (*MetricsCredentialServiceRotateMetricsWriteCredentialResponse, error)
- func (c *ClientWithResponses) OrganizationServiceGetOrganizationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OrganizationServiceGetOrganizationResponse, error)
- func (c *ClientWithResponses) OrganizationServiceListOrganizationsWithResponse(ctx context.Context, params *OrganizationServiceListOrganizationsParams, ...) (*OrganizationServiceListOrganizationsResponse, error)
- func (c *ClientWithResponses) RoleServiceReplaceRoleForServiceAccountWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*RoleServiceReplaceRoleForServiceAccountResponse, error)
- func (c *ClientWithResponses) RoleServiceReplaceRoleForServiceAccountWithResponse(ctx context.Context, ...) (*RoleServiceReplaceRoleForServiceAccountResponse, error)
- func (c *ClientWithResponses) ServiceAccountServiceCreateServiceAccountWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ServiceAccountServiceCreateServiceAccountResponse, error)
- func (c *ClientWithResponses) ServiceAccountServiceCreateServiceAccountWithResponse(ctx context.Context, ...) (*ServiceAccountServiceCreateServiceAccountResponse, error)
- func (c *ClientWithResponses) ServiceAccountServiceDeleteServiceAccountWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServiceAccountServiceDeleteServiceAccountResponse, error)
- func (c *ClientWithResponses) ServiceAccountServiceGenerateTokenWithBodyWithResponse(ctx context.Context, serviceAccountId string, contentType string, ...) (*ServiceAccountServiceGenerateTokenResponse, error)
- func (c *ClientWithResponses) ServiceAccountServiceGenerateTokenWithResponse(ctx context.Context, serviceAccountId string, ...) (*ServiceAccountServiceGenerateTokenResponse, error)
- func (c *ClientWithResponses) ServiceAccountServiceGetServiceAccountWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServiceAccountServiceGetServiceAccountResponse, error)
- func (c *ClientWithResponses) ServiceAccountServiceListServiceAccountsWithResponse(ctx context.Context, params *ServiceAccountServiceListServiceAccountsParams, ...) (*ServiceAccountServiceListServiceAccountsResponse, error)
- func (c *ClientWithResponses) ServiceAccountServiceListTokensWithResponse(ctx context.Context, serviceAccountId string, ...) (*ServiceAccountServiceListTokensResponse, error)
- func (c *ClientWithResponses) ServiceAccountServiceRevokeTokenWithResponse(ctx context.Context, tokenId string, reqEditors ...RequestEditorFn) (*ServiceAccountServiceRevokeTokenResponse, error)
- func (c *ClientWithResponses) ServiceAccountServiceUpdateServiceAccountWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*ServiceAccountServiceUpdateServiceAccountResponse, error)
- func (c *ClientWithResponses) ServiceAccountServiceUpdateServiceAccountWithResponse(ctx context.Context, id string, ...) (*ServiceAccountServiceUpdateServiceAccountResponse, error)
- type ClientWithResponsesInterface
- type GroupServiceAddServiceAccountToGroupJSONRequestBody
- type GroupServiceAddServiceAccountToGroupResponse
- func (r GroupServiceAddServiceAccountToGroupResponse) ContentType() string
- func (r GroupServiceAddServiceAccountToGroupResponse) GetBody() []byte
- func (r GroupServiceAddServiceAccountToGroupResponse) GetJSON200() *V1SuccessResponse
- func (r GroupServiceAddServiceAccountToGroupResponse) Status() string
- func (r GroupServiceAddServiceAccountToGroupResponse) StatusCode() int
- type GroupServiceRemoveServiceAccountFromGroupParams
- type GroupServiceRemoveServiceAccountFromGroupResponse
- func (r GroupServiceRemoveServiceAccountFromGroupResponse) ContentType() string
- func (r GroupServiceRemoveServiceAccountFromGroupResponse) GetBody() []byte
- func (r GroupServiceRemoveServiceAccountFromGroupResponse) GetJSON200() *V1SuccessResponse
- func (r GroupServiceRemoveServiceAccountFromGroupResponse) Status() string
- func (r GroupServiceRemoveServiceAccountFromGroupResponse) StatusCode() int
- type HttpRequestDoer
- type MetadataServiceGetPlatformVersionsResponse
- func (r MetadataServiceGetPlatformVersionsResponse) ContentType() string
- func (r MetadataServiceGetPlatformVersionsResponse) GetBody() []byte
- func (r MetadataServiceGetPlatformVersionsResponse) GetJSON200() *V1PlatformVersions
- func (r MetadataServiceGetPlatformVersionsResponse) Status() string
- func (r MetadataServiceGetPlatformVersionsResponse) StatusCode() int
- type MetricsCredentialServiceCreateMetricsWriteCredentialJSONRequestBody
- type MetricsCredentialServiceCreateMetricsWriteCredentialResponse
- func (r MetricsCredentialServiceCreateMetricsWriteCredentialResponse) ContentType() string
- func (r MetricsCredentialServiceCreateMetricsWriteCredentialResponse) GetBody() []byte
- func (r MetricsCredentialServiceCreateMetricsWriteCredentialResponse) GetJSON200() *V1CreateMetricsWriteCredentialResponse
- func (r MetricsCredentialServiceCreateMetricsWriteCredentialResponse) Status() string
- func (r MetricsCredentialServiceCreateMetricsWriteCredentialResponse) StatusCode() int
- type MetricsCredentialServiceListMetricsWriteCredentialsParams
- type MetricsCredentialServiceListMetricsWriteCredentialsResponse
- func (r MetricsCredentialServiceListMetricsWriteCredentialsResponse) ContentType() string
- func (r MetricsCredentialServiceListMetricsWriteCredentialsResponse) GetBody() []byte
- func (r MetricsCredentialServiceListMetricsWriteCredentialsResponse) GetJSON200() *V1ListMetricsWriteCredentialsResponse
- func (r MetricsCredentialServiceListMetricsWriteCredentialsResponse) Status() string
- func (r MetricsCredentialServiceListMetricsWriteCredentialsResponse) StatusCode() int
- type MetricsCredentialServiceRotateMetricsWriteCredentialBody
- type MetricsCredentialServiceRotateMetricsWriteCredentialJSONRequestBody
- type MetricsCredentialServiceRotateMetricsWriteCredentialResponse
- func (r MetricsCredentialServiceRotateMetricsWriteCredentialResponse) ContentType() string
- func (r MetricsCredentialServiceRotateMetricsWriteCredentialResponse) GetBody() []byte
- func (r MetricsCredentialServiceRotateMetricsWriteCredentialResponse) GetJSON200() *V1CreateMetricsWriteCredentialResponse
- func (r MetricsCredentialServiceRotateMetricsWriteCredentialResponse) Status() string
- func (r MetricsCredentialServiceRotateMetricsWriteCredentialResponse) StatusCode() int
- type OrganizationServiceGetOrganizationResponse
- func (r OrganizationServiceGetOrganizationResponse) ContentType() string
- func (r OrganizationServiceGetOrganizationResponse) GetBody() []byte
- func (r OrganizationServiceGetOrganizationResponse) GetJSON200() *V1GetOrganizationResponse
- func (r OrganizationServiceGetOrganizationResponse) Status() string
- func (r OrganizationServiceGetOrganizationResponse) StatusCode() int
- type OrganizationServiceListOrganizationsParams
- type OrganizationServiceListOrganizationsResponse
- func (r OrganizationServiceListOrganizationsResponse) ContentType() string
- func (r OrganizationServiceListOrganizationsResponse) GetBody() []byte
- func (r OrganizationServiceListOrganizationsResponse) GetJSON200() *V1ListOrganizationsResponse
- func (r OrganizationServiceListOrganizationsResponse) Status() string
- func (r OrganizationServiceListOrganizationsResponse) StatusCode() int
- type Protov1Status
- type RequestEditorFn
- type RoleServiceReplaceRoleForServiceAccountJSONRequestBody
- type RoleServiceReplaceRoleForServiceAccountResponse
- func (r RoleServiceReplaceRoleForServiceAccountResponse) ContentType() string
- func (r RoleServiceReplaceRoleForServiceAccountResponse) GetBody() []byte
- func (r RoleServiceReplaceRoleForServiceAccountResponse) GetJSON200() *V1SuccessResponse
- func (r RoleServiceReplaceRoleForServiceAccountResponse) Status() string
- func (r RoleServiceReplaceRoleForServiceAccountResponse) StatusCode() int
- type ServiceAccountServiceCreateServiceAccountJSONRequestBody
- type ServiceAccountServiceCreateServiceAccountResponse
- func (r ServiceAccountServiceCreateServiceAccountResponse) ContentType() string
- func (r ServiceAccountServiceCreateServiceAccountResponse) GetBody() []byte
- func (r ServiceAccountServiceCreateServiceAccountResponse) GetJSON200() *V1ServiceAccountResponse
- func (r ServiceAccountServiceCreateServiceAccountResponse) Status() string
- func (r ServiceAccountServiceCreateServiceAccountResponse) StatusCode() int
- type ServiceAccountServiceDeleteServiceAccountResponse
- func (r ServiceAccountServiceDeleteServiceAccountResponse) ContentType() string
- func (r ServiceAccountServiceDeleteServiceAccountResponse) GetBody() []byte
- func (r ServiceAccountServiceDeleteServiceAccountResponse) GetJSON200() *map[string]interface{}
- func (r ServiceAccountServiceDeleteServiceAccountResponse) Status() string
- func (r ServiceAccountServiceDeleteServiceAccountResponse) StatusCode() int
- type ServiceAccountServiceGenerateTokenBody
- type ServiceAccountServiceGenerateTokenJSONRequestBody
- type ServiceAccountServiceGenerateTokenResponse
- func (r ServiceAccountServiceGenerateTokenResponse) ContentType() string
- func (r ServiceAccountServiceGenerateTokenResponse) GetBody() []byte
- func (r ServiceAccountServiceGenerateTokenResponse) GetJSON200() *V1GenerateServiceAccountTokenResponse
- func (r ServiceAccountServiceGenerateTokenResponse) Status() string
- func (r ServiceAccountServiceGenerateTokenResponse) StatusCode() int
- type ServiceAccountServiceGetServiceAccountResponse
- func (r ServiceAccountServiceGetServiceAccountResponse) ContentType() string
- func (r ServiceAccountServiceGetServiceAccountResponse) GetBody() []byte
- func (r ServiceAccountServiceGetServiceAccountResponse) GetJSON200() *V1ServiceAccountResponse
- func (r ServiceAccountServiceGetServiceAccountResponse) Status() string
- func (r ServiceAccountServiceGetServiceAccountResponse) StatusCode() int
- type ServiceAccountServiceListServiceAccountsParams
- type ServiceAccountServiceListServiceAccountsResponse
- func (r ServiceAccountServiceListServiceAccountsResponse) ContentType() string
- func (r ServiceAccountServiceListServiceAccountsResponse) GetBody() []byte
- func (r ServiceAccountServiceListServiceAccountsResponse) GetJSON200() *V1ListServiceAccountsResponse
- func (r ServiceAccountServiceListServiceAccountsResponse) Status() string
- func (r ServiceAccountServiceListServiceAccountsResponse) StatusCode() int
- type ServiceAccountServiceListTokensParams
- type ServiceAccountServiceListTokensResponse
- func (r ServiceAccountServiceListTokensResponse) ContentType() string
- func (r ServiceAccountServiceListTokensResponse) GetBody() []byte
- func (r ServiceAccountServiceListTokensResponse) GetJSON200() *V1ListServiceAccountTokensResponse
- func (r ServiceAccountServiceListTokensResponse) Status() string
- func (r ServiceAccountServiceListTokensResponse) StatusCode() int
- type ServiceAccountServiceRevokeTokenResponse
- func (r ServiceAccountServiceRevokeTokenResponse) ContentType() string
- func (r ServiceAccountServiceRevokeTokenResponse) GetBody() []byte
- func (r ServiceAccountServiceRevokeTokenResponse) GetJSON200() *map[string]interface{}
- func (r ServiceAccountServiceRevokeTokenResponse) Status() string
- func (r ServiceAccountServiceRevokeTokenResponse) StatusCode() int
- type ServiceAccountServiceUpdateServiceAccountBody
- type ServiceAccountServiceUpdateServiceAccountJSONRequestBody
- type ServiceAccountServiceUpdateServiceAccountResponse
- func (r ServiceAccountServiceUpdateServiceAccountResponse) ContentType() string
- func (r ServiceAccountServiceUpdateServiceAccountResponse) GetBody() []byte
- func (r ServiceAccountServiceUpdateServiceAccountResponse) GetJSON200() *V1ServiceAccountResponse
- func (r ServiceAccountServiceUpdateServiceAccountResponse) Status() string
- func (r ServiceAccountServiceUpdateServiceAccountResponse) StatusCode() int
- type V1AddServiceAccountToGroupRequest
- type V1Agent
- type V1AgentGatewayRegion
- type V1ComponentVersion
- type V1CreateAgentRequest
- type V1CreateMetricsWriteCredentialRequest
- type V1CreateMetricsWriteCredentialResponse
- type V1CreateServiceAccountRequest
- type V1GeneratePeeringConfigResponse
- type V1GenerateServiceAccountTokenResponse
- type V1GetAgentResponse
- type V1GetOrganizationResponse
- type V1InboundPeeringState
- type V1ListAgentsResponse
- type V1ListMetricsWriteCredentialsResponse
- type V1ListOrganizationsResponse
- type V1ListServiceAccountTokensResponse
- type V1ListServiceAccountsResponse
- type V1MetricsWriteCredential
- type V1Organization
- type V1OrganizationType
- type V1PlatformDriver
- type V1PlatformVersions
- type V1ReplaceRoleForServiceAccountRequest
- type V1ServiceAccountResponse
- type V1ServiceAccountTokenInfo
- type V1ServiceStatus
- type V1SuccessResponse
- type V1Timestamps
- type V1UpdateAgentResponse
- type V1UploadInboundPeeringConfigResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAgentServiceCreateAgentRequest ¶
func NewAgentServiceCreateAgentRequest(server string, body AgentServiceCreateAgentJSONRequestBody) (*http.Request, error)
NewAgentServiceCreateAgentRequest calls the generic AgentServiceCreateAgent builder with application/json body
func NewAgentServiceCreateAgentRequestWithBody ¶
func NewAgentServiceCreateAgentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAgentServiceCreateAgentRequestWithBody constructs an http.Request for the AgentServiceCreateAgent method, with any body, and a specified content type
func NewAgentServiceDeleteAgentRequest ¶
NewAgentServiceDeleteAgentRequest constructs an http.Request for the AgentServiceDeleteAgent method
func NewAgentServiceGeneratePeeringConfigRequest ¶
func NewAgentServiceGeneratePeeringConfigRequest(server string, id string, body AgentServiceGeneratePeeringConfigJSONRequestBody) (*http.Request, error)
NewAgentServiceGeneratePeeringConfigRequest calls the generic AgentServiceGeneratePeeringConfig builder with application/json body
func NewAgentServiceGeneratePeeringConfigRequestWithBody ¶
func NewAgentServiceGeneratePeeringConfigRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewAgentServiceGeneratePeeringConfigRequestWithBody constructs an http.Request for the AgentServiceGeneratePeeringConfig method, with any body, and a specified content type
func NewAgentServiceGetAgentRequest ¶
NewAgentServiceGetAgentRequest constructs an http.Request for the AgentServiceGetAgent method
func NewAgentServiceListAgentsRequest ¶
func NewAgentServiceListAgentsRequest(server string, params *AgentServiceListAgentsParams) (*http.Request, error)
NewAgentServiceListAgentsRequest constructs an http.Request for the AgentServiceListAgents method
func NewAgentServiceUpdateAgentRequest ¶
func NewAgentServiceUpdateAgentRequest(server string, id string, body AgentServiceUpdateAgentJSONRequestBody) (*http.Request, error)
NewAgentServiceUpdateAgentRequest calls the generic AgentServiceUpdateAgent builder with application/json body
func NewAgentServiceUpdateAgentRequestWithBody ¶
func NewAgentServiceUpdateAgentRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewAgentServiceUpdateAgentRequestWithBody constructs an http.Request for the AgentServiceUpdateAgent method, with any body, and a specified content type
func NewAgentServiceUploadInboundPeeringConfigRequest ¶
func NewAgentServiceUploadInboundPeeringConfigRequest(server string, id string, body AgentServiceUploadInboundPeeringConfigJSONRequestBody) (*http.Request, error)
NewAgentServiceUploadInboundPeeringConfigRequest calls the generic AgentServiceUploadInboundPeeringConfig builder with application/json body
func NewAgentServiceUploadInboundPeeringConfigRequestWithBody ¶
func NewAgentServiceUploadInboundPeeringConfigRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewAgentServiceUploadInboundPeeringConfigRequestWithBody constructs an http.Request for the AgentServiceUploadInboundPeeringConfig method, with any body, and a specified content type
func NewGroupServiceAddServiceAccountToGroupRequest ¶
func NewGroupServiceAddServiceAccountToGroupRequest(server string, body GroupServiceAddServiceAccountToGroupJSONRequestBody) (*http.Request, error)
NewGroupServiceAddServiceAccountToGroupRequest calls the generic GroupServiceAddServiceAccountToGroup builder with application/json body
func NewGroupServiceAddServiceAccountToGroupRequestWithBody ¶
func NewGroupServiceAddServiceAccountToGroupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewGroupServiceAddServiceAccountToGroupRequestWithBody constructs an http.Request for the GroupServiceAddServiceAccountToGroup method, with any body, and a specified content type
func NewGroupServiceRemoveServiceAccountFromGroupRequest ¶
func NewGroupServiceRemoveServiceAccountFromGroupRequest(server string, params *GroupServiceRemoveServiceAccountFromGroupParams) (*http.Request, error)
NewGroupServiceRemoveServiceAccountFromGroupRequest constructs an http.Request for the GroupServiceRemoveServiceAccountFromGroup method
func NewMetadataServiceGetPlatformVersionsRequest ¶
NewMetadataServiceGetPlatformVersionsRequest constructs an http.Request for the MetadataServiceGetPlatformVersions method
func NewMetricsCredentialServiceCreateMetricsWriteCredentialRequest ¶
func NewMetricsCredentialServiceCreateMetricsWriteCredentialRequest(server string, body MetricsCredentialServiceCreateMetricsWriteCredentialJSONRequestBody) (*http.Request, error)
NewMetricsCredentialServiceCreateMetricsWriteCredentialRequest calls the generic MetricsCredentialServiceCreateMetricsWriteCredential builder with application/json body
func NewMetricsCredentialServiceCreateMetricsWriteCredentialRequestWithBody ¶
func NewMetricsCredentialServiceCreateMetricsWriteCredentialRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewMetricsCredentialServiceCreateMetricsWriteCredentialRequestWithBody constructs an http.Request for the MetricsCredentialServiceCreateMetricsWriteCredential method, with any body, and a specified content type
func NewMetricsCredentialServiceListMetricsWriteCredentialsRequest ¶
func NewMetricsCredentialServiceListMetricsWriteCredentialsRequest(server string, params *MetricsCredentialServiceListMetricsWriteCredentialsParams) (*http.Request, error)
NewMetricsCredentialServiceListMetricsWriteCredentialsRequest constructs an http.Request for the MetricsCredentialServiceListMetricsWriteCredentials method
func NewMetricsCredentialServiceRotateMetricsWriteCredentialRequest ¶
func NewMetricsCredentialServiceRotateMetricsWriteCredentialRequest(server string, id string, body MetricsCredentialServiceRotateMetricsWriteCredentialJSONRequestBody) (*http.Request, error)
NewMetricsCredentialServiceRotateMetricsWriteCredentialRequest calls the generic MetricsCredentialServiceRotateMetricsWriteCredential builder with application/json body
func NewMetricsCredentialServiceRotateMetricsWriteCredentialRequestWithBody ¶
func NewMetricsCredentialServiceRotateMetricsWriteCredentialRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewMetricsCredentialServiceRotateMetricsWriteCredentialRequestWithBody constructs an http.Request for the MetricsCredentialServiceRotateMetricsWriteCredential method, with any body, and a specified content type
func NewOrganizationServiceGetOrganizationRequest ¶
NewOrganizationServiceGetOrganizationRequest constructs an http.Request for the OrganizationServiceGetOrganization method
func NewOrganizationServiceListOrganizationsRequest ¶
func NewOrganizationServiceListOrganizationsRequest(server string, params *OrganizationServiceListOrganizationsParams) (*http.Request, error)
NewOrganizationServiceListOrganizationsRequest constructs an http.Request for the OrganizationServiceListOrganizations method
func NewRoleServiceReplaceRoleForServiceAccountRequest ¶
func NewRoleServiceReplaceRoleForServiceAccountRequest(server string, body RoleServiceReplaceRoleForServiceAccountJSONRequestBody) (*http.Request, error)
NewRoleServiceReplaceRoleForServiceAccountRequest calls the generic RoleServiceReplaceRoleForServiceAccount builder with application/json body
func NewRoleServiceReplaceRoleForServiceAccountRequestWithBody ¶
func NewRoleServiceReplaceRoleForServiceAccountRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewRoleServiceReplaceRoleForServiceAccountRequestWithBody constructs an http.Request for the RoleServiceReplaceRoleForServiceAccount method, with any body, and a specified content type
func NewServiceAccountServiceCreateServiceAccountRequest ¶
func NewServiceAccountServiceCreateServiceAccountRequest(server string, body ServiceAccountServiceCreateServiceAccountJSONRequestBody) (*http.Request, error)
NewServiceAccountServiceCreateServiceAccountRequest calls the generic ServiceAccountServiceCreateServiceAccount builder with application/json body
func NewServiceAccountServiceCreateServiceAccountRequestWithBody ¶
func NewServiceAccountServiceCreateServiceAccountRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewServiceAccountServiceCreateServiceAccountRequestWithBody constructs an http.Request for the ServiceAccountServiceCreateServiceAccount method, with any body, and a specified content type
func NewServiceAccountServiceDeleteServiceAccountRequest ¶
func NewServiceAccountServiceDeleteServiceAccountRequest(server string, id string) (*http.Request, error)
NewServiceAccountServiceDeleteServiceAccountRequest constructs an http.Request for the ServiceAccountServiceDeleteServiceAccount method
func NewServiceAccountServiceGenerateTokenRequest ¶
func NewServiceAccountServiceGenerateTokenRequest(server string, serviceAccountId string, body ServiceAccountServiceGenerateTokenJSONRequestBody) (*http.Request, error)
NewServiceAccountServiceGenerateTokenRequest calls the generic ServiceAccountServiceGenerateToken builder with application/json body
func NewServiceAccountServiceGenerateTokenRequestWithBody ¶
func NewServiceAccountServiceGenerateTokenRequestWithBody(server string, serviceAccountId string, contentType string, body io.Reader) (*http.Request, error)
NewServiceAccountServiceGenerateTokenRequestWithBody constructs an http.Request for the ServiceAccountServiceGenerateToken method, with any body, and a specified content type
func NewServiceAccountServiceGetServiceAccountRequest ¶
func NewServiceAccountServiceGetServiceAccountRequest(server string, id string) (*http.Request, error)
NewServiceAccountServiceGetServiceAccountRequest constructs an http.Request for the ServiceAccountServiceGetServiceAccount method
func NewServiceAccountServiceListServiceAccountsRequest ¶
func NewServiceAccountServiceListServiceAccountsRequest(server string, params *ServiceAccountServiceListServiceAccountsParams) (*http.Request, error)
NewServiceAccountServiceListServiceAccountsRequest constructs an http.Request for the ServiceAccountServiceListServiceAccounts method
func NewServiceAccountServiceListTokensRequest ¶
func NewServiceAccountServiceListTokensRequest(server string, serviceAccountId string, params *ServiceAccountServiceListTokensParams) (*http.Request, error)
NewServiceAccountServiceListTokensRequest constructs an http.Request for the ServiceAccountServiceListTokens method
func NewServiceAccountServiceRevokeTokenRequest ¶
func NewServiceAccountServiceRevokeTokenRequest(server string, tokenId string) (*http.Request, error)
NewServiceAccountServiceRevokeTokenRequest constructs an http.Request for the ServiceAccountServiceRevokeToken method
func NewServiceAccountServiceUpdateServiceAccountRequest ¶
func NewServiceAccountServiceUpdateServiceAccountRequest(server string, id string, body ServiceAccountServiceUpdateServiceAccountJSONRequestBody) (*http.Request, error)
NewServiceAccountServiceUpdateServiceAccountRequest calls the generic ServiceAccountServiceUpdateServiceAccount builder with application/json body
func NewServiceAccountServiceUpdateServiceAccountRequestWithBody ¶
func NewServiceAccountServiceUpdateServiceAccountRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewServiceAccountServiceUpdateServiceAccountRequestWithBody constructs an http.Request for the ServiceAccountServiceUpdateServiceAccount method, with any body, and a specified content type
Types ¶
type AgentServiceCreateAgentJSONRequestBody ¶
type AgentServiceCreateAgentJSONRequestBody = V1CreateAgentRequest
AgentServiceCreateAgentJSONRequestBody defines body for AgentServiceCreateAgent for application/json ContentType.
type AgentServiceCreateAgentResponse ¶
type AgentServiceCreateAgentResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *V1GetAgentResponse
}
func ParseAgentServiceCreateAgentResponse ¶
func ParseAgentServiceCreateAgentResponse(rsp *http.Response) (*AgentServiceCreateAgentResponse, error)
ParseAgentServiceCreateAgentResponse parses an HTTP response from a AgentServiceCreateAgentWithResponse call
func (AgentServiceCreateAgentResponse) ContentType ¶
func (r AgentServiceCreateAgentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AgentServiceCreateAgentResponse) GetBody ¶
func (r AgentServiceCreateAgentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AgentServiceCreateAgentResponse) GetJSON200 ¶
func (r AgentServiceCreateAgentResponse) GetJSON200() *V1GetAgentResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AgentServiceCreateAgentResponse) Status ¶
func (r AgentServiceCreateAgentResponse) Status() string
Status returns HTTPResponse.Status
func (AgentServiceCreateAgentResponse) StatusCode ¶
func (r AgentServiceCreateAgentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentServiceDeleteAgentResponse ¶
type AgentServiceDeleteAgentResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *V1SuccessResponse
}
func ParseAgentServiceDeleteAgentResponse ¶
func ParseAgentServiceDeleteAgentResponse(rsp *http.Response) (*AgentServiceDeleteAgentResponse, error)
ParseAgentServiceDeleteAgentResponse parses an HTTP response from a AgentServiceDeleteAgentWithResponse call
func (AgentServiceDeleteAgentResponse) ContentType ¶
func (r AgentServiceDeleteAgentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AgentServiceDeleteAgentResponse) GetBody ¶
func (r AgentServiceDeleteAgentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AgentServiceDeleteAgentResponse) GetJSON200 ¶
func (r AgentServiceDeleteAgentResponse) GetJSON200() *V1SuccessResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AgentServiceDeleteAgentResponse) Status ¶
func (r AgentServiceDeleteAgentResponse) Status() string
Status returns HTTPResponse.Status
func (AgentServiceDeleteAgentResponse) StatusCode ¶
func (r AgentServiceDeleteAgentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentServiceGeneratePeeringConfigBody ¶
type AgentServiceGeneratePeeringConfigBody = map[string]interface{}
AgentServiceGeneratePeeringConfigBody defines model for AgentServiceGeneratePeeringConfigBody.
type AgentServiceGeneratePeeringConfigJSONRequestBody ¶
type AgentServiceGeneratePeeringConfigJSONRequestBody = AgentServiceGeneratePeeringConfigBody
AgentServiceGeneratePeeringConfigJSONRequestBody defines body for AgentServiceGeneratePeeringConfig for application/json ContentType.
type AgentServiceGeneratePeeringConfigResponse ¶
type AgentServiceGeneratePeeringConfigResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *V1GeneratePeeringConfigResponse
}
func ParseAgentServiceGeneratePeeringConfigResponse ¶
func ParseAgentServiceGeneratePeeringConfigResponse(rsp *http.Response) (*AgentServiceGeneratePeeringConfigResponse, error)
ParseAgentServiceGeneratePeeringConfigResponse parses an HTTP response from a AgentServiceGeneratePeeringConfigWithResponse call
func (AgentServiceGeneratePeeringConfigResponse) ContentType ¶
func (r AgentServiceGeneratePeeringConfigResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AgentServiceGeneratePeeringConfigResponse) GetBody ¶
func (r AgentServiceGeneratePeeringConfigResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AgentServiceGeneratePeeringConfigResponse) GetJSON200 ¶
func (r AgentServiceGeneratePeeringConfigResponse) GetJSON200() *V1GeneratePeeringConfigResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AgentServiceGeneratePeeringConfigResponse) Status ¶
func (r AgentServiceGeneratePeeringConfigResponse) Status() string
Status returns HTTPResponse.Status
func (AgentServiceGeneratePeeringConfigResponse) StatusCode ¶
func (r AgentServiceGeneratePeeringConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentServiceGetAgentResponse ¶
type AgentServiceGetAgentResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *V1GetAgentResponse
}
func ParseAgentServiceGetAgentResponse ¶
func ParseAgentServiceGetAgentResponse(rsp *http.Response) (*AgentServiceGetAgentResponse, error)
ParseAgentServiceGetAgentResponse parses an HTTP response from a AgentServiceGetAgentWithResponse call
func (AgentServiceGetAgentResponse) ContentType ¶
func (r AgentServiceGetAgentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AgentServiceGetAgentResponse) GetBody ¶
func (r AgentServiceGetAgentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AgentServiceGetAgentResponse) GetJSON200 ¶
func (r AgentServiceGetAgentResponse) GetJSON200() *V1GetAgentResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AgentServiceGetAgentResponse) Status ¶
func (r AgentServiceGetAgentResponse) Status() string
Status returns HTTPResponse.Status
func (AgentServiceGetAgentResponse) StatusCode ¶
func (r AgentServiceGetAgentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentServiceListAgentsParams ¶
type AgentServiceListAgentsParams struct {
Page *int32 `form:"page,omitempty" json:"page,omitempty"`
PageSize *int32 `form:"pageSize,omitempty" json:"pageSize,omitempty"`
GatewayRegion *AgentServiceListAgentsParamsGatewayRegion `form:"gatewayRegion,omitempty" json:"gatewayRegion,omitempty"`
Search *string `form:"search,omitempty" json:"search,omitempty"`
}
AgentServiceListAgentsParams defines parameters for AgentServiceListAgents.
type AgentServiceListAgentsParamsGatewayRegion ¶
type AgentServiceListAgentsParamsGatewayRegion string
AgentServiceListAgentsParamsGatewayRegion defines parameters for AgentServiceListAgents.
const ( AgentServiceListAgentsParamsGatewayRegionAGENTGATEWAYREGIONAMS01 AgentServiceListAgentsParamsGatewayRegion = "AGENT_GATEWAY_REGION_AMS01" AgentServiceListAgentsParamsGatewayRegionAGENTGATEWAYREGIONUNSPECIFIED AgentServiceListAgentsParamsGatewayRegion = "AGENT_GATEWAY_REGION_UNSPECIFIED" )
Defines values for AgentServiceListAgentsParamsGatewayRegion.
func (AgentServiceListAgentsParamsGatewayRegion) Valid ¶
func (e AgentServiceListAgentsParamsGatewayRegion) Valid() bool
Valid indicates whether the value is a known member of the AgentServiceListAgentsParamsGatewayRegion enum.
type AgentServiceListAgentsResponse ¶
type AgentServiceListAgentsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *V1ListAgentsResponse
}
func ParseAgentServiceListAgentsResponse ¶
func ParseAgentServiceListAgentsResponse(rsp *http.Response) (*AgentServiceListAgentsResponse, error)
ParseAgentServiceListAgentsResponse parses an HTTP response from a AgentServiceListAgentsWithResponse call
func (AgentServiceListAgentsResponse) ContentType ¶
func (r AgentServiceListAgentsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AgentServiceListAgentsResponse) GetBody ¶
func (r AgentServiceListAgentsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AgentServiceListAgentsResponse) GetJSON200 ¶
func (r AgentServiceListAgentsResponse) GetJSON200() *V1ListAgentsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AgentServiceListAgentsResponse) Status ¶
func (r AgentServiceListAgentsResponse) Status() string
Status returns HTTPResponse.Status
func (AgentServiceListAgentsResponse) StatusCode ¶
func (r AgentServiceListAgentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentServiceUpdateAgentBody ¶
type AgentServiceUpdateAgentBody struct {
Description *string `json:"description,omitempty"`
HypervisorDriver *V1PlatformDriver `json:"hypervisorDriver,omitempty"`
Name *string `json:"name,omitempty"`
}
AgentServiceUpdateAgentBody defines model for AgentServiceUpdateAgentBody.
type AgentServiceUpdateAgentJSONRequestBody ¶
type AgentServiceUpdateAgentJSONRequestBody = AgentServiceUpdateAgentBody
AgentServiceUpdateAgentJSONRequestBody defines body for AgentServiceUpdateAgent for application/json ContentType.
type AgentServiceUpdateAgentResponse ¶
type AgentServiceUpdateAgentResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *V1UpdateAgentResponse
}
func ParseAgentServiceUpdateAgentResponse ¶
func ParseAgentServiceUpdateAgentResponse(rsp *http.Response) (*AgentServiceUpdateAgentResponse, error)
ParseAgentServiceUpdateAgentResponse parses an HTTP response from a AgentServiceUpdateAgentWithResponse call
func (AgentServiceUpdateAgentResponse) ContentType ¶
func (r AgentServiceUpdateAgentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AgentServiceUpdateAgentResponse) GetBody ¶
func (r AgentServiceUpdateAgentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AgentServiceUpdateAgentResponse) GetJSON200 ¶
func (r AgentServiceUpdateAgentResponse) GetJSON200() *V1UpdateAgentResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AgentServiceUpdateAgentResponse) Status ¶
func (r AgentServiceUpdateAgentResponse) Status() string
Status returns HTTPResponse.Status
func (AgentServiceUpdateAgentResponse) StatusCode ¶
func (r AgentServiceUpdateAgentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentServiceUploadInboundPeeringConfigBody ¶
type AgentServiceUploadInboundPeeringConfigBody struct {
Kubeconfig *string `json:"kubeconfig,omitempty"`
}
AgentServiceUploadInboundPeeringConfigBody defines model for AgentServiceUploadInboundPeeringConfigBody.
type AgentServiceUploadInboundPeeringConfigJSONRequestBody ¶
type AgentServiceUploadInboundPeeringConfigJSONRequestBody = AgentServiceUploadInboundPeeringConfigBody
AgentServiceUploadInboundPeeringConfigJSONRequestBody defines body for AgentServiceUploadInboundPeeringConfig for application/json ContentType.
type AgentServiceUploadInboundPeeringConfigResponse ¶
type AgentServiceUploadInboundPeeringConfigResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *V1UploadInboundPeeringConfigResponse
}
func ParseAgentServiceUploadInboundPeeringConfigResponse ¶
func ParseAgentServiceUploadInboundPeeringConfigResponse(rsp *http.Response) (*AgentServiceUploadInboundPeeringConfigResponse, error)
ParseAgentServiceUploadInboundPeeringConfigResponse parses an HTTP response from a AgentServiceUploadInboundPeeringConfigWithResponse call
func (AgentServiceUploadInboundPeeringConfigResponse) ContentType ¶
func (r AgentServiceUploadInboundPeeringConfigResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AgentServiceUploadInboundPeeringConfigResponse) GetBody ¶
func (r AgentServiceUploadInboundPeeringConfigResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AgentServiceUploadInboundPeeringConfigResponse) GetJSON200 ¶
func (r AgentServiceUploadInboundPeeringConfigResponse) GetJSON200() *V1UploadInboundPeeringConfigResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AgentServiceUploadInboundPeeringConfigResponse) Status ¶
func (r AgentServiceUploadInboundPeeringConfigResponse) Status() string
Status returns HTTPResponse.Status
func (AgentServiceUploadInboundPeeringConfigResponse) StatusCode ¶
func (r AgentServiceUploadInboundPeeringConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
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) AgentServiceCreateAgent ¶
func (c *Client) AgentServiceCreateAgent(ctx context.Context, body AgentServiceCreateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentServiceCreateAgent performs a POST /v1/agents (the `AgentServiceCreateAgent` operationId) request. Takes a body of the `application/json` content type.
func (*Client) AgentServiceCreateAgentWithBody ¶
func (c *Client) AgentServiceCreateAgentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentServiceCreateAgentWithBody performs a POST /v1/agents (the `AgentServiceCreateAgent` operationId) request, with any type of body and a specified content type.
func (*Client) AgentServiceDeleteAgent ¶
func (c *Client) AgentServiceDeleteAgent(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentServiceDeleteAgent performs a DELETE /v1/agents/{id} (the `AgentServiceDeleteAgent` operationId) request.
func (*Client) AgentServiceGeneratePeeringConfig ¶
func (c *Client) AgentServiceGeneratePeeringConfig(ctx context.Context, id string, body AgentServiceGeneratePeeringConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentServiceGeneratePeeringConfig performs a POST /v1/agents/{id}:generatePeeringConfig (the `AgentServiceGeneratePeeringConfig` operationId) request. Takes a body of the `application/json` content type.
func (*Client) AgentServiceGeneratePeeringConfigWithBody ¶
func (c *Client) AgentServiceGeneratePeeringConfigWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentServiceGeneratePeeringConfigWithBody performs a POST /v1/agents/{id}:generatePeeringConfig (the `AgentServiceGeneratePeeringConfig` operationId) request, with any type of body and a specified content type.
func (*Client) AgentServiceGetAgent ¶
func (c *Client) AgentServiceGetAgent(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentServiceGetAgent performs a GET /v1/agents/{id} (the `AgentServiceGetAgent` operationId) request.
func (*Client) AgentServiceListAgents ¶
func (c *Client) AgentServiceListAgents(ctx context.Context, params *AgentServiceListAgentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentServiceListAgents performs a GET /v1/agents (the `AgentServiceListAgents` operationId) request.
func (*Client) AgentServiceUpdateAgent ¶
func (c *Client) AgentServiceUpdateAgent(ctx context.Context, id string, body AgentServiceUpdateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentServiceUpdateAgent performs a PATCH /v1/agents/{id} (the `AgentServiceUpdateAgent` operationId) request. Takes a body of the `application/json` content type.
func (*Client) AgentServiceUpdateAgentWithBody ¶
func (c *Client) AgentServiceUpdateAgentWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentServiceUpdateAgentWithBody performs a PATCH /v1/agents/{id} (the `AgentServiceUpdateAgent` operationId) request, with any type of body and a specified content type.
func (*Client) AgentServiceUploadInboundPeeringConfig ¶
func (c *Client) AgentServiceUploadInboundPeeringConfig(ctx context.Context, id string, body AgentServiceUploadInboundPeeringConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentServiceUploadInboundPeeringConfig performs a POST /v1/agents/{id}:uploadInboundPeeringConfig (the `AgentServiceUploadInboundPeeringConfig` operationId) request. Takes a body of the `application/json` content type.
func (*Client) AgentServiceUploadInboundPeeringConfigWithBody ¶
func (c *Client) AgentServiceUploadInboundPeeringConfigWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentServiceUploadInboundPeeringConfigWithBody performs a POST /v1/agents/{id}:uploadInboundPeeringConfig (the `AgentServiceUploadInboundPeeringConfig` operationId) request, with any type of body and a specified content type.
func (*Client) GroupServiceAddServiceAccountToGroup ¶
func (c *Client) GroupServiceAddServiceAccountToGroup(ctx context.Context, body GroupServiceAddServiceAccountToGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
GroupServiceAddServiceAccountToGroup performs a POST /v1/groups/add-service-account (the `GroupServiceAddServiceAccountToGroup` operationId) request. Takes a body of the `application/json` content type.
func (*Client) GroupServiceAddServiceAccountToGroupWithBody ¶
func (c *Client) GroupServiceAddServiceAccountToGroupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GroupServiceAddServiceAccountToGroupWithBody performs a POST /v1/groups/add-service-account (the `GroupServiceAddServiceAccountToGroup` operationId) request, with any type of body and a specified content type.
func (*Client) GroupServiceRemoveServiceAccountFromGroup ¶
func (c *Client) GroupServiceRemoveServiceAccountFromGroup(ctx context.Context, params *GroupServiceRemoveServiceAccountFromGroupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GroupServiceRemoveServiceAccountFromGroup performs a DELETE /v1/groups/remove-service-account (the `GroupServiceRemoveServiceAccountFromGroup` operationId) request.
func (*Client) MetadataServiceGetPlatformVersions ¶
func (c *Client) MetadataServiceGetPlatformVersions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
MetadataServiceGetPlatformVersions performs a GET /v1/platform-versions (the `MetadataServiceGetPlatformVersions` operationId) request.
func (*Client) MetricsCredentialServiceCreateMetricsWriteCredential ¶
func (c *Client) MetricsCredentialServiceCreateMetricsWriteCredential(ctx context.Context, body MetricsCredentialServiceCreateMetricsWriteCredentialJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
MetricsCredentialServiceCreateMetricsWriteCredential performs a POST /v1/metrics-write-credentials (the `MetricsCredentialServiceCreateMetricsWriteCredential` operationId) request. Takes a body of the `application/json` content type.
func (*Client) MetricsCredentialServiceCreateMetricsWriteCredentialWithBody ¶
func (c *Client) MetricsCredentialServiceCreateMetricsWriteCredentialWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
MetricsCredentialServiceCreateMetricsWriteCredentialWithBody performs a POST /v1/metrics-write-credentials (the `MetricsCredentialServiceCreateMetricsWriteCredential` operationId) request, with any type of body and a specified content type.
func (*Client) MetricsCredentialServiceListMetricsWriteCredentials ¶
func (c *Client) MetricsCredentialServiceListMetricsWriteCredentials(ctx context.Context, params *MetricsCredentialServiceListMetricsWriteCredentialsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
MetricsCredentialServiceListMetricsWriteCredentials performs a GET /v1/metrics-write-credentials (the `MetricsCredentialServiceListMetricsWriteCredentials` operationId) request.
func (*Client) MetricsCredentialServiceRotateMetricsWriteCredential ¶
func (c *Client) MetricsCredentialServiceRotateMetricsWriteCredential(ctx context.Context, id string, body MetricsCredentialServiceRotateMetricsWriteCredentialJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
MetricsCredentialServiceRotateMetricsWriteCredential performs a POST /v1/metrics-write-credentials/{id}:rotate (the `MetricsCredentialServiceRotateMetricsWriteCredential` operationId) request. Takes a body of the `application/json` content type.
func (*Client) MetricsCredentialServiceRotateMetricsWriteCredentialWithBody ¶
func (c *Client) MetricsCredentialServiceRotateMetricsWriteCredentialWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
MetricsCredentialServiceRotateMetricsWriteCredentialWithBody performs a POST /v1/metrics-write-credentials/{id}:rotate (the `MetricsCredentialServiceRotateMetricsWriteCredential` operationId) request, with any type of body and a specified content type.
func (*Client) OrganizationServiceGetOrganization ¶
func (c *Client) OrganizationServiceGetOrganization(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
OrganizationServiceGetOrganization performs a GET /v1/organization (the `OrganizationServiceGetOrganization` operationId) request.
func (*Client) OrganizationServiceListOrganizations ¶
func (c *Client) OrganizationServiceListOrganizations(ctx context.Context, params *OrganizationServiceListOrganizationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
OrganizationServiceListOrganizations performs a GET /v1/organizations (the `OrganizationServiceListOrganizations` operationId) request.
func (*Client) RoleServiceReplaceRoleForServiceAccount ¶
func (c *Client) RoleServiceReplaceRoleForServiceAccount(ctx context.Context, body RoleServiceReplaceRoleForServiceAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RoleServiceReplaceRoleForServiceAccount performs a PUT /v1/roles/replace-for-service-account (the `RoleServiceReplaceRoleForServiceAccount` operationId) request. Takes a body of the `application/json` content type.
func (*Client) RoleServiceReplaceRoleForServiceAccountWithBody ¶
func (c *Client) RoleServiceReplaceRoleForServiceAccountWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RoleServiceReplaceRoleForServiceAccountWithBody performs a PUT /v1/roles/replace-for-service-account (the `RoleServiceReplaceRoleForServiceAccount` operationId) request, with any type of body and a specified content type.
func (*Client) ServiceAccountServiceCreateServiceAccount ¶
func (c *Client) ServiceAccountServiceCreateServiceAccount(ctx context.Context, body ServiceAccountServiceCreateServiceAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ServiceAccountServiceCreateServiceAccount performs a POST /v1/service-accounts (the `ServiceAccountServiceCreateServiceAccount` operationId) request. Takes a body of the `application/json` content type.
func (*Client) ServiceAccountServiceCreateServiceAccountWithBody ¶
func (c *Client) ServiceAccountServiceCreateServiceAccountWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ServiceAccountServiceCreateServiceAccountWithBody performs a POST /v1/service-accounts (the `ServiceAccountServiceCreateServiceAccount` operationId) request, with any type of body and a specified content type.
func (*Client) ServiceAccountServiceDeleteServiceAccount ¶
func (c *Client) ServiceAccountServiceDeleteServiceAccount(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
ServiceAccountServiceDeleteServiceAccount performs a DELETE /v1/service-accounts/{id} (the `ServiceAccountServiceDeleteServiceAccount` operationId) request.
func (*Client) ServiceAccountServiceGenerateToken ¶
func (c *Client) ServiceAccountServiceGenerateToken(ctx context.Context, serviceAccountId string, body ServiceAccountServiceGenerateTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ServiceAccountServiceGenerateToken performs a POST /v1/service-accounts/{serviceAccountId}/tokens (the `ServiceAccountServiceGenerateToken` operationId) request. Takes a body of the `application/json` content type.
func (*Client) ServiceAccountServiceGenerateTokenWithBody ¶
func (c *Client) ServiceAccountServiceGenerateTokenWithBody(ctx context.Context, serviceAccountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ServiceAccountServiceGenerateTokenWithBody performs a POST /v1/service-accounts/{serviceAccountId}/tokens (the `ServiceAccountServiceGenerateToken` operationId) request, with any type of body and a specified content type.
func (*Client) ServiceAccountServiceGetServiceAccount ¶
func (c *Client) ServiceAccountServiceGetServiceAccount(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
ServiceAccountServiceGetServiceAccount performs a GET /v1/service-accounts/{id} (the `ServiceAccountServiceGetServiceAccount` operationId) request.
func (*Client) ServiceAccountServiceListServiceAccounts ¶
func (c *Client) ServiceAccountServiceListServiceAccounts(ctx context.Context, params *ServiceAccountServiceListServiceAccountsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ServiceAccountServiceListServiceAccounts performs a GET /v1/service-accounts (the `ServiceAccountServiceListServiceAccounts` operationId) request.
func (*Client) ServiceAccountServiceListTokens ¶
func (c *Client) ServiceAccountServiceListTokens(ctx context.Context, serviceAccountId string, params *ServiceAccountServiceListTokensParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ServiceAccountServiceListTokens performs a GET /v1/service-accounts/{serviceAccountId}/tokens (the `ServiceAccountServiceListTokens` operationId) request.
func (*Client) ServiceAccountServiceRevokeToken ¶
func (c *Client) ServiceAccountServiceRevokeToken(ctx context.Context, tokenId string, reqEditors ...RequestEditorFn) (*http.Response, error)
ServiceAccountServiceRevokeToken performs a DELETE /v1/service-accounts/tokens/{tokenId} (the `ServiceAccountServiceRevokeToken` operationId) request.
func (*Client) ServiceAccountServiceUpdateServiceAccount ¶
func (c *Client) ServiceAccountServiceUpdateServiceAccount(ctx context.Context, id string, body ServiceAccountServiceUpdateServiceAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ServiceAccountServiceUpdateServiceAccount performs a PATCH /v1/service-accounts/{id} (the `ServiceAccountServiceUpdateServiceAccount` operationId) request. Takes a body of the `application/json` content type.
func (*Client) ServiceAccountServiceUpdateServiceAccountWithBody ¶
func (c *Client) ServiceAccountServiceUpdateServiceAccountWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ServiceAccountServiceUpdateServiceAccountWithBody performs a PATCH /v1/service-accounts/{id} (the `ServiceAccountServiceUpdateServiceAccount` operationId) request, with any type of body and a specified content type.
type ClientInterface ¶
type ClientInterface interface {
// AgentServiceListAgents performs a GET /v1/agents (the `AgentServiceListAgents` operationId) request.
AgentServiceListAgents(ctx context.Context, params *AgentServiceListAgentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentServiceCreateAgentWithBody performs a POST /v1/agents (the `AgentServiceCreateAgent` operationId) request,
// with any type of body and a specified content type.
AgentServiceCreateAgentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentServiceCreateAgent performs a POST /v1/agents (the `AgentServiceCreateAgent` operationId) request.
// Takes a body of the `application/json` content type.
AgentServiceCreateAgent(ctx context.Context, body AgentServiceCreateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentServiceDeleteAgent performs a DELETE /v1/agents/{id} (the `AgentServiceDeleteAgent` operationId) request.
AgentServiceDeleteAgent(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentServiceGetAgent performs a GET /v1/agents/{id} (the `AgentServiceGetAgent` operationId) request.
AgentServiceGetAgent(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentServiceUpdateAgentWithBody performs a PATCH /v1/agents/{id} (the `AgentServiceUpdateAgent` operationId) request,
// with any type of body and a specified content type.
AgentServiceUpdateAgentWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentServiceUpdateAgent performs a PATCH /v1/agents/{id} (the `AgentServiceUpdateAgent` operationId) request.
// Takes a body of the `application/json` content type.
AgentServiceUpdateAgent(ctx context.Context, id string, body AgentServiceUpdateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentServiceGeneratePeeringConfigWithBody performs a POST /v1/agents/{id}:generatePeeringConfig (the `AgentServiceGeneratePeeringConfig` operationId) request,
// with any type of body and a specified content type.
AgentServiceGeneratePeeringConfigWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentServiceGeneratePeeringConfig performs a POST /v1/agents/{id}:generatePeeringConfig (the `AgentServiceGeneratePeeringConfig` operationId) request.
// Takes a body of the `application/json` content type.
AgentServiceGeneratePeeringConfig(ctx context.Context, id string, body AgentServiceGeneratePeeringConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentServiceUploadInboundPeeringConfigWithBody performs a POST /v1/agents/{id}:uploadInboundPeeringConfig (the `AgentServiceUploadInboundPeeringConfig` operationId) request,
// with any type of body and a specified content type.
AgentServiceUploadInboundPeeringConfigWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentServiceUploadInboundPeeringConfig performs a POST /v1/agents/{id}:uploadInboundPeeringConfig (the `AgentServiceUploadInboundPeeringConfig` operationId) request.
// Takes a body of the `application/json` content type.
AgentServiceUploadInboundPeeringConfig(ctx context.Context, id string, body AgentServiceUploadInboundPeeringConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GroupServiceAddServiceAccountToGroupWithBody performs a POST /v1/groups/add-service-account (the `GroupServiceAddServiceAccountToGroup` operationId) request,
// with any type of body and a specified content type.
GroupServiceAddServiceAccountToGroupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GroupServiceAddServiceAccountToGroup performs a POST /v1/groups/add-service-account (the `GroupServiceAddServiceAccountToGroup` operationId) request.
// Takes a body of the `application/json` content type.
GroupServiceAddServiceAccountToGroup(ctx context.Context, body GroupServiceAddServiceAccountToGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GroupServiceRemoveServiceAccountFromGroup performs a DELETE /v1/groups/remove-service-account (the `GroupServiceRemoveServiceAccountFromGroup` operationId) request.
GroupServiceRemoveServiceAccountFromGroup(ctx context.Context, params *GroupServiceRemoveServiceAccountFromGroupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// MetricsCredentialServiceListMetricsWriteCredentials performs a GET /v1/metrics-write-credentials (the `MetricsCredentialServiceListMetricsWriteCredentials` operationId) request.
MetricsCredentialServiceListMetricsWriteCredentials(ctx context.Context, params *MetricsCredentialServiceListMetricsWriteCredentialsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// MetricsCredentialServiceCreateMetricsWriteCredentialWithBody performs a POST /v1/metrics-write-credentials (the `MetricsCredentialServiceCreateMetricsWriteCredential` operationId) request,
// with any type of body and a specified content type.
MetricsCredentialServiceCreateMetricsWriteCredentialWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// MetricsCredentialServiceCreateMetricsWriteCredential performs a POST /v1/metrics-write-credentials (the `MetricsCredentialServiceCreateMetricsWriteCredential` operationId) request.
// Takes a body of the `application/json` content type.
MetricsCredentialServiceCreateMetricsWriteCredential(ctx context.Context, body MetricsCredentialServiceCreateMetricsWriteCredentialJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// MetricsCredentialServiceRotateMetricsWriteCredentialWithBody performs a POST /v1/metrics-write-credentials/{id}:rotate (the `MetricsCredentialServiceRotateMetricsWriteCredential` operationId) request,
// with any type of body and a specified content type.
MetricsCredentialServiceRotateMetricsWriteCredentialWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// MetricsCredentialServiceRotateMetricsWriteCredential performs a POST /v1/metrics-write-credentials/{id}:rotate (the `MetricsCredentialServiceRotateMetricsWriteCredential` operationId) request.
// Takes a body of the `application/json` content type.
MetricsCredentialServiceRotateMetricsWriteCredential(ctx context.Context, id string, body MetricsCredentialServiceRotateMetricsWriteCredentialJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// OrganizationServiceGetOrganization performs a GET /v1/organization (the `OrganizationServiceGetOrganization` operationId) request.
OrganizationServiceGetOrganization(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// OrganizationServiceListOrganizations performs a GET /v1/organizations (the `OrganizationServiceListOrganizations` operationId) request.
OrganizationServiceListOrganizations(ctx context.Context, params *OrganizationServiceListOrganizationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// MetadataServiceGetPlatformVersions performs a GET /v1/platform-versions (the `MetadataServiceGetPlatformVersions` operationId) request.
MetadataServiceGetPlatformVersions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// RoleServiceReplaceRoleForServiceAccountWithBody performs a PUT /v1/roles/replace-for-service-account (the `RoleServiceReplaceRoleForServiceAccount` operationId) request,
// with any type of body and a specified content type.
RoleServiceReplaceRoleForServiceAccountWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RoleServiceReplaceRoleForServiceAccount performs a PUT /v1/roles/replace-for-service-account (the `RoleServiceReplaceRoleForServiceAccount` operationId) request.
// Takes a body of the `application/json` content type.
RoleServiceReplaceRoleForServiceAccount(ctx context.Context, body RoleServiceReplaceRoleForServiceAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServiceAccountServiceListServiceAccounts performs a GET /v1/service-accounts (the `ServiceAccountServiceListServiceAccounts` operationId) request.
ServiceAccountServiceListServiceAccounts(ctx context.Context, params *ServiceAccountServiceListServiceAccountsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServiceAccountServiceCreateServiceAccountWithBody performs a POST /v1/service-accounts (the `ServiceAccountServiceCreateServiceAccount` operationId) request,
// with any type of body and a specified content type.
ServiceAccountServiceCreateServiceAccountWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServiceAccountServiceCreateServiceAccount performs a POST /v1/service-accounts (the `ServiceAccountServiceCreateServiceAccount` operationId) request.
// Takes a body of the `application/json` content type.
ServiceAccountServiceCreateServiceAccount(ctx context.Context, body ServiceAccountServiceCreateServiceAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServiceAccountServiceRevokeToken performs a DELETE /v1/service-accounts/tokens/{tokenId} (the `ServiceAccountServiceRevokeToken` operationId) request.
ServiceAccountServiceRevokeToken(ctx context.Context, tokenId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServiceAccountServiceDeleteServiceAccount performs a DELETE /v1/service-accounts/{id} (the `ServiceAccountServiceDeleteServiceAccount` operationId) request.
ServiceAccountServiceDeleteServiceAccount(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServiceAccountServiceGetServiceAccount performs a GET /v1/service-accounts/{id} (the `ServiceAccountServiceGetServiceAccount` operationId) request.
ServiceAccountServiceGetServiceAccount(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServiceAccountServiceUpdateServiceAccountWithBody performs a PATCH /v1/service-accounts/{id} (the `ServiceAccountServiceUpdateServiceAccount` operationId) request,
// with any type of body and a specified content type.
ServiceAccountServiceUpdateServiceAccountWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServiceAccountServiceUpdateServiceAccount performs a PATCH /v1/service-accounts/{id} (the `ServiceAccountServiceUpdateServiceAccount` operationId) request.
// Takes a body of the `application/json` content type.
ServiceAccountServiceUpdateServiceAccount(ctx context.Context, id string, body ServiceAccountServiceUpdateServiceAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServiceAccountServiceListTokens performs a GET /v1/service-accounts/{serviceAccountId}/tokens (the `ServiceAccountServiceListTokens` operationId) request.
ServiceAccountServiceListTokens(ctx context.Context, serviceAccountId string, params *ServiceAccountServiceListTokensParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServiceAccountServiceGenerateTokenWithBody performs a POST /v1/service-accounts/{serviceAccountId}/tokens (the `ServiceAccountServiceGenerateToken` operationId) request,
// with any type of body and a specified content type.
ServiceAccountServiceGenerateTokenWithBody(ctx context.Context, serviceAccountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServiceAccountServiceGenerateToken performs a POST /v1/service-accounts/{serviceAccountId}/tokens (the `ServiceAccountServiceGenerateToken` operationId) request.
// Takes a body of the `application/json` content type.
ServiceAccountServiceGenerateToken(ctx context.Context, serviceAccountId string, body ServiceAccountServiceGenerateTokenJSONRequestBody, 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) AgentServiceCreateAgentWithBodyWithResponse ¶
func (c *ClientWithResponses) AgentServiceCreateAgentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentServiceCreateAgentResponse, error)
AgentServiceCreateAgentWithBodyWithResponse performs a POST /v1/agents (the `AgentServiceCreateAgent` operationId) request, with any type of body and a specified content type.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) AgentServiceCreateAgentWithResponse ¶
func (c *ClientWithResponses) AgentServiceCreateAgentWithResponse(ctx context.Context, body AgentServiceCreateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentServiceCreateAgentResponse, error)
AgentServiceCreateAgentWithResponse performs a POST /v1/agents (the `AgentServiceCreateAgent` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) AgentServiceDeleteAgentWithResponse ¶
func (c *ClientWithResponses) AgentServiceDeleteAgentWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AgentServiceDeleteAgentResponse, error)
AgentServiceDeleteAgentWithResponse performs a DELETE /v1/agents/{id} (the `AgentServiceDeleteAgent` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) AgentServiceGeneratePeeringConfigWithBodyWithResponse ¶
func (c *ClientWithResponses) AgentServiceGeneratePeeringConfigWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentServiceGeneratePeeringConfigResponse, error)
AgentServiceGeneratePeeringConfigWithBodyWithResponse performs a POST /v1/agents/{id}:generatePeeringConfig (the `AgentServiceGeneratePeeringConfig` operationId) request, with any type of body and a specified content type.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) AgentServiceGeneratePeeringConfigWithResponse ¶
func (c *ClientWithResponses) AgentServiceGeneratePeeringConfigWithResponse(ctx context.Context, id string, body AgentServiceGeneratePeeringConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentServiceGeneratePeeringConfigResponse, error)
AgentServiceGeneratePeeringConfigWithResponse performs a POST /v1/agents/{id}:generatePeeringConfig (the `AgentServiceGeneratePeeringConfig` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) AgentServiceGetAgentWithResponse ¶
func (c *ClientWithResponses) AgentServiceGetAgentWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AgentServiceGetAgentResponse, error)
AgentServiceGetAgentWithResponse performs a GET /v1/agents/{id} (the `AgentServiceGetAgent` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) AgentServiceListAgentsWithResponse ¶
func (c *ClientWithResponses) AgentServiceListAgentsWithResponse(ctx context.Context, params *AgentServiceListAgentsParams, reqEditors ...RequestEditorFn) (*AgentServiceListAgentsResponse, error)
AgentServiceListAgentsWithResponse performs a GET /v1/agents (the `AgentServiceListAgents` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) AgentServiceUpdateAgentWithBodyWithResponse ¶
func (c *ClientWithResponses) AgentServiceUpdateAgentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentServiceUpdateAgentResponse, error)
AgentServiceUpdateAgentWithBodyWithResponse performs a PATCH /v1/agents/{id} (the `AgentServiceUpdateAgent` operationId) request, with any type of body and a specified content type.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) AgentServiceUpdateAgentWithResponse ¶
func (c *ClientWithResponses) AgentServiceUpdateAgentWithResponse(ctx context.Context, id string, body AgentServiceUpdateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentServiceUpdateAgentResponse, error)
AgentServiceUpdateAgentWithResponse performs a PATCH /v1/agents/{id} (the `AgentServiceUpdateAgent` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) AgentServiceUploadInboundPeeringConfigWithBodyWithResponse ¶
func (c *ClientWithResponses) AgentServiceUploadInboundPeeringConfigWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentServiceUploadInboundPeeringConfigResponse, error)
AgentServiceUploadInboundPeeringConfigWithBodyWithResponse performs a POST /v1/agents/{id}:uploadInboundPeeringConfig (the `AgentServiceUploadInboundPeeringConfig` operationId) request, with any type of body and a specified content type.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) AgentServiceUploadInboundPeeringConfigWithResponse ¶
func (c *ClientWithResponses) AgentServiceUploadInboundPeeringConfigWithResponse(ctx context.Context, id string, body AgentServiceUploadInboundPeeringConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentServiceUploadInboundPeeringConfigResponse, error)
AgentServiceUploadInboundPeeringConfigWithResponse performs a POST /v1/agents/{id}:uploadInboundPeeringConfig (the `AgentServiceUploadInboundPeeringConfig` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GroupServiceAddServiceAccountToGroupWithBodyWithResponse ¶
func (c *ClientWithResponses) GroupServiceAddServiceAccountToGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GroupServiceAddServiceAccountToGroupResponse, error)
GroupServiceAddServiceAccountToGroupWithBodyWithResponse performs a POST /v1/groups/add-service-account (the `GroupServiceAddServiceAccountToGroup` operationId) request, with any type of body and a specified content type.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GroupServiceAddServiceAccountToGroupWithResponse ¶
func (c *ClientWithResponses) GroupServiceAddServiceAccountToGroupWithResponse(ctx context.Context, body GroupServiceAddServiceAccountToGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*GroupServiceAddServiceAccountToGroupResponse, error)
GroupServiceAddServiceAccountToGroupWithResponse performs a POST /v1/groups/add-service-account (the `GroupServiceAddServiceAccountToGroup` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GroupServiceRemoveServiceAccountFromGroupWithResponse ¶
func (c *ClientWithResponses) GroupServiceRemoveServiceAccountFromGroupWithResponse(ctx context.Context, params *GroupServiceRemoveServiceAccountFromGroupParams, reqEditors ...RequestEditorFn) (*GroupServiceRemoveServiceAccountFromGroupResponse, error)
GroupServiceRemoveServiceAccountFromGroupWithResponse performs a DELETE /v1/groups/remove-service-account (the `GroupServiceRemoveServiceAccountFromGroup` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) MetadataServiceGetPlatformVersionsWithResponse ¶
func (c *ClientWithResponses) MetadataServiceGetPlatformVersionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MetadataServiceGetPlatformVersionsResponse, error)
MetadataServiceGetPlatformVersionsWithResponse performs a GET /v1/platform-versions (the `MetadataServiceGetPlatformVersions` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) MetricsCredentialServiceCreateMetricsWriteCredentialWithBodyWithResponse ¶
func (c *ClientWithResponses) MetricsCredentialServiceCreateMetricsWriteCredentialWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MetricsCredentialServiceCreateMetricsWriteCredentialResponse, error)
MetricsCredentialServiceCreateMetricsWriteCredentialWithBodyWithResponse performs a POST /v1/metrics-write-credentials (the `MetricsCredentialServiceCreateMetricsWriteCredential` operationId) request, with any type of body and a specified content type.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) MetricsCredentialServiceCreateMetricsWriteCredentialWithResponse ¶
func (c *ClientWithResponses) MetricsCredentialServiceCreateMetricsWriteCredentialWithResponse(ctx context.Context, body MetricsCredentialServiceCreateMetricsWriteCredentialJSONRequestBody, reqEditors ...RequestEditorFn) (*MetricsCredentialServiceCreateMetricsWriteCredentialResponse, error)
MetricsCredentialServiceCreateMetricsWriteCredentialWithResponse performs a POST /v1/metrics-write-credentials (the `MetricsCredentialServiceCreateMetricsWriteCredential` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) MetricsCredentialServiceListMetricsWriteCredentialsWithResponse ¶
func (c *ClientWithResponses) MetricsCredentialServiceListMetricsWriteCredentialsWithResponse(ctx context.Context, params *MetricsCredentialServiceListMetricsWriteCredentialsParams, reqEditors ...RequestEditorFn) (*MetricsCredentialServiceListMetricsWriteCredentialsResponse, error)
MetricsCredentialServiceListMetricsWriteCredentialsWithResponse performs a GET /v1/metrics-write-credentials (the `MetricsCredentialServiceListMetricsWriteCredentials` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) MetricsCredentialServiceRotateMetricsWriteCredentialWithBodyWithResponse ¶
func (c *ClientWithResponses) MetricsCredentialServiceRotateMetricsWriteCredentialWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MetricsCredentialServiceRotateMetricsWriteCredentialResponse, error)
MetricsCredentialServiceRotateMetricsWriteCredentialWithBodyWithResponse performs a POST /v1/metrics-write-credentials/{id}:rotate (the `MetricsCredentialServiceRotateMetricsWriteCredential` operationId) request, with any type of body and a specified content type.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) MetricsCredentialServiceRotateMetricsWriteCredentialWithResponse ¶
func (c *ClientWithResponses) MetricsCredentialServiceRotateMetricsWriteCredentialWithResponse(ctx context.Context, id string, body MetricsCredentialServiceRotateMetricsWriteCredentialJSONRequestBody, reqEditors ...RequestEditorFn) (*MetricsCredentialServiceRotateMetricsWriteCredentialResponse, error)
MetricsCredentialServiceRotateMetricsWriteCredentialWithResponse performs a POST /v1/metrics-write-credentials/{id}:rotate (the `MetricsCredentialServiceRotateMetricsWriteCredential` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) OrganizationServiceGetOrganizationWithResponse ¶
func (c *ClientWithResponses) OrganizationServiceGetOrganizationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OrganizationServiceGetOrganizationResponse, error)
OrganizationServiceGetOrganizationWithResponse performs a GET /v1/organization (the `OrganizationServiceGetOrganization` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) OrganizationServiceListOrganizationsWithResponse ¶
func (c *ClientWithResponses) OrganizationServiceListOrganizationsWithResponse(ctx context.Context, params *OrganizationServiceListOrganizationsParams, reqEditors ...RequestEditorFn) (*OrganizationServiceListOrganizationsResponse, error)
OrganizationServiceListOrganizationsWithResponse performs a GET /v1/organizations (the `OrganizationServiceListOrganizations` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) RoleServiceReplaceRoleForServiceAccountWithBodyWithResponse ¶
func (c *ClientWithResponses) RoleServiceReplaceRoleForServiceAccountWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RoleServiceReplaceRoleForServiceAccountResponse, error)
RoleServiceReplaceRoleForServiceAccountWithBodyWithResponse performs a PUT /v1/roles/replace-for-service-account (the `RoleServiceReplaceRoleForServiceAccount` operationId) request, with any type of body and a specified content type.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) RoleServiceReplaceRoleForServiceAccountWithResponse ¶
func (c *ClientWithResponses) RoleServiceReplaceRoleForServiceAccountWithResponse(ctx context.Context, body RoleServiceReplaceRoleForServiceAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*RoleServiceReplaceRoleForServiceAccountResponse, error)
RoleServiceReplaceRoleForServiceAccountWithResponse performs a PUT /v1/roles/replace-for-service-account (the `RoleServiceReplaceRoleForServiceAccount` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ServiceAccountServiceCreateServiceAccountWithBodyWithResponse ¶
func (c *ClientWithResponses) ServiceAccountServiceCreateServiceAccountWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ServiceAccountServiceCreateServiceAccountResponse, error)
ServiceAccountServiceCreateServiceAccountWithBodyWithResponse performs a POST /v1/service-accounts (the `ServiceAccountServiceCreateServiceAccount` operationId) request, with any type of body and a specified content type.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ServiceAccountServiceCreateServiceAccountWithResponse ¶
func (c *ClientWithResponses) ServiceAccountServiceCreateServiceAccountWithResponse(ctx context.Context, body ServiceAccountServiceCreateServiceAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*ServiceAccountServiceCreateServiceAccountResponse, error)
ServiceAccountServiceCreateServiceAccountWithResponse performs a POST /v1/service-accounts (the `ServiceAccountServiceCreateServiceAccount` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ServiceAccountServiceDeleteServiceAccountWithResponse ¶
func (c *ClientWithResponses) ServiceAccountServiceDeleteServiceAccountWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServiceAccountServiceDeleteServiceAccountResponse, error)
ServiceAccountServiceDeleteServiceAccountWithResponse performs a DELETE /v1/service-accounts/{id} (the `ServiceAccountServiceDeleteServiceAccount` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ServiceAccountServiceGenerateTokenWithBodyWithResponse ¶
func (c *ClientWithResponses) ServiceAccountServiceGenerateTokenWithBodyWithResponse(ctx context.Context, serviceAccountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ServiceAccountServiceGenerateTokenResponse, error)
ServiceAccountServiceGenerateTokenWithBodyWithResponse performs a POST /v1/service-accounts/{serviceAccountId}/tokens (the `ServiceAccountServiceGenerateToken` operationId) request, with any type of body and a specified content type.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ServiceAccountServiceGenerateTokenWithResponse ¶
func (c *ClientWithResponses) ServiceAccountServiceGenerateTokenWithResponse(ctx context.Context, serviceAccountId string, body ServiceAccountServiceGenerateTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*ServiceAccountServiceGenerateTokenResponse, error)
ServiceAccountServiceGenerateTokenWithResponse performs a POST /v1/service-accounts/{serviceAccountId}/tokens (the `ServiceAccountServiceGenerateToken` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ServiceAccountServiceGetServiceAccountWithResponse ¶
func (c *ClientWithResponses) ServiceAccountServiceGetServiceAccountWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServiceAccountServiceGetServiceAccountResponse, error)
ServiceAccountServiceGetServiceAccountWithResponse performs a GET /v1/service-accounts/{id} (the `ServiceAccountServiceGetServiceAccount` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ServiceAccountServiceListServiceAccountsWithResponse ¶
func (c *ClientWithResponses) ServiceAccountServiceListServiceAccountsWithResponse(ctx context.Context, params *ServiceAccountServiceListServiceAccountsParams, reqEditors ...RequestEditorFn) (*ServiceAccountServiceListServiceAccountsResponse, error)
ServiceAccountServiceListServiceAccountsWithResponse performs a GET /v1/service-accounts (the `ServiceAccountServiceListServiceAccounts` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ServiceAccountServiceListTokensWithResponse ¶
func (c *ClientWithResponses) ServiceAccountServiceListTokensWithResponse(ctx context.Context, serviceAccountId string, params *ServiceAccountServiceListTokensParams, reqEditors ...RequestEditorFn) (*ServiceAccountServiceListTokensResponse, error)
ServiceAccountServiceListTokensWithResponse performs a GET /v1/service-accounts/{serviceAccountId}/tokens (the `ServiceAccountServiceListTokens` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ServiceAccountServiceRevokeTokenWithResponse ¶
func (c *ClientWithResponses) ServiceAccountServiceRevokeTokenWithResponse(ctx context.Context, tokenId string, reqEditors ...RequestEditorFn) (*ServiceAccountServiceRevokeTokenResponse, error)
ServiceAccountServiceRevokeTokenWithResponse performs a DELETE /v1/service-accounts/tokens/{tokenId} (the `ServiceAccountServiceRevokeToken` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ServiceAccountServiceUpdateServiceAccountWithBodyWithResponse ¶
func (c *ClientWithResponses) ServiceAccountServiceUpdateServiceAccountWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ServiceAccountServiceUpdateServiceAccountResponse, error)
ServiceAccountServiceUpdateServiceAccountWithBodyWithResponse performs a PATCH /v1/service-accounts/{id} (the `ServiceAccountServiceUpdateServiceAccount` operationId) request, with any type of body and a specified content type.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ServiceAccountServiceUpdateServiceAccountWithResponse ¶
func (c *ClientWithResponses) ServiceAccountServiceUpdateServiceAccountWithResponse(ctx context.Context, id string, body ServiceAccountServiceUpdateServiceAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*ServiceAccountServiceUpdateServiceAccountResponse, error)
ServiceAccountServiceUpdateServiceAccountWithResponse performs a PATCH /v1/service-accounts/{id} (the `ServiceAccountServiceUpdateServiceAccount` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// AgentServiceListAgentsWithResponse performs a GET /v1/agents (the `AgentServiceListAgents` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
AgentServiceListAgentsWithResponse(ctx context.Context, params *AgentServiceListAgentsParams, reqEditors ...RequestEditorFn) (*AgentServiceListAgentsResponse, error)
// AgentServiceCreateAgentWithBodyWithResponse performs a POST /v1/agents (the `AgentServiceCreateAgent` operationId) request,
// with any type of body and a specified content type.
//
// Returns a wrapper object for the known response body format(s).
AgentServiceCreateAgentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentServiceCreateAgentResponse, error)
// AgentServiceCreateAgentWithResponse performs a POST /v1/agents (the `AgentServiceCreateAgent` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
AgentServiceCreateAgentWithResponse(ctx context.Context, body AgentServiceCreateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentServiceCreateAgentResponse, error)
// AgentServiceDeleteAgentWithResponse performs a DELETE /v1/agents/{id} (the `AgentServiceDeleteAgent` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
AgentServiceDeleteAgentWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AgentServiceDeleteAgentResponse, error)
// AgentServiceGetAgentWithResponse performs a GET /v1/agents/{id} (the `AgentServiceGetAgent` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
AgentServiceGetAgentWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AgentServiceGetAgentResponse, error)
// AgentServiceUpdateAgentWithBodyWithResponse performs a PATCH /v1/agents/{id} (the `AgentServiceUpdateAgent` operationId) request,
// with any type of body and a specified content type.
//
// Returns a wrapper object for the known response body format(s).
AgentServiceUpdateAgentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentServiceUpdateAgentResponse, error)
// AgentServiceUpdateAgentWithResponse performs a PATCH /v1/agents/{id} (the `AgentServiceUpdateAgent` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
AgentServiceUpdateAgentWithResponse(ctx context.Context, id string, body AgentServiceUpdateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentServiceUpdateAgentResponse, error)
// AgentServiceGeneratePeeringConfigWithBodyWithResponse performs a POST /v1/agents/{id}:generatePeeringConfig (the `AgentServiceGeneratePeeringConfig` operationId) request,
// with any type of body and a specified content type.
//
// Returns a wrapper object for the known response body format(s).
AgentServiceGeneratePeeringConfigWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentServiceGeneratePeeringConfigResponse, error)
// AgentServiceGeneratePeeringConfigWithResponse performs a POST /v1/agents/{id}:generatePeeringConfig (the `AgentServiceGeneratePeeringConfig` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
AgentServiceGeneratePeeringConfigWithResponse(ctx context.Context, id string, body AgentServiceGeneratePeeringConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentServiceGeneratePeeringConfigResponse, error)
// AgentServiceUploadInboundPeeringConfigWithBodyWithResponse performs a POST /v1/agents/{id}:uploadInboundPeeringConfig (the `AgentServiceUploadInboundPeeringConfig` operationId) request,
// with any type of body and a specified content type.
//
// Returns a wrapper object for the known response body format(s).
AgentServiceUploadInboundPeeringConfigWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentServiceUploadInboundPeeringConfigResponse, error)
// AgentServiceUploadInboundPeeringConfigWithResponse performs a POST /v1/agents/{id}:uploadInboundPeeringConfig (the `AgentServiceUploadInboundPeeringConfig` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
AgentServiceUploadInboundPeeringConfigWithResponse(ctx context.Context, id string, body AgentServiceUploadInboundPeeringConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentServiceUploadInboundPeeringConfigResponse, error)
// GroupServiceAddServiceAccountToGroupWithBodyWithResponse performs a POST /v1/groups/add-service-account (the `GroupServiceAddServiceAccountToGroup` operationId) request,
// with any type of body and a specified content type.
//
// Returns a wrapper object for the known response body format(s).
GroupServiceAddServiceAccountToGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GroupServiceAddServiceAccountToGroupResponse, error)
// GroupServiceAddServiceAccountToGroupWithResponse performs a POST /v1/groups/add-service-account (the `GroupServiceAddServiceAccountToGroup` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
GroupServiceAddServiceAccountToGroupWithResponse(ctx context.Context, body GroupServiceAddServiceAccountToGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*GroupServiceAddServiceAccountToGroupResponse, error)
// GroupServiceRemoveServiceAccountFromGroupWithResponse performs a DELETE /v1/groups/remove-service-account (the `GroupServiceRemoveServiceAccountFromGroup` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
GroupServiceRemoveServiceAccountFromGroupWithResponse(ctx context.Context, params *GroupServiceRemoveServiceAccountFromGroupParams, reqEditors ...RequestEditorFn) (*GroupServiceRemoveServiceAccountFromGroupResponse, error)
// MetricsCredentialServiceListMetricsWriteCredentialsWithResponse performs a GET /v1/metrics-write-credentials (the `MetricsCredentialServiceListMetricsWriteCredentials` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
MetricsCredentialServiceListMetricsWriteCredentialsWithResponse(ctx context.Context, params *MetricsCredentialServiceListMetricsWriteCredentialsParams, reqEditors ...RequestEditorFn) (*MetricsCredentialServiceListMetricsWriteCredentialsResponse, error)
// MetricsCredentialServiceCreateMetricsWriteCredentialWithBodyWithResponse performs a POST /v1/metrics-write-credentials (the `MetricsCredentialServiceCreateMetricsWriteCredential` operationId) request,
// with any type of body and a specified content type.
//
// Returns a wrapper object for the known response body format(s).
MetricsCredentialServiceCreateMetricsWriteCredentialWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MetricsCredentialServiceCreateMetricsWriteCredentialResponse, error)
// MetricsCredentialServiceCreateMetricsWriteCredentialWithResponse performs a POST /v1/metrics-write-credentials (the `MetricsCredentialServiceCreateMetricsWriteCredential` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
MetricsCredentialServiceCreateMetricsWriteCredentialWithResponse(ctx context.Context, body MetricsCredentialServiceCreateMetricsWriteCredentialJSONRequestBody, reqEditors ...RequestEditorFn) (*MetricsCredentialServiceCreateMetricsWriteCredentialResponse, error)
// MetricsCredentialServiceRotateMetricsWriteCredentialWithBodyWithResponse performs a POST /v1/metrics-write-credentials/{id}:rotate (the `MetricsCredentialServiceRotateMetricsWriteCredential` operationId) request,
// with any type of body and a specified content type.
//
// Returns a wrapper object for the known response body format(s).
MetricsCredentialServiceRotateMetricsWriteCredentialWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MetricsCredentialServiceRotateMetricsWriteCredentialResponse, error)
// MetricsCredentialServiceRotateMetricsWriteCredentialWithResponse performs a POST /v1/metrics-write-credentials/{id}:rotate (the `MetricsCredentialServiceRotateMetricsWriteCredential` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
MetricsCredentialServiceRotateMetricsWriteCredentialWithResponse(ctx context.Context, id string, body MetricsCredentialServiceRotateMetricsWriteCredentialJSONRequestBody, reqEditors ...RequestEditorFn) (*MetricsCredentialServiceRotateMetricsWriteCredentialResponse, error)
// OrganizationServiceGetOrganizationWithResponse performs a GET /v1/organization (the `OrganizationServiceGetOrganization` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
OrganizationServiceGetOrganizationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OrganizationServiceGetOrganizationResponse, error)
// OrganizationServiceListOrganizationsWithResponse performs a GET /v1/organizations (the `OrganizationServiceListOrganizations` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
OrganizationServiceListOrganizationsWithResponse(ctx context.Context, params *OrganizationServiceListOrganizationsParams, reqEditors ...RequestEditorFn) (*OrganizationServiceListOrganizationsResponse, error)
// MetadataServiceGetPlatformVersionsWithResponse performs a GET /v1/platform-versions (the `MetadataServiceGetPlatformVersions` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
MetadataServiceGetPlatformVersionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MetadataServiceGetPlatformVersionsResponse, error)
// RoleServiceReplaceRoleForServiceAccountWithBodyWithResponse performs a PUT /v1/roles/replace-for-service-account (the `RoleServiceReplaceRoleForServiceAccount` operationId) request,
// with any type of body and a specified content type.
//
// Returns a wrapper object for the known response body format(s).
RoleServiceReplaceRoleForServiceAccountWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RoleServiceReplaceRoleForServiceAccountResponse, error)
// RoleServiceReplaceRoleForServiceAccountWithResponse performs a PUT /v1/roles/replace-for-service-account (the `RoleServiceReplaceRoleForServiceAccount` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
RoleServiceReplaceRoleForServiceAccountWithResponse(ctx context.Context, body RoleServiceReplaceRoleForServiceAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*RoleServiceReplaceRoleForServiceAccountResponse, error)
// ServiceAccountServiceListServiceAccountsWithResponse performs a GET /v1/service-accounts (the `ServiceAccountServiceListServiceAccounts` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
ServiceAccountServiceListServiceAccountsWithResponse(ctx context.Context, params *ServiceAccountServiceListServiceAccountsParams, reqEditors ...RequestEditorFn) (*ServiceAccountServiceListServiceAccountsResponse, error)
// ServiceAccountServiceCreateServiceAccountWithBodyWithResponse performs a POST /v1/service-accounts (the `ServiceAccountServiceCreateServiceAccount` operationId) request,
// with any type of body and a specified content type.
//
// Returns a wrapper object for the known response body format(s).
ServiceAccountServiceCreateServiceAccountWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ServiceAccountServiceCreateServiceAccountResponse, error)
// ServiceAccountServiceCreateServiceAccountWithResponse performs a POST /v1/service-accounts (the `ServiceAccountServiceCreateServiceAccount` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
ServiceAccountServiceCreateServiceAccountWithResponse(ctx context.Context, body ServiceAccountServiceCreateServiceAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*ServiceAccountServiceCreateServiceAccountResponse, error)
// ServiceAccountServiceRevokeTokenWithResponse performs a DELETE /v1/service-accounts/tokens/{tokenId} (the `ServiceAccountServiceRevokeToken` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
ServiceAccountServiceRevokeTokenWithResponse(ctx context.Context, tokenId string, reqEditors ...RequestEditorFn) (*ServiceAccountServiceRevokeTokenResponse, error)
// ServiceAccountServiceDeleteServiceAccountWithResponse performs a DELETE /v1/service-accounts/{id} (the `ServiceAccountServiceDeleteServiceAccount` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
ServiceAccountServiceDeleteServiceAccountWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServiceAccountServiceDeleteServiceAccountResponse, error)
// ServiceAccountServiceGetServiceAccountWithResponse performs a GET /v1/service-accounts/{id} (the `ServiceAccountServiceGetServiceAccount` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
ServiceAccountServiceGetServiceAccountWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServiceAccountServiceGetServiceAccountResponse, error)
// ServiceAccountServiceUpdateServiceAccountWithBodyWithResponse performs a PATCH /v1/service-accounts/{id} (the `ServiceAccountServiceUpdateServiceAccount` operationId) request,
// with any type of body and a specified content type.
//
// Returns a wrapper object for the known response body format(s).
ServiceAccountServiceUpdateServiceAccountWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ServiceAccountServiceUpdateServiceAccountResponse, error)
// ServiceAccountServiceUpdateServiceAccountWithResponse performs a PATCH /v1/service-accounts/{id} (the `ServiceAccountServiceUpdateServiceAccount` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
ServiceAccountServiceUpdateServiceAccountWithResponse(ctx context.Context, id string, body ServiceAccountServiceUpdateServiceAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*ServiceAccountServiceUpdateServiceAccountResponse, error)
// ServiceAccountServiceListTokensWithResponse performs a GET /v1/service-accounts/{serviceAccountId}/tokens (the `ServiceAccountServiceListTokens` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
ServiceAccountServiceListTokensWithResponse(ctx context.Context, serviceAccountId string, params *ServiceAccountServiceListTokensParams, reqEditors ...RequestEditorFn) (*ServiceAccountServiceListTokensResponse, error)
// ServiceAccountServiceGenerateTokenWithBodyWithResponse performs a POST /v1/service-accounts/{serviceAccountId}/tokens (the `ServiceAccountServiceGenerateToken` operationId) request,
// with any type of body and a specified content type.
//
// Returns a wrapper object for the known response body format(s).
ServiceAccountServiceGenerateTokenWithBodyWithResponse(ctx context.Context, serviceAccountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ServiceAccountServiceGenerateTokenResponse, error)
// ServiceAccountServiceGenerateTokenWithResponse performs a POST /v1/service-accounts/{serviceAccountId}/tokens (the `ServiceAccountServiceGenerateToken` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
ServiceAccountServiceGenerateTokenWithResponse(ctx context.Context, serviceAccountId string, body ServiceAccountServiceGenerateTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*ServiceAccountServiceGenerateTokenResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type GroupServiceAddServiceAccountToGroupJSONRequestBody ¶
type GroupServiceAddServiceAccountToGroupJSONRequestBody = V1AddServiceAccountToGroupRequest
GroupServiceAddServiceAccountToGroupJSONRequestBody defines body for GroupServiceAddServiceAccountToGroup for application/json ContentType.
type GroupServiceAddServiceAccountToGroupResponse ¶
type GroupServiceAddServiceAccountToGroupResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *V1SuccessResponse
}
func ParseGroupServiceAddServiceAccountToGroupResponse ¶
func ParseGroupServiceAddServiceAccountToGroupResponse(rsp *http.Response) (*GroupServiceAddServiceAccountToGroupResponse, error)
ParseGroupServiceAddServiceAccountToGroupResponse parses an HTTP response from a GroupServiceAddServiceAccountToGroupWithResponse call
func (GroupServiceAddServiceAccountToGroupResponse) ContentType ¶
func (r GroupServiceAddServiceAccountToGroupResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GroupServiceAddServiceAccountToGroupResponse) GetBody ¶
func (r GroupServiceAddServiceAccountToGroupResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GroupServiceAddServiceAccountToGroupResponse) GetJSON200 ¶
func (r GroupServiceAddServiceAccountToGroupResponse) GetJSON200() *V1SuccessResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GroupServiceAddServiceAccountToGroupResponse) Status ¶
func (r GroupServiceAddServiceAccountToGroupResponse) Status() string
Status returns HTTPResponse.Status
func (GroupServiceAddServiceAccountToGroupResponse) StatusCode ¶
func (r GroupServiceAddServiceAccountToGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GroupServiceRemoveServiceAccountFromGroupParams ¶
type GroupServiceRemoveServiceAccountFromGroupParams struct {
GroupId *string `form:"groupId,omitempty" json:"groupId,omitempty"`
ServiceAccountIds *[]string `form:"serviceAccountIds,omitempty" json:"serviceAccountIds,omitempty"`
}
GroupServiceRemoveServiceAccountFromGroupParams defines parameters for GroupServiceRemoveServiceAccountFromGroup.
type GroupServiceRemoveServiceAccountFromGroupResponse ¶
type GroupServiceRemoveServiceAccountFromGroupResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *V1SuccessResponse
}
func ParseGroupServiceRemoveServiceAccountFromGroupResponse ¶
func ParseGroupServiceRemoveServiceAccountFromGroupResponse(rsp *http.Response) (*GroupServiceRemoveServiceAccountFromGroupResponse, error)
ParseGroupServiceRemoveServiceAccountFromGroupResponse parses an HTTP response from a GroupServiceRemoveServiceAccountFromGroupWithResponse call
func (GroupServiceRemoveServiceAccountFromGroupResponse) ContentType ¶
func (r GroupServiceRemoveServiceAccountFromGroupResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GroupServiceRemoveServiceAccountFromGroupResponse) GetBody ¶
func (r GroupServiceRemoveServiceAccountFromGroupResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GroupServiceRemoveServiceAccountFromGroupResponse) GetJSON200 ¶
func (r GroupServiceRemoveServiceAccountFromGroupResponse) GetJSON200() *V1SuccessResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GroupServiceRemoveServiceAccountFromGroupResponse) Status ¶
func (r GroupServiceRemoveServiceAccountFromGroupResponse) Status() string
Status returns HTTPResponse.Status
func (GroupServiceRemoveServiceAccountFromGroupResponse) StatusCode ¶
func (r GroupServiceRemoveServiceAccountFromGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type MetadataServiceGetPlatformVersionsResponse ¶
type MetadataServiceGetPlatformVersionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *V1PlatformVersions
}
func ParseMetadataServiceGetPlatformVersionsResponse ¶
func ParseMetadataServiceGetPlatformVersionsResponse(rsp *http.Response) (*MetadataServiceGetPlatformVersionsResponse, error)
ParseMetadataServiceGetPlatformVersionsResponse parses an HTTP response from a MetadataServiceGetPlatformVersionsWithResponse call
func (MetadataServiceGetPlatformVersionsResponse) ContentType ¶
func (r MetadataServiceGetPlatformVersionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MetadataServiceGetPlatformVersionsResponse) GetBody ¶
func (r MetadataServiceGetPlatformVersionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MetadataServiceGetPlatformVersionsResponse) GetJSON200 ¶
func (r MetadataServiceGetPlatformVersionsResponse) GetJSON200() *V1PlatformVersions
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (MetadataServiceGetPlatformVersionsResponse) Status ¶
func (r MetadataServiceGetPlatformVersionsResponse) Status() string
Status returns HTTPResponse.Status
func (MetadataServiceGetPlatformVersionsResponse) StatusCode ¶
func (r MetadataServiceGetPlatformVersionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MetricsCredentialServiceCreateMetricsWriteCredentialJSONRequestBody ¶
type MetricsCredentialServiceCreateMetricsWriteCredentialJSONRequestBody = V1CreateMetricsWriteCredentialRequest
MetricsCredentialServiceCreateMetricsWriteCredentialJSONRequestBody defines body for MetricsCredentialServiceCreateMetricsWriteCredential for application/json ContentType.
type MetricsCredentialServiceCreateMetricsWriteCredentialResponse ¶
type MetricsCredentialServiceCreateMetricsWriteCredentialResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *V1CreateMetricsWriteCredentialResponse
}
func ParseMetricsCredentialServiceCreateMetricsWriteCredentialResponse ¶
func ParseMetricsCredentialServiceCreateMetricsWriteCredentialResponse(rsp *http.Response) (*MetricsCredentialServiceCreateMetricsWriteCredentialResponse, error)
ParseMetricsCredentialServiceCreateMetricsWriteCredentialResponse parses an HTTP response from a MetricsCredentialServiceCreateMetricsWriteCredentialWithResponse call
func (MetricsCredentialServiceCreateMetricsWriteCredentialResponse) ContentType ¶
func (r MetricsCredentialServiceCreateMetricsWriteCredentialResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MetricsCredentialServiceCreateMetricsWriteCredentialResponse) GetBody ¶
func (r MetricsCredentialServiceCreateMetricsWriteCredentialResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MetricsCredentialServiceCreateMetricsWriteCredentialResponse) GetJSON200 ¶
func (r MetricsCredentialServiceCreateMetricsWriteCredentialResponse) GetJSON200() *V1CreateMetricsWriteCredentialResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (MetricsCredentialServiceCreateMetricsWriteCredentialResponse) Status ¶
func (r MetricsCredentialServiceCreateMetricsWriteCredentialResponse) Status() string
Status returns HTTPResponse.Status
func (MetricsCredentialServiceCreateMetricsWriteCredentialResponse) StatusCode ¶
func (r MetricsCredentialServiceCreateMetricsWriteCredentialResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MetricsCredentialServiceListMetricsWriteCredentialsParams ¶
type MetricsCredentialServiceListMetricsWriteCredentialsParams struct {
AgentId *string `form:"agentId,omitempty" json:"agentId,omitempty"`
IncludeRevoked *bool `form:"includeRevoked,omitempty" json:"includeRevoked,omitempty"`
Page *int32 `form:"page,omitempty" json:"page,omitempty"`
PageSize *int32 `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}
MetricsCredentialServiceListMetricsWriteCredentialsParams defines parameters for MetricsCredentialServiceListMetricsWriteCredentials.
type MetricsCredentialServiceListMetricsWriteCredentialsResponse ¶
type MetricsCredentialServiceListMetricsWriteCredentialsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *V1ListMetricsWriteCredentialsResponse
}
func ParseMetricsCredentialServiceListMetricsWriteCredentialsResponse ¶
func ParseMetricsCredentialServiceListMetricsWriteCredentialsResponse(rsp *http.Response) (*MetricsCredentialServiceListMetricsWriteCredentialsResponse, error)
ParseMetricsCredentialServiceListMetricsWriteCredentialsResponse parses an HTTP response from a MetricsCredentialServiceListMetricsWriteCredentialsWithResponse call
func (MetricsCredentialServiceListMetricsWriteCredentialsResponse) ContentType ¶
func (r MetricsCredentialServiceListMetricsWriteCredentialsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MetricsCredentialServiceListMetricsWriteCredentialsResponse) GetBody ¶
func (r MetricsCredentialServiceListMetricsWriteCredentialsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MetricsCredentialServiceListMetricsWriteCredentialsResponse) GetJSON200 ¶
func (r MetricsCredentialServiceListMetricsWriteCredentialsResponse) GetJSON200() *V1ListMetricsWriteCredentialsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (MetricsCredentialServiceListMetricsWriteCredentialsResponse) Status ¶
func (r MetricsCredentialServiceListMetricsWriteCredentialsResponse) Status() string
Status returns HTTPResponse.Status
func (MetricsCredentialServiceListMetricsWriteCredentialsResponse) StatusCode ¶
func (r MetricsCredentialServiceListMetricsWriteCredentialsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MetricsCredentialServiceRotateMetricsWriteCredentialBody ¶
type MetricsCredentialServiceRotateMetricsWriteCredentialBody = map[string]interface{}
MetricsCredentialServiceRotateMetricsWriteCredentialBody defines model for MetricsCredentialServiceRotateMetricsWriteCredentialBody.
type MetricsCredentialServiceRotateMetricsWriteCredentialJSONRequestBody ¶
type MetricsCredentialServiceRotateMetricsWriteCredentialJSONRequestBody = MetricsCredentialServiceRotateMetricsWriteCredentialBody
MetricsCredentialServiceRotateMetricsWriteCredentialJSONRequestBody defines body for MetricsCredentialServiceRotateMetricsWriteCredential for application/json ContentType.
type MetricsCredentialServiceRotateMetricsWriteCredentialResponse ¶
type MetricsCredentialServiceRotateMetricsWriteCredentialResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *V1CreateMetricsWriteCredentialResponse
}
func ParseMetricsCredentialServiceRotateMetricsWriteCredentialResponse ¶
func ParseMetricsCredentialServiceRotateMetricsWriteCredentialResponse(rsp *http.Response) (*MetricsCredentialServiceRotateMetricsWriteCredentialResponse, error)
ParseMetricsCredentialServiceRotateMetricsWriteCredentialResponse parses an HTTP response from a MetricsCredentialServiceRotateMetricsWriteCredentialWithResponse call
func (MetricsCredentialServiceRotateMetricsWriteCredentialResponse) ContentType ¶
func (r MetricsCredentialServiceRotateMetricsWriteCredentialResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MetricsCredentialServiceRotateMetricsWriteCredentialResponse) GetBody ¶
func (r MetricsCredentialServiceRotateMetricsWriteCredentialResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MetricsCredentialServiceRotateMetricsWriteCredentialResponse) GetJSON200 ¶
func (r MetricsCredentialServiceRotateMetricsWriteCredentialResponse) GetJSON200() *V1CreateMetricsWriteCredentialResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (MetricsCredentialServiceRotateMetricsWriteCredentialResponse) Status ¶
func (r MetricsCredentialServiceRotateMetricsWriteCredentialResponse) Status() string
Status returns HTTPResponse.Status
func (MetricsCredentialServiceRotateMetricsWriteCredentialResponse) StatusCode ¶
func (r MetricsCredentialServiceRotateMetricsWriteCredentialResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OrganizationServiceGetOrganizationResponse ¶
type OrganizationServiceGetOrganizationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *V1GetOrganizationResponse
}
func ParseOrganizationServiceGetOrganizationResponse ¶
func ParseOrganizationServiceGetOrganizationResponse(rsp *http.Response) (*OrganizationServiceGetOrganizationResponse, error)
ParseOrganizationServiceGetOrganizationResponse parses an HTTP response from a OrganizationServiceGetOrganizationWithResponse call
func (OrganizationServiceGetOrganizationResponse) ContentType ¶
func (r OrganizationServiceGetOrganizationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (OrganizationServiceGetOrganizationResponse) GetBody ¶
func (r OrganizationServiceGetOrganizationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (OrganizationServiceGetOrganizationResponse) GetJSON200 ¶
func (r OrganizationServiceGetOrganizationResponse) GetJSON200() *V1GetOrganizationResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (OrganizationServiceGetOrganizationResponse) Status ¶
func (r OrganizationServiceGetOrganizationResponse) Status() string
Status returns HTTPResponse.Status
func (OrganizationServiceGetOrganizationResponse) StatusCode ¶
func (r OrganizationServiceGetOrganizationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OrganizationServiceListOrganizationsParams ¶
type OrganizationServiceListOrganizationsParams struct {
Page *int32 `form:"page,omitempty" json:"page,omitempty"`
PageSize *int32 `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}
OrganizationServiceListOrganizationsParams defines parameters for OrganizationServiceListOrganizations.
type OrganizationServiceListOrganizationsResponse ¶
type OrganizationServiceListOrganizationsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *V1ListOrganizationsResponse
}
func ParseOrganizationServiceListOrganizationsResponse ¶
func ParseOrganizationServiceListOrganizationsResponse(rsp *http.Response) (*OrganizationServiceListOrganizationsResponse, error)
ParseOrganizationServiceListOrganizationsResponse parses an HTTP response from a OrganizationServiceListOrganizationsWithResponse call
func (OrganizationServiceListOrganizationsResponse) ContentType ¶
func (r OrganizationServiceListOrganizationsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (OrganizationServiceListOrganizationsResponse) GetBody ¶
func (r OrganizationServiceListOrganizationsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (OrganizationServiceListOrganizationsResponse) GetJSON200 ¶
func (r OrganizationServiceListOrganizationsResponse) GetJSON200() *V1ListOrganizationsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (OrganizationServiceListOrganizationsResponse) Status ¶
func (r OrganizationServiceListOrganizationsResponse) Status() string
Status returns HTTPResponse.Status
func (OrganizationServiceListOrganizationsResponse) StatusCode ¶
func (r OrganizationServiceListOrganizationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Protov1Status ¶
type Protov1Status string
Protov1Status defines model for protov1Status.
const ( STATUSACTIVE Protov1Status = "STATUS_ACTIVE" STATUSBANNED Protov1Status = "STATUS_BANNED" STATUSINACTIVE Protov1Status = "STATUS_INACTIVE" STATUSSOFTDELETED Protov1Status = "STATUS_SOFT_DELETED" STATUSUNSPECIFIED Protov1Status = "STATUS_UNSPECIFIED" )
Defines values for Protov1Status.
func (Protov1Status) Valid ¶
func (e Protov1Status) Valid() bool
Valid indicates whether the value is a known member of the Protov1Status enum.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type RoleServiceReplaceRoleForServiceAccountJSONRequestBody ¶
type RoleServiceReplaceRoleForServiceAccountJSONRequestBody = V1ReplaceRoleForServiceAccountRequest
RoleServiceReplaceRoleForServiceAccountJSONRequestBody defines body for RoleServiceReplaceRoleForServiceAccount for application/json ContentType.
type RoleServiceReplaceRoleForServiceAccountResponse ¶
type RoleServiceReplaceRoleForServiceAccountResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *V1SuccessResponse
}
func ParseRoleServiceReplaceRoleForServiceAccountResponse ¶
func ParseRoleServiceReplaceRoleForServiceAccountResponse(rsp *http.Response) (*RoleServiceReplaceRoleForServiceAccountResponse, error)
ParseRoleServiceReplaceRoleForServiceAccountResponse parses an HTTP response from a RoleServiceReplaceRoleForServiceAccountWithResponse call
func (RoleServiceReplaceRoleForServiceAccountResponse) ContentType ¶
func (r RoleServiceReplaceRoleForServiceAccountResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RoleServiceReplaceRoleForServiceAccountResponse) GetBody ¶
func (r RoleServiceReplaceRoleForServiceAccountResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RoleServiceReplaceRoleForServiceAccountResponse) GetJSON200 ¶
func (r RoleServiceReplaceRoleForServiceAccountResponse) GetJSON200() *V1SuccessResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RoleServiceReplaceRoleForServiceAccountResponse) Status ¶
func (r RoleServiceReplaceRoleForServiceAccountResponse) Status() string
Status returns HTTPResponse.Status
func (RoleServiceReplaceRoleForServiceAccountResponse) StatusCode ¶
func (r RoleServiceReplaceRoleForServiceAccountResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServiceAccountServiceCreateServiceAccountJSONRequestBody ¶
type ServiceAccountServiceCreateServiceAccountJSONRequestBody = V1CreateServiceAccountRequest
ServiceAccountServiceCreateServiceAccountJSONRequestBody defines body for ServiceAccountServiceCreateServiceAccount for application/json ContentType.
type ServiceAccountServiceCreateServiceAccountResponse ¶
type ServiceAccountServiceCreateServiceAccountResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *V1ServiceAccountResponse
}
func ParseServiceAccountServiceCreateServiceAccountResponse ¶
func ParseServiceAccountServiceCreateServiceAccountResponse(rsp *http.Response) (*ServiceAccountServiceCreateServiceAccountResponse, error)
ParseServiceAccountServiceCreateServiceAccountResponse parses an HTTP response from a ServiceAccountServiceCreateServiceAccountWithResponse call
func (ServiceAccountServiceCreateServiceAccountResponse) ContentType ¶
func (r ServiceAccountServiceCreateServiceAccountResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServiceAccountServiceCreateServiceAccountResponse) GetBody ¶
func (r ServiceAccountServiceCreateServiceAccountResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServiceAccountServiceCreateServiceAccountResponse) GetJSON200 ¶
func (r ServiceAccountServiceCreateServiceAccountResponse) GetJSON200() *V1ServiceAccountResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ServiceAccountServiceCreateServiceAccountResponse) Status ¶
func (r ServiceAccountServiceCreateServiceAccountResponse) Status() string
Status returns HTTPResponse.Status
func (ServiceAccountServiceCreateServiceAccountResponse) StatusCode ¶
func (r ServiceAccountServiceCreateServiceAccountResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServiceAccountServiceDeleteServiceAccountResponse ¶
type ServiceAccountServiceDeleteServiceAccountResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *map[string]interface{}
}
func ParseServiceAccountServiceDeleteServiceAccountResponse ¶
func ParseServiceAccountServiceDeleteServiceAccountResponse(rsp *http.Response) (*ServiceAccountServiceDeleteServiceAccountResponse, error)
ParseServiceAccountServiceDeleteServiceAccountResponse parses an HTTP response from a ServiceAccountServiceDeleteServiceAccountWithResponse call
func (ServiceAccountServiceDeleteServiceAccountResponse) ContentType ¶
func (r ServiceAccountServiceDeleteServiceAccountResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServiceAccountServiceDeleteServiceAccountResponse) GetBody ¶
func (r ServiceAccountServiceDeleteServiceAccountResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServiceAccountServiceDeleteServiceAccountResponse) GetJSON200 ¶
func (r ServiceAccountServiceDeleteServiceAccountResponse) GetJSON200() *map[string]interface{}
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ServiceAccountServiceDeleteServiceAccountResponse) Status ¶
func (r ServiceAccountServiceDeleteServiceAccountResponse) Status() string
Status returns HTTPResponse.Status
func (ServiceAccountServiceDeleteServiceAccountResponse) StatusCode ¶
func (r ServiceAccountServiceDeleteServiceAccountResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServiceAccountServiceGenerateTokenBody ¶
type ServiceAccountServiceGenerateTokenBody struct {
ExpiresInDays *int32 `json:"expiresInDays,omitempty"`
Name *string `json:"name,omitempty"`
}
ServiceAccountServiceGenerateTokenBody defines model for ServiceAccountServiceGenerateTokenBody.
type ServiceAccountServiceGenerateTokenJSONRequestBody ¶
type ServiceAccountServiceGenerateTokenJSONRequestBody = ServiceAccountServiceGenerateTokenBody
ServiceAccountServiceGenerateTokenJSONRequestBody defines body for ServiceAccountServiceGenerateToken for application/json ContentType.
type ServiceAccountServiceGenerateTokenResponse ¶
type ServiceAccountServiceGenerateTokenResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *V1GenerateServiceAccountTokenResponse
}
func ParseServiceAccountServiceGenerateTokenResponse ¶
func ParseServiceAccountServiceGenerateTokenResponse(rsp *http.Response) (*ServiceAccountServiceGenerateTokenResponse, error)
ParseServiceAccountServiceGenerateTokenResponse parses an HTTP response from a ServiceAccountServiceGenerateTokenWithResponse call
func (ServiceAccountServiceGenerateTokenResponse) ContentType ¶
func (r ServiceAccountServiceGenerateTokenResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServiceAccountServiceGenerateTokenResponse) GetBody ¶
func (r ServiceAccountServiceGenerateTokenResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServiceAccountServiceGenerateTokenResponse) GetJSON200 ¶
func (r ServiceAccountServiceGenerateTokenResponse) GetJSON200() *V1GenerateServiceAccountTokenResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ServiceAccountServiceGenerateTokenResponse) Status ¶
func (r ServiceAccountServiceGenerateTokenResponse) Status() string
Status returns HTTPResponse.Status
func (ServiceAccountServiceGenerateTokenResponse) StatusCode ¶
func (r ServiceAccountServiceGenerateTokenResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServiceAccountServiceGetServiceAccountResponse ¶
type ServiceAccountServiceGetServiceAccountResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *V1ServiceAccountResponse
}
func ParseServiceAccountServiceGetServiceAccountResponse ¶
func ParseServiceAccountServiceGetServiceAccountResponse(rsp *http.Response) (*ServiceAccountServiceGetServiceAccountResponse, error)
ParseServiceAccountServiceGetServiceAccountResponse parses an HTTP response from a ServiceAccountServiceGetServiceAccountWithResponse call
func (ServiceAccountServiceGetServiceAccountResponse) ContentType ¶
func (r ServiceAccountServiceGetServiceAccountResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServiceAccountServiceGetServiceAccountResponse) GetBody ¶
func (r ServiceAccountServiceGetServiceAccountResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServiceAccountServiceGetServiceAccountResponse) GetJSON200 ¶
func (r ServiceAccountServiceGetServiceAccountResponse) GetJSON200() *V1ServiceAccountResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ServiceAccountServiceGetServiceAccountResponse) Status ¶
func (r ServiceAccountServiceGetServiceAccountResponse) Status() string
Status returns HTTPResponse.Status
func (ServiceAccountServiceGetServiceAccountResponse) StatusCode ¶
func (r ServiceAccountServiceGetServiceAccountResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServiceAccountServiceListServiceAccountsParams ¶
type ServiceAccountServiceListServiceAccountsParams struct {
IncludeInactive *bool `form:"includeInactive,omitempty" json:"includeInactive,omitempty"`
Page *int32 `form:"page,omitempty" json:"page,omitempty"`
PageSize *int32 `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}
ServiceAccountServiceListServiceAccountsParams defines parameters for ServiceAccountServiceListServiceAccounts.
type ServiceAccountServiceListServiceAccountsResponse ¶
type ServiceAccountServiceListServiceAccountsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *V1ListServiceAccountsResponse
}
func ParseServiceAccountServiceListServiceAccountsResponse ¶
func ParseServiceAccountServiceListServiceAccountsResponse(rsp *http.Response) (*ServiceAccountServiceListServiceAccountsResponse, error)
ParseServiceAccountServiceListServiceAccountsResponse parses an HTTP response from a ServiceAccountServiceListServiceAccountsWithResponse call
func (ServiceAccountServiceListServiceAccountsResponse) ContentType ¶
func (r ServiceAccountServiceListServiceAccountsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServiceAccountServiceListServiceAccountsResponse) GetBody ¶
func (r ServiceAccountServiceListServiceAccountsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServiceAccountServiceListServiceAccountsResponse) GetJSON200 ¶
func (r ServiceAccountServiceListServiceAccountsResponse) GetJSON200() *V1ListServiceAccountsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ServiceAccountServiceListServiceAccountsResponse) Status ¶
func (r ServiceAccountServiceListServiceAccountsResponse) Status() string
Status returns HTTPResponse.Status
func (ServiceAccountServiceListServiceAccountsResponse) StatusCode ¶
func (r ServiceAccountServiceListServiceAccountsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServiceAccountServiceListTokensParams ¶
type ServiceAccountServiceListTokensParams struct {
IncludeInactive *bool `form:"includeInactive,omitempty" json:"includeInactive,omitempty"`
Page *int32 `form:"page,omitempty" json:"page,omitempty"`
PageSize *int32 `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}
ServiceAccountServiceListTokensParams defines parameters for ServiceAccountServiceListTokens.
type ServiceAccountServiceListTokensResponse ¶
type ServiceAccountServiceListTokensResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *V1ListServiceAccountTokensResponse
}
func ParseServiceAccountServiceListTokensResponse ¶
func ParseServiceAccountServiceListTokensResponse(rsp *http.Response) (*ServiceAccountServiceListTokensResponse, error)
ParseServiceAccountServiceListTokensResponse parses an HTTP response from a ServiceAccountServiceListTokensWithResponse call
func (ServiceAccountServiceListTokensResponse) ContentType ¶
func (r ServiceAccountServiceListTokensResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServiceAccountServiceListTokensResponse) GetBody ¶
func (r ServiceAccountServiceListTokensResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServiceAccountServiceListTokensResponse) GetJSON200 ¶
func (r ServiceAccountServiceListTokensResponse) GetJSON200() *V1ListServiceAccountTokensResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ServiceAccountServiceListTokensResponse) Status ¶
func (r ServiceAccountServiceListTokensResponse) Status() string
Status returns HTTPResponse.Status
func (ServiceAccountServiceListTokensResponse) StatusCode ¶
func (r ServiceAccountServiceListTokensResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServiceAccountServiceRevokeTokenResponse ¶
type ServiceAccountServiceRevokeTokenResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *map[string]interface{}
}
func ParseServiceAccountServiceRevokeTokenResponse ¶
func ParseServiceAccountServiceRevokeTokenResponse(rsp *http.Response) (*ServiceAccountServiceRevokeTokenResponse, error)
ParseServiceAccountServiceRevokeTokenResponse parses an HTTP response from a ServiceAccountServiceRevokeTokenWithResponse call
func (ServiceAccountServiceRevokeTokenResponse) ContentType ¶
func (r ServiceAccountServiceRevokeTokenResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServiceAccountServiceRevokeTokenResponse) GetBody ¶
func (r ServiceAccountServiceRevokeTokenResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServiceAccountServiceRevokeTokenResponse) GetJSON200 ¶
func (r ServiceAccountServiceRevokeTokenResponse) GetJSON200() *map[string]interface{}
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ServiceAccountServiceRevokeTokenResponse) Status ¶
func (r ServiceAccountServiceRevokeTokenResponse) Status() string
Status returns HTTPResponse.Status
func (ServiceAccountServiceRevokeTokenResponse) StatusCode ¶
func (r ServiceAccountServiceRevokeTokenResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServiceAccountServiceUpdateServiceAccountBody ¶
type ServiceAccountServiceUpdateServiceAccountBody struct {
AllowedIps *[]string `json:"allowedIps,omitempty"`
Description *string `json:"description,omitempty"`
IsActive *bool `json:"isActive,omitempty"`
Name *string `json:"name,omitempty"`
}
ServiceAccountServiceUpdateServiceAccountBody defines model for ServiceAccountServiceUpdateServiceAccountBody.
type ServiceAccountServiceUpdateServiceAccountJSONRequestBody ¶
type ServiceAccountServiceUpdateServiceAccountJSONRequestBody = ServiceAccountServiceUpdateServiceAccountBody
ServiceAccountServiceUpdateServiceAccountJSONRequestBody defines body for ServiceAccountServiceUpdateServiceAccount for application/json ContentType.
type ServiceAccountServiceUpdateServiceAccountResponse ¶
type ServiceAccountServiceUpdateServiceAccountResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *V1ServiceAccountResponse
}
func ParseServiceAccountServiceUpdateServiceAccountResponse ¶
func ParseServiceAccountServiceUpdateServiceAccountResponse(rsp *http.Response) (*ServiceAccountServiceUpdateServiceAccountResponse, error)
ParseServiceAccountServiceUpdateServiceAccountResponse parses an HTTP response from a ServiceAccountServiceUpdateServiceAccountWithResponse call
func (ServiceAccountServiceUpdateServiceAccountResponse) ContentType ¶
func (r ServiceAccountServiceUpdateServiceAccountResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServiceAccountServiceUpdateServiceAccountResponse) GetBody ¶
func (r ServiceAccountServiceUpdateServiceAccountResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServiceAccountServiceUpdateServiceAccountResponse) GetJSON200 ¶
func (r ServiceAccountServiceUpdateServiceAccountResponse) GetJSON200() *V1ServiceAccountResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ServiceAccountServiceUpdateServiceAccountResponse) Status ¶
func (r ServiceAccountServiceUpdateServiceAccountResponse) Status() string
Status returns HTTPResponse.Status
func (ServiceAccountServiceUpdateServiceAccountResponse) StatusCode ¶
func (r ServiceAccountServiceUpdateServiceAccountResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type V1AddServiceAccountToGroupRequest ¶
type V1AddServiceAccountToGroupRequest struct {
GroupId *string `json:"groupId,omitempty"`
ServiceAccountIds *[]string `json:"serviceAccountIds,omitempty"`
}
V1AddServiceAccountToGroupRequest defines model for v1AddServiceAccountToGroupRequest.
type V1Agent ¶
type V1Agent struct {
AgentPublicIp *string `json:"agentPublicIp,omitempty"`
Description *string `json:"description,omitempty"`
GatewayRegion *V1AgentGatewayRegion `json:"gatewayRegion,omitempty"`
GwServerServicePort *int32 `json:"gwServerServicePort,omitempty"`
HypervisorDriver *V1PlatformDriver `json:"hypervisorDriver,omitempty"`
Id *string `json:"id,omitempty"`
InboundPeeringError *string `json:"inboundPeeringError,omitempty"`
InboundPeeringState *V1InboundPeeringState `json:"inboundPeeringState,omitempty"`
Metadata *map[string]interface{} `json:"metadata,omitempty"`
Name *string `json:"name,omitempty"`
OrganizationId *string `json:"organizationId,omitempty"`
Provisioned *bool `json:"provisioned,omitempty"`
ServiceStatus *V1ServiceStatus `json:"serviceStatus,omitempty"`
Status *Protov1Status `json:"status,omitempty"`
Timestamps *V1Timestamps `json:"timestamps,omitempty"`
}
V1Agent defines model for v1Agent.
type V1AgentGatewayRegion ¶
type V1AgentGatewayRegion string
V1AgentGatewayRegion defines model for v1AgentGatewayRegion.
const ( V1AgentGatewayRegionAGENTGATEWAYREGIONAMS01 V1AgentGatewayRegion = "AGENT_GATEWAY_REGION_AMS01" V1AgentGatewayRegionAGENTGATEWAYREGIONUNSPECIFIED V1AgentGatewayRegion = "AGENT_GATEWAY_REGION_UNSPECIFIED" )
Defines values for V1AgentGatewayRegion.
func (V1AgentGatewayRegion) Valid ¶
func (e V1AgentGatewayRegion) Valid() bool
Valid indicates whether the value is a known member of the V1AgentGatewayRegion enum.
type V1ComponentVersion ¶
type V1ComponentVersion struct {
ChecksumSha256 *string `json:"checksumSha256,omitempty"`
DownloadUrl *string `json:"downloadUrl,omitempty"`
MinVersion *string `json:"minVersion,omitempty"`
Name *string `json:"name,omitempty"`
Version *string `json:"version,omitempty"`
}
V1ComponentVersion defines model for v1ComponentVersion.
type V1CreateAgentRequest ¶
type V1CreateAgentRequest struct {
AgentPublicIp *string `json:"agentPublicIp,omitempty"`
Description *string `json:"description,omitempty"`
GatewayRegion *V1AgentGatewayRegion `json:"gatewayRegion,omitempty"`
HypervisorDriver *V1PlatformDriver `json:"hypervisorDriver,omitempty"`
Name *string `json:"name,omitempty"`
}
V1CreateAgentRequest defines model for v1CreateAgentRequest.
type V1CreateMetricsWriteCredentialRequest ¶
type V1CreateMetricsWriteCredentialRequest struct {
AgentId *string `json:"agentId,omitempty"`
ExpiresAt *time.Time `json:"expiresAt,omitempty"`
Name *string `json:"name,omitempty"`
}
V1CreateMetricsWriteCredentialRequest defines model for v1CreateMetricsWriteCredentialRequest.
type V1CreateMetricsWriteCredentialResponse ¶
type V1CreateMetricsWriteCredentialResponse struct {
Credential *V1MetricsWriteCredential `json:"credential,omitempty"`
Token *string `json:"token,omitempty"`
}
V1CreateMetricsWriteCredentialResponse defines model for v1CreateMetricsWriteCredentialResponse.
type V1CreateServiceAccountRequest ¶
type V1CreateServiceAccountRequest struct {
AllowedIps *[]string `json:"allowedIps,omitempty"`
Description *string `json:"description,omitempty"`
Name *string `json:"name,omitempty"`
}
V1CreateServiceAccountRequest defines model for v1CreateServiceAccountRequest.
type V1GeneratePeeringConfigResponse ¶
type V1GeneratePeeringConfigResponse struct {
Config *string `json:"config,omitempty"`
}
V1GeneratePeeringConfigResponse defines model for v1GeneratePeeringConfigResponse.
type V1GenerateServiceAccountTokenResponse ¶
type V1GenerateServiceAccountTokenResponse struct {
CreatedAt *time.Time `json:"createdAt,omitempty"`
ExpiresAt *time.Time `json:"expiresAt,omitempty"`
Token *string `json:"token,omitempty"`
TokenId *string `json:"tokenId,omitempty"`
Warning *string `json:"warning,omitempty"`
}
V1GenerateServiceAccountTokenResponse defines model for v1GenerateServiceAccountTokenResponse.
type V1GetAgentResponse ¶
type V1GetAgentResponse struct {
Agent *V1Agent `json:"agent,omitempty"`
}
V1GetAgentResponse defines model for v1GetAgentResponse.
type V1GetOrganizationResponse ¶
type V1GetOrganizationResponse struct {
Organization *V1Organization `json:"organization,omitempty"`
}
V1GetOrganizationResponse defines model for v1GetOrganizationResponse.
type V1InboundPeeringState ¶
type V1InboundPeeringState string
V1InboundPeeringState defines model for v1InboundPeeringState.
const ( INBOUNDPEERINGSTATEFAILED V1InboundPeeringState = "INBOUND_PEERING_STATE_FAILED" INBOUNDPEERINGSTATEPEERING V1InboundPeeringState = "INBOUND_PEERING_STATE_PEERING" INBOUNDPEERINGSTATEPENDING V1InboundPeeringState = "INBOUND_PEERING_STATE_PENDING" INBOUNDPEERINGSTATEREADY V1InboundPeeringState = "INBOUND_PEERING_STATE_READY" INBOUNDPEERINGSTATEUNSPECIFIED V1InboundPeeringState = "INBOUND_PEERING_STATE_UNSPECIFIED" )
Defines values for V1InboundPeeringState.
func (V1InboundPeeringState) Valid ¶
func (e V1InboundPeeringState) Valid() bool
Valid indicates whether the value is a known member of the V1InboundPeeringState enum.
type V1ListAgentsResponse ¶
type V1ListAgentsResponse struct {
Agents *[]V1GetAgentResponse `json:"agents,omitempty"`
TotalCount *int32 `json:"totalCount,omitempty"`
}
V1ListAgentsResponse defines model for v1ListAgentsResponse.
type V1ListMetricsWriteCredentialsResponse ¶
type V1ListMetricsWriteCredentialsResponse struct {
Credentials *[]V1MetricsWriteCredential `json:"credentials,omitempty"`
TotalCount *int32 `json:"totalCount,omitempty"`
}
V1ListMetricsWriteCredentialsResponse defines model for v1ListMetricsWriteCredentialsResponse.
type V1ListOrganizationsResponse ¶
type V1ListOrganizationsResponse struct {
Organizations *[]V1Organization `json:"organizations,omitempty"`
TotalCount *int32 `json:"totalCount,omitempty"`
}
V1ListOrganizationsResponse defines model for v1ListOrganizationsResponse.
type V1ListServiceAccountTokensResponse ¶
type V1ListServiceAccountTokensResponse struct {
Page *int32 `json:"page,omitempty"`
PageSize *int32 `json:"pageSize,omitempty"`
Tokens *[]V1ServiceAccountTokenInfo `json:"tokens,omitempty"`
TotalCount *int32 `json:"totalCount,omitempty"`
}
V1ListServiceAccountTokensResponse defines model for v1ListServiceAccountTokensResponse.
type V1ListServiceAccountsResponse ¶
type V1ListServiceAccountsResponse struct {
Page *int32 `json:"page,omitempty"`
PageSize *int32 `json:"pageSize,omitempty"`
ServiceAccounts *[]V1ServiceAccountResponse `json:"serviceAccounts,omitempty"`
TotalCount *int32 `json:"totalCount,omitempty"`
}
V1ListServiceAccountsResponse defines model for v1ListServiceAccountsResponse.
type V1MetricsWriteCredential ¶
type V1MetricsWriteCredential struct {
AgentId *string `json:"agentId,omitempty"`
CreateTime *time.Time `json:"createTime,omitempty"`
ExpiresAt *time.Time `json:"expiresAt,omitempty"`
Id *string `json:"id,omitempty"`
LastUsedAt *time.Time `json:"lastUsedAt,omitempty"`
Name *string `json:"name,omitempty"`
OrganizationId *string `json:"organizationId,omitempty"`
PublicId *string `json:"publicId,omitempty"`
RevokedAt *time.Time `json:"revokedAt,omitempty"`
Scopes *[]string `json:"scopes,omitempty"`
}
V1MetricsWriteCredential defines model for v1MetricsWriteCredential.
type V1Organization ¶
type V1Organization struct {
Asn *string `json:"asn,omitempty"`
DdosProvider *string `json:"ddosProvider,omitempty"`
Description *string `json:"description,omitempty"`
Domains *[]string `json:"domains,omitempty"`
EnforceMfa *bool `json:"enforceMfa,omitempty"`
EnforceSso *bool `json:"enforceSso,omitempty"`
EnforceVerifiedDomain *bool `json:"enforceVerifiedDomain,omitempty"`
Groups *[]string `json:"groups,omitempty"`
HypervisorDriver *V1PlatformDriver `json:"hypervisorDriver,omitempty"`
Id *string `json:"id,omitempty"`
IsVerified *bool `json:"isVerified,omitempty"`
Metadata *map[string]interface{} `json:"metadata,omitempty"`
Name *string `json:"name,omitempty"`
Onboarded *bool `json:"onboarded,omitempty"`
OrganizationRoles *[]string `json:"organizationRoles,omitempty"`
Owner *string `json:"owner,omitempty"`
ProviderLogoUrl *string `json:"providerLogoUrl,omitempty"`
ProviderWebsiteUrl *string `json:"providerWebsiteUrl,omitempty"`
ReviewRequested *bool `json:"reviewRequested,omitempty"`
Status *Protov1Status `json:"status,omitempty"`
Subscriptions *[]string `json:"subscriptions,omitempty"`
Timestamps *V1Timestamps `json:"timestamps,omitempty"`
Type *V1OrganizationType `json:"type,omitempty"`
}
V1Organization defines model for v1Organization.
type V1OrganizationType ¶
type V1OrganizationType string
V1OrganizationType defines model for v1OrganizationType.
const ( ORGANIZATIONTYPECLIENT V1OrganizationType = "ORGANIZATION_TYPE_CLIENT" ORGANIZATIONTYPEPROVIDER V1OrganizationType = "ORGANIZATION_TYPE_PROVIDER" ORGANIZATIONTYPEUNSPECIFIED V1OrganizationType = "ORGANIZATION_TYPE_UNSPECIFIED" )
Defines values for V1OrganizationType.
func (V1OrganizationType) Valid ¶
func (e V1OrganizationType) Valid() bool
Valid indicates whether the value is a known member of the V1OrganizationType enum.
type V1PlatformDriver ¶
type V1PlatformDriver string
V1PlatformDriver defines model for v1PlatformDriver.
const ( PLATFORMDRIVERPROXMOX V1PlatformDriver = "PLATFORM_DRIVER_PROXMOX" PLATFORMDRIVERPTERODACTYL V1PlatformDriver = "PLATFORM_DRIVER_PTERODACTYL" PLATFORMDRIVERSOLUSVM V1PlatformDriver = "PLATFORM_DRIVER_SOLUSVM" PLATFORMDRIVERUNSPECIFIED V1PlatformDriver = "PLATFORM_DRIVER_UNSPECIFIED" PLATFORMDRIVERVIRTFUSION V1PlatformDriver = "PLATFORM_DRIVER_VIRTFUSION" )
Defines values for V1PlatformDriver.
func (V1PlatformDriver) Valid ¶
func (e V1PlatformDriver) Valid() bool
Valid indicates whether the value is a known member of the V1PlatformDriver enum.
type V1PlatformVersions ¶
type V1PlatformVersions struct {
Components *[]V1ComponentVersion `json:"components,omitempty"`
SchemaVersion *string `json:"schemaVersion,omitempty"`
}
V1PlatformVersions defines model for v1PlatformVersions.
type V1ReplaceRoleForServiceAccountRequest ¶
type V1ReplaceRoleForServiceAccountRequest struct {
RoleId *string `json:"roleId,omitempty"`
ServiceAccountId *string `json:"serviceAccountId,omitempty"`
}
V1ReplaceRoleForServiceAccountRequest defines model for v1ReplaceRoleForServiceAccountRequest.
type V1ServiceAccountResponse ¶
type V1ServiceAccountResponse struct {
ActiveTokenCount *int32 `json:"activeTokenCount,omitempty"`
AllowedIps *[]string `json:"allowedIps,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
CreatedByUserId *string `json:"createdByUserId,omitempty"`
Description *string `json:"description,omitempty"`
GroupIds *[]string `json:"groupIds,omitempty"`
Id *string `json:"id,omitempty"`
IsActive *bool `json:"isActive,omitempty"`
LastUsedAt *time.Time `json:"lastUsedAt,omitempty"`
Name *string `json:"name,omitempty"`
OrganizationId *string `json:"organizationId,omitempty"`
RoleIds *[]string `json:"roleIds,omitempty"`
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}
V1ServiceAccountResponse defines model for v1ServiceAccountResponse.
type V1ServiceAccountTokenInfo ¶
type V1ServiceAccountTokenInfo struct {
CreatedAt *time.Time `json:"createdAt,omitempty"`
CreatedByUserId *string `json:"createdByUserId,omitempty"`
ExpiresAt *time.Time `json:"expiresAt,omitempty"`
ExpiresInDays *int32 `json:"expiresInDays,omitempty"`
LastUsedAt *time.Time `json:"lastUsedAt,omitempty"`
Name *string `json:"name,omitempty"`
Status *string `json:"status,omitempty"`
TokenId *string `json:"tokenId,omitempty"`
}
V1ServiceAccountTokenInfo defines model for v1ServiceAccountTokenInfo.
type V1ServiceStatus ¶
type V1ServiceStatus string
V1ServiceStatus defines model for v1ServiceStatus.
const ( SERVICESTATUSMAINTENANCE V1ServiceStatus = "SERVICE_STATUS_MAINTENANCE" SERVICESTATUSOFFLINE V1ServiceStatus = "SERVICE_STATUS_OFFLINE" SERVICESTATUSONLINE V1ServiceStatus = "SERVICE_STATUS_ONLINE" SERVICESTATUSUNSPECIFIED V1ServiceStatus = "SERVICE_STATUS_UNSPECIFIED" )
Defines values for V1ServiceStatus.
func (V1ServiceStatus) Valid ¶
func (e V1ServiceStatus) Valid() bool
Valid indicates whether the value is a known member of the V1ServiceStatus enum.
type V1SuccessResponse ¶
type V1SuccessResponse struct {
Success *bool `json:"success,omitempty"`
}
V1SuccessResponse defines model for v1SuccessResponse.
type V1Timestamps ¶
type V1Timestamps struct {
CreateTime *time.Time `json:"createTime,omitempty"`
UpdateTime *time.Time `json:"updateTime,omitempty"`
}
V1Timestamps defines model for v1Timestamps.
type V1UpdateAgentResponse ¶
type V1UpdateAgentResponse struct {
Agent *V1Agent `json:"agent,omitempty"`
}
V1UpdateAgentResponse defines model for v1UpdateAgentResponse.
type V1UploadInboundPeeringConfigResponse ¶
type V1UploadInboundPeeringConfigResponse struct {
InboundPeeringState *V1InboundPeeringState `json:"inboundPeeringState,omitempty"`
}
V1UploadInboundPeeringConfigResponse defines model for v1UploadInboundPeeringConfigResponse.