Documentation ¶
Overview ¶
Package client provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.3.0 DO NOT EDIT.
Index ¶
- Constants
- func NewCreateClusterNodePoolRequest(server string, organizationName string, clusterName string, ...) (*http.Request, error)
- func NewCreateClusterNodePoolRequestWithBody(server string, organizationName string, clusterName string, contentType string, ...) (*http.Request, error)
- func NewCreateClusterRequest(server string, organizationName string, body CreateClusterJSONRequestBody) (*http.Request, error)
- func NewCreateClusterRequestWithBody(server string, organizationName string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateClusterWorkloadRequest(server string, organizationName string, clusterName string, ...) (*http.Request, error)
- func NewCreateClusterWorkloadRequestWithBody(server string, organizationName string, clusterName string, contentType string, ...) (*http.Request, error)
- func NewCreateNodePoolRequest(server string, clusterID string, body CreateNodePoolJSONRequestBody) (*http.Request, error)
- func NewCreateNodePoolRequestWithBody(server string, clusterID string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateOrganizationCredentialRequest(server string, organizationName string, ...) (*http.Request, error)
- func NewCreateOrganizationCredentialRequestWithBody(server string, organizationName string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteClusterNodePoolRequest(server string, organizationName string, clusterName string, ...) (*http.Request, error)
- func NewDeleteClusterRequest(server string, clusterID string) (*http.Request, error)
- func NewDeleteClusterWorkloadRequest(server string, organizationName string, clusterName string, ...) (*http.Request, error)
- func NewDeleteOrganizationCredentialRequest(server string, organizationName string, credentialName string) (*http.Request, error)
- func NewGetClusterNodePoolRequest(server string, organizationName string, clusterName string, ...) (*http.Request, error)
- func NewGetClusterOptionsRequest(server string) (*http.Request, error)
- func NewGetClusterRequest(server string, clusterID string) (*http.Request, error)
- func NewGetClusterWorkloadRequest(server string, organizationName string, clusterName string, ...) (*http.Request, error)
- func NewGetClusterWorkloadsRequest(server string, organizationName string, clusterName string) (*http.Request, error)
- func NewGetClustersRequest(server string) (*http.Request, error)
- func NewGetCredentialsRequest(server string) (*http.Request, error)
- func NewGetIPPoolsRequest(server string, organizationName string) (*http.Request, error)
- func NewGetKubeconfigRequest(server string, clusterID string) (*http.Request, error)
- func NewGetOrganizationCredentialRequest(server string, organizationName string, credentialName string) (*http.Request, error)
- func NewGetOrganizationCredentialsRequest(server string, organizationName string) (*http.Request, error)
- func NewGetOrganizationsRequest(server string) (*http.Request, error)
- func NewGetOverviewRequest(server string) (*http.Request, error)
- func NewListClusterNodePoolsRequest(server string, organizationName string, clusterName string) (*http.Request, error)
- func NewLoginRequest(server string, body LoginJSONRequestBody) (*http.Request, error)
- func NewLoginRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewRefreshRequest(server string) (*http.Request, error)
- func NewUpdateClusterWorkloadRequest(server string, organizationName string, clusterName string, ...) (*http.Request, error)
- func NewUpdateClusterWorkloadRequestWithBody(server string, organizationName string, clusterName string, ...) (*http.Request, error)
- func NewUpdateNodePoolRequest(server string, nodePoolID string, body UpdateNodePoolJSONRequestBody) (*http.Request, error)
- func NewUpdateNodePoolRequestWithBody(server string, nodePoolID string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateOrganizationCredentialRequest(server string, organizationName string, credentialName string, ...) (*http.Request, error)
- func NewUpdateOrganizationCredentialRequestWithBody(server string, organizationName string, credentialName string, ...) (*http.Request, error)
- func NewWhoamiRequest(server string) (*http.Request, error)
- type Client
- func (c *Client) CreateCluster(ctx context.Context, organizationName string, ...) (*http.Response, error)
- func (c *Client) CreateClusterNodePool(ctx context.Context, organizationName string, clusterName string, ...) (*http.Response, error)
- func (c *Client) CreateClusterNodePoolWithBody(ctx context.Context, organizationName string, clusterName string, ...) (*http.Response, error)
- func (c *Client) CreateClusterWithBody(ctx context.Context, organizationName string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateClusterWorkload(ctx context.Context, organizationName string, clusterName string, ...) (*http.Response, error)
- func (c *Client) CreateClusterWorkloadWithBody(ctx context.Context, organizationName string, clusterName string, ...) (*http.Response, error)
- func (c *Client) CreateNodePool(ctx context.Context, clusterID string, body CreateNodePoolJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateNodePoolWithBody(ctx context.Context, clusterID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateOrganizationCredential(ctx context.Context, organizationName string, ...) (*http.Response, error)
- func (c *Client) CreateOrganizationCredentialWithBody(ctx context.Context, organizationName string, contentType string, ...) (*http.Response, error)
- func (c *Client) DeleteCluster(ctx context.Context, clusterID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteClusterNodePool(ctx context.Context, organizationName string, clusterName string, ...) (*http.Response, error)
- func (c *Client) DeleteClusterWorkload(ctx context.Context, organizationName string, clusterName string, ...) (*http.Response, error)
- func (c *Client) DeleteOrganizationCredential(ctx context.Context, organizationName string, credentialName string, ...) (*http.Response, error)
- func (c *Client) GetCluster(ctx context.Context, clusterID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetClusterNodePool(ctx context.Context, organizationName string, clusterName string, ...) (*http.Response, error)
- func (c *Client) GetClusterOptions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetClusterWorkload(ctx context.Context, organizationName string, clusterName string, ...) (*http.Response, error)
- func (c *Client) GetClusterWorkloads(ctx context.Context, organizationName string, clusterName string, ...) (*http.Response, error)
- func (c *Client) GetClusters(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCredentials(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetIPPools(ctx context.Context, organizationName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetKubeconfig(ctx context.Context, clusterID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetOrganizationCredential(ctx context.Context, organizationName string, credentialName string, ...) (*http.Response, error)
- func (c *Client) GetOrganizationCredentials(ctx context.Context, organizationName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetOrganizations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetOverview(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListClusterNodePools(ctx context.Context, organizationName string, clusterName string, ...) (*http.Response, error)
- func (c *Client) Login(ctx context.Context, body LoginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LoginWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) Refresh(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UpdateClusterWorkload(ctx context.Context, organizationName string, clusterName string, ...) (*http.Response, error)
- func (c *Client) UpdateClusterWorkloadWithBody(ctx context.Context, organizationName string, clusterName string, ...) (*http.Response, error)
- func (c *Client) UpdateNodePool(ctx context.Context, nodePoolID string, body UpdateNodePoolJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateNodePoolWithBody(ctx context.Context, nodePoolID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateOrganizationCredential(ctx context.Context, organizationName string, credentialName string, ...) (*http.Response, error)
- func (c *Client) UpdateOrganizationCredentialWithBody(ctx context.Context, organizationName string, credentialName string, ...) (*http.Response, error)
- func (c *Client) Whoami(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) CreateClusterNodePoolWithBodyWithResponse(ctx context.Context, organizationName string, clusterName string, ...) (*CreateClusterNodePoolResponse, error)
- func (c *ClientWithResponses) CreateClusterNodePoolWithResponse(ctx context.Context, organizationName string, clusterName string, ...) (*CreateClusterNodePoolResponse, error)
- func (c *ClientWithResponses) CreateClusterWithBodyWithResponse(ctx context.Context, organizationName string, contentType string, ...) (*CreateClusterResponse, error)
- func (c *ClientWithResponses) CreateClusterWithResponse(ctx context.Context, organizationName string, ...) (*CreateClusterResponse, error)
- func (c *ClientWithResponses) CreateClusterWorkloadWithBodyWithResponse(ctx context.Context, organizationName string, clusterName string, ...) (*CreateClusterWorkloadResponse, error)
- func (c *ClientWithResponses) CreateClusterWorkloadWithResponse(ctx context.Context, organizationName string, clusterName string, ...) (*CreateClusterWorkloadResponse, error)
- func (c *ClientWithResponses) CreateNodePoolWithBodyWithResponse(ctx context.Context, clusterID string, contentType string, body io.Reader, ...) (*CreateNodePoolResponse, error)
- func (c *ClientWithResponses) CreateNodePoolWithResponse(ctx context.Context, clusterID string, body CreateNodePoolJSONRequestBody, ...) (*CreateNodePoolResponse, error)
- func (c *ClientWithResponses) CreateOrganizationCredentialWithBodyWithResponse(ctx context.Context, organizationName string, contentType string, ...) (*CreateOrganizationCredentialResponse, error)
- func (c *ClientWithResponses) CreateOrganizationCredentialWithResponse(ctx context.Context, organizationName string, ...) (*CreateOrganizationCredentialResponse, error)
- func (c *ClientWithResponses) DeleteClusterNodePoolWithResponse(ctx context.Context, organizationName string, clusterName string, ...) (*DeleteClusterNodePoolResponse, error)
- func (c *ClientWithResponses) DeleteClusterWithResponse(ctx context.Context, clusterID string, reqEditors ...RequestEditorFn) (*DeleteClusterResponse, error)
- func (c *ClientWithResponses) DeleteClusterWorkloadWithResponse(ctx context.Context, organizationName string, clusterName string, ...) (*DeleteClusterWorkloadResponse, error)
- func (c *ClientWithResponses) DeleteOrganizationCredentialWithResponse(ctx context.Context, organizationName string, credentialName string, ...) (*DeleteOrganizationCredentialResponse, error)
- func (c *ClientWithResponses) GetClusterNodePoolWithResponse(ctx context.Context, organizationName string, clusterName string, ...) (*GetClusterNodePoolResponse, error)
- func (c *ClientWithResponses) GetClusterOptionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetClusterOptionsResponse, error)
- func (c *ClientWithResponses) GetClusterWithResponse(ctx context.Context, clusterID string, reqEditors ...RequestEditorFn) (*GetClusterResponse, error)
- func (c *ClientWithResponses) GetClusterWorkloadWithResponse(ctx context.Context, organizationName string, clusterName string, ...) (*GetClusterWorkloadResponse, error)
- func (c *ClientWithResponses) GetClusterWorkloadsWithResponse(ctx context.Context, organizationName string, clusterName string, ...) (*GetClusterWorkloadsResponse, error)
- func (c *ClientWithResponses) GetClustersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetClustersResponse, error)
- func (c *ClientWithResponses) GetCredentialsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCredentialsResponse, error)
- func (c *ClientWithResponses) GetIPPoolsWithResponse(ctx context.Context, organizationName string, reqEditors ...RequestEditorFn) (*GetIPPoolsResponse, error)
- func (c *ClientWithResponses) GetKubeconfigWithResponse(ctx context.Context, clusterID string, reqEditors ...RequestEditorFn) (*GetKubeconfigResponse, error)
- func (c *ClientWithResponses) GetOrganizationCredentialWithResponse(ctx context.Context, organizationName string, credentialName string, ...) (*GetOrganizationCredentialResponse, error)
- func (c *ClientWithResponses) GetOrganizationCredentialsWithResponse(ctx context.Context, organizationName string, reqEditors ...RequestEditorFn) (*GetOrganizationCredentialsResponse, error)
- func (c *ClientWithResponses) GetOrganizationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOrganizationsResponse, error)
- func (c *ClientWithResponses) GetOverviewWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOverviewResponse, error)
- func (c *ClientWithResponses) ListClusterNodePoolsWithResponse(ctx context.Context, organizationName string, clusterName string, ...) (*ListClusterNodePoolsResponse, error)
- func (c *ClientWithResponses) LoginWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*LoginResponse, error)
- func (c *ClientWithResponses) LoginWithResponse(ctx context.Context, body LoginJSONRequestBody, reqEditors ...RequestEditorFn) (*LoginResponse, error)
- func (c *ClientWithResponses) RefreshWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RefreshResponse, error)
- func (c *ClientWithResponses) UpdateClusterWorkloadWithBodyWithResponse(ctx context.Context, organizationName string, clusterName string, ...) (*UpdateClusterWorkloadResponse, error)
- func (c *ClientWithResponses) UpdateClusterWorkloadWithResponse(ctx context.Context, organizationName string, clusterName string, ...) (*UpdateClusterWorkloadResponse, error)
- func (c *ClientWithResponses) UpdateNodePoolWithBodyWithResponse(ctx context.Context, nodePoolID string, contentType string, body io.Reader, ...) (*UpdateNodePoolResponse, error)
- func (c *ClientWithResponses) UpdateNodePoolWithResponse(ctx context.Context, nodePoolID string, body UpdateNodePoolJSONRequestBody, ...) (*UpdateNodePoolResponse, error)
- func (c *ClientWithResponses) UpdateOrganizationCredentialWithBodyWithResponse(ctx context.Context, organizationName string, credentialName string, ...) (*UpdateOrganizationCredentialResponse, error)
- func (c *ClientWithResponses) UpdateOrganizationCredentialWithResponse(ctx context.Context, organizationName string, credentialName string, ...) (*UpdateOrganizationCredentialResponse, error)
- func (c *ClientWithResponses) WhoamiWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*WhoamiResponse, error)
- type ClientWithResponsesInterface
- type CreateClusterJSONRequestBody
- type CreateClusterNodePoolJSONRequestBody
- type CreateClusterNodePoolResponse
- type CreateClusterResponse
- type CreateClusterWorkloadJSONRequestBody
- type CreateClusterWorkloadResponse
- type CreateNodePoolJSONRequestBody
- type CreateNodePoolResponse
- type CreateOrganizationCredentialJSONRequestBody
- type CreateOrganizationCredentialResponse
- type DeleteClusterNodePoolResponse
- type DeleteClusterResponse
- type DeleteClusterWorkloadResponse
- type DeleteOrganizationCredentialResponse
- type GetClusterNodePoolResponse
- type GetClusterOptionsResponse
- type GetClusterResponse
- type GetClusterWorkloadResponse
- type GetClusterWorkloadsResponse
- type GetClustersResponse
- type GetCredentialsResponse
- type GetIPPoolsResponse
- type GetKubeconfigResponse
- type GetOrganizationCredentialResponse
- type GetOrganizationCredentialsResponse
- type GetOrganizationsResponse
- type GetOverviewResponse
- type HttpRequestDoer
- type ListClusterNodePoolsResponse
- type LoginJSONRequestBody
- type LoginResponse
- type RefreshResponse
- type RequestEditorFn
- type UpdateClusterWorkloadJSONRequestBody
- type UpdateClusterWorkloadResponse
- type UpdateNodePoolJSONRequestBody
- type UpdateNodePoolResponse
- type UpdateOrganizationCredentialJSONRequestBody
- type UpdateOrganizationCredentialResponse
- type WhoamiResponse
Constants ¶
const (
BearerAuthScopes = "bearerAuth.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func NewCreateClusterNodePoolRequest ¶
func NewCreateClusterNodePoolRequest(server string, organizationName string, clusterName string, body CreateClusterNodePoolJSONRequestBody) (*http.Request, error)
NewCreateClusterNodePoolRequest calls the generic CreateClusterNodePool builder with application/json body
func NewCreateClusterNodePoolRequestWithBody ¶
func NewCreateClusterNodePoolRequestWithBody(server string, organizationName string, clusterName string, contentType string, body io.Reader) (*http.Request, error)
NewCreateClusterNodePoolRequestWithBody generates requests for CreateClusterNodePool with any type of body
func NewCreateClusterRequest ¶
func NewCreateClusterRequest(server string, organizationName string, body CreateClusterJSONRequestBody) (*http.Request, error)
NewCreateClusterRequest calls the generic CreateCluster builder with application/json body
func NewCreateClusterRequestWithBody ¶
func NewCreateClusterRequestWithBody(server string, organizationName string, contentType string, body io.Reader) (*http.Request, error)
NewCreateClusterRequestWithBody generates requests for CreateCluster with any type of body
func NewCreateClusterWorkloadRequest ¶
func NewCreateClusterWorkloadRequest(server string, organizationName string, clusterName string, body CreateClusterWorkloadJSONRequestBody) (*http.Request, error)
NewCreateClusterWorkloadRequest calls the generic CreateClusterWorkload builder with application/json body
func NewCreateClusterWorkloadRequestWithBody ¶
func NewCreateClusterWorkloadRequestWithBody(server string, organizationName string, clusterName string, contentType string, body io.Reader) (*http.Request, error)
NewCreateClusterWorkloadRequestWithBody generates requests for CreateClusterWorkload with any type of body
func NewCreateNodePoolRequest ¶
func NewCreateNodePoolRequest(server string, clusterID string, body CreateNodePoolJSONRequestBody) (*http.Request, error)
NewCreateNodePoolRequest calls the generic CreateNodePool builder with application/json body
func NewCreateNodePoolRequestWithBody ¶
func NewCreateNodePoolRequestWithBody(server string, clusterID string, contentType string, body io.Reader) (*http.Request, error)
NewCreateNodePoolRequestWithBody generates requests for CreateNodePool with any type of body
func NewCreateOrganizationCredentialRequest ¶
func NewCreateOrganizationCredentialRequest(server string, organizationName string, body CreateOrganizationCredentialJSONRequestBody) (*http.Request, error)
NewCreateOrganizationCredentialRequest calls the generic CreateOrganizationCredential builder with application/json body
func NewCreateOrganizationCredentialRequestWithBody ¶
func NewCreateOrganizationCredentialRequestWithBody(server string, organizationName string, contentType string, body io.Reader) (*http.Request, error)
NewCreateOrganizationCredentialRequestWithBody generates requests for CreateOrganizationCredential with any type of body
func NewDeleteClusterNodePoolRequest ¶
func NewDeleteClusterNodePoolRequest(server string, organizationName string, clusterName string, nodePoolName string) (*http.Request, error)
NewDeleteClusterNodePoolRequest generates requests for DeleteClusterNodePool
func NewDeleteClusterRequest ¶
NewDeleteClusterRequest generates requests for DeleteCluster
func NewDeleteClusterWorkloadRequest ¶
func NewDeleteClusterWorkloadRequest(server string, organizationName string, clusterName string, workloadName string) (*http.Request, error)
NewDeleteClusterWorkloadRequest generates requests for DeleteClusterWorkload
func NewDeleteOrganizationCredentialRequest ¶
func NewDeleteOrganizationCredentialRequest(server string, organizationName string, credentialName string) (*http.Request, error)
NewDeleteOrganizationCredentialRequest generates requests for DeleteOrganizationCredential
func NewGetClusterNodePoolRequest ¶
func NewGetClusterNodePoolRequest(server string, organizationName string, clusterName string, nodePoolName string) (*http.Request, error)
NewGetClusterNodePoolRequest generates requests for GetClusterNodePool
func NewGetClusterOptionsRequest ¶
NewGetClusterOptionsRequest generates requests for GetClusterOptions
func NewGetClusterRequest ¶
NewGetClusterRequest generates requests for GetCluster
func NewGetClusterWorkloadRequest ¶
func NewGetClusterWorkloadRequest(server string, organizationName string, clusterName string, workloadName string) (*http.Request, error)
NewGetClusterWorkloadRequest generates requests for GetClusterWorkload
func NewGetClusterWorkloadsRequest ¶
func NewGetClusterWorkloadsRequest(server string, organizationName string, clusterName string) (*http.Request, error)
NewGetClusterWorkloadsRequest generates requests for GetClusterWorkloads
func NewGetClustersRequest ¶
NewGetClustersRequest generates requests for GetClusters
func NewGetCredentialsRequest ¶
NewGetCredentialsRequest generates requests for GetCredentials
func NewGetIPPoolsRequest ¶
NewGetIPPoolsRequest generates requests for GetIPPools
func NewGetKubeconfigRequest ¶
NewGetKubeconfigRequest generates requests for GetKubeconfig
func NewGetOrganizationCredentialRequest ¶
func NewGetOrganizationCredentialRequest(server string, organizationName string, credentialName string) (*http.Request, error)
NewGetOrganizationCredentialRequest generates requests for GetOrganizationCredential
func NewGetOrganizationCredentialsRequest ¶
func NewGetOrganizationCredentialsRequest(server string, organizationName string) (*http.Request, error)
NewGetOrganizationCredentialsRequest generates requests for GetOrganizationCredentials
func NewGetOrganizationsRequest ¶
NewGetOrganizationsRequest generates requests for GetOrganizations
func NewGetOverviewRequest ¶
NewGetOverviewRequest generates requests for GetOverview
func NewListClusterNodePoolsRequest ¶
func NewListClusterNodePoolsRequest(server string, organizationName string, clusterName string) (*http.Request, error)
NewListClusterNodePoolsRequest generates requests for ListClusterNodePools
func NewLoginRequest ¶
func NewLoginRequest(server string, body LoginJSONRequestBody) (*http.Request, error)
NewLoginRequest calls the generic Login builder with application/json body
func NewLoginRequestWithBody ¶
func NewLoginRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewLoginRequestWithBody generates requests for Login with any type of body
func NewRefreshRequest ¶
NewRefreshRequest generates requests for Refresh
func NewUpdateClusterWorkloadRequest ¶
func NewUpdateClusterWorkloadRequest(server string, organizationName string, clusterName string, workloadName string, body UpdateClusterWorkloadJSONRequestBody) (*http.Request, error)
NewUpdateClusterWorkloadRequest calls the generic UpdateClusterWorkload builder with application/json body
func NewUpdateClusterWorkloadRequestWithBody ¶
func NewUpdateClusterWorkloadRequestWithBody(server string, organizationName string, clusterName string, workloadName string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateClusterWorkloadRequestWithBody generates requests for UpdateClusterWorkload with any type of body
func NewUpdateNodePoolRequest ¶
func NewUpdateNodePoolRequest(server string, nodePoolID string, body UpdateNodePoolJSONRequestBody) (*http.Request, error)
NewUpdateNodePoolRequest calls the generic UpdateNodePool builder with application/json body
func NewUpdateNodePoolRequestWithBody ¶
func NewUpdateNodePoolRequestWithBody(server string, nodePoolID string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateNodePoolRequestWithBody generates requests for UpdateNodePool with any type of body
func NewUpdateOrganizationCredentialRequest ¶
func NewUpdateOrganizationCredentialRequest(server string, organizationName string, credentialName string, body UpdateOrganizationCredentialJSONRequestBody) (*http.Request, error)
NewUpdateOrganizationCredentialRequest calls the generic UpdateOrganizationCredential builder with application/json body
func NewUpdateOrganizationCredentialRequestWithBody ¶
func NewUpdateOrganizationCredentialRequestWithBody(server string, organizationName string, credentialName string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateOrganizationCredentialRequestWithBody generates requests for UpdateOrganizationCredential with any type of body
Types ¶
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) CreateCluster ¶
func (c *Client) CreateCluster(ctx context.Context, organizationName string, body CreateClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateClusterNodePool ¶
func (c *Client) CreateClusterNodePool(ctx context.Context, organizationName string, clusterName string, body CreateClusterNodePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateClusterNodePoolWithBody ¶
func (*Client) CreateClusterWithBody ¶
func (*Client) CreateClusterWorkload ¶
func (c *Client) CreateClusterWorkload(ctx context.Context, organizationName string, clusterName string, body CreateClusterWorkloadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateClusterWorkloadWithBody ¶
func (*Client) CreateNodePool ¶
func (c *Client) CreateNodePool(ctx context.Context, clusterID string, body CreateNodePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateNodePoolWithBody ¶
func (*Client) CreateOrganizationCredential ¶
func (c *Client) CreateOrganizationCredential(ctx context.Context, organizationName string, body CreateOrganizationCredentialJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateOrganizationCredentialWithBody ¶
func (*Client) DeleteCluster ¶
func (*Client) DeleteClusterNodePool ¶
func (*Client) DeleteClusterWorkload ¶
func (*Client) DeleteOrganizationCredential ¶
func (*Client) GetCluster ¶
func (*Client) GetClusterNodePool ¶
func (*Client) GetClusterOptions ¶
func (*Client) GetClusterWorkload ¶
func (*Client) GetClusterWorkloads ¶
func (*Client) GetClusters ¶
func (*Client) GetCredentials ¶
func (*Client) GetIPPools ¶
func (*Client) GetKubeconfig ¶
func (*Client) GetOrganizationCredential ¶
func (*Client) GetOrganizationCredentials ¶
func (*Client) GetOrganizations ¶
func (*Client) GetOverview ¶
func (*Client) ListClusterNodePools ¶
func (*Client) Login ¶
func (c *Client) Login(ctx context.Context, body LoginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) LoginWithBody ¶
func (*Client) UpdateClusterWorkload ¶
func (*Client) UpdateClusterWorkloadWithBody ¶
func (*Client) UpdateNodePool ¶
func (c *Client) UpdateNodePool(ctx context.Context, nodePoolID string, body UpdateNodePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateNodePoolWithBody ¶
func (*Client) UpdateOrganizationCredential ¶
func (c *Client) UpdateOrganizationCredential(ctx context.Context, organizationName string, credentialName string, body UpdateOrganizationCredentialJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateOrganizationCredentialWithBody ¶
type ClientInterface ¶
type ClientInterface interface { // GetClusterOptions request GetClusterOptions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetClusters request GetClusters(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteCluster request DeleteCluster(ctx context.Context, clusterID string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetCluster request GetCluster(ctx context.Context, clusterID string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetKubeconfig request GetKubeconfig(ctx context.Context, clusterID string, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateNodePoolWithBody request with any body CreateNodePoolWithBody(ctx context.Context, clusterID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateNodePool(ctx context.Context, clusterID string, body CreateNodePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetCredentials request GetCredentials(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // LoginWithBody request with any body LoginWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) Login(ctx context.Context, body LoginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateNodePoolWithBody request with any body UpdateNodePoolWithBody(ctx context.Context, nodePoolID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateNodePool(ctx context.Context, nodePoolID string, body UpdateNodePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetOrganizations request GetOrganizations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateClusterWithBody request with any body CreateClusterWithBody(ctx context.Context, organizationName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateCluster(ctx context.Context, organizationName string, body CreateClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ListClusterNodePools request ListClusterNodePools(ctx context.Context, organizationName string, clusterName string, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateClusterNodePoolWithBody request with any body CreateClusterNodePoolWithBody(ctx context.Context, organizationName string, clusterName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateClusterNodePool(ctx context.Context, organizationName string, clusterName string, body CreateClusterNodePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteClusterNodePool request DeleteClusterNodePool(ctx context.Context, organizationName string, clusterName string, nodePoolName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetClusterNodePool request GetClusterNodePool(ctx context.Context, organizationName string, clusterName string, nodePoolName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetClusterWorkloads request GetClusterWorkloads(ctx context.Context, organizationName string, clusterName string, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateClusterWorkloadWithBody request with any body CreateClusterWorkloadWithBody(ctx context.Context, organizationName string, clusterName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateClusterWorkload(ctx context.Context, organizationName string, clusterName string, body CreateClusterWorkloadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteClusterWorkload request DeleteClusterWorkload(ctx context.Context, organizationName string, clusterName string, workloadName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetClusterWorkload request GetClusterWorkload(ctx context.Context, organizationName string, clusterName string, workloadName string, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateClusterWorkloadWithBody request with any body UpdateClusterWorkloadWithBody(ctx context.Context, organizationName string, clusterName string, workloadName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateClusterWorkload(ctx context.Context, organizationName string, clusterName string, workloadName string, body UpdateClusterWorkloadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetOrganizationCredentials request GetOrganizationCredentials(ctx context.Context, organizationName string, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateOrganizationCredentialWithBody request with any body CreateOrganizationCredentialWithBody(ctx context.Context, organizationName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateOrganizationCredential(ctx context.Context, organizationName string, body CreateOrganizationCredentialJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteOrganizationCredential request DeleteOrganizationCredential(ctx context.Context, organizationName string, credentialName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetOrganizationCredential request GetOrganizationCredential(ctx context.Context, organizationName string, credentialName string, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateOrganizationCredentialWithBody request with any body UpdateOrganizationCredentialWithBody(ctx context.Context, organizationName string, credentialName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateOrganizationCredential(ctx context.Context, organizationName string, credentialName string, body UpdateOrganizationCredentialJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetIPPools request GetIPPools(ctx context.Context, organizationName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetOverview request GetOverview(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // Refresh request Refresh(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // Whoami request Whoami(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) }
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) CreateClusterNodePoolWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateClusterNodePoolWithBodyWithResponse(ctx context.Context, organizationName string, clusterName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateClusterNodePoolResponse, error)
CreateClusterNodePoolWithBodyWithResponse request with arbitrary body returning *CreateClusterNodePoolResponse
func (*ClientWithResponses) CreateClusterNodePoolWithResponse ¶
func (c *ClientWithResponses) CreateClusterNodePoolWithResponse(ctx context.Context, organizationName string, clusterName string, body CreateClusterNodePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateClusterNodePoolResponse, error)
func (*ClientWithResponses) CreateClusterWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateClusterWithBodyWithResponse(ctx context.Context, organizationName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateClusterResponse, error)
CreateClusterWithBodyWithResponse request with arbitrary body returning *CreateClusterResponse
func (*ClientWithResponses) CreateClusterWithResponse ¶
func (c *ClientWithResponses) CreateClusterWithResponse(ctx context.Context, organizationName string, body CreateClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateClusterResponse, error)
func (*ClientWithResponses) CreateClusterWorkloadWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateClusterWorkloadWithBodyWithResponse(ctx context.Context, organizationName string, clusterName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateClusterWorkloadResponse, error)
CreateClusterWorkloadWithBodyWithResponse request with arbitrary body returning *CreateClusterWorkloadResponse
func (*ClientWithResponses) CreateClusterWorkloadWithResponse ¶
func (c *ClientWithResponses) CreateClusterWorkloadWithResponse(ctx context.Context, organizationName string, clusterName string, body CreateClusterWorkloadJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateClusterWorkloadResponse, error)
func (*ClientWithResponses) CreateNodePoolWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateNodePoolWithBodyWithResponse(ctx context.Context, clusterID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateNodePoolResponse, error)
CreateNodePoolWithBodyWithResponse request with arbitrary body returning *CreateNodePoolResponse
func (*ClientWithResponses) CreateNodePoolWithResponse ¶
func (c *ClientWithResponses) CreateNodePoolWithResponse(ctx context.Context, clusterID string, body CreateNodePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateNodePoolResponse, error)
func (*ClientWithResponses) CreateOrganizationCredentialWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateOrganizationCredentialWithBodyWithResponse(ctx context.Context, organizationName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationCredentialResponse, error)
CreateOrganizationCredentialWithBodyWithResponse request with arbitrary body returning *CreateOrganizationCredentialResponse
func (*ClientWithResponses) CreateOrganizationCredentialWithResponse ¶
func (c *ClientWithResponses) CreateOrganizationCredentialWithResponse(ctx context.Context, organizationName string, body CreateOrganizationCredentialJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationCredentialResponse, error)
func (*ClientWithResponses) DeleteClusterNodePoolWithResponse ¶
func (c *ClientWithResponses) DeleteClusterNodePoolWithResponse(ctx context.Context, organizationName string, clusterName string, nodePoolName string, reqEditors ...RequestEditorFn) (*DeleteClusterNodePoolResponse, error)
DeleteClusterNodePoolWithResponse request returning *DeleteClusterNodePoolResponse
func (*ClientWithResponses) DeleteClusterWithResponse ¶
func (c *ClientWithResponses) DeleteClusterWithResponse(ctx context.Context, clusterID string, reqEditors ...RequestEditorFn) (*DeleteClusterResponse, error)
DeleteClusterWithResponse request returning *DeleteClusterResponse
func (*ClientWithResponses) DeleteClusterWorkloadWithResponse ¶
func (c *ClientWithResponses) DeleteClusterWorkloadWithResponse(ctx context.Context, organizationName string, clusterName string, workloadName string, reqEditors ...RequestEditorFn) (*DeleteClusterWorkloadResponse, error)
DeleteClusterWorkloadWithResponse request returning *DeleteClusterWorkloadResponse
func (*ClientWithResponses) DeleteOrganizationCredentialWithResponse ¶
func (c *ClientWithResponses) DeleteOrganizationCredentialWithResponse(ctx context.Context, organizationName string, credentialName string, reqEditors ...RequestEditorFn) (*DeleteOrganizationCredentialResponse, error)
DeleteOrganizationCredentialWithResponse request returning *DeleteOrganizationCredentialResponse
func (*ClientWithResponses) GetClusterNodePoolWithResponse ¶
func (c *ClientWithResponses) GetClusterNodePoolWithResponse(ctx context.Context, organizationName string, clusterName string, nodePoolName string, reqEditors ...RequestEditorFn) (*GetClusterNodePoolResponse, error)
GetClusterNodePoolWithResponse request returning *GetClusterNodePoolResponse
func (*ClientWithResponses) GetClusterOptionsWithResponse ¶
func (c *ClientWithResponses) GetClusterOptionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetClusterOptionsResponse, error)
GetClusterOptionsWithResponse request returning *GetClusterOptionsResponse
func (*ClientWithResponses) GetClusterWithResponse ¶
func (c *ClientWithResponses) GetClusterWithResponse(ctx context.Context, clusterID string, reqEditors ...RequestEditorFn) (*GetClusterResponse, error)
GetClusterWithResponse request returning *GetClusterResponse
func (*ClientWithResponses) GetClusterWorkloadWithResponse ¶
func (c *ClientWithResponses) GetClusterWorkloadWithResponse(ctx context.Context, organizationName string, clusterName string, workloadName string, reqEditors ...RequestEditorFn) (*GetClusterWorkloadResponse, error)
GetClusterWorkloadWithResponse request returning *GetClusterWorkloadResponse
func (*ClientWithResponses) GetClusterWorkloadsWithResponse ¶
func (c *ClientWithResponses) GetClusterWorkloadsWithResponse(ctx context.Context, organizationName string, clusterName string, reqEditors ...RequestEditorFn) (*GetClusterWorkloadsResponse, error)
GetClusterWorkloadsWithResponse request returning *GetClusterWorkloadsResponse
func (*ClientWithResponses) GetClustersWithResponse ¶
func (c *ClientWithResponses) GetClustersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetClustersResponse, error)
GetClustersWithResponse request returning *GetClustersResponse
func (*ClientWithResponses) GetCredentialsWithResponse ¶
func (c *ClientWithResponses) GetCredentialsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCredentialsResponse, error)
GetCredentialsWithResponse request returning *GetCredentialsResponse
func (*ClientWithResponses) GetIPPoolsWithResponse ¶
func (c *ClientWithResponses) GetIPPoolsWithResponse(ctx context.Context, organizationName string, reqEditors ...RequestEditorFn) (*GetIPPoolsResponse, error)
GetIPPoolsWithResponse request returning *GetIPPoolsResponse
func (*ClientWithResponses) GetKubeconfigWithResponse ¶
func (c *ClientWithResponses) GetKubeconfigWithResponse(ctx context.Context, clusterID string, reqEditors ...RequestEditorFn) (*GetKubeconfigResponse, error)
GetKubeconfigWithResponse request returning *GetKubeconfigResponse
func (*ClientWithResponses) GetOrganizationCredentialWithResponse ¶
func (c *ClientWithResponses) GetOrganizationCredentialWithResponse(ctx context.Context, organizationName string, credentialName string, reqEditors ...RequestEditorFn) (*GetOrganizationCredentialResponse, error)
GetOrganizationCredentialWithResponse request returning *GetOrganizationCredentialResponse
func (*ClientWithResponses) GetOrganizationCredentialsWithResponse ¶
func (c *ClientWithResponses) GetOrganizationCredentialsWithResponse(ctx context.Context, organizationName string, reqEditors ...RequestEditorFn) (*GetOrganizationCredentialsResponse, error)
GetOrganizationCredentialsWithResponse request returning *GetOrganizationCredentialsResponse
func (*ClientWithResponses) GetOrganizationsWithResponse ¶
func (c *ClientWithResponses) GetOrganizationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOrganizationsResponse, error)
GetOrganizationsWithResponse request returning *GetOrganizationsResponse
func (*ClientWithResponses) GetOverviewWithResponse ¶
func (c *ClientWithResponses) GetOverviewWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOverviewResponse, error)
GetOverviewWithResponse request returning *GetOverviewResponse
func (*ClientWithResponses) ListClusterNodePoolsWithResponse ¶
func (c *ClientWithResponses) ListClusterNodePoolsWithResponse(ctx context.Context, organizationName string, clusterName string, reqEditors ...RequestEditorFn) (*ListClusterNodePoolsResponse, error)
ListClusterNodePoolsWithResponse request returning *ListClusterNodePoolsResponse
func (*ClientWithResponses) LoginWithBodyWithResponse ¶
func (c *ClientWithResponses) LoginWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LoginResponse, error)
LoginWithBodyWithResponse request with arbitrary body returning *LoginResponse
func (*ClientWithResponses) LoginWithResponse ¶
func (c *ClientWithResponses) LoginWithResponse(ctx context.Context, body LoginJSONRequestBody, reqEditors ...RequestEditorFn) (*LoginResponse, error)
func (*ClientWithResponses) RefreshWithResponse ¶
func (c *ClientWithResponses) RefreshWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RefreshResponse, error)
RefreshWithResponse request returning *RefreshResponse
func (*ClientWithResponses) UpdateClusterWorkloadWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateClusterWorkloadWithBodyWithResponse(ctx context.Context, organizationName string, clusterName string, workloadName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateClusterWorkloadResponse, error)
UpdateClusterWorkloadWithBodyWithResponse request with arbitrary body returning *UpdateClusterWorkloadResponse
func (*ClientWithResponses) UpdateClusterWorkloadWithResponse ¶
func (c *ClientWithResponses) UpdateClusterWorkloadWithResponse(ctx context.Context, organizationName string, clusterName string, workloadName string, body UpdateClusterWorkloadJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateClusterWorkloadResponse, error)
func (*ClientWithResponses) UpdateNodePoolWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateNodePoolWithBodyWithResponse(ctx context.Context, nodePoolID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateNodePoolResponse, error)
UpdateNodePoolWithBodyWithResponse request with arbitrary body returning *UpdateNodePoolResponse
func (*ClientWithResponses) UpdateNodePoolWithResponse ¶
func (c *ClientWithResponses) UpdateNodePoolWithResponse(ctx context.Context, nodePoolID string, body UpdateNodePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateNodePoolResponse, error)
func (*ClientWithResponses) UpdateOrganizationCredentialWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateOrganizationCredentialWithBodyWithResponse(ctx context.Context, organizationName string, credentialName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrganizationCredentialResponse, error)
UpdateOrganizationCredentialWithBodyWithResponse request with arbitrary body returning *UpdateOrganizationCredentialResponse
func (*ClientWithResponses) UpdateOrganizationCredentialWithResponse ¶
func (c *ClientWithResponses) UpdateOrganizationCredentialWithResponse(ctx context.Context, organizationName string, credentialName string, body UpdateOrganizationCredentialJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrganizationCredentialResponse, error)
func (*ClientWithResponses) WhoamiWithResponse ¶
func (c *ClientWithResponses) WhoamiWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*WhoamiResponse, error)
WhoamiWithResponse request returning *WhoamiResponse
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // GetClusterOptionsWithResponse request GetClusterOptionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetClusterOptionsResponse, error) // GetClustersWithResponse request GetClustersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetClustersResponse, error) // DeleteClusterWithResponse request DeleteClusterWithResponse(ctx context.Context, clusterID string, reqEditors ...RequestEditorFn) (*DeleteClusterResponse, error) // GetClusterWithResponse request GetClusterWithResponse(ctx context.Context, clusterID string, reqEditors ...RequestEditorFn) (*GetClusterResponse, error) // GetKubeconfigWithResponse request GetKubeconfigWithResponse(ctx context.Context, clusterID string, reqEditors ...RequestEditorFn) (*GetKubeconfigResponse, error) // CreateNodePoolWithBodyWithResponse request with any body CreateNodePoolWithBodyWithResponse(ctx context.Context, clusterID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateNodePoolResponse, error) CreateNodePoolWithResponse(ctx context.Context, clusterID string, body CreateNodePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateNodePoolResponse, error) // GetCredentialsWithResponse request GetCredentialsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCredentialsResponse, error) // LoginWithBodyWithResponse request with any body LoginWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LoginResponse, error) LoginWithResponse(ctx context.Context, body LoginJSONRequestBody, reqEditors ...RequestEditorFn) (*LoginResponse, error) // UpdateNodePoolWithBodyWithResponse request with any body UpdateNodePoolWithBodyWithResponse(ctx context.Context, nodePoolID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateNodePoolResponse, error) UpdateNodePoolWithResponse(ctx context.Context, nodePoolID string, body UpdateNodePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateNodePoolResponse, error) // GetOrganizationsWithResponse request GetOrganizationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOrganizationsResponse, error) // CreateClusterWithBodyWithResponse request with any body CreateClusterWithBodyWithResponse(ctx context.Context, organizationName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateClusterResponse, error) CreateClusterWithResponse(ctx context.Context, organizationName string, body CreateClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateClusterResponse, error) // ListClusterNodePoolsWithResponse request ListClusterNodePoolsWithResponse(ctx context.Context, organizationName string, clusterName string, reqEditors ...RequestEditorFn) (*ListClusterNodePoolsResponse, error) // CreateClusterNodePoolWithBodyWithResponse request with any body CreateClusterNodePoolWithBodyWithResponse(ctx context.Context, organizationName string, clusterName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateClusterNodePoolResponse, error) CreateClusterNodePoolWithResponse(ctx context.Context, organizationName string, clusterName string, body CreateClusterNodePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateClusterNodePoolResponse, error) // DeleteClusterNodePoolWithResponse request DeleteClusterNodePoolWithResponse(ctx context.Context, organizationName string, clusterName string, nodePoolName string, reqEditors ...RequestEditorFn) (*DeleteClusterNodePoolResponse, error) // GetClusterNodePoolWithResponse request GetClusterNodePoolWithResponse(ctx context.Context, organizationName string, clusterName string, nodePoolName string, reqEditors ...RequestEditorFn) (*GetClusterNodePoolResponse, error) // GetClusterWorkloadsWithResponse request GetClusterWorkloadsWithResponse(ctx context.Context, organizationName string, clusterName string, reqEditors ...RequestEditorFn) (*GetClusterWorkloadsResponse, error) // CreateClusterWorkloadWithBodyWithResponse request with any body CreateClusterWorkloadWithBodyWithResponse(ctx context.Context, organizationName string, clusterName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateClusterWorkloadResponse, error) CreateClusterWorkloadWithResponse(ctx context.Context, organizationName string, clusterName string, body CreateClusterWorkloadJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateClusterWorkloadResponse, error) // DeleteClusterWorkloadWithResponse request DeleteClusterWorkloadWithResponse(ctx context.Context, organizationName string, clusterName string, workloadName string, reqEditors ...RequestEditorFn) (*DeleteClusterWorkloadResponse, error) // GetClusterWorkloadWithResponse request GetClusterWorkloadWithResponse(ctx context.Context, organizationName string, clusterName string, workloadName string, reqEditors ...RequestEditorFn) (*GetClusterWorkloadResponse, error) // UpdateClusterWorkloadWithBodyWithResponse request with any body UpdateClusterWorkloadWithBodyWithResponse(ctx context.Context, organizationName string, clusterName string, workloadName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateClusterWorkloadResponse, error) UpdateClusterWorkloadWithResponse(ctx context.Context, organizationName string, clusterName string, workloadName string, body UpdateClusterWorkloadJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateClusterWorkloadResponse, error) // GetOrganizationCredentialsWithResponse request GetOrganizationCredentialsWithResponse(ctx context.Context, organizationName string, reqEditors ...RequestEditorFn) (*GetOrganizationCredentialsResponse, error) // CreateOrganizationCredentialWithBodyWithResponse request with any body CreateOrganizationCredentialWithBodyWithResponse(ctx context.Context, organizationName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationCredentialResponse, error) CreateOrganizationCredentialWithResponse(ctx context.Context, organizationName string, body CreateOrganizationCredentialJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationCredentialResponse, error) // DeleteOrganizationCredentialWithResponse request DeleteOrganizationCredentialWithResponse(ctx context.Context, organizationName string, credentialName string, reqEditors ...RequestEditorFn) (*DeleteOrganizationCredentialResponse, error) // GetOrganizationCredentialWithResponse request GetOrganizationCredentialWithResponse(ctx context.Context, organizationName string, credentialName string, reqEditors ...RequestEditorFn) (*GetOrganizationCredentialResponse, error) // UpdateOrganizationCredentialWithBodyWithResponse request with any body UpdateOrganizationCredentialWithBodyWithResponse(ctx context.Context, organizationName string, credentialName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrganizationCredentialResponse, error) UpdateOrganizationCredentialWithResponse(ctx context.Context, organizationName string, credentialName string, body UpdateOrganizationCredentialJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrganizationCredentialResponse, error) // GetIPPoolsWithResponse request GetIPPoolsWithResponse(ctx context.Context, organizationName string, reqEditors ...RequestEditorFn) (*GetIPPoolsResponse, error) // GetOverviewWithResponse request GetOverviewWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOverviewResponse, error) // RefreshWithResponse request RefreshWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RefreshResponse, error) // WhoamiWithResponse request WhoamiWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*WhoamiResponse, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CreateClusterJSONRequestBody ¶
type CreateClusterJSONRequestBody = externalRef0.ClusterOptions
CreateClusterJSONRequestBody defines body for CreateCluster for application/json ContentType.
type CreateClusterNodePoolJSONRequestBody ¶
type CreateClusterNodePoolJSONRequestBody = externalRef0.NodePoolOptions
CreateClusterNodePoolJSONRequestBody defines body for CreateClusterNodePool for application/json ContentType.
type CreateClusterNodePoolResponse ¶
func ParseCreateClusterNodePoolResponse ¶
func ParseCreateClusterNodePoolResponse(rsp *http.Response) (*CreateClusterNodePoolResponse, error)
ParseCreateClusterNodePoolResponse parses an HTTP response from a CreateClusterNodePoolWithResponse call
func (CreateClusterNodePoolResponse) Status ¶
func (r CreateClusterNodePoolResponse) Status() string
Status returns HTTPResponse.Status
func (CreateClusterNodePoolResponse) StatusCode ¶
func (r CreateClusterNodePoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateClusterResponse ¶
type CreateClusterResponse struct { Body []byte HTTPResponse *http.Response JSON201 *externalRef0.Cluster JSON422 *externalRef0.UnprocessableEntityErrors }
func ParseCreateClusterResponse ¶
func ParseCreateClusterResponse(rsp *http.Response) (*CreateClusterResponse, error)
ParseCreateClusterResponse parses an HTTP response from a CreateClusterWithResponse call
func (CreateClusterResponse) Status ¶
func (r CreateClusterResponse) Status() string
Status returns HTTPResponse.Status
func (CreateClusterResponse) StatusCode ¶
func (r CreateClusterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateClusterWorkloadJSONRequestBody ¶
type CreateClusterWorkloadJSONRequestBody = externalRef0.Workload
CreateClusterWorkloadJSONRequestBody defines body for CreateClusterWorkload for application/json ContentType.
type CreateClusterWorkloadResponse ¶
func ParseCreateClusterWorkloadResponse ¶
func ParseCreateClusterWorkloadResponse(rsp *http.Response) (*CreateClusterWorkloadResponse, error)
ParseCreateClusterWorkloadResponse parses an HTTP response from a CreateClusterWorkloadWithResponse call
func (CreateClusterWorkloadResponse) Status ¶
func (r CreateClusterWorkloadResponse) Status() string
Status returns HTTPResponse.Status
func (CreateClusterWorkloadResponse) StatusCode ¶
func (r CreateClusterWorkloadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateNodePoolJSONRequestBody ¶
type CreateNodePoolJSONRequestBody = externalRef0.NodePoolOptions
CreateNodePoolJSONRequestBody defines body for CreateNodePool for application/json ContentType.
type CreateNodePoolResponse ¶
type CreateNodePoolResponse struct { Body []byte HTTPResponse *http.Response JSON201 *externalRef0.NodePool }
func ParseCreateNodePoolResponse ¶
func ParseCreateNodePoolResponse(rsp *http.Response) (*CreateNodePoolResponse, error)
ParseCreateNodePoolResponse parses an HTTP response from a CreateNodePoolWithResponse call
func (CreateNodePoolResponse) Status ¶
func (r CreateNodePoolResponse) Status() string
Status returns HTTPResponse.Status
func (CreateNodePoolResponse) StatusCode ¶
func (r CreateNodePoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateOrganizationCredentialJSONRequestBody ¶
type CreateOrganizationCredentialJSONRequestBody = externalRef0.Credential
CreateOrganizationCredentialJSONRequestBody defines body for CreateOrganizationCredential for application/json ContentType.
type CreateOrganizationCredentialResponse ¶
type CreateOrganizationCredentialResponse struct { Body []byte HTTPResponse *http.Response JSON201 *externalRef0.Credential }
func ParseCreateOrganizationCredentialResponse ¶
func ParseCreateOrganizationCredentialResponse(rsp *http.Response) (*CreateOrganizationCredentialResponse, error)
ParseCreateOrganizationCredentialResponse parses an HTTP response from a CreateOrganizationCredentialWithResponse call
func (CreateOrganizationCredentialResponse) Status ¶
func (r CreateOrganizationCredentialResponse) Status() string
Status returns HTTPResponse.Status
func (CreateOrganizationCredentialResponse) StatusCode ¶
func (r CreateOrganizationCredentialResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteClusterNodePoolResponse ¶
func ParseDeleteClusterNodePoolResponse ¶
func ParseDeleteClusterNodePoolResponse(rsp *http.Response) (*DeleteClusterNodePoolResponse, error)
ParseDeleteClusterNodePoolResponse parses an HTTP response from a DeleteClusterNodePoolWithResponse call
func (DeleteClusterNodePoolResponse) Status ¶
func (r DeleteClusterNodePoolResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteClusterNodePoolResponse) StatusCode ¶
func (r DeleteClusterNodePoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteClusterResponse ¶
func ParseDeleteClusterResponse ¶
func ParseDeleteClusterResponse(rsp *http.Response) (*DeleteClusterResponse, error)
ParseDeleteClusterResponse parses an HTTP response from a DeleteClusterWithResponse call
func (DeleteClusterResponse) Status ¶
func (r DeleteClusterResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteClusterResponse) StatusCode ¶
func (r DeleteClusterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteClusterWorkloadResponse ¶
func ParseDeleteClusterWorkloadResponse ¶
func ParseDeleteClusterWorkloadResponse(rsp *http.Response) (*DeleteClusterWorkloadResponse, error)
ParseDeleteClusterWorkloadResponse parses an HTTP response from a DeleteClusterWorkloadWithResponse call
func (DeleteClusterWorkloadResponse) Status ¶
func (r DeleteClusterWorkloadResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteClusterWorkloadResponse) StatusCode ¶
func (r DeleteClusterWorkloadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteOrganizationCredentialResponse ¶
func ParseDeleteOrganizationCredentialResponse ¶
func ParseDeleteOrganizationCredentialResponse(rsp *http.Response) (*DeleteOrganizationCredentialResponse, error)
ParseDeleteOrganizationCredentialResponse parses an HTTP response from a DeleteOrganizationCredentialWithResponse call
func (DeleteOrganizationCredentialResponse) Status ¶
func (r DeleteOrganizationCredentialResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteOrganizationCredentialResponse) StatusCode ¶
func (r DeleteOrganizationCredentialResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetClusterNodePoolResponse ¶
type GetClusterNodePoolResponse struct { Body []byte HTTPResponse *http.Response JSON200 *externalRef0.NodePool }
func ParseGetClusterNodePoolResponse ¶
func ParseGetClusterNodePoolResponse(rsp *http.Response) (*GetClusterNodePoolResponse, error)
ParseGetClusterNodePoolResponse parses an HTTP response from a GetClusterNodePoolWithResponse call
func (GetClusterNodePoolResponse) Status ¶
func (r GetClusterNodePoolResponse) Status() string
Status returns HTTPResponse.Status
func (GetClusterNodePoolResponse) StatusCode ¶
func (r GetClusterNodePoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetClusterOptionsResponse ¶
type GetClusterOptionsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *externalRef0.Options }
func ParseGetClusterOptionsResponse ¶
func ParseGetClusterOptionsResponse(rsp *http.Response) (*GetClusterOptionsResponse, error)
ParseGetClusterOptionsResponse parses an HTTP response from a GetClusterOptionsWithResponse call
func (GetClusterOptionsResponse) Status ¶
func (r GetClusterOptionsResponse) Status() string
Status returns HTTPResponse.Status
func (GetClusterOptionsResponse) StatusCode ¶
func (r GetClusterOptionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetClusterResponse ¶
type GetClusterResponse struct { Body []byte HTTPResponse *http.Response JSON200 *externalRef0.Cluster }
func ParseGetClusterResponse ¶
func ParseGetClusterResponse(rsp *http.Response) (*GetClusterResponse, error)
ParseGetClusterResponse parses an HTTP response from a GetClusterWithResponse call
func (GetClusterResponse) Status ¶
func (r GetClusterResponse) Status() string
Status returns HTTPResponse.Status
func (GetClusterResponse) StatusCode ¶
func (r GetClusterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetClusterWorkloadResponse ¶
type GetClusterWorkloadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *externalRef0.Workload }
func ParseGetClusterWorkloadResponse ¶
func ParseGetClusterWorkloadResponse(rsp *http.Response) (*GetClusterWorkloadResponse, error)
ParseGetClusterWorkloadResponse parses an HTTP response from a GetClusterWorkloadWithResponse call
func (GetClusterWorkloadResponse) Status ¶
func (r GetClusterWorkloadResponse) Status() string
Status returns HTTPResponse.Status
func (GetClusterWorkloadResponse) StatusCode ¶
func (r GetClusterWorkloadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetClusterWorkloadsResponse ¶
type GetClusterWorkloadsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]externalRef0.Workload }
func ParseGetClusterWorkloadsResponse ¶
func ParseGetClusterWorkloadsResponse(rsp *http.Response) (*GetClusterWorkloadsResponse, error)
ParseGetClusterWorkloadsResponse parses an HTTP response from a GetClusterWorkloadsWithResponse call
func (GetClusterWorkloadsResponse) Status ¶
func (r GetClusterWorkloadsResponse) Status() string
Status returns HTTPResponse.Status
func (GetClusterWorkloadsResponse) StatusCode ¶
func (r GetClusterWorkloadsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetClustersResponse ¶
type GetClustersResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]externalRef0.Cluster }
func ParseGetClustersResponse ¶
func ParseGetClustersResponse(rsp *http.Response) (*GetClustersResponse, error)
ParseGetClustersResponse parses an HTTP response from a GetClustersWithResponse call
func (GetClustersResponse) Status ¶
func (r GetClustersResponse) Status() string
Status returns HTTPResponse.Status
func (GetClustersResponse) StatusCode ¶
func (r GetClustersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCredentialsResponse ¶
type GetCredentialsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]externalRef0.Credential }
func ParseGetCredentialsResponse ¶
func ParseGetCredentialsResponse(rsp *http.Response) (*GetCredentialsResponse, error)
ParseGetCredentialsResponse parses an HTTP response from a GetCredentialsWithResponse call
func (GetCredentialsResponse) Status ¶
func (r GetCredentialsResponse) Status() string
Status returns HTTPResponse.Status
func (GetCredentialsResponse) StatusCode ¶
func (r GetCredentialsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIPPoolsResponse ¶
type GetIPPoolsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]externalRef0.IPPool }
func ParseGetIPPoolsResponse ¶
func ParseGetIPPoolsResponse(rsp *http.Response) (*GetIPPoolsResponse, error)
ParseGetIPPoolsResponse parses an HTTP response from a GetIPPoolsWithResponse call
func (GetIPPoolsResponse) Status ¶
func (r GetIPPoolsResponse) Status() string
Status returns HTTPResponse.Status
func (GetIPPoolsResponse) StatusCode ¶
func (r GetIPPoolsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetKubeconfigResponse ¶
func ParseGetKubeconfigResponse ¶
func ParseGetKubeconfigResponse(rsp *http.Response) (*GetKubeconfigResponse, error)
ParseGetKubeconfigResponse parses an HTTP response from a GetKubeconfigWithResponse call
func (GetKubeconfigResponse) Status ¶
func (r GetKubeconfigResponse) Status() string
Status returns HTTPResponse.Status
func (GetKubeconfigResponse) StatusCode ¶
func (r GetKubeconfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOrganizationCredentialResponse ¶
type GetOrganizationCredentialResponse struct { Body []byte HTTPResponse *http.Response JSON200 *externalRef0.Credential }
func ParseGetOrganizationCredentialResponse ¶
func ParseGetOrganizationCredentialResponse(rsp *http.Response) (*GetOrganizationCredentialResponse, error)
ParseGetOrganizationCredentialResponse parses an HTTP response from a GetOrganizationCredentialWithResponse call
func (GetOrganizationCredentialResponse) Status ¶
func (r GetOrganizationCredentialResponse) Status() string
Status returns HTTPResponse.Status
func (GetOrganizationCredentialResponse) StatusCode ¶
func (r GetOrganizationCredentialResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOrganizationCredentialsResponse ¶
type GetOrganizationCredentialsResponse struct { Body []byte HTTPResponse *http.Response JSON201 *[]externalRef0.Credential }
func ParseGetOrganizationCredentialsResponse ¶
func ParseGetOrganizationCredentialsResponse(rsp *http.Response) (*GetOrganizationCredentialsResponse, error)
ParseGetOrganizationCredentialsResponse parses an HTTP response from a GetOrganizationCredentialsWithResponse call
func (GetOrganizationCredentialsResponse) Status ¶
func (r GetOrganizationCredentialsResponse) Status() string
Status returns HTTPResponse.Status
func (GetOrganizationCredentialsResponse) StatusCode ¶
func (r GetOrganizationCredentialsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOrganizationsResponse ¶
type GetOrganizationsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]externalRef0.Organization }
func ParseGetOrganizationsResponse ¶
func ParseGetOrganizationsResponse(rsp *http.Response) (*GetOrganizationsResponse, error)
ParseGetOrganizationsResponse parses an HTTP response from a GetOrganizationsWithResponse call
func (GetOrganizationsResponse) Status ¶
func (r GetOrganizationsResponse) Status() string
Status returns HTTPResponse.Status
func (GetOrganizationsResponse) StatusCode ¶
func (r GetOrganizationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOverviewResponse ¶
type GetOverviewResponse struct { Body []byte HTTPResponse *http.Response JSON200 *externalRef0.Overview }
func ParseGetOverviewResponse ¶
func ParseGetOverviewResponse(rsp *http.Response) (*GetOverviewResponse, error)
ParseGetOverviewResponse parses an HTTP response from a GetOverviewWithResponse call
func (GetOverviewResponse) Status ¶
func (r GetOverviewResponse) Status() string
Status returns HTTPResponse.Status
func (GetOverviewResponse) StatusCode ¶
func (r GetOverviewResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type ListClusterNodePoolsResponse ¶
func ParseListClusterNodePoolsResponse ¶
func ParseListClusterNodePoolsResponse(rsp *http.Response) (*ListClusterNodePoolsResponse, error)
ParseListClusterNodePoolsResponse parses an HTTP response from a ListClusterNodePoolsWithResponse call
func (ListClusterNodePoolsResponse) Status ¶
func (r ListClusterNodePoolsResponse) Status() string
Status returns HTTPResponse.Status
func (ListClusterNodePoolsResponse) StatusCode ¶
func (r ListClusterNodePoolsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LoginJSONRequestBody ¶
type LoginJSONRequestBody = externalRef0.Login
LoginJSONRequestBody defines body for Login for application/json ContentType.
type LoginResponse ¶
type LoginResponse struct { Body []byte HTTPResponse *http.Response JSON200 *externalRef0.Tokens JSON422 *externalRef0.UnprocessableEntityErrors }
func ParseLoginResponse ¶
func ParseLoginResponse(rsp *http.Response) (*LoginResponse, error)
ParseLoginResponse parses an HTTP response from a LoginWithResponse call
func (LoginResponse) Status ¶
func (r LoginResponse) Status() string
Status returns HTTPResponse.Status
func (LoginResponse) StatusCode ¶
func (r LoginResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RefreshResponse ¶
type RefreshResponse struct { Body []byte HTTPResponse *http.Response JSON200 *externalRef0.Tokens }
func ParseRefreshResponse ¶
func ParseRefreshResponse(rsp *http.Response) (*RefreshResponse, error)
ParseRefreshResponse parses an HTTP response from a RefreshWithResponse call
func (RefreshResponse) Status ¶
func (r RefreshResponse) Status() string
Status returns HTTPResponse.Status
func (RefreshResponse) StatusCode ¶
func (r RefreshResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type UpdateClusterWorkloadJSONRequestBody ¶
type UpdateClusterWorkloadJSONRequestBody = externalRef0.Workload
UpdateClusterWorkloadJSONRequestBody defines body for UpdateClusterWorkload for application/json ContentType.
type UpdateClusterWorkloadResponse ¶
type UpdateClusterWorkloadResponse struct { Body []byte HTTPResponse *http.Response JSON422 *externalRef0.UnprocessableEntityErrors }
func ParseUpdateClusterWorkloadResponse ¶
func ParseUpdateClusterWorkloadResponse(rsp *http.Response) (*UpdateClusterWorkloadResponse, error)
ParseUpdateClusterWorkloadResponse parses an HTTP response from a UpdateClusterWorkloadWithResponse call
func (UpdateClusterWorkloadResponse) Status ¶
func (r UpdateClusterWorkloadResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateClusterWorkloadResponse) StatusCode ¶
func (r UpdateClusterWorkloadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateNodePoolJSONRequestBody ¶
type UpdateNodePoolJSONRequestBody = externalRef0.NodePoolOptions
UpdateNodePoolJSONRequestBody defines body for UpdateNodePool for application/json ContentType.
type UpdateNodePoolResponse ¶
type UpdateNodePoolResponse struct { Body []byte HTTPResponse *http.Response JSON202 *externalRef0.NodePool }
func ParseUpdateNodePoolResponse ¶
func ParseUpdateNodePoolResponse(rsp *http.Response) (*UpdateNodePoolResponse, error)
ParseUpdateNodePoolResponse parses an HTTP response from a UpdateNodePoolWithResponse call
func (UpdateNodePoolResponse) Status ¶
func (r UpdateNodePoolResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateNodePoolResponse) StatusCode ¶
func (r UpdateNodePoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateOrganizationCredentialJSONRequestBody ¶
type UpdateOrganizationCredentialJSONRequestBody = externalRef0.Credential
UpdateOrganizationCredentialJSONRequestBody defines body for UpdateOrganizationCredential for application/json ContentType.
type UpdateOrganizationCredentialResponse ¶
func ParseUpdateOrganizationCredentialResponse ¶
func ParseUpdateOrganizationCredentialResponse(rsp *http.Response) (*UpdateOrganizationCredentialResponse, error)
ParseUpdateOrganizationCredentialResponse parses an HTTP response from a UpdateOrganizationCredentialWithResponse call
func (UpdateOrganizationCredentialResponse) Status ¶
func (r UpdateOrganizationCredentialResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateOrganizationCredentialResponse) StatusCode ¶
func (r UpdateOrganizationCredentialResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WhoamiResponse ¶
type WhoamiResponse struct { Body []byte HTTPResponse *http.Response JSON200 *externalRef0.User }
func ParseWhoamiResponse ¶
func ParseWhoamiResponse(rsp *http.Response) (*WhoamiResponse, error)
ParseWhoamiResponse parses an HTTP response from a WhoamiWithResponse call
func (WhoamiResponse) Status ¶
func (r WhoamiResponse) Status() string
Status returns HTTPResponse.Status
func (WhoamiResponse) StatusCode ¶
func (r WhoamiResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode