Documentation
¶
Overview ¶
Package cloudapi provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.12.4 DO NOT EDIT.
Index ¶
- Constants
- func NewAcceptInviteMutationRequest(server string, id string, body AcceptInviteMutationJSONRequestBody) (*http.Request, error)
- func NewAcceptInviteMutationRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewAccessGraphQueryRequest(server string, body AccessGraphQueryJSONRequestBody) (*http.Request, error)
- func NewAccessGraphQueryRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAddEnvironmentLabelMutationRequest(server string, id string, body AddEnvironmentLabelMutationJSONRequestBody) (*http.Request, error)
- func NewAddEnvironmentLabelMutationRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewClusterQueryRequest(server string, id string) (*http.Request, error)
- func NewClustersQueryRequest(server string, params *ClustersQueryParams) (*http.Request, error)
- func NewCreateClusterMutationRequest(server string, body CreateClusterMutationJSONRequestBody) (*http.Request, error)
- func NewCreateClusterMutationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateEnvironmentMutationRequest(server string, body CreateEnvironmentMutationJSONRequestBody) (*http.Request, error)
- func NewCreateEnvironmentMutationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateGenericIntegrationMutationRequest(server string, body CreateGenericIntegrationMutationJSONRequestBody) (*http.Request, error)
- func NewCreateGenericIntegrationMutationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateInviteMutationRequest(server string, body CreateInviteMutationJSONRequestBody) (*http.Request, error)
- func NewCreateInviteMutationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateKubernetesIntegrationMutationRequest(server string, body CreateKubernetesIntegrationMutationJSONRequestBody) (*http.Request, error)
- func NewCreateKubernetesIntegrationMutationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateOrganizationMutationRequest(server string, body CreateOrganizationMutationJSONRequestBody) (*http.Request, error)
- func NewCreateOrganizationMutationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteClusterMutationRequest(server string, id string) (*http.Request, error)
- func NewDeleteEnvironmentLabelMutationRequest(server string, id string, params *DeleteEnvironmentLabelMutationParams) (*http.Request, error)
- func NewDeleteEnvironmentMutationRequest(server string, id string) (*http.Request, error)
- func NewDeleteIntegrationMutationRequest(server string, id string) (*http.Request, error)
- func NewDeleteInviteMutationRequest(server string, id string) (*http.Request, error)
- func NewEnvironmentQueryRequest(server string, id string) (*http.Request, error)
- func NewEnvironmentsQueryRequest(server string, params *EnvironmentsQueryParams) (*http.Request, error)
- func NewIntegrationQueryRequest(server string, id string) (*http.Request, error)
- func NewIntegrationsQueryRequest(server string, params *IntegrationsQueryParams) (*http.Request, error)
- func NewIntentQueryRequest(server string, id string) (*http.Request, error)
- func NewIntentsQueryRequest(server string, params *IntentsQueryParams) (*http.Request, error)
- func NewInviteQueryRequest(server string, id string) (*http.Request, error)
- func NewInvitesQueryRequest(server string, params *InvitesQueryParams) (*http.Request, error)
- func NewMeQueryRequest(server string) (*http.Request, error)
- func NewNamespaceQueryRequest(server string, id string) (*http.Request, error)
- func NewNamespacesQueryRequest(server string, params *NamespacesQueryParams) (*http.Request, error)
- func NewOneClusterQueryRequest(server string, params *OneClusterQueryParams) (*http.Request, error)
- func NewOneEnvironmentQueryRequest(server string, params *OneEnvironmentQueryParams) (*http.Request, error)
- func NewOneIntegrationQueryRequest(server string, params *OneIntegrationQueryParams) (*http.Request, error)
- func NewOneInviteQueryRequest(server string, params *OneInviteQueryParams) (*http.Request, error)
- func NewOneNamespaceQueryRequest(server string, params *OneNamespaceQueryParams) (*http.Request, error)
- func NewOneServiceQueryRequest(server string, params *OneServiceQueryParams) (*http.Request, error)
- func NewOrganizationQueryRequest(server string, id string) (*http.Request, error)
- func NewOrganizationsQueryRequest(server string) (*http.Request, error)
- func NewRemoveUserFromOrganizationMutationRequest(server string, id string, params *RemoveUserFromOrganizationMutationParams) (*http.Request, error)
- func NewServiceQueryRequest(server string, id string) (*http.Request, error)
- func NewServicesQueryRequest(server string, params *ServicesQueryParams) (*http.Request, error)
- func NewUpdateClusterMutationRequest(server string, id string, body UpdateClusterMutationJSONRequestBody) (*http.Request, error)
- func NewUpdateClusterMutationRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateEnvironmentMutationRequest(server string, id string, body UpdateEnvironmentMutationJSONRequestBody) (*http.Request, error)
- func NewUpdateEnvironmentMutationRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateIntegrationMutationRequest(server string, id string, body UpdateIntegrationMutationJSONRequestBody) (*http.Request, error)
- func NewUpdateIntegrationMutationRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateNamespaceMutationRequest(server string, id string, body UpdateNamespaceMutationJSONRequestBody) (*http.Request, error)
- func NewUpdateNamespaceMutationRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateOrganizationMutationRequest(server string, id string, body UpdateOrganizationMutationJSONRequestBody) (*http.Request, error)
- func NewUpdateOrganizationMutationRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUserQueryRequest(server string, id string) (*http.Request, error)
- func NewUsersQueryRequest(server string) (*http.Request, error)
- type AcceptInviteMutationJSONBody
- type AcceptInviteMutationJSONRequestBody
- type AcceptInviteMutationResponse
- type AccessGraph
- type AccessGraphEdge
- type AccessGraphFilter
- type AccessGraphQueryJSONBody
- type AccessGraphQueryJSONRequestBody
- type AccessGraphQueryResponse
- type AddEnvironmentLabelMutationJSONBody
- type AddEnvironmentLabelMutationJSONRequestBody
- type AddEnvironmentLabelMutationResponse
- type BADREQUEST
- type CONFLICT
- type CertificateInformation
- type Client
- func (c *Client) AcceptInviteMutation(ctx context.Context, id string, body AcceptInviteMutationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AcceptInviteMutationWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AccessGraphQuery(ctx context.Context, body AccessGraphQueryJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AccessGraphQueryWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AddEnvironmentLabelMutation(ctx context.Context, id string, ...) (*http.Response, error)
- func (c *Client) AddEnvironmentLabelMutationWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ClusterQuery(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ClustersQuery(ctx context.Context, params *ClustersQueryParams, ...) (*http.Response, error)
- func (c *Client) CreateClusterMutation(ctx context.Context, body CreateClusterMutationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateClusterMutationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateEnvironmentMutation(ctx context.Context, body CreateEnvironmentMutationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateEnvironmentMutationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateGenericIntegrationMutation(ctx context.Context, body CreateGenericIntegrationMutationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateGenericIntegrationMutationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateInviteMutation(ctx context.Context, body CreateInviteMutationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateInviteMutationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateKubernetesIntegrationMutation(ctx context.Context, body CreateKubernetesIntegrationMutationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateKubernetesIntegrationMutationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateOrganizationMutation(ctx context.Context, body CreateOrganizationMutationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateOrganizationMutationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteClusterMutation(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteEnvironmentLabelMutation(ctx context.Context, id string, params *DeleteEnvironmentLabelMutationParams, ...) (*http.Response, error)
- func (c *Client) DeleteEnvironmentMutation(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteIntegrationMutation(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteInviteMutation(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) EnvironmentQuery(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) EnvironmentsQuery(ctx context.Context, params *EnvironmentsQueryParams, ...) (*http.Response, error)
- func (c *Client) IntegrationQuery(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) IntegrationsQuery(ctx context.Context, params *IntegrationsQueryParams, ...) (*http.Response, error)
- func (c *Client) IntentQuery(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) IntentsQuery(ctx context.Context, params *IntentsQueryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) InviteQuery(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) InvitesQuery(ctx context.Context, params *InvitesQueryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) MeQuery(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) NamespaceQuery(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) NamespacesQuery(ctx context.Context, params *NamespacesQueryParams, ...) (*http.Response, error)
- func (c *Client) OneClusterQuery(ctx context.Context, params *OneClusterQueryParams, ...) (*http.Response, error)
- func (c *Client) OneEnvironmentQuery(ctx context.Context, params *OneEnvironmentQueryParams, ...) (*http.Response, error)
- func (c *Client) OneIntegrationQuery(ctx context.Context, params *OneIntegrationQueryParams, ...) (*http.Response, error)
- func (c *Client) OneInviteQuery(ctx context.Context, params *OneInviteQueryParams, ...) (*http.Response, error)
- func (c *Client) OneNamespaceQuery(ctx context.Context, params *OneNamespaceQueryParams, ...) (*http.Response, error)
- func (c *Client) OneServiceQuery(ctx context.Context, params *OneServiceQueryParams, ...) (*http.Response, error)
- func (c *Client) OrganizationQuery(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) OrganizationsQuery(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RemoveUserFromOrganizationMutation(ctx context.Context, id string, ...) (*http.Response, error)
- func (c *Client) ServiceQuery(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ServicesQuery(ctx context.Context, params *ServicesQueryParams, ...) (*http.Response, error)
- func (c *Client) UpdateClusterMutation(ctx context.Context, id string, body UpdateClusterMutationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateClusterMutationWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateEnvironmentMutation(ctx context.Context, id string, body UpdateEnvironmentMutationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateEnvironmentMutationWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateIntegrationMutation(ctx context.Context, id string, body UpdateIntegrationMutationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateIntegrationMutationWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateNamespaceMutation(ctx context.Context, id string, body UpdateNamespaceMutationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateNamespaceMutationWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateOrganizationMutation(ctx context.Context, id string, body UpdateOrganizationMutationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateOrganizationMutationWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UserQuery(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UsersQuery(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AcceptInviteMutationWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*AcceptInviteMutationResponse, error)
- func (c *ClientWithResponses) AcceptInviteMutationWithResponse(ctx context.Context, id string, body AcceptInviteMutationJSONRequestBody, ...) (*AcceptInviteMutationResponse, error)
- func (c *ClientWithResponses) AccessGraphQueryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AccessGraphQueryResponse, error)
- func (c *ClientWithResponses) AccessGraphQueryWithResponse(ctx context.Context, body AccessGraphQueryJSONRequestBody, ...) (*AccessGraphQueryResponse, error)
- func (c *ClientWithResponses) AddEnvironmentLabelMutationWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*AddEnvironmentLabelMutationResponse, error)
- func (c *ClientWithResponses) AddEnvironmentLabelMutationWithResponse(ctx context.Context, id string, ...) (*AddEnvironmentLabelMutationResponse, error)
- func (c *ClientWithResponses) ClusterQueryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ClusterQueryResponse, error)
- func (c *ClientWithResponses) ClustersQueryWithResponse(ctx context.Context, params *ClustersQueryParams, ...) (*ClustersQueryResponse, error)
- func (c *ClientWithResponses) CreateClusterMutationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateClusterMutationResponse, error)
- func (c *ClientWithResponses) CreateClusterMutationWithResponse(ctx context.Context, body CreateClusterMutationJSONRequestBody, ...) (*CreateClusterMutationResponse, error)
- func (c *ClientWithResponses) CreateEnvironmentMutationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateEnvironmentMutationResponse, error)
- func (c *ClientWithResponses) CreateEnvironmentMutationWithResponse(ctx context.Context, body CreateEnvironmentMutationJSONRequestBody, ...) (*CreateEnvironmentMutationResponse, error)
- func (c *ClientWithResponses) CreateGenericIntegrationMutationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateGenericIntegrationMutationResponse, error)
- func (c *ClientWithResponses) CreateGenericIntegrationMutationWithResponse(ctx context.Context, body CreateGenericIntegrationMutationJSONRequestBody, ...) (*CreateGenericIntegrationMutationResponse, error)
- func (c *ClientWithResponses) CreateInviteMutationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateInviteMutationResponse, error)
- func (c *ClientWithResponses) CreateInviteMutationWithResponse(ctx context.Context, body CreateInviteMutationJSONRequestBody, ...) (*CreateInviteMutationResponse, error)
- func (c *ClientWithResponses) CreateKubernetesIntegrationMutationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateKubernetesIntegrationMutationResponse, error)
- func (c *ClientWithResponses) CreateKubernetesIntegrationMutationWithResponse(ctx context.Context, body CreateKubernetesIntegrationMutationJSONRequestBody, ...) (*CreateKubernetesIntegrationMutationResponse, error)
- func (c *ClientWithResponses) CreateOrganizationMutationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateOrganizationMutationResponse, error)
- func (c *ClientWithResponses) CreateOrganizationMutationWithResponse(ctx context.Context, body CreateOrganizationMutationJSONRequestBody, ...) (*CreateOrganizationMutationResponse, error)
- func (c *ClientWithResponses) DeleteClusterMutationWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteClusterMutationResponse, error)
- func (c *ClientWithResponses) DeleteEnvironmentLabelMutationWithResponse(ctx context.Context, id string, params *DeleteEnvironmentLabelMutationParams, ...) (*DeleteEnvironmentLabelMutationResponse, error)
- func (c *ClientWithResponses) DeleteEnvironmentMutationWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteEnvironmentMutationResponse, error)
- func (c *ClientWithResponses) DeleteIntegrationMutationWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteIntegrationMutationResponse, error)
- func (c *ClientWithResponses) DeleteInviteMutationWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteInviteMutationResponse, error)
- func (c *ClientWithResponses) EnvironmentQueryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*EnvironmentQueryResponse, error)
- func (c *ClientWithResponses) EnvironmentsQueryWithResponse(ctx context.Context, params *EnvironmentsQueryParams, ...) (*EnvironmentsQueryResponse, error)
- func (c *ClientWithResponses) IntegrationQueryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IntegrationQueryResponse, error)
- func (c *ClientWithResponses) IntegrationsQueryWithResponse(ctx context.Context, params *IntegrationsQueryParams, ...) (*IntegrationsQueryResponse, error)
- func (c *ClientWithResponses) IntentQueryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IntentQueryResponse, error)
- func (c *ClientWithResponses) IntentsQueryWithResponse(ctx context.Context, params *IntentsQueryParams, reqEditors ...RequestEditorFn) (*IntentsQueryResponse, error)
- func (c *ClientWithResponses) InviteQueryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*InviteQueryResponse, error)
- func (c *ClientWithResponses) InvitesQueryWithResponse(ctx context.Context, params *InvitesQueryParams, reqEditors ...RequestEditorFn) (*InvitesQueryResponse, error)
- func (c *ClientWithResponses) MeQueryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MeQueryResponse, error)
- func (c *ClientWithResponses) NamespaceQueryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*NamespaceQueryResponse, error)
- func (c *ClientWithResponses) NamespacesQueryWithResponse(ctx context.Context, params *NamespacesQueryParams, ...) (*NamespacesQueryResponse, error)
- func (c *ClientWithResponses) OneClusterQueryWithResponse(ctx context.Context, params *OneClusterQueryParams, ...) (*OneClusterQueryResponse, error)
- func (c *ClientWithResponses) OneEnvironmentQueryWithResponse(ctx context.Context, params *OneEnvironmentQueryParams, ...) (*OneEnvironmentQueryResponse, error)
- func (c *ClientWithResponses) OneIntegrationQueryWithResponse(ctx context.Context, params *OneIntegrationQueryParams, ...) (*OneIntegrationQueryResponse, error)
- func (c *ClientWithResponses) OneInviteQueryWithResponse(ctx context.Context, params *OneInviteQueryParams, ...) (*OneInviteQueryResponse, error)
- func (c *ClientWithResponses) OneNamespaceQueryWithResponse(ctx context.Context, params *OneNamespaceQueryParams, ...) (*OneNamespaceQueryResponse, error)
- func (c *ClientWithResponses) OneServiceQueryWithResponse(ctx context.Context, params *OneServiceQueryParams, ...) (*OneServiceQueryResponse, error)
- func (c *ClientWithResponses) OrganizationQueryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*OrganizationQueryResponse, error)
- func (c *ClientWithResponses) OrganizationsQueryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OrganizationsQueryResponse, error)
- func (c *ClientWithResponses) RemoveUserFromOrganizationMutationWithResponse(ctx context.Context, id string, ...) (*RemoveUserFromOrganizationMutationResponse, error)
- func (c *ClientWithResponses) ServiceQueryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServiceQueryResponse, error)
- func (c *ClientWithResponses) ServicesQueryWithResponse(ctx context.Context, params *ServicesQueryParams, ...) (*ServicesQueryResponse, error)
- func (c *ClientWithResponses) UpdateClusterMutationWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateClusterMutationResponse, error)
- func (c *ClientWithResponses) UpdateClusterMutationWithResponse(ctx context.Context, id string, body UpdateClusterMutationJSONRequestBody, ...) (*UpdateClusterMutationResponse, error)
- func (c *ClientWithResponses) UpdateEnvironmentMutationWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateEnvironmentMutationResponse, error)
- func (c *ClientWithResponses) UpdateEnvironmentMutationWithResponse(ctx context.Context, id string, body UpdateEnvironmentMutationJSONRequestBody, ...) (*UpdateEnvironmentMutationResponse, error)
- func (c *ClientWithResponses) UpdateIntegrationMutationWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateIntegrationMutationResponse, error)
- func (c *ClientWithResponses) UpdateIntegrationMutationWithResponse(ctx context.Context, id string, body UpdateIntegrationMutationJSONRequestBody, ...) (*UpdateIntegrationMutationResponse, error)
- func (c *ClientWithResponses) UpdateNamespaceMutationWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateNamespaceMutationResponse, error)
- func (c *ClientWithResponses) UpdateNamespaceMutationWithResponse(ctx context.Context, id string, body UpdateNamespaceMutationJSONRequestBody, ...) (*UpdateNamespaceMutationResponse, error)
- func (c *ClientWithResponses) UpdateOrganizationMutationWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateOrganizationMutationResponse, error)
- func (c *ClientWithResponses) UpdateOrganizationMutationWithResponse(ctx context.Context, id string, body UpdateOrganizationMutationJSONRequestBody, ...) (*UpdateOrganizationMutationResponse, error)
- func (c *ClientWithResponses) UserQueryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*UserQueryResponse, error)
- func (c *ClientWithResponses) UsersQueryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UsersQueryResponse, error)
- type ClientWithResponsesInterface
- type Cluster
- type ClusterConfiguration
- type ClusterConfigurationInput
- type ClusterQueryResponse
- type ClustersQueryParams
- type ClustersQueryResponse
- type ComponentStatus
- type ComponentStatusType
- type CreateClusterMutationJSONBody
- type CreateClusterMutationJSONRequestBody
- type CreateClusterMutationResponse
- type CreateEnvironmentMutationJSONBody
- type CreateEnvironmentMutationJSONRequestBody
- type CreateEnvironmentMutationResponse
- type CreateGenericIntegrationMutationJSONBody
- type CreateGenericIntegrationMutationJSONRequestBody
- type CreateGenericIntegrationMutationResponse
- type CreateInviteMutationJSONBody
- type CreateInviteMutationJSONRequestBody
- type CreateInviteMutationResponse
- type CreateKubernetesIntegrationMutationJSONBody
- type CreateKubernetesIntegrationMutationJSONRequestBody
- type CreateKubernetesIntegrationMutationResponse
- type CreateOrganizationMutationJSONBody
- type CreateOrganizationMutationJSONRequestBody
- type CreateOrganizationMutationResponse
- type CredentialsOperatorComponent
- type CredentialsOperatorComponentType
- type DeleteClusterMutationResponse
- type DeleteEnvironmentLabelMutationParams
- type DeleteEnvironmentLabelMutationResponse
- type DeleteEnvironmentMutationResponse
- type DeleteIntegrationMutationResponse
- type DeleteInviteMutationResponse
- type EdgeAccessStatus
- type EdgeAccessStatusReason
- type EdgeAccessStatusVerdict
- type Environment
- type EnvironmentQueryResponse
- type EnvironmentsQueryParams
- type EnvironmentsQueryResponse
- type Error
- type FORBIDDEN
- type HTTPConfig
- type HTTPConfigMethods
- type HttpRequestDoer
- type INTERNALSERVERERROR
- type InputAccessGraphFilter
- type Integration
- type IntegrationComponents
- type IntegrationCredentials
- type IntegrationQueryResponse
- type IntegrationType
- type IntegrationsQueryParams
- type IntegrationsQueryParamsIntegrationType
- type IntegrationsQueryResponse
- type Intent
- type IntentQueryResponse
- type IntentType
- type IntentsOperatorComponent
- type IntentsOperatorComponentType
- type IntentsOperatorConfiguration
- type IntentsQueryParams
- type IntentsQueryResponse
- type Invite
- type InviteQueryResponse
- type InviteStatus
- type InvitesQueryParams
- type InvitesQueryParamsStatus
- type InvitesQueryResponse
- type KafkaConfig
- type KafkaConfigOperations
- type KafkaServerConfig
- type KafkaTopic
- type KafkaTopicPattern
- type Label
- type LabelInput
- type Me
- type MeQueryResponse
- type NOTFOUND
- type Namespace
- type NamespaceQueryResponse
- type NamespacesQueryParams
- type NamespacesQueryResponse
- type NetworkMapperComponent
- type NetworkMapperComponentType
- type OneClusterQueryParams
- type OneClusterQueryResponse
- type OneEnvironmentQueryParams
- type OneEnvironmentQueryResponse
- type OneIntegrationQueryParams
- type OneIntegrationQueryParamsIntegrationType
- type OneIntegrationQueryResponse
- type OneInviteQueryParams
- type OneInviteQueryParamsStatus
- type OneInviteQueryResponse
- type OneNamespaceQueryParams
- type OneNamespaceQueryResponse
- type OneServiceQueryParams
- type OneServiceQueryResponse
- type Organization
- type OrganizationQueryResponse
- type OrganizationsQueryResponse
- type RemoveUserFromOrganizationMutationParams
- type RemoveUserFromOrganizationMutationResponse
- type RequestEditorFn
- type ServerBlockingStatus
- type ServerBlockingStatusReason
- type ServerBlockingStatusVerdict
- type ServerProtectionStatus
- type ServerProtectionStatusReason
- type ServerProtectionStatusVerdict
- type Service
- type ServiceAccessGraph
- type ServiceAccessStatus
- type ServiceQueryResponse
- type ServicesQueryParams
- type ServicesQueryResponse
- type UNAUTHENTICATED
- type UNEXPECTEDERROR
- type UpdateClusterMutationJSONBody
- type UpdateClusterMutationJSONRequestBody
- type UpdateClusterMutationResponse
- type UpdateEnvironmentMutationJSONBody
- type UpdateEnvironmentMutationJSONRequestBody
- type UpdateEnvironmentMutationResponse
- type UpdateIntegrationMutationJSONBody
- type UpdateIntegrationMutationJSONRequestBody
- type UpdateIntegrationMutationResponse
- type UpdateNamespaceMutationJSONBody
- type UpdateNamespaceMutationJSONRequestBody
- type UpdateNamespaceMutationResponse
- type UpdateOrganizationMutationJSONBody
- type UpdateOrganizationMutationJSONRequestBody
- type UpdateOrganizationMutationResponse
- type User
- type UserQueryResponse
- type UsersQueryResponse
Constants ¶
const ( BearerAuthScopes = "bearerAuth.Scopes" Oauth2Scopes = "oauth2.Scopes" OrganizationHeaderScopes = "organizationHeader.Scopes" )
Variables ¶
This section is empty.
Functions ¶
func NewAcceptInviteMutationRequest ¶
func NewAcceptInviteMutationRequest(server string, id string, body AcceptInviteMutationJSONRequestBody) (*http.Request, error)
NewAcceptInviteMutationRequest calls the generic AcceptInviteMutation builder with application/json body
func NewAcceptInviteMutationRequestWithBody ¶
func NewAcceptInviteMutationRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewAcceptInviteMutationRequestWithBody generates requests for AcceptInviteMutation with any type of body
func NewAccessGraphQueryRequest ¶
func NewAccessGraphQueryRequest(server string, body AccessGraphQueryJSONRequestBody) (*http.Request, error)
NewAccessGraphQueryRequest calls the generic AccessGraphQuery builder with application/json body
func NewAccessGraphQueryRequestWithBody ¶
func NewAccessGraphQueryRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAccessGraphQueryRequestWithBody generates requests for AccessGraphQuery with any type of body
func NewAddEnvironmentLabelMutationRequest ¶
func NewAddEnvironmentLabelMutationRequest(server string, id string, body AddEnvironmentLabelMutationJSONRequestBody) (*http.Request, error)
NewAddEnvironmentLabelMutationRequest calls the generic AddEnvironmentLabelMutation builder with application/json body
func NewAddEnvironmentLabelMutationRequestWithBody ¶
func NewAddEnvironmentLabelMutationRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewAddEnvironmentLabelMutationRequestWithBody generates requests for AddEnvironmentLabelMutation with any type of body
func NewClusterQueryRequest ¶
NewClusterQueryRequest generates requests for ClusterQuery
func NewClustersQueryRequest ¶
func NewClustersQueryRequest(server string, params *ClustersQueryParams) (*http.Request, error)
NewClustersQueryRequest generates requests for ClustersQuery
func NewCreateClusterMutationRequest ¶
func NewCreateClusterMutationRequest(server string, body CreateClusterMutationJSONRequestBody) (*http.Request, error)
NewCreateClusterMutationRequest calls the generic CreateClusterMutation builder with application/json body
func NewCreateClusterMutationRequestWithBody ¶
func NewCreateClusterMutationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateClusterMutationRequestWithBody generates requests for CreateClusterMutation with any type of body
func NewCreateEnvironmentMutationRequest ¶
func NewCreateEnvironmentMutationRequest(server string, body CreateEnvironmentMutationJSONRequestBody) (*http.Request, error)
NewCreateEnvironmentMutationRequest calls the generic CreateEnvironmentMutation builder with application/json body
func NewCreateEnvironmentMutationRequestWithBody ¶
func NewCreateEnvironmentMutationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateEnvironmentMutationRequestWithBody generates requests for CreateEnvironmentMutation with any type of body
func NewCreateGenericIntegrationMutationRequest ¶
func NewCreateGenericIntegrationMutationRequest(server string, body CreateGenericIntegrationMutationJSONRequestBody) (*http.Request, error)
NewCreateGenericIntegrationMutationRequest calls the generic CreateGenericIntegrationMutation builder with application/json body
func NewCreateGenericIntegrationMutationRequestWithBody ¶
func NewCreateGenericIntegrationMutationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateGenericIntegrationMutationRequestWithBody generates requests for CreateGenericIntegrationMutation with any type of body
func NewCreateInviteMutationRequest ¶
func NewCreateInviteMutationRequest(server string, body CreateInviteMutationJSONRequestBody) (*http.Request, error)
NewCreateInviteMutationRequest calls the generic CreateInviteMutation builder with application/json body
func NewCreateInviteMutationRequestWithBody ¶
func NewCreateInviteMutationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateInviteMutationRequestWithBody generates requests for CreateInviteMutation with any type of body
func NewCreateKubernetesIntegrationMutationRequest ¶
func NewCreateKubernetesIntegrationMutationRequest(server string, body CreateKubernetesIntegrationMutationJSONRequestBody) (*http.Request, error)
NewCreateKubernetesIntegrationMutationRequest calls the generic CreateKubernetesIntegrationMutation builder with application/json body
func NewCreateKubernetesIntegrationMutationRequestWithBody ¶
func NewCreateKubernetesIntegrationMutationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateKubernetesIntegrationMutationRequestWithBody generates requests for CreateKubernetesIntegrationMutation with any type of body
func NewCreateOrganizationMutationRequest ¶
func NewCreateOrganizationMutationRequest(server string, body CreateOrganizationMutationJSONRequestBody) (*http.Request, error)
NewCreateOrganizationMutationRequest calls the generic CreateOrganizationMutation builder with application/json body
func NewCreateOrganizationMutationRequestWithBody ¶
func NewCreateOrganizationMutationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateOrganizationMutationRequestWithBody generates requests for CreateOrganizationMutation with any type of body
func NewDeleteClusterMutationRequest ¶
NewDeleteClusterMutationRequest generates requests for DeleteClusterMutation
func NewDeleteEnvironmentLabelMutationRequest ¶
func NewDeleteEnvironmentLabelMutationRequest(server string, id string, params *DeleteEnvironmentLabelMutationParams) (*http.Request, error)
NewDeleteEnvironmentLabelMutationRequest generates requests for DeleteEnvironmentLabelMutation
func NewDeleteEnvironmentMutationRequest ¶
NewDeleteEnvironmentMutationRequest generates requests for DeleteEnvironmentMutation
func NewDeleteIntegrationMutationRequest ¶
NewDeleteIntegrationMutationRequest generates requests for DeleteIntegrationMutation
func NewDeleteInviteMutationRequest ¶
NewDeleteInviteMutationRequest generates requests for DeleteInviteMutation
func NewEnvironmentQueryRequest ¶
NewEnvironmentQueryRequest generates requests for EnvironmentQuery
func NewEnvironmentsQueryRequest ¶
func NewEnvironmentsQueryRequest(server string, params *EnvironmentsQueryParams) (*http.Request, error)
NewEnvironmentsQueryRequest generates requests for EnvironmentsQuery
func NewIntegrationQueryRequest ¶
NewIntegrationQueryRequest generates requests for IntegrationQuery
func NewIntegrationsQueryRequest ¶
func NewIntegrationsQueryRequest(server string, params *IntegrationsQueryParams) (*http.Request, error)
NewIntegrationsQueryRequest generates requests for IntegrationsQuery
func NewIntentQueryRequest ¶
NewIntentQueryRequest generates requests for IntentQuery
func NewIntentsQueryRequest ¶
func NewIntentsQueryRequest(server string, params *IntentsQueryParams) (*http.Request, error)
NewIntentsQueryRequest generates requests for IntentsQuery
func NewInviteQueryRequest ¶
NewInviteQueryRequest generates requests for InviteQuery
func NewInvitesQueryRequest ¶
func NewInvitesQueryRequest(server string, params *InvitesQueryParams) (*http.Request, error)
NewInvitesQueryRequest generates requests for InvitesQuery
func NewMeQueryRequest ¶
NewMeQueryRequest generates requests for MeQuery
func NewNamespaceQueryRequest ¶
NewNamespaceQueryRequest generates requests for NamespaceQuery
func NewNamespacesQueryRequest ¶
func NewNamespacesQueryRequest(server string, params *NamespacesQueryParams) (*http.Request, error)
NewNamespacesQueryRequest generates requests for NamespacesQuery
func NewOneClusterQueryRequest ¶
func NewOneClusterQueryRequest(server string, params *OneClusterQueryParams) (*http.Request, error)
NewOneClusterQueryRequest generates requests for OneClusterQuery
func NewOneEnvironmentQueryRequest ¶
func NewOneEnvironmentQueryRequest(server string, params *OneEnvironmentQueryParams) (*http.Request, error)
NewOneEnvironmentQueryRequest generates requests for OneEnvironmentQuery
func NewOneIntegrationQueryRequest ¶
func NewOneIntegrationQueryRequest(server string, params *OneIntegrationQueryParams) (*http.Request, error)
NewOneIntegrationQueryRequest generates requests for OneIntegrationQuery
func NewOneInviteQueryRequest ¶
func NewOneInviteQueryRequest(server string, params *OneInviteQueryParams) (*http.Request, error)
NewOneInviteQueryRequest generates requests for OneInviteQuery
func NewOneNamespaceQueryRequest ¶
func NewOneNamespaceQueryRequest(server string, params *OneNamespaceQueryParams) (*http.Request, error)
NewOneNamespaceQueryRequest generates requests for OneNamespaceQuery
func NewOneServiceQueryRequest ¶
func NewOneServiceQueryRequest(server string, params *OneServiceQueryParams) (*http.Request, error)
NewOneServiceQueryRequest generates requests for OneServiceQuery
func NewOrganizationQueryRequest ¶
NewOrganizationQueryRequest generates requests for OrganizationQuery
func NewOrganizationsQueryRequest ¶
NewOrganizationsQueryRequest generates requests for OrganizationsQuery
func NewRemoveUserFromOrganizationMutationRequest ¶
func NewRemoveUserFromOrganizationMutationRequest(server string, id string, params *RemoveUserFromOrganizationMutationParams) (*http.Request, error)
NewRemoveUserFromOrganizationMutationRequest generates requests for RemoveUserFromOrganizationMutation
func NewServiceQueryRequest ¶
NewServiceQueryRequest generates requests for ServiceQuery
func NewServicesQueryRequest ¶
func NewServicesQueryRequest(server string, params *ServicesQueryParams) (*http.Request, error)
NewServicesQueryRequest generates requests for ServicesQuery
func NewUpdateClusterMutationRequest ¶
func NewUpdateClusterMutationRequest(server string, id string, body UpdateClusterMutationJSONRequestBody) (*http.Request, error)
NewUpdateClusterMutationRequest calls the generic UpdateClusterMutation builder with application/json body
func NewUpdateClusterMutationRequestWithBody ¶
func NewUpdateClusterMutationRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateClusterMutationRequestWithBody generates requests for UpdateClusterMutation with any type of body
func NewUpdateEnvironmentMutationRequest ¶
func NewUpdateEnvironmentMutationRequest(server string, id string, body UpdateEnvironmentMutationJSONRequestBody) (*http.Request, error)
NewUpdateEnvironmentMutationRequest calls the generic UpdateEnvironmentMutation builder with application/json body
func NewUpdateEnvironmentMutationRequestWithBody ¶
func NewUpdateEnvironmentMutationRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateEnvironmentMutationRequestWithBody generates requests for UpdateEnvironmentMutation with any type of body
func NewUpdateIntegrationMutationRequest ¶
func NewUpdateIntegrationMutationRequest(server string, id string, body UpdateIntegrationMutationJSONRequestBody) (*http.Request, error)
NewUpdateIntegrationMutationRequest calls the generic UpdateIntegrationMutation builder with application/json body
func NewUpdateIntegrationMutationRequestWithBody ¶
func NewUpdateIntegrationMutationRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateIntegrationMutationRequestWithBody generates requests for UpdateIntegrationMutation with any type of body
func NewUpdateNamespaceMutationRequest ¶
func NewUpdateNamespaceMutationRequest(server string, id string, body UpdateNamespaceMutationJSONRequestBody) (*http.Request, error)
NewUpdateNamespaceMutationRequest calls the generic UpdateNamespaceMutation builder with application/json body
func NewUpdateNamespaceMutationRequestWithBody ¶
func NewUpdateNamespaceMutationRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateNamespaceMutationRequestWithBody generates requests for UpdateNamespaceMutation with any type of body
func NewUpdateOrganizationMutationRequest ¶
func NewUpdateOrganizationMutationRequest(server string, id string, body UpdateOrganizationMutationJSONRequestBody) (*http.Request, error)
NewUpdateOrganizationMutationRequest calls the generic UpdateOrganizationMutation builder with application/json body
func NewUpdateOrganizationMutationRequestWithBody ¶
func NewUpdateOrganizationMutationRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateOrganizationMutationRequestWithBody generates requests for UpdateOrganizationMutation with any type of body
func NewUserQueryRequest ¶
NewUserQueryRequest generates requests for UserQuery
Types ¶
type AcceptInviteMutationJSONBody ¶
type AcceptInviteMutationJSONBody = map[string]interface{}
AcceptInviteMutationJSONBody defines parameters for AcceptInviteMutation.
type AcceptInviteMutationJSONRequestBody ¶
type AcceptInviteMutationJSONRequestBody = AcceptInviteMutationJSONBody
AcceptInviteMutationJSONRequestBody defines body for AcceptInviteMutation for application/json ContentType.
type AcceptInviteMutationResponse ¶
type AcceptInviteMutationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Invite
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseAcceptInviteMutationResponse ¶
func ParseAcceptInviteMutationResponse(rsp *http.Response) (*AcceptInviteMutationResponse, error)
ParseAcceptInviteMutationResponse parses an HTTP response from a AcceptInviteMutationWithResponse call
func (AcceptInviteMutationResponse) Status ¶
func (r AcceptInviteMutationResponse) Status() string
Status returns HTTPResponse.Status
func (AcceptInviteMutationResponse) StatusCode ¶
func (r AcceptInviteMutationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AccessGraph ¶
type AccessGraph struct {
Clusters []struct {
Id string `json:"id"`
} `json:"clusters"`
Filter AccessGraphFilter `json:"filter"`
ServiceAccessGraphs []ServiceAccessGraph `json:"serviceAccessGraphs"`
}
AccessGraph defines model for AccessGraph.
type AccessGraphEdge ¶
type AccessGraphEdge struct {
AccessStatus EdgeAccessStatus `json:"accessStatus"`
AppliedIntents []struct {
Id string `json:"id"`
} `json:"appliedIntents"`
Client struct {
Id string `json:"id"`
} `json:"client"`
DiscoveredIntents []struct {
Id string `json:"id"`
} `json:"discoveredIntents"`
Server struct {
Id string `json:"id"`
} `json:"server"`
}
AccessGraphEdge defines model for AccessGraphEdge.
type AccessGraphFilter ¶
type AccessGraphFilter struct {
ClusterIds *[]string `json:"clusterIds,omitempty"`
EnvironmentIds *[]string `json:"environmentIds,omitempty"`
IncludeServicesWithNoEdges *bool `json:"includeServicesWithNoEdges,omitempty"`
LastSeenAfter *time.Time `json:"lastSeenAfter,omitempty"`
NamespaceIds *[]string `json:"namespaceIds,omitempty"`
ServiceIds *[]string `json:"serviceIds,omitempty"`
}
AccessGraphFilter defines model for AccessGraphFilter.
type AccessGraphQueryJSONBody ¶
type AccessGraphQueryJSONBody struct {
Filter *InputAccessGraphFilter `json:"filter,omitempty"`
}
AccessGraphQueryJSONBody defines parameters for AccessGraphQuery.
type AccessGraphQueryJSONRequestBody ¶
type AccessGraphQueryJSONRequestBody AccessGraphQueryJSONBody
AccessGraphQueryJSONRequestBody defines body for AccessGraphQuery for application/json ContentType.
type AccessGraphQueryResponse ¶
type AccessGraphQueryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AccessGraph
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseAccessGraphQueryResponse ¶
func ParseAccessGraphQueryResponse(rsp *http.Response) (*AccessGraphQueryResponse, error)
ParseAccessGraphQueryResponse parses an HTTP response from a AccessGraphQueryWithResponse call
func (AccessGraphQueryResponse) Status ¶
func (r AccessGraphQueryResponse) Status() string
Status returns HTTPResponse.Status
func (AccessGraphQueryResponse) StatusCode ¶
func (r AccessGraphQueryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddEnvironmentLabelMutationJSONBody ¶
type AddEnvironmentLabelMutationJSONBody struct {
Label LabelInput `json:"label"`
}
AddEnvironmentLabelMutationJSONBody defines parameters for AddEnvironmentLabelMutation.
type AddEnvironmentLabelMutationJSONRequestBody ¶
type AddEnvironmentLabelMutationJSONRequestBody AddEnvironmentLabelMutationJSONBody
AddEnvironmentLabelMutationJSONRequestBody defines body for AddEnvironmentLabelMutation for application/json ContentType.
type AddEnvironmentLabelMutationResponse ¶
type AddEnvironmentLabelMutationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Environment
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseAddEnvironmentLabelMutationResponse ¶
func ParseAddEnvironmentLabelMutationResponse(rsp *http.Response) (*AddEnvironmentLabelMutationResponse, error)
ParseAddEnvironmentLabelMutationResponse parses an HTTP response from a AddEnvironmentLabelMutationWithResponse call
func (AddEnvironmentLabelMutationResponse) Status ¶
func (r AddEnvironmentLabelMutationResponse) Status() string
Status returns HTTPResponse.Status
func (AddEnvironmentLabelMutationResponse) StatusCode ¶
func (r AddEnvironmentLabelMutationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CertificateInformation ¶
type CertificateInformation struct {
CommonName string `json:"commonName"`
DnsNames *[]string `json:"dnsNames,omitempty"`
Ttl *int32 `json:"ttl,omitempty"`
}
CertificateInformation defines model for CertificateInformation.
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) AcceptInviteMutation ¶
func (c *Client) AcceptInviteMutation(ctx context.Context, id string, body AcceptInviteMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AcceptInviteMutationWithBody ¶
func (*Client) AccessGraphQuery ¶
func (c *Client) AccessGraphQuery(ctx context.Context, body AccessGraphQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AccessGraphQueryWithBody ¶
func (*Client) AddEnvironmentLabelMutation ¶
func (c *Client) AddEnvironmentLabelMutation(ctx context.Context, id string, body AddEnvironmentLabelMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AddEnvironmentLabelMutationWithBody ¶
func (*Client) ClusterQuery ¶
func (*Client) ClustersQuery ¶
func (c *Client) ClustersQuery(ctx context.Context, params *ClustersQueryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateClusterMutation ¶
func (c *Client) CreateClusterMutation(ctx context.Context, body CreateClusterMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateClusterMutationWithBody ¶
func (*Client) CreateEnvironmentMutation ¶
func (c *Client) CreateEnvironmentMutation(ctx context.Context, body CreateEnvironmentMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateEnvironmentMutationWithBody ¶
func (*Client) CreateGenericIntegrationMutation ¶
func (c *Client) CreateGenericIntegrationMutation(ctx context.Context, body CreateGenericIntegrationMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateGenericIntegrationMutationWithBody ¶
func (*Client) CreateInviteMutation ¶
func (c *Client) CreateInviteMutation(ctx context.Context, body CreateInviteMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateInviteMutationWithBody ¶
func (*Client) CreateKubernetesIntegrationMutation ¶
func (c *Client) CreateKubernetesIntegrationMutation(ctx context.Context, body CreateKubernetesIntegrationMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateKubernetesIntegrationMutationWithBody ¶
func (*Client) CreateOrganizationMutation ¶
func (c *Client) CreateOrganizationMutation(ctx context.Context, body CreateOrganizationMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateOrganizationMutationWithBody ¶
func (*Client) DeleteClusterMutation ¶
func (*Client) DeleteEnvironmentLabelMutation ¶
func (c *Client) DeleteEnvironmentLabelMutation(ctx context.Context, id string, params *DeleteEnvironmentLabelMutationParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteEnvironmentMutation ¶
func (*Client) DeleteIntegrationMutation ¶
func (*Client) DeleteInviteMutation ¶
func (*Client) EnvironmentQuery ¶
func (*Client) EnvironmentsQuery ¶
func (c *Client) EnvironmentsQuery(ctx context.Context, params *EnvironmentsQueryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) IntegrationQuery ¶
func (*Client) IntegrationsQuery ¶
func (c *Client) IntegrationsQuery(ctx context.Context, params *IntegrationsQueryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) IntentQuery ¶
func (*Client) IntentsQuery ¶
func (c *Client) IntentsQuery(ctx context.Context, params *IntentsQueryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) InviteQuery ¶
func (*Client) InvitesQuery ¶
func (c *Client) InvitesQuery(ctx context.Context, params *InvitesQueryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) NamespaceQuery ¶
func (*Client) NamespacesQuery ¶
func (c *Client) NamespacesQuery(ctx context.Context, params *NamespacesQueryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) OneClusterQuery ¶
func (c *Client) OneClusterQuery(ctx context.Context, params *OneClusterQueryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) OneEnvironmentQuery ¶
func (c *Client) OneEnvironmentQuery(ctx context.Context, params *OneEnvironmentQueryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) OneIntegrationQuery ¶
func (c *Client) OneIntegrationQuery(ctx context.Context, params *OneIntegrationQueryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) OneInviteQuery ¶
func (c *Client) OneInviteQuery(ctx context.Context, params *OneInviteQueryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) OneNamespaceQuery ¶
func (c *Client) OneNamespaceQuery(ctx context.Context, params *OneNamespaceQueryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) OneServiceQuery ¶
func (c *Client) OneServiceQuery(ctx context.Context, params *OneServiceQueryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) OrganizationQuery ¶
func (*Client) OrganizationsQuery ¶
func (*Client) RemoveUserFromOrganizationMutation ¶
func (c *Client) RemoveUserFromOrganizationMutation(ctx context.Context, id string, params *RemoveUserFromOrganizationMutationParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ServiceQuery ¶
func (*Client) ServicesQuery ¶
func (c *Client) ServicesQuery(ctx context.Context, params *ServicesQueryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateClusterMutation ¶
func (c *Client) UpdateClusterMutation(ctx context.Context, id string, body UpdateClusterMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateClusterMutationWithBody ¶
func (*Client) UpdateEnvironmentMutation ¶
func (c *Client) UpdateEnvironmentMutation(ctx context.Context, id string, body UpdateEnvironmentMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateEnvironmentMutationWithBody ¶
func (*Client) UpdateIntegrationMutation ¶
func (c *Client) UpdateIntegrationMutation(ctx context.Context, id string, body UpdateIntegrationMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateIntegrationMutationWithBody ¶
func (*Client) UpdateNamespaceMutation ¶
func (c *Client) UpdateNamespaceMutation(ctx context.Context, id string, body UpdateNamespaceMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateNamespaceMutationWithBody ¶
func (*Client) UpdateOrganizationMutation ¶
func (c *Client) UpdateOrganizationMutation(ctx context.Context, id string, body UpdateOrganizationMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateOrganizationMutationWithBody ¶
func (*Client) UsersQuery ¶
type ClientInterface ¶
type ClientInterface interface {
// AccessGraphQuery request with any body
AccessGraphQueryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AccessGraphQuery(ctx context.Context, body AccessGraphQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// OneClusterQuery request
OneClusterQuery(ctx context.Context, params *OneClusterQueryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ClustersQuery request
ClustersQuery(ctx context.Context, params *ClustersQueryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateClusterMutation request with any body
CreateClusterMutationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateClusterMutation(ctx context.Context, body CreateClusterMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteClusterMutation request
DeleteClusterMutation(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ClusterQuery request
ClusterQuery(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateClusterMutation request with any body
UpdateClusterMutationWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateClusterMutation(ctx context.Context, id string, body UpdateClusterMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// OneEnvironmentQuery request
OneEnvironmentQuery(ctx context.Context, params *OneEnvironmentQueryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// EnvironmentsQuery request
EnvironmentsQuery(ctx context.Context, params *EnvironmentsQueryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateEnvironmentMutation request with any body
CreateEnvironmentMutationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateEnvironmentMutation(ctx context.Context, body CreateEnvironmentMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteEnvironmentMutation request
DeleteEnvironmentMutation(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// EnvironmentQuery request
EnvironmentQuery(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateEnvironmentMutation request with any body
UpdateEnvironmentMutationWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateEnvironmentMutation(ctx context.Context, id string, body UpdateEnvironmentMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddEnvironmentLabelMutation request with any body
AddEnvironmentLabelMutationWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddEnvironmentLabelMutation(ctx context.Context, id string, body AddEnvironmentLabelMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteEnvironmentLabelMutation request
DeleteEnvironmentLabelMutation(ctx context.Context, id string, params *DeleteEnvironmentLabelMutationParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// OneIntegrationQuery request
OneIntegrationQuery(ctx context.Context, params *OneIntegrationQueryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// IntegrationsQuery request
IntegrationsQuery(ctx context.Context, params *IntegrationsQueryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateGenericIntegrationMutation request with any body
CreateGenericIntegrationMutationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateGenericIntegrationMutation(ctx context.Context, body CreateGenericIntegrationMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateKubernetesIntegrationMutation request with any body
CreateKubernetesIntegrationMutationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateKubernetesIntegrationMutation(ctx context.Context, body CreateKubernetesIntegrationMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteIntegrationMutation request
DeleteIntegrationMutation(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// IntegrationQuery request
IntegrationQuery(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateIntegrationMutation request with any body
UpdateIntegrationMutationWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateIntegrationMutation(ctx context.Context, id string, body UpdateIntegrationMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// IntentsQuery request
IntentsQuery(ctx context.Context, params *IntentsQueryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// IntentQuery request
IntentQuery(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// OneInviteQuery request
OneInviteQuery(ctx context.Context, params *OneInviteQueryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// InvitesQuery request
InvitesQuery(ctx context.Context, params *InvitesQueryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateInviteMutation request with any body
CreateInviteMutationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateInviteMutation(ctx context.Context, body CreateInviteMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteInviteMutation request
DeleteInviteMutation(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// InviteQuery request
InviteQuery(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AcceptInviteMutation request with any body
AcceptInviteMutationWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AcceptInviteMutation(ctx context.Context, id string, body AcceptInviteMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// MeQuery request
MeQuery(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// OneNamespaceQuery request
OneNamespaceQuery(ctx context.Context, params *OneNamespaceQueryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// NamespacesQuery request
NamespacesQuery(ctx context.Context, params *NamespacesQueryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// NamespaceQuery request
NamespaceQuery(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateNamespaceMutation request with any body
UpdateNamespaceMutationWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateNamespaceMutation(ctx context.Context, id string, body UpdateNamespaceMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// OrganizationsQuery request
OrganizationsQuery(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateOrganizationMutation request with any body
CreateOrganizationMutationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateOrganizationMutation(ctx context.Context, body CreateOrganizationMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// OrganizationQuery request
OrganizationQuery(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateOrganizationMutation request with any body
UpdateOrganizationMutationWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateOrganizationMutation(ctx context.Context, id string, body UpdateOrganizationMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemoveUserFromOrganizationMutation request
RemoveUserFromOrganizationMutation(ctx context.Context, id string, params *RemoveUserFromOrganizationMutationParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// OneServiceQuery request
OneServiceQuery(ctx context.Context, params *OneServiceQueryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServicesQuery request
ServicesQuery(ctx context.Context, params *ServicesQueryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServiceQuery request
ServiceQuery(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UsersQuery request
UsersQuery(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// UserQuery request
UserQuery(ctx context.Context, id string, 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) AcceptInviteMutationWithBodyWithResponse ¶
func (c *ClientWithResponses) AcceptInviteMutationWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AcceptInviteMutationResponse, error)
AcceptInviteMutationWithBodyWithResponse request with arbitrary body returning *AcceptInviteMutationResponse
func (*ClientWithResponses) AcceptInviteMutationWithResponse ¶
func (c *ClientWithResponses) AcceptInviteMutationWithResponse(ctx context.Context, id string, body AcceptInviteMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*AcceptInviteMutationResponse, error)
func (*ClientWithResponses) AccessGraphQueryWithBodyWithResponse ¶
func (c *ClientWithResponses) AccessGraphQueryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AccessGraphQueryResponse, error)
AccessGraphQueryWithBodyWithResponse request with arbitrary body returning *AccessGraphQueryResponse
func (*ClientWithResponses) AccessGraphQueryWithResponse ¶
func (c *ClientWithResponses) AccessGraphQueryWithResponse(ctx context.Context, body AccessGraphQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*AccessGraphQueryResponse, error)
func (*ClientWithResponses) AddEnvironmentLabelMutationWithBodyWithResponse ¶
func (c *ClientWithResponses) AddEnvironmentLabelMutationWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddEnvironmentLabelMutationResponse, error)
AddEnvironmentLabelMutationWithBodyWithResponse request with arbitrary body returning *AddEnvironmentLabelMutationResponse
func (*ClientWithResponses) AddEnvironmentLabelMutationWithResponse ¶
func (c *ClientWithResponses) AddEnvironmentLabelMutationWithResponse(ctx context.Context, id string, body AddEnvironmentLabelMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*AddEnvironmentLabelMutationResponse, error)
func (*ClientWithResponses) ClusterQueryWithResponse ¶
func (c *ClientWithResponses) ClusterQueryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ClusterQueryResponse, error)
ClusterQueryWithResponse request returning *ClusterQueryResponse
func (*ClientWithResponses) ClustersQueryWithResponse ¶
func (c *ClientWithResponses) ClustersQueryWithResponse(ctx context.Context, params *ClustersQueryParams, reqEditors ...RequestEditorFn) (*ClustersQueryResponse, error)
ClustersQueryWithResponse request returning *ClustersQueryResponse
func (*ClientWithResponses) CreateClusterMutationWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateClusterMutationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateClusterMutationResponse, error)
CreateClusterMutationWithBodyWithResponse request with arbitrary body returning *CreateClusterMutationResponse
func (*ClientWithResponses) CreateClusterMutationWithResponse ¶
func (c *ClientWithResponses) CreateClusterMutationWithResponse(ctx context.Context, body CreateClusterMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateClusterMutationResponse, error)
func (*ClientWithResponses) CreateEnvironmentMutationWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateEnvironmentMutationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEnvironmentMutationResponse, error)
CreateEnvironmentMutationWithBodyWithResponse request with arbitrary body returning *CreateEnvironmentMutationResponse
func (*ClientWithResponses) CreateEnvironmentMutationWithResponse ¶
func (c *ClientWithResponses) CreateEnvironmentMutationWithResponse(ctx context.Context, body CreateEnvironmentMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEnvironmentMutationResponse, error)
func (*ClientWithResponses) CreateGenericIntegrationMutationWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateGenericIntegrationMutationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGenericIntegrationMutationResponse, error)
CreateGenericIntegrationMutationWithBodyWithResponse request with arbitrary body returning *CreateGenericIntegrationMutationResponse
func (*ClientWithResponses) CreateGenericIntegrationMutationWithResponse ¶
func (c *ClientWithResponses) CreateGenericIntegrationMutationWithResponse(ctx context.Context, body CreateGenericIntegrationMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGenericIntegrationMutationResponse, error)
func (*ClientWithResponses) CreateInviteMutationWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateInviteMutationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateInviteMutationResponse, error)
CreateInviteMutationWithBodyWithResponse request with arbitrary body returning *CreateInviteMutationResponse
func (*ClientWithResponses) CreateInviteMutationWithResponse ¶
func (c *ClientWithResponses) CreateInviteMutationWithResponse(ctx context.Context, body CreateInviteMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInviteMutationResponse, error)
func (*ClientWithResponses) CreateKubernetesIntegrationMutationWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateKubernetesIntegrationMutationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateKubernetesIntegrationMutationResponse, error)
CreateKubernetesIntegrationMutationWithBodyWithResponse request with arbitrary body returning *CreateKubernetesIntegrationMutationResponse
func (*ClientWithResponses) CreateKubernetesIntegrationMutationWithResponse ¶
func (c *ClientWithResponses) CreateKubernetesIntegrationMutationWithResponse(ctx context.Context, body CreateKubernetesIntegrationMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateKubernetesIntegrationMutationResponse, error)
func (*ClientWithResponses) CreateOrganizationMutationWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateOrganizationMutationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationMutationResponse, error)
CreateOrganizationMutationWithBodyWithResponse request with arbitrary body returning *CreateOrganizationMutationResponse
func (*ClientWithResponses) CreateOrganizationMutationWithResponse ¶
func (c *ClientWithResponses) CreateOrganizationMutationWithResponse(ctx context.Context, body CreateOrganizationMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationMutationResponse, error)
func (*ClientWithResponses) DeleteClusterMutationWithResponse ¶
func (c *ClientWithResponses) DeleteClusterMutationWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteClusterMutationResponse, error)
DeleteClusterMutationWithResponse request returning *DeleteClusterMutationResponse
func (*ClientWithResponses) DeleteEnvironmentLabelMutationWithResponse ¶
func (c *ClientWithResponses) DeleteEnvironmentLabelMutationWithResponse(ctx context.Context, id string, params *DeleteEnvironmentLabelMutationParams, reqEditors ...RequestEditorFn) (*DeleteEnvironmentLabelMutationResponse, error)
DeleteEnvironmentLabelMutationWithResponse request returning *DeleteEnvironmentLabelMutationResponse
func (*ClientWithResponses) DeleteEnvironmentMutationWithResponse ¶
func (c *ClientWithResponses) DeleteEnvironmentMutationWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteEnvironmentMutationResponse, error)
DeleteEnvironmentMutationWithResponse request returning *DeleteEnvironmentMutationResponse
func (*ClientWithResponses) DeleteIntegrationMutationWithResponse ¶
func (c *ClientWithResponses) DeleteIntegrationMutationWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteIntegrationMutationResponse, error)
DeleteIntegrationMutationWithResponse request returning *DeleteIntegrationMutationResponse
func (*ClientWithResponses) DeleteInviteMutationWithResponse ¶
func (c *ClientWithResponses) DeleteInviteMutationWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteInviteMutationResponse, error)
DeleteInviteMutationWithResponse request returning *DeleteInviteMutationResponse
func (*ClientWithResponses) EnvironmentQueryWithResponse ¶
func (c *ClientWithResponses) EnvironmentQueryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*EnvironmentQueryResponse, error)
EnvironmentQueryWithResponse request returning *EnvironmentQueryResponse
func (*ClientWithResponses) EnvironmentsQueryWithResponse ¶
func (c *ClientWithResponses) EnvironmentsQueryWithResponse(ctx context.Context, params *EnvironmentsQueryParams, reqEditors ...RequestEditorFn) (*EnvironmentsQueryResponse, error)
EnvironmentsQueryWithResponse request returning *EnvironmentsQueryResponse
func (*ClientWithResponses) IntegrationQueryWithResponse ¶
func (c *ClientWithResponses) IntegrationQueryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IntegrationQueryResponse, error)
IntegrationQueryWithResponse request returning *IntegrationQueryResponse
func (*ClientWithResponses) IntegrationsQueryWithResponse ¶
func (c *ClientWithResponses) IntegrationsQueryWithResponse(ctx context.Context, params *IntegrationsQueryParams, reqEditors ...RequestEditorFn) (*IntegrationsQueryResponse, error)
IntegrationsQueryWithResponse request returning *IntegrationsQueryResponse
func (*ClientWithResponses) IntentQueryWithResponse ¶
func (c *ClientWithResponses) IntentQueryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IntentQueryResponse, error)
IntentQueryWithResponse request returning *IntentQueryResponse
func (*ClientWithResponses) IntentsQueryWithResponse ¶
func (c *ClientWithResponses) IntentsQueryWithResponse(ctx context.Context, params *IntentsQueryParams, reqEditors ...RequestEditorFn) (*IntentsQueryResponse, error)
IntentsQueryWithResponse request returning *IntentsQueryResponse
func (*ClientWithResponses) InviteQueryWithResponse ¶
func (c *ClientWithResponses) InviteQueryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*InviteQueryResponse, error)
InviteQueryWithResponse request returning *InviteQueryResponse
func (*ClientWithResponses) InvitesQueryWithResponse ¶
func (c *ClientWithResponses) InvitesQueryWithResponse(ctx context.Context, params *InvitesQueryParams, reqEditors ...RequestEditorFn) (*InvitesQueryResponse, error)
InvitesQueryWithResponse request returning *InvitesQueryResponse
func (*ClientWithResponses) MeQueryWithResponse ¶
func (c *ClientWithResponses) MeQueryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MeQueryResponse, error)
MeQueryWithResponse request returning *MeQueryResponse
func (*ClientWithResponses) NamespaceQueryWithResponse ¶
func (c *ClientWithResponses) NamespaceQueryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*NamespaceQueryResponse, error)
NamespaceQueryWithResponse request returning *NamespaceQueryResponse
func (*ClientWithResponses) NamespacesQueryWithResponse ¶
func (c *ClientWithResponses) NamespacesQueryWithResponse(ctx context.Context, params *NamespacesQueryParams, reqEditors ...RequestEditorFn) (*NamespacesQueryResponse, error)
NamespacesQueryWithResponse request returning *NamespacesQueryResponse
func (*ClientWithResponses) OneClusterQueryWithResponse ¶
func (c *ClientWithResponses) OneClusterQueryWithResponse(ctx context.Context, params *OneClusterQueryParams, reqEditors ...RequestEditorFn) (*OneClusterQueryResponse, error)
OneClusterQueryWithResponse request returning *OneClusterQueryResponse
func (*ClientWithResponses) OneEnvironmentQueryWithResponse ¶
func (c *ClientWithResponses) OneEnvironmentQueryWithResponse(ctx context.Context, params *OneEnvironmentQueryParams, reqEditors ...RequestEditorFn) (*OneEnvironmentQueryResponse, error)
OneEnvironmentQueryWithResponse request returning *OneEnvironmentQueryResponse
func (*ClientWithResponses) OneIntegrationQueryWithResponse ¶
func (c *ClientWithResponses) OneIntegrationQueryWithResponse(ctx context.Context, params *OneIntegrationQueryParams, reqEditors ...RequestEditorFn) (*OneIntegrationQueryResponse, error)
OneIntegrationQueryWithResponse request returning *OneIntegrationQueryResponse
func (*ClientWithResponses) OneInviteQueryWithResponse ¶
func (c *ClientWithResponses) OneInviteQueryWithResponse(ctx context.Context, params *OneInviteQueryParams, reqEditors ...RequestEditorFn) (*OneInviteQueryResponse, error)
OneInviteQueryWithResponse request returning *OneInviteQueryResponse
func (*ClientWithResponses) OneNamespaceQueryWithResponse ¶
func (c *ClientWithResponses) OneNamespaceQueryWithResponse(ctx context.Context, params *OneNamespaceQueryParams, reqEditors ...RequestEditorFn) (*OneNamespaceQueryResponse, error)
OneNamespaceQueryWithResponse request returning *OneNamespaceQueryResponse
func (*ClientWithResponses) OneServiceQueryWithResponse ¶
func (c *ClientWithResponses) OneServiceQueryWithResponse(ctx context.Context, params *OneServiceQueryParams, reqEditors ...RequestEditorFn) (*OneServiceQueryResponse, error)
OneServiceQueryWithResponse request returning *OneServiceQueryResponse
func (*ClientWithResponses) OrganizationQueryWithResponse ¶
func (c *ClientWithResponses) OrganizationQueryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*OrganizationQueryResponse, error)
OrganizationQueryWithResponse request returning *OrganizationQueryResponse
func (*ClientWithResponses) OrganizationsQueryWithResponse ¶
func (c *ClientWithResponses) OrganizationsQueryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OrganizationsQueryResponse, error)
OrganizationsQueryWithResponse request returning *OrganizationsQueryResponse
func (*ClientWithResponses) RemoveUserFromOrganizationMutationWithResponse ¶
func (c *ClientWithResponses) RemoveUserFromOrganizationMutationWithResponse(ctx context.Context, id string, params *RemoveUserFromOrganizationMutationParams, reqEditors ...RequestEditorFn) (*RemoveUserFromOrganizationMutationResponse, error)
RemoveUserFromOrganizationMutationWithResponse request returning *RemoveUserFromOrganizationMutationResponse
func (*ClientWithResponses) ServiceQueryWithResponse ¶
func (c *ClientWithResponses) ServiceQueryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServiceQueryResponse, error)
ServiceQueryWithResponse request returning *ServiceQueryResponse
func (*ClientWithResponses) ServicesQueryWithResponse ¶
func (c *ClientWithResponses) ServicesQueryWithResponse(ctx context.Context, params *ServicesQueryParams, reqEditors ...RequestEditorFn) (*ServicesQueryResponse, error)
ServicesQueryWithResponse request returning *ServicesQueryResponse
func (*ClientWithResponses) UpdateClusterMutationWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateClusterMutationWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateClusterMutationResponse, error)
UpdateClusterMutationWithBodyWithResponse request with arbitrary body returning *UpdateClusterMutationResponse
func (*ClientWithResponses) UpdateClusterMutationWithResponse ¶
func (c *ClientWithResponses) UpdateClusterMutationWithResponse(ctx context.Context, id string, body UpdateClusterMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateClusterMutationResponse, error)
func (*ClientWithResponses) UpdateEnvironmentMutationWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateEnvironmentMutationWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEnvironmentMutationResponse, error)
UpdateEnvironmentMutationWithBodyWithResponse request with arbitrary body returning *UpdateEnvironmentMutationResponse
func (*ClientWithResponses) UpdateEnvironmentMutationWithResponse ¶
func (c *ClientWithResponses) UpdateEnvironmentMutationWithResponse(ctx context.Context, id string, body UpdateEnvironmentMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEnvironmentMutationResponse, error)
func (*ClientWithResponses) UpdateIntegrationMutationWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateIntegrationMutationWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIntegrationMutationResponse, error)
UpdateIntegrationMutationWithBodyWithResponse request with arbitrary body returning *UpdateIntegrationMutationResponse
func (*ClientWithResponses) UpdateIntegrationMutationWithResponse ¶
func (c *ClientWithResponses) UpdateIntegrationMutationWithResponse(ctx context.Context, id string, body UpdateIntegrationMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateIntegrationMutationResponse, error)
func (*ClientWithResponses) UpdateNamespaceMutationWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateNamespaceMutationWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateNamespaceMutationResponse, error)
UpdateNamespaceMutationWithBodyWithResponse request with arbitrary body returning *UpdateNamespaceMutationResponse
func (*ClientWithResponses) UpdateNamespaceMutationWithResponse ¶
func (c *ClientWithResponses) UpdateNamespaceMutationWithResponse(ctx context.Context, id string, body UpdateNamespaceMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateNamespaceMutationResponse, error)
func (*ClientWithResponses) UpdateOrganizationMutationWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateOrganizationMutationWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrganizationMutationResponse, error)
UpdateOrganizationMutationWithBodyWithResponse request with arbitrary body returning *UpdateOrganizationMutationResponse
func (*ClientWithResponses) UpdateOrganizationMutationWithResponse ¶
func (c *ClientWithResponses) UpdateOrganizationMutationWithResponse(ctx context.Context, id string, body UpdateOrganizationMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrganizationMutationResponse, error)
func (*ClientWithResponses) UserQueryWithResponse ¶
func (c *ClientWithResponses) UserQueryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*UserQueryResponse, error)
UserQueryWithResponse request returning *UserQueryResponse
func (*ClientWithResponses) UsersQueryWithResponse ¶
func (c *ClientWithResponses) UsersQueryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UsersQueryResponse, error)
UsersQueryWithResponse request returning *UsersQueryResponse
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// AccessGraphQuery request with any body
AccessGraphQueryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AccessGraphQueryResponse, error)
AccessGraphQueryWithResponse(ctx context.Context, body AccessGraphQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*AccessGraphQueryResponse, error)
// OneClusterQuery request
OneClusterQueryWithResponse(ctx context.Context, params *OneClusterQueryParams, reqEditors ...RequestEditorFn) (*OneClusterQueryResponse, error)
// ClustersQuery request
ClustersQueryWithResponse(ctx context.Context, params *ClustersQueryParams, reqEditors ...RequestEditorFn) (*ClustersQueryResponse, error)
// CreateClusterMutation request with any body
CreateClusterMutationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateClusterMutationResponse, error)
CreateClusterMutationWithResponse(ctx context.Context, body CreateClusterMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateClusterMutationResponse, error)
// DeleteClusterMutation request
DeleteClusterMutationWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteClusterMutationResponse, error)
// ClusterQuery request
ClusterQueryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ClusterQueryResponse, error)
// UpdateClusterMutation request with any body
UpdateClusterMutationWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateClusterMutationResponse, error)
UpdateClusterMutationWithResponse(ctx context.Context, id string, body UpdateClusterMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateClusterMutationResponse, error)
// OneEnvironmentQuery request
OneEnvironmentQueryWithResponse(ctx context.Context, params *OneEnvironmentQueryParams, reqEditors ...RequestEditorFn) (*OneEnvironmentQueryResponse, error)
// EnvironmentsQuery request
EnvironmentsQueryWithResponse(ctx context.Context, params *EnvironmentsQueryParams, reqEditors ...RequestEditorFn) (*EnvironmentsQueryResponse, error)
// CreateEnvironmentMutation request with any body
CreateEnvironmentMutationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEnvironmentMutationResponse, error)
CreateEnvironmentMutationWithResponse(ctx context.Context, body CreateEnvironmentMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEnvironmentMutationResponse, error)
// DeleteEnvironmentMutation request
DeleteEnvironmentMutationWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteEnvironmentMutationResponse, error)
// EnvironmentQuery request
EnvironmentQueryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*EnvironmentQueryResponse, error)
// UpdateEnvironmentMutation request with any body
UpdateEnvironmentMutationWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEnvironmentMutationResponse, error)
UpdateEnvironmentMutationWithResponse(ctx context.Context, id string, body UpdateEnvironmentMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEnvironmentMutationResponse, error)
// AddEnvironmentLabelMutation request with any body
AddEnvironmentLabelMutationWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddEnvironmentLabelMutationResponse, error)
AddEnvironmentLabelMutationWithResponse(ctx context.Context, id string, body AddEnvironmentLabelMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*AddEnvironmentLabelMutationResponse, error)
// DeleteEnvironmentLabelMutation request
DeleteEnvironmentLabelMutationWithResponse(ctx context.Context, id string, params *DeleteEnvironmentLabelMutationParams, reqEditors ...RequestEditorFn) (*DeleteEnvironmentLabelMutationResponse, error)
// OneIntegrationQuery request
OneIntegrationQueryWithResponse(ctx context.Context, params *OneIntegrationQueryParams, reqEditors ...RequestEditorFn) (*OneIntegrationQueryResponse, error)
// IntegrationsQuery request
IntegrationsQueryWithResponse(ctx context.Context, params *IntegrationsQueryParams, reqEditors ...RequestEditorFn) (*IntegrationsQueryResponse, error)
// CreateGenericIntegrationMutation request with any body
CreateGenericIntegrationMutationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGenericIntegrationMutationResponse, error)
CreateGenericIntegrationMutationWithResponse(ctx context.Context, body CreateGenericIntegrationMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGenericIntegrationMutationResponse, error)
// CreateKubernetesIntegrationMutation request with any body
CreateKubernetesIntegrationMutationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateKubernetesIntegrationMutationResponse, error)
CreateKubernetesIntegrationMutationWithResponse(ctx context.Context, body CreateKubernetesIntegrationMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateKubernetesIntegrationMutationResponse, error)
// DeleteIntegrationMutation request
DeleteIntegrationMutationWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteIntegrationMutationResponse, error)
// IntegrationQuery request
IntegrationQueryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IntegrationQueryResponse, error)
// UpdateIntegrationMutation request with any body
UpdateIntegrationMutationWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIntegrationMutationResponse, error)
UpdateIntegrationMutationWithResponse(ctx context.Context, id string, body UpdateIntegrationMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateIntegrationMutationResponse, error)
// IntentsQuery request
IntentsQueryWithResponse(ctx context.Context, params *IntentsQueryParams, reqEditors ...RequestEditorFn) (*IntentsQueryResponse, error)
// IntentQuery request
IntentQueryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IntentQueryResponse, error)
// OneInviteQuery request
OneInviteQueryWithResponse(ctx context.Context, params *OneInviteQueryParams, reqEditors ...RequestEditorFn) (*OneInviteQueryResponse, error)
// InvitesQuery request
InvitesQueryWithResponse(ctx context.Context, params *InvitesQueryParams, reqEditors ...RequestEditorFn) (*InvitesQueryResponse, error)
// CreateInviteMutation request with any body
CreateInviteMutationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateInviteMutationResponse, error)
CreateInviteMutationWithResponse(ctx context.Context, body CreateInviteMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInviteMutationResponse, error)
// DeleteInviteMutation request
DeleteInviteMutationWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteInviteMutationResponse, error)
// InviteQuery request
InviteQueryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*InviteQueryResponse, error)
// AcceptInviteMutation request with any body
AcceptInviteMutationWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AcceptInviteMutationResponse, error)
AcceptInviteMutationWithResponse(ctx context.Context, id string, body AcceptInviteMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*AcceptInviteMutationResponse, error)
// MeQuery request
MeQueryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MeQueryResponse, error)
// OneNamespaceQuery request
OneNamespaceQueryWithResponse(ctx context.Context, params *OneNamespaceQueryParams, reqEditors ...RequestEditorFn) (*OneNamespaceQueryResponse, error)
// NamespacesQuery request
NamespacesQueryWithResponse(ctx context.Context, params *NamespacesQueryParams, reqEditors ...RequestEditorFn) (*NamespacesQueryResponse, error)
// NamespaceQuery request
NamespaceQueryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*NamespaceQueryResponse, error)
// UpdateNamespaceMutation request with any body
UpdateNamespaceMutationWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateNamespaceMutationResponse, error)
UpdateNamespaceMutationWithResponse(ctx context.Context, id string, body UpdateNamespaceMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateNamespaceMutationResponse, error)
// OrganizationsQuery request
OrganizationsQueryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OrganizationsQueryResponse, error)
// CreateOrganizationMutation request with any body
CreateOrganizationMutationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationMutationResponse, error)
CreateOrganizationMutationWithResponse(ctx context.Context, body CreateOrganizationMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationMutationResponse, error)
// OrganizationQuery request
OrganizationQueryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*OrganizationQueryResponse, error)
// UpdateOrganizationMutation request with any body
UpdateOrganizationMutationWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrganizationMutationResponse, error)
UpdateOrganizationMutationWithResponse(ctx context.Context, id string, body UpdateOrganizationMutationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrganizationMutationResponse, error)
// RemoveUserFromOrganizationMutation request
RemoveUserFromOrganizationMutationWithResponse(ctx context.Context, id string, params *RemoveUserFromOrganizationMutationParams, reqEditors ...RequestEditorFn) (*RemoveUserFromOrganizationMutationResponse, error)
// OneServiceQuery request
OneServiceQueryWithResponse(ctx context.Context, params *OneServiceQueryParams, reqEditors ...RequestEditorFn) (*OneServiceQueryResponse, error)
// ServicesQuery request
ServicesQueryWithResponse(ctx context.Context, params *ServicesQueryParams, reqEditors ...RequestEditorFn) (*ServicesQueryResponse, error)
// ServiceQuery request
ServiceQueryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServiceQueryResponse, error)
// UsersQuery request
UsersQueryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UsersQueryResponse, error)
// UserQuery request
UserQueryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*UserQueryResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type Cluster ¶
type Cluster struct {
Components IntegrationComponents `json:"components"`
Configuration *ClusterConfiguration `json:"configuration,omitempty"`
DefaultEnvironment *struct {
Id string `json:"id"`
} `json:"defaultEnvironment,omitempty"`
Id string `json:"id"`
Integration *struct {
Id string `json:"id"`
} `json:"integration,omitempty"`
Name string `json:"name"`
Namespaces []struct {
Id string `json:"id"`
} `json:"namespaces"`
ServiceCount int32 `json:"serviceCount"`
}
Cluster defines model for Cluster.
type ClusterConfiguration ¶
type ClusterConfiguration struct {
GlobalDefaultDeny bool `json:"globalDefaultDeny"`
UseNetworkPoliciesInAccessGraphStates bool `json:"useNetworkPoliciesInAccessGraphStates"`
}
ClusterConfiguration defines model for ClusterConfiguration.
type ClusterConfigurationInput ¶
type ClusterConfigurationInput struct {
GlobalDefaultDeny bool `json:"globalDefaultDeny"`
UseNetworkPoliciesInAccessGraphStates bool `json:"useNetworkPoliciesInAccessGraphStates"`
}
ClusterConfigurationInput defines model for ClusterConfigurationInput.
type ClusterQueryResponse ¶
type ClusterQueryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Cluster
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseClusterQueryResponse ¶
func ParseClusterQueryResponse(rsp *http.Response) (*ClusterQueryResponse, error)
ParseClusterQueryResponse parses an HTTP response from a ClusterQueryWithResponse call
func (ClusterQueryResponse) Status ¶
func (r ClusterQueryResponse) Status() string
Status returns HTTPResponse.Status
func (ClusterQueryResponse) StatusCode ¶
func (r ClusterQueryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ClustersQueryParams ¶
type ClustersQueryParams struct {
Name *string `form:"name,omitempty" json:"name,omitempty"`
}
ClustersQueryParams defines parameters for ClustersQuery.
type ClustersQueryResponse ¶
type ClustersQueryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]Cluster
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseClustersQueryResponse ¶
func ParseClustersQueryResponse(rsp *http.Response) (*ClustersQueryResponse, error)
ParseClustersQueryResponse parses an HTTP response from a ClustersQueryWithResponse call
func (ClustersQueryResponse) Status ¶
func (r ClustersQueryResponse) Status() string
Status returns HTTPResponse.Status
func (ClustersQueryResponse) StatusCode ¶
func (r ClustersQueryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ComponentStatus ¶
type ComponentStatus struct {
LastSeen *time.Time `json:"lastSeen,omitempty"`
Type ComponentStatusType `json:"type"`
}
ComponentStatus defines model for ComponentStatus.
type ComponentStatusType ¶
type ComponentStatusType string
ComponentStatusType defines model for ComponentStatus.Type.
const ( CONNECTED ComponentStatusType = "CONNECTED" DISCONNECTED ComponentStatusType = "DISCONNECTED" NOTINTEGRATED ComponentStatusType = "NOT_INTEGRATED" )
Defines values for ComponentStatusType.
type CreateClusterMutationJSONBody ¶
type CreateClusterMutationJSONBody struct {
Name string `json:"name"`
}
CreateClusterMutationJSONBody defines parameters for CreateClusterMutation.
type CreateClusterMutationJSONRequestBody ¶
type CreateClusterMutationJSONRequestBody CreateClusterMutationJSONBody
CreateClusterMutationJSONRequestBody defines body for CreateClusterMutation for application/json ContentType.
type CreateClusterMutationResponse ¶
type CreateClusterMutationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Cluster
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseCreateClusterMutationResponse ¶
func ParseCreateClusterMutationResponse(rsp *http.Response) (*CreateClusterMutationResponse, error)
ParseCreateClusterMutationResponse parses an HTTP response from a CreateClusterMutationWithResponse call
func (CreateClusterMutationResponse) Status ¶
func (r CreateClusterMutationResponse) Status() string
Status returns HTTPResponse.Status
func (CreateClusterMutationResponse) StatusCode ¶
func (r CreateClusterMutationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateEnvironmentMutationJSONBody ¶
type CreateEnvironmentMutationJSONBody struct {
Labels *[]LabelInput `json:"labels,omitempty"`
Name string `json:"name"`
}
CreateEnvironmentMutationJSONBody defines parameters for CreateEnvironmentMutation.
type CreateEnvironmentMutationJSONRequestBody ¶
type CreateEnvironmentMutationJSONRequestBody CreateEnvironmentMutationJSONBody
CreateEnvironmentMutationJSONRequestBody defines body for CreateEnvironmentMutation for application/json ContentType.
type CreateEnvironmentMutationResponse ¶
type CreateEnvironmentMutationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Environment
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseCreateEnvironmentMutationResponse ¶
func ParseCreateEnvironmentMutationResponse(rsp *http.Response) (*CreateEnvironmentMutationResponse, error)
ParseCreateEnvironmentMutationResponse parses an HTTP response from a CreateEnvironmentMutationWithResponse call
func (CreateEnvironmentMutationResponse) Status ¶
func (r CreateEnvironmentMutationResponse) Status() string
Status returns HTTPResponse.Status
func (CreateEnvironmentMutationResponse) StatusCode ¶
func (r CreateEnvironmentMutationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateGenericIntegrationMutationJSONBody ¶
type CreateGenericIntegrationMutationJSONBody struct {
Name string `json:"name"`
}
CreateGenericIntegrationMutationJSONBody defines parameters for CreateGenericIntegrationMutation.
type CreateGenericIntegrationMutationJSONRequestBody ¶
type CreateGenericIntegrationMutationJSONRequestBody CreateGenericIntegrationMutationJSONBody
CreateGenericIntegrationMutationJSONRequestBody defines body for CreateGenericIntegrationMutation for application/json ContentType.
type CreateGenericIntegrationMutationResponse ¶
type CreateGenericIntegrationMutationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Integration
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseCreateGenericIntegrationMutationResponse ¶
func ParseCreateGenericIntegrationMutationResponse(rsp *http.Response) (*CreateGenericIntegrationMutationResponse, error)
ParseCreateGenericIntegrationMutationResponse parses an HTTP response from a CreateGenericIntegrationMutationWithResponse call
func (CreateGenericIntegrationMutationResponse) Status ¶
func (r CreateGenericIntegrationMutationResponse) Status() string
Status returns HTTPResponse.Status
func (CreateGenericIntegrationMutationResponse) StatusCode ¶
func (r CreateGenericIntegrationMutationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateInviteMutationJSONBody ¶
type CreateInviteMutationJSONBody struct {
Email string `json:"email"`
}
CreateInviteMutationJSONBody defines parameters for CreateInviteMutation.
type CreateInviteMutationJSONRequestBody ¶
type CreateInviteMutationJSONRequestBody CreateInviteMutationJSONBody
CreateInviteMutationJSONRequestBody defines body for CreateInviteMutation for application/json ContentType.
type CreateInviteMutationResponse ¶
type CreateInviteMutationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Invite
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseCreateInviteMutationResponse ¶
func ParseCreateInviteMutationResponse(rsp *http.Response) (*CreateInviteMutationResponse, error)
ParseCreateInviteMutationResponse parses an HTTP response from a CreateInviteMutationWithResponse call
func (CreateInviteMutationResponse) Status ¶
func (r CreateInviteMutationResponse) Status() string
Status returns HTTPResponse.Status
func (CreateInviteMutationResponse) StatusCode ¶
func (r CreateInviteMutationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateKubernetesIntegrationMutationJSONBody ¶
type CreateKubernetesIntegrationMutationJSONBody struct {
ClusterId string `json:"clusterId"`
EnvironmentId *string `json:"environmentId,omitempty"`
}
CreateKubernetesIntegrationMutationJSONBody defines parameters for CreateKubernetesIntegrationMutation.
type CreateKubernetesIntegrationMutationJSONRequestBody ¶
type CreateKubernetesIntegrationMutationJSONRequestBody CreateKubernetesIntegrationMutationJSONBody
CreateKubernetesIntegrationMutationJSONRequestBody defines body for CreateKubernetesIntegrationMutation for application/json ContentType.
type CreateKubernetesIntegrationMutationResponse ¶
type CreateKubernetesIntegrationMutationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Integration
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseCreateKubernetesIntegrationMutationResponse ¶
func ParseCreateKubernetesIntegrationMutationResponse(rsp *http.Response) (*CreateKubernetesIntegrationMutationResponse, error)
ParseCreateKubernetesIntegrationMutationResponse parses an HTTP response from a CreateKubernetesIntegrationMutationWithResponse call
func (CreateKubernetesIntegrationMutationResponse) Status ¶
func (r CreateKubernetesIntegrationMutationResponse) Status() string
Status returns HTTPResponse.Status
func (CreateKubernetesIntegrationMutationResponse) StatusCode ¶
func (r CreateKubernetesIntegrationMutationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateOrganizationMutationJSONBody ¶
type CreateOrganizationMutationJSONBody = map[string]interface{}
CreateOrganizationMutationJSONBody defines parameters for CreateOrganizationMutation.
type CreateOrganizationMutationJSONRequestBody ¶
type CreateOrganizationMutationJSONRequestBody = CreateOrganizationMutationJSONBody
CreateOrganizationMutationJSONRequestBody defines body for CreateOrganizationMutation for application/json ContentType.
type CreateOrganizationMutationResponse ¶
type CreateOrganizationMutationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Organization
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseCreateOrganizationMutationResponse ¶
func ParseCreateOrganizationMutationResponse(rsp *http.Response) (*CreateOrganizationMutationResponse, error)
ParseCreateOrganizationMutationResponse parses an HTTP response from a CreateOrganizationMutationWithResponse call
func (CreateOrganizationMutationResponse) Status ¶
func (r CreateOrganizationMutationResponse) Status() string
Status returns HTTPResponse.Status
func (CreateOrganizationMutationResponse) StatusCode ¶
func (r CreateOrganizationMutationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CredentialsOperatorComponent ¶
type CredentialsOperatorComponent struct {
Status ComponentStatus `json:"status"`
Type CredentialsOperatorComponentType `json:"type"`
}
CredentialsOperatorComponent defines model for CredentialsOperatorComponent.
type CredentialsOperatorComponentType ¶
type CredentialsOperatorComponentType string
CredentialsOperatorComponentType defines model for CredentialsOperatorComponent.Type.
const ( CredentialsOperatorComponentTypeCREDENTIALSOPERATOR CredentialsOperatorComponentType = "CREDENTIALS_OPERATOR" CredentialsOperatorComponentTypeINTENTSOPERATOR CredentialsOperatorComponentType = "INTENTS_OPERATOR" CredentialsOperatorComponentTypeNETWORKMAPPER CredentialsOperatorComponentType = "NETWORK_MAPPER" )
Defines values for CredentialsOperatorComponentType.
type DeleteClusterMutationResponse ¶
type DeleteClusterMutationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *string
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseDeleteClusterMutationResponse ¶
func ParseDeleteClusterMutationResponse(rsp *http.Response) (*DeleteClusterMutationResponse, error)
ParseDeleteClusterMutationResponse parses an HTTP response from a DeleteClusterMutationWithResponse call
func (DeleteClusterMutationResponse) Status ¶
func (r DeleteClusterMutationResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteClusterMutationResponse) StatusCode ¶
func (r DeleteClusterMutationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteEnvironmentLabelMutationParams ¶
type DeleteEnvironmentLabelMutationParams struct {
Key string `form:"key" json:"key"`
}
DeleteEnvironmentLabelMutationParams defines parameters for DeleteEnvironmentLabelMutation.
type DeleteEnvironmentLabelMutationResponse ¶
type DeleteEnvironmentLabelMutationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Environment
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseDeleteEnvironmentLabelMutationResponse ¶
func ParseDeleteEnvironmentLabelMutationResponse(rsp *http.Response) (*DeleteEnvironmentLabelMutationResponse, error)
ParseDeleteEnvironmentLabelMutationResponse parses an HTTP response from a DeleteEnvironmentLabelMutationWithResponse call
func (DeleteEnvironmentLabelMutationResponse) Status ¶
func (r DeleteEnvironmentLabelMutationResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteEnvironmentLabelMutationResponse) StatusCode ¶
func (r DeleteEnvironmentLabelMutationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteEnvironmentMutationResponse ¶
type DeleteEnvironmentMutationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *string
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseDeleteEnvironmentMutationResponse ¶
func ParseDeleteEnvironmentMutationResponse(rsp *http.Response) (*DeleteEnvironmentMutationResponse, error)
ParseDeleteEnvironmentMutationResponse parses an HTTP response from a DeleteEnvironmentMutationWithResponse call
func (DeleteEnvironmentMutationResponse) Status ¶
func (r DeleteEnvironmentMutationResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteEnvironmentMutationResponse) StatusCode ¶
func (r DeleteEnvironmentMutationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteIntegrationMutationResponse ¶
type DeleteIntegrationMutationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *string
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseDeleteIntegrationMutationResponse ¶
func ParseDeleteIntegrationMutationResponse(rsp *http.Response) (*DeleteIntegrationMutationResponse, error)
ParseDeleteIntegrationMutationResponse parses an HTTP response from a DeleteIntegrationMutationWithResponse call
func (DeleteIntegrationMutationResponse) Status ¶
func (r DeleteIntegrationMutationResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteIntegrationMutationResponse) StatusCode ¶
func (r DeleteIntegrationMutationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteInviteMutationResponse ¶
type DeleteInviteMutationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *string
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseDeleteInviteMutationResponse ¶
func ParseDeleteInviteMutationResponse(rsp *http.Response) (*DeleteInviteMutationResponse, error)
ParseDeleteInviteMutationResponse parses an HTTP response from a DeleteInviteMutationWithResponse call
func (DeleteInviteMutationResponse) Status ¶
func (r DeleteInviteMutationResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteInviteMutationResponse) StatusCode ¶
func (r DeleteInviteMutationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EdgeAccessStatus ¶
type EdgeAccessStatus struct {
Reason EdgeAccessStatusReason `json:"reason"`
UseNetworkPoliciesInAccessGraphStates bool `json:"useNetworkPoliciesInAccessGraphStates"`
Verdict EdgeAccessStatusVerdict `json:"verdict"`
}
EdgeAccessStatus defines model for EdgeAccessStatus.
type EdgeAccessStatusReason ¶
type EdgeAccessStatusReason string
EdgeAccessStatusReason defines model for EdgeAccessStatus.Reason.
const ( EdgeAccessStatusReasonALLOWEDBYAPPLIEDINTENTS EdgeAccessStatusReason = "ALLOWED_BY_APPLIED_INTENTS" EdgeAccessStatusReasonALLOWEDBYAPPLIEDINTENTSOVERLYPERMISSIVE EdgeAccessStatusReason = "ALLOWED_BY_APPLIED_INTENTS_OVERLY_PERMISSIVE" EdgeAccessStatusReasonBLOCKEDBYDEFAULTDENY EdgeAccessStatusReason = "BLOCKED_BY_DEFAULT_DENY" EdgeAccessStatusReasonINTENTSOPERATORNEVERCONNECTED EdgeAccessStatusReason = "INTENTS_OPERATOR_NEVER_CONNECTED" EdgeAccessStatusReasonINTENTSOPERATORNOTENFORCING EdgeAccessStatusReason = "INTENTS_OPERATOR_NOT_ENFORCING" EdgeAccessStatusReasonINTENTSOPERATORNOTENFORCINGMISSINGAPPLIEDINTENT EdgeAccessStatusReason = "INTENTS_OPERATOR_NOT_ENFORCING_MISSING_APPLIED_INTENT" EdgeAccessStatusReasonMISSINGAPPLIEDINTENT EdgeAccessStatusReason = "MISSING_APPLIED_INTENT" EdgeAccessStatusReasonNETWORKMAPPERNEVERCONNECTED EdgeAccessStatusReason = "NETWORK_MAPPER_NEVER_CONNECTED" )
Defines values for EdgeAccessStatusReason.
type EdgeAccessStatusVerdict ¶
type EdgeAccessStatusVerdict string
EdgeAccessStatusVerdict defines model for EdgeAccessStatus.Verdict.
const ( EdgeAccessStatusVerdictBLOCKED EdgeAccessStatusVerdict = "BLOCKED" EdgeAccessStatusVerdictEXPLICITLYALLOWED EdgeAccessStatusVerdict = "EXPLICITLY_ALLOWED" EdgeAccessStatusVerdictIMPLICITLYALLOWED EdgeAccessStatusVerdict = "IMPLICITLY_ALLOWED" EdgeAccessStatusVerdictUNKNOWN EdgeAccessStatusVerdict = "UNKNOWN" EdgeAccessStatusVerdictWOULDBEBLOCKED EdgeAccessStatusVerdict = "WOULD_BE_BLOCKED" )
Defines values for EdgeAccessStatusVerdict.
type Environment ¶
type Environment struct {
AppliedIntentsCount int32 `json:"appliedIntentsCount"`
Id string `json:"id"`
Labels *[]Label `json:"labels,omitempty"`
Name string `json:"name"`
Namespaces []struct {
Id string `json:"id"`
} `json:"namespaces"`
ServiceCount int32 `json:"serviceCount"`
}
Environment defines model for Environment.
type EnvironmentQueryResponse ¶
type EnvironmentQueryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Environment
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseEnvironmentQueryResponse ¶
func ParseEnvironmentQueryResponse(rsp *http.Response) (*EnvironmentQueryResponse, error)
ParseEnvironmentQueryResponse parses an HTTP response from a EnvironmentQueryWithResponse call
func (EnvironmentQueryResponse) Status ¶
func (r EnvironmentQueryResponse) Status() string
Status returns HTTPResponse.Status
func (EnvironmentQueryResponse) StatusCode ¶
func (r EnvironmentQueryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EnvironmentsQueryParams ¶
type EnvironmentsQueryParams struct {
Name *string `form:"name,omitempty" json:"name,omitempty"`
Labels *[]LabelInput `form:"labels,omitempty" json:"labels,omitempty"`
}
EnvironmentsQueryParams defines parameters for EnvironmentsQuery.
type EnvironmentsQueryResponse ¶
type EnvironmentsQueryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]Environment
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseEnvironmentsQueryResponse ¶
func ParseEnvironmentsQueryResponse(rsp *http.Response) (*EnvironmentsQueryResponse, error)
ParseEnvironmentsQueryResponse parses an HTTP response from a EnvironmentsQueryWithResponse call
func (EnvironmentsQueryResponse) Status ¶
func (r EnvironmentsQueryResponse) Status() string
Status returns HTTPResponse.Status
func (EnvironmentsQueryResponse) StatusCode ¶
func (r EnvironmentsQueryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HTTPConfig ¶
type HTTPConfig struct {
Methods *[]HTTPConfigMethods `json:"methods,omitempty"`
Path *string `json:"path,omitempty"`
}
HTTPConfig defines model for HTTPConfig.
type HTTPConfigMethods ¶
type HTTPConfigMethods string
HTTPConfigMethods defines model for HTTPConfig.Methods.
const ( HTTPConfigMethodsCONNECT HTTPConfigMethods = "CONNECT" HTTPConfigMethodsDELETE HTTPConfigMethods = "DELETE" HTTPConfigMethodsGET HTTPConfigMethods = "GET" HTTPConfigMethodsOPTIONS HTTPConfigMethods = "OPTIONS" HTTPConfigMethodsPATCH HTTPConfigMethods = "PATCH" HTTPConfigMethodsPOST HTTPConfigMethods = "POST" HTTPConfigMethodsPUT HTTPConfigMethods = "PUT" HTTPConfigMethodsTRACE HTTPConfigMethods = "TRACE" )
Defines values for HTTPConfigMethods.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type INTERNALSERVERERROR ¶
type INTERNALSERVERERROR = Error
INTERNALSERVERERROR defines model for INTERNAL_SERVER_ERROR.
type InputAccessGraphFilter ¶
type InputAccessGraphFilter struct {
ClusterIds *[]string `json:"clusterIds,omitempty"`
EnvironmentIds *[]string `json:"environmentIds,omitempty"`
IncludeServicesWithNoEdges *bool `json:"includeServicesWithNoEdges,omitempty"`
LastSeenAfter *time.Time `json:"lastSeenAfter,omitempty"`
NamespaceIds *[]string `json:"namespaceIds,omitempty"`
ServiceIds *[]string `json:"serviceIds,omitempty"`
}
InputAccessGraphFilter defines model for InputAccessGraphFilter.
type Integration ¶
type Integration struct {
Cluster *struct {
Id string `json:"id"`
} `json:"cluster,omitempty"`
Components *IntegrationComponents `json:"components,omitempty"`
Credentials IntegrationCredentials `json:"credentials"`
DefaultEnvironment *struct {
Id string `json:"id"`
} `json:"defaultEnvironment,omitempty"`
Id string `json:"id"`
Name string `json:"name"`
Type IntegrationType `json:"type"`
}
Integration defines model for Integration.
type IntegrationComponents ¶
type IntegrationComponents struct {
ClusterId string `json:"clusterId"`
CredentialsOperator CredentialsOperatorComponent `json:"credentialsOperator"`
IntentsOperator IntentsOperatorComponent `json:"intentsOperator"`
NetworkMapper NetworkMapperComponent `json:"networkMapper"`
}
IntegrationComponents defines model for IntegrationComponents.
type IntegrationCredentials ¶
type IntegrationCredentials struct {
ClientId string `json:"clientId"`
ClientSecret string `json:"clientSecret"`
}
IntegrationCredentials defines model for IntegrationCredentials.
type IntegrationQueryResponse ¶
type IntegrationQueryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Integration
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseIntegrationQueryResponse ¶
func ParseIntegrationQueryResponse(rsp *http.Response) (*IntegrationQueryResponse, error)
ParseIntegrationQueryResponse parses an HTTP response from a IntegrationQueryWithResponse call
func (IntegrationQueryResponse) Status ¶
func (r IntegrationQueryResponse) Status() string
Status returns HTTPResponse.Status
func (IntegrationQueryResponse) StatusCode ¶
func (r IntegrationQueryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IntegrationType ¶
type IntegrationType string
IntegrationType defines model for Integration.Type.
const ( IntegrationTypeGENERIC IntegrationType = "GENERIC" IntegrationTypeKUBERNETES IntegrationType = "KUBERNETES" )
Defines values for IntegrationType.
type IntegrationsQueryParams ¶
type IntegrationsQueryParams struct {
Name *string `form:"name,omitempty" json:"name,omitempty"`
IntegrationType *IntegrationsQueryParamsIntegrationType `form:"integrationType,omitempty" json:"integrationType,omitempty"`
EnvironmentId *string `form:"environmentId,omitempty" json:"environmentId,omitempty"`
ClusterId *string `form:"clusterId,omitempty" json:"clusterId,omitempty"`
}
IntegrationsQueryParams defines parameters for IntegrationsQuery.
type IntegrationsQueryParamsIntegrationType ¶
type IntegrationsQueryParamsIntegrationType string
IntegrationsQueryParamsIntegrationType defines parameters for IntegrationsQuery.
const ( GENERIC IntegrationsQueryParamsIntegrationType = "GENERIC" KUBERNETES IntegrationsQueryParamsIntegrationType = "KUBERNETES" )
Defines values for IntegrationsQueryParamsIntegrationType.
type IntegrationsQueryResponse ¶
type IntegrationsQueryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]Integration
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseIntegrationsQueryResponse ¶
func ParseIntegrationsQueryResponse(rsp *http.Response) (*IntegrationsQueryResponse, error)
ParseIntegrationsQueryResponse parses an HTTP response from a IntegrationsQueryWithResponse call
func (IntegrationsQueryResponse) Status ¶
func (r IntegrationsQueryResponse) Status() string
Status returns HTTPResponse.Status
func (IntegrationsQueryResponse) StatusCode ¶
func (r IntegrationsQueryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Intent ¶
type Intent struct {
Client struct {
Id string `json:"id"`
} `json:"client"`
HttpResources *[]HTTPConfig `json:"httpResources,omitempty"`
Id string `json:"id"`
KafkaTopics *[]KafkaConfig `json:"kafkaTopics,omitempty"`
Server struct {
Id string `json:"id"`
} `json:"server"`
Type *IntentType `json:"type,omitempty"`
}
Intent defines model for Intent.
type IntentQueryResponse ¶
type IntentQueryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Intent
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseIntentQueryResponse ¶
func ParseIntentQueryResponse(rsp *http.Response) (*IntentQueryResponse, error)
ParseIntentQueryResponse parses an HTTP response from a IntentQueryWithResponse call
func (IntentQueryResponse) Status ¶
func (r IntentQueryResponse) Status() string
Status returns HTTPResponse.Status
func (IntentQueryResponse) StatusCode ¶
func (r IntentQueryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IntentType ¶
type IntentType string
IntentType defines model for Intent.Type.
const ( HTTP IntentType = "HTTP" KAFKA IntentType = "KAFKA" )
Defines values for IntentType.
type IntentsOperatorComponent ¶
type IntentsOperatorComponent struct {
Configuration *IntentsOperatorConfiguration `json:"configuration,omitempty"`
Status ComponentStatus `json:"status"`
Type IntentsOperatorComponentType `json:"type"`
}
IntentsOperatorComponent defines model for IntentsOperatorComponent.
type IntentsOperatorComponentType ¶
type IntentsOperatorComponentType string
IntentsOperatorComponentType defines model for IntentsOperatorComponent.Type.
const ( IntentsOperatorComponentTypeCREDENTIALSOPERATOR IntentsOperatorComponentType = "CREDENTIALS_OPERATOR" IntentsOperatorComponentTypeINTENTSOPERATOR IntentsOperatorComponentType = "INTENTS_OPERATOR" IntentsOperatorComponentTypeNETWORKMAPPER IntentsOperatorComponentType = "NETWORK_MAPPER" )
Defines values for IntentsOperatorComponentType.
type IntentsOperatorConfiguration ¶
type IntentsOperatorConfiguration struct {
GlobalEnforcementEnabled bool `json:"globalEnforcementEnabled"`
KafkaACLEnforcementEnabled bool `json:"kafkaACLEnforcementEnabled"`
NetworkPolicyEnforcementEnabled bool `json:"networkPolicyEnforcementEnabled"`
}
IntentsOperatorConfiguration defines model for IntentsOperatorConfiguration.
type IntentsQueryParams ¶
type IntentsQueryParams struct {
EnvironmentId *string `form:"environmentId,omitempty" json:"environmentId,omitempty"`
ClientId *string `form:"clientId,omitempty" json:"clientId,omitempty"`
ServerId *string `form:"serverId,omitempty" json:"serverId,omitempty"`
}
IntentsQueryParams defines parameters for IntentsQuery.
type IntentsQueryResponse ¶
type IntentsQueryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]Intent
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseIntentsQueryResponse ¶
func ParseIntentsQueryResponse(rsp *http.Response) (*IntentsQueryResponse, error)
ParseIntentsQueryResponse parses an HTTP response from a IntentsQueryWithResponse call
func (IntentsQueryResponse) Status ¶
func (r IntentsQueryResponse) Status() string
Status returns HTTPResponse.Status
func (IntentsQueryResponse) StatusCode ¶
func (r IntentsQueryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Invite ¶
type Invite struct {
AcceptedAt *time.Time `json:"acceptedAt,omitempty"`
Created time.Time `json:"created"`
Email string `json:"email"`
Id string `json:"id"`
Inviter struct {
Id string `json:"id"`
} `json:"inviter"`
Organization struct {
Id string `json:"id"`
} `json:"organization"`
Status InviteStatus `json:"status"`
}
Invite defines model for Invite.
type InviteQueryResponse ¶
type InviteQueryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Invite
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseInviteQueryResponse ¶
func ParseInviteQueryResponse(rsp *http.Response) (*InviteQueryResponse, error)
ParseInviteQueryResponse parses an HTTP response from a InviteQueryWithResponse call
func (InviteQueryResponse) Status ¶
func (r InviteQueryResponse) Status() string
Status returns HTTPResponse.Status
func (InviteQueryResponse) StatusCode ¶
func (r InviteQueryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InviteStatus ¶
type InviteStatus string
InviteStatus defines model for Invite.Status.
const ( InviteStatusACCEPTED InviteStatus = "ACCEPTED" InviteStatusPENDING InviteStatus = "PENDING" )
Defines values for InviteStatus.
type InvitesQueryParams ¶
type InvitesQueryParams struct {
Email *string `form:"email,omitempty" json:"email,omitempty"`
Status *InvitesQueryParamsStatus `form:"status,omitempty" json:"status,omitempty"`
}
InvitesQueryParams defines parameters for InvitesQuery.
type InvitesQueryParamsStatus ¶
type InvitesQueryParamsStatus string
InvitesQueryParamsStatus defines parameters for InvitesQuery.
const ( ACCEPTED InvitesQueryParamsStatus = "ACCEPTED" PENDING InvitesQueryParamsStatus = "PENDING" )
Defines values for InvitesQueryParamsStatus.
type InvitesQueryResponse ¶
type InvitesQueryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]Invite
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseInvitesQueryResponse ¶
func ParseInvitesQueryResponse(rsp *http.Response) (*InvitesQueryResponse, error)
ParseInvitesQueryResponse parses an HTTP response from a InvitesQueryWithResponse call
func (InvitesQueryResponse) Status ¶
func (r InvitesQueryResponse) Status() string
Status returns HTTPResponse.Status
func (InvitesQueryResponse) StatusCode ¶
func (r InvitesQueryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type KafkaConfig ¶
type KafkaConfig struct {
Name string `json:"name"`
Operations *[]KafkaConfigOperations `json:"operations,omitempty"`
}
KafkaConfig defines model for KafkaConfig.
type KafkaConfigOperations ¶
type KafkaConfigOperations string
KafkaConfigOperations defines model for KafkaConfig.Operations.
const ( KafkaConfigOperationsALL KafkaConfigOperations = "ALL" KafkaConfigOperationsALTER KafkaConfigOperations = "ALTER" KafkaConfigOperationsALTERCONFIGS KafkaConfigOperations = "ALTER_CONFIGS" KafkaConfigOperationsCLUSTERACTION KafkaConfigOperations = "CLUSTER_ACTION" KafkaConfigOperationsCONSUME KafkaConfigOperations = "CONSUME" KafkaConfigOperationsCREATE KafkaConfigOperations = "CREATE" KafkaConfigOperationsDELETE KafkaConfigOperations = "DELETE" KafkaConfigOperationsDESCRIBE KafkaConfigOperations = "DESCRIBE" KafkaConfigOperationsDESCRIBECONFIGS KafkaConfigOperations = "DESCRIBE_CONFIGS" KafkaConfigOperationsIDEMPOTENTWRITE KafkaConfigOperations = "IDEMPOTENT_WRITE" KafkaConfigOperationsPRODUCE KafkaConfigOperations = "PRODUCE" )
Defines values for KafkaConfigOperations.
type KafkaServerConfig ¶
type KafkaServerConfig struct {
Address *string `json:"address,omitempty"`
Topics []KafkaTopic `json:"topics"`
}
KafkaServerConfig defines model for KafkaServerConfig.
type KafkaTopic ¶
type KafkaTopic struct {
ClientIdentityRequired bool `json:"clientIdentityRequired"`
IntentsRequired bool `json:"intentsRequired"`
Pattern KafkaTopicPattern `json:"pattern"`
Topic string `json:"topic"`
}
KafkaTopic defines model for KafkaTopic.
type KafkaTopicPattern ¶
type KafkaTopicPattern string
KafkaTopicPattern defines model for KafkaTopic.Pattern.
const ( LITERAL KafkaTopicPattern = "LITERAL" PREFIX KafkaTopicPattern = "PREFIX" )
Defines values for KafkaTopicPattern.
type LabelInput ¶
LabelInput defines model for LabelInput.
type Me ¶
type Me struct {
Invites []Invite `json:"invites"`
Organizations []Organization `json:"organizations"`
User User `json:"user"`
}
Me defines model for Me.
type MeQueryResponse ¶
type MeQueryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Me
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseMeQueryResponse ¶
func ParseMeQueryResponse(rsp *http.Response) (*MeQueryResponse, error)
ParseMeQueryResponse parses an HTTP response from a MeQueryWithResponse call
func (MeQueryResponse) Status ¶
func (r MeQueryResponse) Status() string
Status returns HTTPResponse.Status
func (MeQueryResponse) StatusCode ¶
func (r MeQueryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Namespace ¶
type Namespace struct {
Cluster Cluster `json:"cluster"`
Environment struct {
Id string `json:"id"`
} `json:"environment"`
Id string `json:"id"`
Name string `json:"name"`
ServiceCount int32 `json:"serviceCount"`
Services []struct {
Id string `json:"id"`
} `json:"services"`
}
Namespace defines model for Namespace.
type NamespaceQueryResponse ¶
type NamespaceQueryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Namespace
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseNamespaceQueryResponse ¶
func ParseNamespaceQueryResponse(rsp *http.Response) (*NamespaceQueryResponse, error)
ParseNamespaceQueryResponse parses an HTTP response from a NamespaceQueryWithResponse call
func (NamespaceQueryResponse) Status ¶
func (r NamespaceQueryResponse) Status() string
Status returns HTTPResponse.Status
func (NamespaceQueryResponse) StatusCode ¶
func (r NamespaceQueryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type NamespacesQueryParams ¶
type NamespacesQueryParams struct {
EnvironmentId *string `form:"environmentId,omitempty" json:"environmentId,omitempty"`
ClusterId *string `form:"clusterId,omitempty" json:"clusterId,omitempty"`
Name *string `form:"name,omitempty" json:"name,omitempty"`
}
NamespacesQueryParams defines parameters for NamespacesQuery.
type NamespacesQueryResponse ¶
type NamespacesQueryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]Namespace
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseNamespacesQueryResponse ¶
func ParseNamespacesQueryResponse(rsp *http.Response) (*NamespacesQueryResponse, error)
ParseNamespacesQueryResponse parses an HTTP response from a NamespacesQueryWithResponse call
func (NamespacesQueryResponse) Status ¶
func (r NamespacesQueryResponse) Status() string
Status returns HTTPResponse.Status
func (NamespacesQueryResponse) StatusCode ¶
func (r NamespacesQueryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type NetworkMapperComponent ¶
type NetworkMapperComponent struct {
Status ComponentStatus `json:"status"`
Type NetworkMapperComponentType `json:"type"`
}
NetworkMapperComponent defines model for NetworkMapperComponent.
type NetworkMapperComponentType ¶
type NetworkMapperComponentType string
NetworkMapperComponentType defines model for NetworkMapperComponent.Type.
const ( CREDENTIALSOPERATOR NetworkMapperComponentType = "CREDENTIALS_OPERATOR" INTENTSOPERATOR NetworkMapperComponentType = "INTENTS_OPERATOR" NETWORKMAPPER NetworkMapperComponentType = "NETWORK_MAPPER" )
Defines values for NetworkMapperComponentType.
type OneClusterQueryParams ¶
type OneClusterQueryParams struct {
Name string `form:"name" json:"name"`
}
OneClusterQueryParams defines parameters for OneClusterQuery.
type OneClusterQueryResponse ¶
type OneClusterQueryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Cluster
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseOneClusterQueryResponse ¶
func ParseOneClusterQueryResponse(rsp *http.Response) (*OneClusterQueryResponse, error)
ParseOneClusterQueryResponse parses an HTTP response from a OneClusterQueryWithResponse call
func (OneClusterQueryResponse) Status ¶
func (r OneClusterQueryResponse) Status() string
Status returns HTTPResponse.Status
func (OneClusterQueryResponse) StatusCode ¶
func (r OneClusterQueryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OneEnvironmentQueryParams ¶
type OneEnvironmentQueryParams struct {
Name string `form:"name" json:"name"`
}
OneEnvironmentQueryParams defines parameters for OneEnvironmentQuery.
type OneEnvironmentQueryResponse ¶
type OneEnvironmentQueryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Environment
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseOneEnvironmentQueryResponse ¶
func ParseOneEnvironmentQueryResponse(rsp *http.Response) (*OneEnvironmentQueryResponse, error)
ParseOneEnvironmentQueryResponse parses an HTTP response from a OneEnvironmentQueryWithResponse call
func (OneEnvironmentQueryResponse) Status ¶
func (r OneEnvironmentQueryResponse) Status() string
Status returns HTTPResponse.Status
func (OneEnvironmentQueryResponse) StatusCode ¶
func (r OneEnvironmentQueryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OneIntegrationQueryParams ¶
type OneIntegrationQueryParams struct {
IntegrationType *OneIntegrationQueryParamsIntegrationType `form:"integrationType,omitempty" json:"integrationType,omitempty"`
EnvironmentId *string `form:"environmentId,omitempty" json:"environmentId,omitempty"`
ClusterId *string `form:"clusterId,omitempty" json:"clusterId,omitempty"`
Name *string `form:"name,omitempty" json:"name,omitempty"`
}
OneIntegrationQueryParams defines parameters for OneIntegrationQuery.
type OneIntegrationQueryParamsIntegrationType ¶
type OneIntegrationQueryParamsIntegrationType string
OneIntegrationQueryParamsIntegrationType defines parameters for OneIntegrationQuery.
const ( OneIntegrationQueryParamsIntegrationTypeGENERIC OneIntegrationQueryParamsIntegrationType = "GENERIC" OneIntegrationQueryParamsIntegrationTypeKUBERNETES OneIntegrationQueryParamsIntegrationType = "KUBERNETES" )
Defines values for OneIntegrationQueryParamsIntegrationType.
type OneIntegrationQueryResponse ¶
type OneIntegrationQueryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Integration
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseOneIntegrationQueryResponse ¶
func ParseOneIntegrationQueryResponse(rsp *http.Response) (*OneIntegrationQueryResponse, error)
ParseOneIntegrationQueryResponse parses an HTTP response from a OneIntegrationQueryWithResponse call
func (OneIntegrationQueryResponse) Status ¶
func (r OneIntegrationQueryResponse) Status() string
Status returns HTTPResponse.Status
func (OneIntegrationQueryResponse) StatusCode ¶
func (r OneIntegrationQueryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OneInviteQueryParams ¶
type OneInviteQueryParams struct {
Email *string `form:"email,omitempty" json:"email,omitempty"`
Status *OneInviteQueryParamsStatus `form:"status,omitempty" json:"status,omitempty"`
}
OneInviteQueryParams defines parameters for OneInviteQuery.
type OneInviteQueryParamsStatus ¶
type OneInviteQueryParamsStatus string
OneInviteQueryParamsStatus defines parameters for OneInviteQuery.
const ( OneInviteQueryParamsStatusACCEPTED OneInviteQueryParamsStatus = "ACCEPTED" OneInviteQueryParamsStatusPENDING OneInviteQueryParamsStatus = "PENDING" )
Defines values for OneInviteQueryParamsStatus.
type OneInviteQueryResponse ¶
type OneInviteQueryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Invite
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseOneInviteQueryResponse ¶
func ParseOneInviteQueryResponse(rsp *http.Response) (*OneInviteQueryResponse, error)
ParseOneInviteQueryResponse parses an HTTP response from a OneInviteQueryWithResponse call
func (OneInviteQueryResponse) Status ¶
func (r OneInviteQueryResponse) Status() string
Status returns HTTPResponse.Status
func (OneInviteQueryResponse) StatusCode ¶
func (r OneInviteQueryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OneNamespaceQueryParams ¶
type OneNamespaceQueryParams struct {
EnvironmentId *string `form:"environmentId,omitempty" json:"environmentId,omitempty"`
ClusterId *string `form:"clusterId,omitempty" json:"clusterId,omitempty"`
Name *string `form:"name,omitempty" json:"name,omitempty"`
}
OneNamespaceQueryParams defines parameters for OneNamespaceQuery.
type OneNamespaceQueryResponse ¶
type OneNamespaceQueryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Namespace
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseOneNamespaceQueryResponse ¶
func ParseOneNamespaceQueryResponse(rsp *http.Response) (*OneNamespaceQueryResponse, error)
ParseOneNamespaceQueryResponse parses an HTTP response from a OneNamespaceQueryWithResponse call
func (OneNamespaceQueryResponse) Status ¶
func (r OneNamespaceQueryResponse) Status() string
Status returns HTTPResponse.Status
func (OneNamespaceQueryResponse) StatusCode ¶
func (r OneNamespaceQueryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OneServiceQueryParams ¶
type OneServiceQueryParams struct {
EnvironmentId *string `form:"environmentId,omitempty" json:"environmentId,omitempty"`
NamespaceId *string `form:"namespaceId,omitempty" json:"namespaceId,omitempty"`
Name *string `form:"name,omitempty" json:"name,omitempty"`
}
OneServiceQueryParams defines parameters for OneServiceQuery.
type OneServiceQueryResponse ¶
type OneServiceQueryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Service
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseOneServiceQueryResponse ¶
func ParseOneServiceQueryResponse(rsp *http.Response) (*OneServiceQueryResponse, error)
ParseOneServiceQueryResponse parses an HTTP response from a OneServiceQueryWithResponse call
func (OneServiceQueryResponse) Status ¶
func (r OneServiceQueryResponse) Status() string
Status returns HTTPResponse.Status
func (OneServiceQueryResponse) StatusCode ¶
func (r OneServiceQueryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Organization ¶
type Organization struct {
Id string `json:"id"`
ImageURL *string `json:"imageURL,omitempty"`
Name *string `json:"name,omitempty"`
}
Organization defines model for Organization.
type OrganizationQueryResponse ¶
type OrganizationQueryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Organization
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseOrganizationQueryResponse ¶
func ParseOrganizationQueryResponse(rsp *http.Response) (*OrganizationQueryResponse, error)
ParseOrganizationQueryResponse parses an HTTP response from a OrganizationQueryWithResponse call
func (OrganizationQueryResponse) Status ¶
func (r OrganizationQueryResponse) Status() string
Status returns HTTPResponse.Status
func (OrganizationQueryResponse) StatusCode ¶
func (r OrganizationQueryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OrganizationsQueryResponse ¶
type OrganizationsQueryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]Organization
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseOrganizationsQueryResponse ¶
func ParseOrganizationsQueryResponse(rsp *http.Response) (*OrganizationsQueryResponse, error)
ParseOrganizationsQueryResponse parses an HTTP response from a OrganizationsQueryWithResponse call
func (OrganizationsQueryResponse) Status ¶
func (r OrganizationsQueryResponse) Status() string
Status returns HTTPResponse.Status
func (OrganizationsQueryResponse) StatusCode ¶
func (r OrganizationsQueryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RemoveUserFromOrganizationMutationParams ¶
type RemoveUserFromOrganizationMutationParams struct {
UserId string `form:"userId" json:"userId"`
}
RemoveUserFromOrganizationMutationParams defines parameters for RemoveUserFromOrganizationMutation.
type RemoveUserFromOrganizationMutationResponse ¶
type RemoveUserFromOrganizationMutationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *string
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseRemoveUserFromOrganizationMutationResponse ¶
func ParseRemoveUserFromOrganizationMutationResponse(rsp *http.Response) (*RemoveUserFromOrganizationMutationResponse, error)
ParseRemoveUserFromOrganizationMutationResponse parses an HTTP response from a RemoveUserFromOrganizationMutationWithResponse call
func (RemoveUserFromOrganizationMutationResponse) Status ¶
func (r RemoveUserFromOrganizationMutationResponse) Status() string
Status returns HTTPResponse.Status
func (RemoveUserFromOrganizationMutationResponse) StatusCode ¶
func (r RemoveUserFromOrganizationMutationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ServerBlockingStatus ¶
type ServerBlockingStatus struct {
Reason ServerBlockingStatusReason `json:"reason"`
Verdict ServerBlockingStatusVerdict `json:"verdict"`
}
ServerBlockingStatus defines model for ServerBlockingStatus.
type ServerBlockingStatusReason ¶
type ServerBlockingStatusReason string
ServerBlockingStatusReason defines model for ServerBlockingStatus.Reason.
const ( ServerBlockingStatusReasonALLINTENTSAPPLIED ServerBlockingStatusReason = "ALL_INTENTS_APPLIED" ServerBlockingStatusReasonINTENTSIMPLICITLYALLOWED ServerBlockingStatusReason = "INTENTS_IMPLICITLY_ALLOWED" ServerBlockingStatusReasonINTENTSOPERATORNEVERCONNECTED ServerBlockingStatusReason = "INTENTS_OPERATOR_NEVER_CONNECTED" ServerBlockingStatusReasonINTENTSOPERATORNOTENFORCING ServerBlockingStatusReason = "INTENTS_OPERATOR_NOT_ENFORCING" ServerBlockingStatusReasonMISSINGAPPLIEDINTENTS ServerBlockingStatusReason = "MISSING_APPLIED_INTENTS" ServerBlockingStatusReasonNETWORKMAPPERNEVERCONNECTED ServerBlockingStatusReason = "NETWORK_MAPPER_NEVER_CONNECTED" )
Defines values for ServerBlockingStatusReason.
type ServerBlockingStatusVerdict ¶
type ServerBlockingStatusVerdict string
ServerBlockingStatusVerdict defines model for ServerBlockingStatus.Verdict.
const ( ServerBlockingStatusVerdictBLOCKING ServerBlockingStatusVerdict = "BLOCKING" ServerBlockingStatusVerdictNOTBLOCKING ServerBlockingStatusVerdict = "NOT_BLOCKING" ServerBlockingStatusVerdictUNKNOWN ServerBlockingStatusVerdict = "UNKNOWN" ServerBlockingStatusVerdictWOULDBLOCK ServerBlockingStatusVerdict = "WOULD_BLOCK" )
Defines values for ServerBlockingStatusVerdict.
type ServerProtectionStatus ¶
type ServerProtectionStatus struct {
Reason ServerProtectionStatusReason `json:"reason"`
Verdict ServerProtectionStatusVerdict `json:"verdict"`
}
ServerProtectionStatus defines model for ServerProtectionStatus.
type ServerProtectionStatusReason ¶
type ServerProtectionStatusReason string
ServerProtectionStatusReason defines model for ServerProtectionStatus.Reason.
const ( INTENTSOPERATORNEVERCONNECTED ServerProtectionStatusReason = "INTENTS_OPERATOR_NEVER_CONNECTED" INTENTSOPERATORNOTENFORCING ServerProtectionStatusReason = "INTENTS_OPERATOR_NOT_ENFORCING" PROTECTEDBYDEFAULTDENY ServerProtectionStatusReason = "PROTECTED_BY_DEFAULT_DENY" PROTECTEDBYSERVERNETWORKPOLICY ServerProtectionStatusReason = "PROTECTED_BY_SERVER_NETWORK_POLICY" SERVERHASNONETWORKPOLICY ServerProtectionStatusReason = "SERVER_HAS_NO_NETWORK_POLICY" )
Defines values for ServerProtectionStatusReason.
type ServerProtectionStatusVerdict ¶
type ServerProtectionStatusVerdict string
ServerProtectionStatusVerdict defines model for ServerProtectionStatus.Verdict.
const ( PROTECTED ServerProtectionStatusVerdict = "PROTECTED" UNKNOWN ServerProtectionStatusVerdict = "UNKNOWN" UNPROTECTED ServerProtectionStatusVerdict = "UNPROTECTED" )
Defines values for ServerProtectionStatusVerdict.
type Service ¶
type Service struct {
CertificateInformation *CertificateInformation `json:"certificateInformation,omitempty"`
Environment struct {
Id string `json:"id"`
} `json:"environment"`
Id string `json:"id"`
KafkaServerConfig *KafkaServerConfig `json:"kafkaServerConfig,omitempty"`
Name string `json:"name"`
Namespace *Namespace `json:"namespace,omitempty"`
}
Service defines model for Service.
type ServiceAccessGraph ¶
type ServiceAccessGraph struct {
AccessStatus ServiceAccessStatus `json:"accessStatus"`
Calls []AccessGraphEdge `json:"calls"`
Serves []AccessGraphEdge `json:"serves"`
Service struct {
Id string `json:"id"`
} `json:"service"`
}
ServiceAccessGraph defines model for ServiceAccessGraph.
type ServiceAccessStatus ¶
type ServiceAccessStatus struct {
BlockingStatus ServerBlockingStatus `json:"blockingStatus"`
HasAppliedIntents bool `json:"hasAppliedIntents"`
ProtectionStatus ServerProtectionStatus `json:"protectionStatus"`
UseNetworkPoliciesInAccessGraphStates bool `json:"useNetworkPoliciesInAccessGraphStates"`
}
ServiceAccessStatus defines model for ServiceAccessStatus.
type ServiceQueryResponse ¶
type ServiceQueryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Service
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseServiceQueryResponse ¶
func ParseServiceQueryResponse(rsp *http.Response) (*ServiceQueryResponse, error)
ParseServiceQueryResponse parses an HTTP response from a ServiceQueryWithResponse call
func (ServiceQueryResponse) Status ¶
func (r ServiceQueryResponse) Status() string
Status returns HTTPResponse.Status
func (ServiceQueryResponse) StatusCode ¶
func (r ServiceQueryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServicesQueryParams ¶
type ServicesQueryParams struct {
EnvironmentId *string `form:"environmentId,omitempty" json:"environmentId,omitempty"`
NamespaceId *string `form:"namespaceId,omitempty" json:"namespaceId,omitempty"`
Name *string `form:"name,omitempty" json:"name,omitempty"`
}
ServicesQueryParams defines parameters for ServicesQuery.
type ServicesQueryResponse ¶
type ServicesQueryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]Service
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseServicesQueryResponse ¶
func ParseServicesQueryResponse(rsp *http.Response) (*ServicesQueryResponse, error)
ParseServicesQueryResponse parses an HTTP response from a ServicesQueryWithResponse call
func (ServicesQueryResponse) Status ¶
func (r ServicesQueryResponse) Status() string
Status returns HTTPResponse.Status
func (ServicesQueryResponse) StatusCode ¶
func (r ServicesQueryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UNAUTHENTICATED ¶
type UNAUTHENTICATED = Error
UNAUTHENTICATED defines model for UNAUTHENTICATED.
type UNEXPECTEDERROR ¶
type UNEXPECTEDERROR = Error
UNEXPECTEDERROR defines model for UNEXPECTED_ERROR.
type UpdateClusterMutationJSONBody ¶
type UpdateClusterMutationJSONBody struct {
Configuration *ClusterConfigurationInput `json:"configuration,omitempty"`
}
UpdateClusterMutationJSONBody defines parameters for UpdateClusterMutation.
type UpdateClusterMutationJSONRequestBody ¶
type UpdateClusterMutationJSONRequestBody UpdateClusterMutationJSONBody
UpdateClusterMutationJSONRequestBody defines body for UpdateClusterMutation for application/json ContentType.
type UpdateClusterMutationResponse ¶
type UpdateClusterMutationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Cluster
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseUpdateClusterMutationResponse ¶
func ParseUpdateClusterMutationResponse(rsp *http.Response) (*UpdateClusterMutationResponse, error)
ParseUpdateClusterMutationResponse parses an HTTP response from a UpdateClusterMutationWithResponse call
func (UpdateClusterMutationResponse) Status ¶
func (r UpdateClusterMutationResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateClusterMutationResponse) StatusCode ¶
func (r UpdateClusterMutationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateEnvironmentMutationJSONBody ¶
type UpdateEnvironmentMutationJSONBody struct {
Labels *[]LabelInput `json:"labels,omitempty"`
Name *string `json:"name,omitempty"`
}
UpdateEnvironmentMutationJSONBody defines parameters for UpdateEnvironmentMutation.
type UpdateEnvironmentMutationJSONRequestBody ¶
type UpdateEnvironmentMutationJSONRequestBody UpdateEnvironmentMutationJSONBody
UpdateEnvironmentMutationJSONRequestBody defines body for UpdateEnvironmentMutation for application/json ContentType.
type UpdateEnvironmentMutationResponse ¶
type UpdateEnvironmentMutationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Environment
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseUpdateEnvironmentMutationResponse ¶
func ParseUpdateEnvironmentMutationResponse(rsp *http.Response) (*UpdateEnvironmentMutationResponse, error)
ParseUpdateEnvironmentMutationResponse parses an HTTP response from a UpdateEnvironmentMutationWithResponse call
func (UpdateEnvironmentMutationResponse) Status ¶
func (r UpdateEnvironmentMutationResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateEnvironmentMutationResponse) StatusCode ¶
func (r UpdateEnvironmentMutationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateIntegrationMutationJSONBody ¶
type UpdateIntegrationMutationJSONBody struct {
Name *string `json:"name,omitempty"`
}
UpdateIntegrationMutationJSONBody defines parameters for UpdateIntegrationMutation.
type UpdateIntegrationMutationJSONRequestBody ¶
type UpdateIntegrationMutationJSONRequestBody UpdateIntegrationMutationJSONBody
UpdateIntegrationMutationJSONRequestBody defines body for UpdateIntegrationMutation for application/json ContentType.
type UpdateIntegrationMutationResponse ¶
type UpdateIntegrationMutationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Integration
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseUpdateIntegrationMutationResponse ¶
func ParseUpdateIntegrationMutationResponse(rsp *http.Response) (*UpdateIntegrationMutationResponse, error)
ParseUpdateIntegrationMutationResponse parses an HTTP response from a UpdateIntegrationMutationWithResponse call
func (UpdateIntegrationMutationResponse) Status ¶
func (r UpdateIntegrationMutationResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateIntegrationMutationResponse) StatusCode ¶
func (r UpdateIntegrationMutationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateNamespaceMutationJSONBody ¶
type UpdateNamespaceMutationJSONBody struct {
EnvironmentId *string `json:"environmentId,omitempty"`
}
UpdateNamespaceMutationJSONBody defines parameters for UpdateNamespaceMutation.
type UpdateNamespaceMutationJSONRequestBody ¶
type UpdateNamespaceMutationJSONRequestBody UpdateNamespaceMutationJSONBody
UpdateNamespaceMutationJSONRequestBody defines body for UpdateNamespaceMutation for application/json ContentType.
type UpdateNamespaceMutationResponse ¶
type UpdateNamespaceMutationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Namespace
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseUpdateNamespaceMutationResponse ¶
func ParseUpdateNamespaceMutationResponse(rsp *http.Response) (*UpdateNamespaceMutationResponse, error)
ParseUpdateNamespaceMutationResponse parses an HTTP response from a UpdateNamespaceMutationWithResponse call
func (UpdateNamespaceMutationResponse) Status ¶
func (r UpdateNamespaceMutationResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateNamespaceMutationResponse) StatusCode ¶
func (r UpdateNamespaceMutationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateOrganizationMutationJSONBody ¶
type UpdateOrganizationMutationJSONBody struct {
ImageURL *string `json:"imageURL,omitempty"`
Name *string `json:"name,omitempty"`
}
UpdateOrganizationMutationJSONBody defines parameters for UpdateOrganizationMutation.
type UpdateOrganizationMutationJSONRequestBody ¶
type UpdateOrganizationMutationJSONRequestBody UpdateOrganizationMutationJSONBody
UpdateOrganizationMutationJSONRequestBody defines body for UpdateOrganizationMutation for application/json ContentType.
type UpdateOrganizationMutationResponse ¶
type UpdateOrganizationMutationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Organization
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseUpdateOrganizationMutationResponse ¶
func ParseUpdateOrganizationMutationResponse(rsp *http.Response) (*UpdateOrganizationMutationResponse, error)
ParseUpdateOrganizationMutationResponse parses an HTTP response from a UpdateOrganizationMutationWithResponse call
func (UpdateOrganizationMutationResponse) Status ¶
func (r UpdateOrganizationMutationResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateOrganizationMutationResponse) StatusCode ¶
func (r UpdateOrganizationMutationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type User ¶
type User struct {
AuthProviderUserId string `json:"authProviderUserId"`
Email string `json:"email"`
Id string `json:"id"`
ImageURL string `json:"imageURL"`
Name string `json:"name"`
}
User defines model for User.
type UserQueryResponse ¶
type UserQueryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *User
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseUserQueryResponse ¶
func ParseUserQueryResponse(rsp *http.Response) (*UserQueryResponse, error)
ParseUserQueryResponse parses an HTTP response from a UserQueryWithResponse call
func (UserQueryResponse) Status ¶
func (r UserQueryResponse) Status() string
Status returns HTTPResponse.Status
func (UserQueryResponse) StatusCode ¶
func (r UserQueryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UsersQueryResponse ¶
type UsersQueryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]User
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
JSONDefault *Error
}
func ParseUsersQueryResponse ¶
func ParseUsersQueryResponse(rsp *http.Response) (*UsersQueryResponse, error)
ParseUsersQueryResponse parses an HTTP response from a UsersQueryWithResponse call
func (UsersQueryResponse) Status ¶
func (r UsersQueryResponse) Status() string
Status returns HTTPResponse.Status
func (UsersQueryResponse) StatusCode ¶
func (r UsersQueryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode