client

package
v0.0.0-...-9dac8d6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 26, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

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

View Source
const (
	BearerAuthScopes = "bearerAuth.Scopes"
)

Variables

This section is empty.

Functions

func NewCreateClusterKubeconfigRequest

func NewCreateClusterKubeconfigRequest(server string, organizationName string, clusterName string, body CreateClusterKubeconfigJSONRequestBody) (*http.Request, error)

NewCreateClusterKubeconfigRequest calls the generic CreateClusterKubeconfig builder with application/json body

func NewCreateClusterKubeconfigRequestWithBody

func NewCreateClusterKubeconfigRequestWithBody(server string, organizationName string, clusterName string, contentType string, body io.Reader) (*http.Request, error)

NewCreateClusterKubeconfigRequestWithBody generates requests for CreateClusterKubeconfig with any type of body

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 NewCreateOrganizationInvitationRequest

func NewCreateOrganizationInvitationRequest(server string, organizationName string, body CreateOrganizationInvitationJSONRequestBody) (*http.Request, error)

NewCreateOrganizationInvitationRequest calls the generic CreateOrganizationInvitation builder with application/json body

func NewCreateOrganizationInvitationRequestWithBody

func NewCreateOrganizationInvitationRequestWithBody(server string, organizationName string, contentType string, body io.Reader) (*http.Request, error)

NewCreateOrganizationInvitationRequestWithBody generates requests for CreateOrganizationInvitation with any type of body

func NewCreateOrganizationRequest

func NewCreateOrganizationRequest(server string, body CreateOrganizationJSONRequestBody) (*http.Request, error)

NewCreateOrganizationRequest calls the generic CreateOrganization builder with application/json body

func NewCreateOrganizationRequestWithBody

func NewCreateOrganizationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateOrganizationRequestWithBody generates requests for CreateOrganization 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

func NewDeleteClusterRequest(server string, clusterID string) (*http.Request, error)

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 NewDeleteInvitationRequest

func NewDeleteInvitationRequest(server string, organizationName string) (*http.Request, error)

NewDeleteInvitationRequest generates requests for DeleteInvitation

func NewDeleteOrganizationCredentialRequest

func NewDeleteOrganizationCredentialRequest(server string, organizationName string, credentialName string) (*http.Request, error)

NewDeleteOrganizationCredentialRequest generates requests for DeleteOrganizationCredential

func NewDeleteOrganizationInvitationRequest

func NewDeleteOrganizationInvitationRequest(server string, organizationName string, invitationName string) (*http.Request, error)

NewDeleteOrganizationInvitationRequest generates requests for DeleteOrganizationInvitation

func NewDeleteOrganizationRequest

func NewDeleteOrganizationRequest(server string, organizationName string) (*http.Request, error)

NewDeleteOrganizationRequest generates requests for DeleteOrganization

func NewGetClusterNodePoolRequest

func NewGetClusterNodePoolRequest(server string, organizationName string, clusterName string, nodePoolName string) (*http.Request, error)

NewGetClusterNodePoolRequest generates requests for GetClusterNodePool

func NewGetClusterOptionsRequest

func NewGetClusterOptionsRequest(server string) (*http.Request, error)

NewGetClusterOptionsRequest generates requests for GetClusterOptions

func NewGetClusterRequest

func NewGetClusterRequest(server string, clusterID string) (*http.Request, error)

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 NewGetIPPoolsRequest

func NewGetIPPoolsRequest(server string, organizationName string) (*http.Request, error)

NewGetIPPoolsRequest generates requests for GetIPPools

func NewGetInvitationsRequest

func NewGetInvitationsRequest(server string) (*http.Request, error)

NewGetInvitationsRequest generates requests for GetInvitations

func NewGetOrganizationClustersRequest

func NewGetOrganizationClustersRequest(server string, organizationName string) (*http.Request, error)

NewGetOrganizationClustersRequest generates requests for GetOrganizationClusters

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 NewGetOrganizationInvitationsRequest

func NewGetOrganizationInvitationsRequest(server string, organizationName string) (*http.Request, error)

NewGetOrganizationInvitationsRequest generates requests for GetOrganizationInvitations

func NewGetOrganizationsRequest

func NewGetOrganizationsRequest(server string) (*http.Request, error)

NewGetOrganizationsRequest generates requests for GetOrganizations

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

func NewRefreshRequest(server string) (*http.Request, error)

NewRefreshRequest generates requests for Refresh

func NewUpdateClusterNodePoolRequest

func NewUpdateClusterNodePoolRequest(server string, organizationName string, clusterName string, nodePoolName string, body UpdateClusterNodePoolJSONRequestBody) (*http.Request, error)

NewUpdateClusterNodePoolRequest calls the generic UpdateClusterNodePool builder with application/json body

func NewUpdateClusterNodePoolRequestWithBody

func NewUpdateClusterNodePoolRequestWithBody(server string, organizationName string, clusterName string, nodePoolName string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateClusterNodePoolRequestWithBody generates requests for UpdateClusterNodePool with any type of body

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 NewUpdateInvitationRequest

func NewUpdateInvitationRequest(server string, organizationName string, body UpdateInvitationJSONRequestBody) (*http.Request, error)

NewUpdateInvitationRequest calls the generic UpdateInvitation builder with application/json body

func NewUpdateInvitationRequestWithBody

func NewUpdateInvitationRequestWithBody(server string, organizationName string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateInvitationRequestWithBody generates requests for UpdateInvitation 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

func NewUpdateOrganizationRequest

func NewUpdateOrganizationRequest(server string, organizationName string, body UpdateOrganizationJSONRequestBody) (*http.Request, error)

NewUpdateOrganizationRequest calls the generic UpdateOrganization builder with application/json body

func NewUpdateOrganizationRequestWithBody

func NewUpdateOrganizationRequestWithBody(server string, organizationName string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateOrganizationRequestWithBody generates requests for UpdateOrganization with any type of body

func NewWhoamiRequest

func NewWhoamiRequest(server string) (*http.Request, error)

NewWhoamiRequest generates requests for Whoami

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) CreateClusterKubeconfig

func (c *Client) CreateClusterKubeconfig(ctx context.Context, organizationName string, clusterName string, body CreateClusterKubeconfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateClusterKubeconfigWithBody

func (c *Client) CreateClusterKubeconfigWithBody(ctx context.Context, organizationName string, clusterName string, contentType string, body io.Reader, 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 (c *Client) CreateClusterNodePoolWithBody(ctx context.Context, organizationName string, clusterName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateClusterWithBody

func (c *Client) CreateClusterWithBody(ctx context.Context, organizationName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

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 (c *Client) CreateClusterWorkloadWithBody(ctx context.Context, organizationName string, clusterName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateNodePool

func (c *Client) CreateNodePool(ctx context.Context, clusterID string, body CreateNodePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateNodePoolWithBody

func (c *Client) CreateNodePoolWithBody(ctx context.Context, clusterID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateOrganization

func (c *Client) CreateOrganization(ctx context.Context, body CreateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateOrganizationCredential

func (c *Client) CreateOrganizationCredential(ctx context.Context, organizationName string, body CreateOrganizationCredentialJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateOrganizationCredentialWithBody

func (c *Client) CreateOrganizationCredentialWithBody(ctx context.Context, organizationName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateOrganizationInvitation

func (c *Client) CreateOrganizationInvitation(ctx context.Context, organizationName string, body CreateOrganizationInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateOrganizationInvitationWithBody

func (c *Client) CreateOrganizationInvitationWithBody(ctx context.Context, organizationName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateOrganizationWithBody

func (c *Client) CreateOrganizationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteCluster

func (c *Client) DeleteCluster(ctx context.Context, clusterID string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteClusterNodePool

func (c *Client) DeleteClusterNodePool(ctx context.Context, organizationName string, clusterName string, nodePoolName string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteClusterWorkload

func (c *Client) DeleteClusterWorkload(ctx context.Context, organizationName string, clusterName string, workloadName string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteInvitation

func (c *Client) DeleteInvitation(ctx context.Context, organizationName string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteOrganization

func (c *Client) DeleteOrganization(ctx context.Context, organizationName string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteOrganizationCredential

func (c *Client) DeleteOrganizationCredential(ctx context.Context, organizationName string, credentialName string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteOrganizationInvitation

func (c *Client) DeleteOrganizationInvitation(ctx context.Context, organizationName string, invitationName string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCluster

func (c *Client) GetCluster(ctx context.Context, clusterID string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetClusterNodePool

func (c *Client) GetClusterNodePool(ctx context.Context, organizationName string, clusterName string, nodePoolName string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetClusterOptions

func (c *Client) GetClusterOptions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetClusterWorkload

func (c *Client) GetClusterWorkload(ctx context.Context, organizationName string, clusterName string, workloadName string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetClusterWorkloads

func (c *Client) GetClusterWorkloads(ctx context.Context, organizationName string, clusterName string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetIPPools

func (c *Client) GetIPPools(ctx context.Context, organizationName string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetInvitations

func (c *Client) GetInvitations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetOrganizationClusters

func (c *Client) GetOrganizationClusters(ctx context.Context, organizationName string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetOrganizationCredential

func (c *Client) GetOrganizationCredential(ctx context.Context, organizationName string, credentialName string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetOrganizationCredentials

func (c *Client) GetOrganizationCredentials(ctx context.Context, organizationName string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetOrganizationInvitations

func (c *Client) GetOrganizationInvitations(ctx context.Context, organizationName string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetOrganizations

func (c *Client) GetOrganizations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListClusterNodePools

func (c *Client) ListClusterNodePools(ctx context.Context, organizationName string, clusterName string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) Login

func (c *Client) Login(ctx context.Context, body LoginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) LoginWithBody

func (c *Client) LoginWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) Refresh

func (c *Client) Refresh(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateClusterNodePool

func (c *Client) UpdateClusterNodePool(ctx context.Context, organizationName string, clusterName string, nodePoolName string, body UpdateClusterNodePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateClusterNodePoolWithBody

func (c *Client) UpdateClusterNodePoolWithBody(ctx context.Context, organizationName string, clusterName string, nodePoolName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateClusterWorkload

func (c *Client) UpdateClusterWorkload(ctx context.Context, organizationName string, clusterName string, workloadName string, body UpdateClusterWorkloadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateClusterWorkloadWithBody

func (c *Client) UpdateClusterWorkloadWithBody(ctx context.Context, organizationName string, clusterName string, workloadName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateInvitation

func (c *Client) UpdateInvitation(ctx context.Context, organizationName string, body UpdateInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateInvitationWithBody

func (c *Client) UpdateInvitationWithBody(ctx context.Context, organizationName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateOrganization

func (c *Client) UpdateOrganization(ctx context.Context, organizationName string, body UpdateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateOrganizationCredential

func (c *Client) UpdateOrganizationCredential(ctx context.Context, organizationName string, credentialName string, body UpdateOrganizationCredentialJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateOrganizationCredentialWithBody

func (c *Client) UpdateOrganizationCredentialWithBody(ctx context.Context, organizationName string, credentialName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateOrganizationWithBody

func (c *Client) UpdateOrganizationWithBody(ctx context.Context, organizationName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) Whoami

func (c *Client) Whoami(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// GetClusterOptions request
	GetClusterOptions(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)

	// 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)

	// GetInvitations request
	GetInvitations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteInvitation request
	DeleteInvitation(ctx context.Context, organizationName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateInvitationWithBody request with any body
	UpdateInvitationWithBody(ctx context.Context, organizationName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateInvitation(ctx context.Context, organizationName string, body UpdateInvitationJSONRequestBody, 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)

	// GetOrganizations request
	GetOrganizations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateOrganizationWithBody request with any body
	CreateOrganizationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateOrganization(ctx context.Context, body CreateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteOrganization request
	DeleteOrganization(ctx context.Context, organizationName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateOrganizationWithBody request with any body
	UpdateOrganizationWithBody(ctx context.Context, organizationName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateOrganization(ctx context.Context, organizationName string, body UpdateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOrganizationClusters request
	GetOrganizationClusters(ctx context.Context, organizationName string, 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)

	// CreateClusterKubeconfigWithBody request with any body
	CreateClusterKubeconfigWithBody(ctx context.Context, organizationName string, clusterName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateClusterKubeconfig(ctx context.Context, organizationName string, clusterName string, body CreateClusterKubeconfigJSONRequestBody, 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)

	// UpdateClusterNodePoolWithBody request with any body
	UpdateClusterNodePoolWithBody(ctx context.Context, organizationName string, clusterName string, nodePoolName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateClusterNodePool(ctx context.Context, organizationName string, clusterName string, nodePoolName string, body UpdateClusterNodePoolJSONRequestBody, 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)

	// GetOrganizationInvitations request
	GetOrganizationInvitations(ctx context.Context, organizationName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateOrganizationInvitationWithBody request with any body
	CreateOrganizationInvitationWithBody(ctx context.Context, organizationName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateOrganizationInvitation(ctx context.Context, organizationName string, body CreateOrganizationInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteOrganizationInvitation request
	DeleteOrganizationInvitation(ctx context.Context, organizationName string, invitationName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetIPPools request
	GetIPPools(ctx context.Context, organizationName string, 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

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

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) CreateClusterKubeconfigWithBodyWithResponse

func (c *ClientWithResponses) CreateClusterKubeconfigWithBodyWithResponse(ctx context.Context, organizationName string, clusterName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateClusterKubeconfigResponse, error)

CreateClusterKubeconfigWithBodyWithResponse request with arbitrary body returning *CreateClusterKubeconfigResponse

func (*ClientWithResponses) CreateClusterKubeconfigWithResponse

func (c *ClientWithResponses) CreateClusterKubeconfigWithResponse(ctx context.Context, organizationName string, clusterName string, body CreateClusterKubeconfigJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateClusterKubeconfigResponse, error)

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) CreateOrganizationInvitationWithBodyWithResponse

func (c *ClientWithResponses) CreateOrganizationInvitationWithBodyWithResponse(ctx context.Context, organizationName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationInvitationResponse, error)

CreateOrganizationInvitationWithBodyWithResponse request with arbitrary body returning *CreateOrganizationInvitationResponse

func (*ClientWithResponses) CreateOrganizationInvitationWithResponse

func (c *ClientWithResponses) CreateOrganizationInvitationWithResponse(ctx context.Context, organizationName string, body CreateOrganizationInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationInvitationResponse, error)

func (*ClientWithResponses) CreateOrganizationWithBodyWithResponse

func (c *ClientWithResponses) CreateOrganizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationResponse, error)

CreateOrganizationWithBodyWithResponse request with arbitrary body returning *CreateOrganizationResponse

func (*ClientWithResponses) CreateOrganizationWithResponse

func (c *ClientWithResponses) CreateOrganizationWithResponse(ctx context.Context, body CreateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationResponse, 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) DeleteInvitationWithResponse

func (c *ClientWithResponses) DeleteInvitationWithResponse(ctx context.Context, organizationName string, reqEditors ...RequestEditorFn) (*DeleteInvitationResponse, error)

DeleteInvitationWithResponse request returning *DeleteInvitationResponse

func (*ClientWithResponses) DeleteOrganizationCredentialWithResponse

func (c *ClientWithResponses) DeleteOrganizationCredentialWithResponse(ctx context.Context, organizationName string, credentialName string, reqEditors ...RequestEditorFn) (*DeleteOrganizationCredentialResponse, error)

DeleteOrganizationCredentialWithResponse request returning *DeleteOrganizationCredentialResponse

func (*ClientWithResponses) DeleteOrganizationInvitationWithResponse

func (c *ClientWithResponses) DeleteOrganizationInvitationWithResponse(ctx context.Context, organizationName string, invitationName string, reqEditors ...RequestEditorFn) (*DeleteOrganizationInvitationResponse, error)

DeleteOrganizationInvitationWithResponse request returning *DeleteOrganizationInvitationResponse

func (*ClientWithResponses) DeleteOrganizationWithResponse

func (c *ClientWithResponses) DeleteOrganizationWithResponse(ctx context.Context, organizationName string, reqEditors ...RequestEditorFn) (*DeleteOrganizationResponse, error)

DeleteOrganizationWithResponse request returning *DeleteOrganizationResponse

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) GetIPPoolsWithResponse

func (c *ClientWithResponses) GetIPPoolsWithResponse(ctx context.Context, organizationName string, reqEditors ...RequestEditorFn) (*GetIPPoolsResponse, error)

GetIPPoolsWithResponse request returning *GetIPPoolsResponse

func (*ClientWithResponses) GetInvitationsWithResponse

func (c *ClientWithResponses) GetInvitationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetInvitationsResponse, error)

GetInvitationsWithResponse request returning *GetInvitationsResponse

func (*ClientWithResponses) GetOrganizationClustersWithResponse

func (c *ClientWithResponses) GetOrganizationClustersWithResponse(ctx context.Context, organizationName string, reqEditors ...RequestEditorFn) (*GetOrganizationClustersResponse, error)

GetOrganizationClustersWithResponse request returning *GetOrganizationClustersResponse

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) GetOrganizationInvitationsWithResponse

func (c *ClientWithResponses) GetOrganizationInvitationsWithResponse(ctx context.Context, organizationName string, reqEditors ...RequestEditorFn) (*GetOrganizationInvitationsResponse, error)

GetOrganizationInvitationsWithResponse request returning *GetOrganizationInvitationsResponse

func (*ClientWithResponses) GetOrganizationsWithResponse

func (c *ClientWithResponses) GetOrganizationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOrganizationsResponse, error)

GetOrganizationsWithResponse request returning *GetOrganizationsResponse

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) UpdateClusterNodePoolWithBodyWithResponse

func (c *ClientWithResponses) UpdateClusterNodePoolWithBodyWithResponse(ctx context.Context, organizationName string, clusterName string, nodePoolName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateClusterNodePoolResponse, error)

UpdateClusterNodePoolWithBodyWithResponse request with arbitrary body returning *UpdateClusterNodePoolResponse

func (*ClientWithResponses) UpdateClusterNodePoolWithResponse

func (c *ClientWithResponses) UpdateClusterNodePoolWithResponse(ctx context.Context, organizationName string, clusterName string, nodePoolName string, body UpdateClusterNodePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateClusterNodePoolResponse, error)

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) UpdateInvitationWithBodyWithResponse

func (c *ClientWithResponses) UpdateInvitationWithBodyWithResponse(ctx context.Context, organizationName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateInvitationResponse, error)

UpdateInvitationWithBodyWithResponse request with arbitrary body returning *UpdateInvitationResponse

func (*ClientWithResponses) UpdateInvitationWithResponse

func (c *ClientWithResponses) UpdateInvitationWithResponse(ctx context.Context, organizationName string, body UpdateInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateInvitationResponse, 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) UpdateOrganizationWithBodyWithResponse

func (c *ClientWithResponses) UpdateOrganizationWithBodyWithResponse(ctx context.Context, organizationName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrganizationResponse, error)

UpdateOrganizationWithBodyWithResponse request with arbitrary body returning *UpdateOrganizationResponse

func (*ClientWithResponses) UpdateOrganizationWithResponse

func (c *ClientWithResponses) UpdateOrganizationWithResponse(ctx context.Context, organizationName string, body UpdateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrganizationResponse, 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)

	// DeleteClusterWithResponse request
	DeleteClusterWithResponse(ctx context.Context, clusterID string, reqEditors ...RequestEditorFn) (*DeleteClusterResponse, error)

	// GetClusterWithResponse request
	GetClusterWithResponse(ctx context.Context, clusterID string, reqEditors ...RequestEditorFn) (*GetClusterResponse, 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)

	// GetInvitationsWithResponse request
	GetInvitationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetInvitationsResponse, error)

	// DeleteInvitationWithResponse request
	DeleteInvitationWithResponse(ctx context.Context, organizationName string, reqEditors ...RequestEditorFn) (*DeleteInvitationResponse, error)

	// UpdateInvitationWithBodyWithResponse request with any body
	UpdateInvitationWithBodyWithResponse(ctx context.Context, organizationName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateInvitationResponse, error)

	UpdateInvitationWithResponse(ctx context.Context, organizationName string, body UpdateInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateInvitationResponse, 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)

	// GetOrganizationsWithResponse request
	GetOrganizationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOrganizationsResponse, error)

	// CreateOrganizationWithBodyWithResponse request with any body
	CreateOrganizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationResponse, error)

	CreateOrganizationWithResponse(ctx context.Context, body CreateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationResponse, error)

	// DeleteOrganizationWithResponse request
	DeleteOrganizationWithResponse(ctx context.Context, organizationName string, reqEditors ...RequestEditorFn) (*DeleteOrganizationResponse, error)

	// UpdateOrganizationWithBodyWithResponse request with any body
	UpdateOrganizationWithBodyWithResponse(ctx context.Context, organizationName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrganizationResponse, error)

	UpdateOrganizationWithResponse(ctx context.Context, organizationName string, body UpdateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrganizationResponse, error)

	// GetOrganizationClustersWithResponse request
	GetOrganizationClustersWithResponse(ctx context.Context, organizationName string, reqEditors ...RequestEditorFn) (*GetOrganizationClustersResponse, 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)

	// CreateClusterKubeconfigWithBodyWithResponse request with any body
	CreateClusterKubeconfigWithBodyWithResponse(ctx context.Context, organizationName string, clusterName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateClusterKubeconfigResponse, error)

	CreateClusterKubeconfigWithResponse(ctx context.Context, organizationName string, clusterName string, body CreateClusterKubeconfigJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateClusterKubeconfigResponse, 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)

	// UpdateClusterNodePoolWithBodyWithResponse request with any body
	UpdateClusterNodePoolWithBodyWithResponse(ctx context.Context, organizationName string, clusterName string, nodePoolName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateClusterNodePoolResponse, error)

	UpdateClusterNodePoolWithResponse(ctx context.Context, organizationName string, clusterName string, nodePoolName string, body UpdateClusterNodePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateClusterNodePoolResponse, 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)

	// GetOrganizationInvitationsWithResponse request
	GetOrganizationInvitationsWithResponse(ctx context.Context, organizationName string, reqEditors ...RequestEditorFn) (*GetOrganizationInvitationsResponse, error)

	// CreateOrganizationInvitationWithBodyWithResponse request with any body
	CreateOrganizationInvitationWithBodyWithResponse(ctx context.Context, organizationName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationInvitationResponse, error)

	CreateOrganizationInvitationWithResponse(ctx context.Context, organizationName string, body CreateOrganizationInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationInvitationResponse, error)

	// DeleteOrganizationInvitationWithResponse request
	DeleteOrganizationInvitationWithResponse(ctx context.Context, organizationName string, invitationName string, reqEditors ...RequestEditorFn) (*DeleteOrganizationInvitationResponse, error)

	// GetIPPoolsWithResponse request
	GetIPPoolsWithResponse(ctx context.Context, organizationName string, reqEditors ...RequestEditorFn) (*GetIPPoolsResponse, 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 CreateClusterKubeconfigJSONRequestBody

type CreateClusterKubeconfigJSONRequestBody = externalRef0.KubeconfigOptions

CreateClusterKubeconfigJSONRequestBody defines body for CreateClusterKubeconfig for application/json ContentType.

type CreateClusterKubeconfigResponse

type CreateClusterKubeconfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	YAML201      *openapi_types.File
}

func ParseCreateClusterKubeconfigResponse

func ParseCreateClusterKubeconfigResponse(rsp *http.Response) (*CreateClusterKubeconfigResponse, error)

ParseCreateClusterKubeconfigResponse parses an HTTP response from a CreateClusterKubeconfigWithResponse call

func (CreateClusterKubeconfigResponse) Status

Status returns HTTPResponse.Status

func (CreateClusterKubeconfigResponse) StatusCode

func (r CreateClusterKubeconfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateClusterNodePoolJSONRequestBody

type CreateClusterNodePoolJSONRequestBody = externalRef0.NodePoolOptions

CreateClusterNodePoolJSONRequestBody defines body for CreateClusterNodePool for application/json ContentType.

type CreateClusterNodePoolResponse

type CreateClusterNodePoolResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *externalRef0.NodePool
	JSON422      *externalRef0.UnprocessableEntityErrors
}

func ParseCreateClusterNodePoolResponse

func ParseCreateClusterNodePoolResponse(rsp *http.Response) (*CreateClusterNodePoolResponse, error)

ParseCreateClusterNodePoolResponse parses an HTTP response from a CreateClusterNodePoolWithResponse call

func (CreateClusterNodePoolResponse) Status

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.WorkloadOptions

CreateClusterWorkloadJSONRequestBody defines body for CreateClusterWorkload for application/json ContentType.

type CreateClusterWorkloadResponse

type CreateClusterWorkloadResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *externalRef0.Workload
	JSON422      *externalRef0.UnprocessableEntityErrors
}

func ParseCreateClusterWorkloadResponse

func ParseCreateClusterWorkloadResponse(rsp *http.Response) (*CreateClusterWorkloadResponse, error)

ParseCreateClusterWorkloadResponse parses an HTTP response from a CreateClusterWorkloadWithResponse call

func (CreateClusterWorkloadResponse) Status

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.CredentialOptions

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

Status returns HTTPResponse.Status

func (CreateOrganizationCredentialResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateOrganizationInvitationJSONRequestBody

type CreateOrganizationInvitationJSONRequestBody = externalRef0.InvitationOptions

CreateOrganizationInvitationJSONRequestBody defines body for CreateOrganizationInvitation for application/json ContentType.

type CreateOrganizationInvitationResponse

type CreateOrganizationInvitationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *[]externalRef0.Invitation
	JSON422      *externalRef0.UnprocessableEntityErrors
}

func ParseCreateOrganizationInvitationResponse

func ParseCreateOrganizationInvitationResponse(rsp *http.Response) (*CreateOrganizationInvitationResponse, error)

ParseCreateOrganizationInvitationResponse parses an HTTP response from a CreateOrganizationInvitationWithResponse call

func (CreateOrganizationInvitationResponse) Status

Status returns HTTPResponse.Status

func (CreateOrganizationInvitationResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateOrganizationJSONRequestBody

type CreateOrganizationJSONRequestBody = externalRef0.OrganizationOptions

CreateOrganizationJSONRequestBody defines body for CreateOrganization for application/json ContentType.

type CreateOrganizationResponse

type CreateOrganizationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *externalRef0.Organization
	JSON422      *externalRef0.UnprocessableEntityErrors
}

func ParseCreateOrganizationResponse

func ParseCreateOrganizationResponse(rsp *http.Response) (*CreateOrganizationResponse, error)

ParseCreateOrganizationResponse parses an HTTP response from a CreateOrganizationWithResponse call

func (CreateOrganizationResponse) Status

Status returns HTTPResponse.Status

func (CreateOrganizationResponse) StatusCode

func (r CreateOrganizationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteClusterNodePoolResponse

type DeleteClusterNodePoolResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteClusterNodePoolResponse

func ParseDeleteClusterNodePoolResponse(rsp *http.Response) (*DeleteClusterNodePoolResponse, error)

ParseDeleteClusterNodePoolResponse parses an HTTP response from a DeleteClusterNodePoolWithResponse call

func (DeleteClusterNodePoolResponse) Status

Status returns HTTPResponse.Status

func (DeleteClusterNodePoolResponse) StatusCode

func (r DeleteClusterNodePoolResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteClusterResponse

type DeleteClusterResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

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

type DeleteClusterWorkloadResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteClusterWorkloadResponse

func ParseDeleteClusterWorkloadResponse(rsp *http.Response) (*DeleteClusterWorkloadResponse, error)

ParseDeleteClusterWorkloadResponse parses an HTTP response from a DeleteClusterWorkloadWithResponse call

func (DeleteClusterWorkloadResponse) Status

Status returns HTTPResponse.Status

func (DeleteClusterWorkloadResponse) StatusCode

func (r DeleteClusterWorkloadResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteInvitationResponse

type DeleteInvitationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteInvitationResponse

func ParseDeleteInvitationResponse(rsp *http.Response) (*DeleteInvitationResponse, error)

ParseDeleteInvitationResponse parses an HTTP response from a DeleteInvitationWithResponse call

func (DeleteInvitationResponse) Status

func (r DeleteInvitationResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteInvitationResponse) StatusCode

func (r DeleteInvitationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteOrganizationCredentialResponse

type DeleteOrganizationCredentialResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteOrganizationCredentialResponse

func ParseDeleteOrganizationCredentialResponse(rsp *http.Response) (*DeleteOrganizationCredentialResponse, error)

ParseDeleteOrganizationCredentialResponse parses an HTTP response from a DeleteOrganizationCredentialWithResponse call

func (DeleteOrganizationCredentialResponse) Status

Status returns HTTPResponse.Status

func (DeleteOrganizationCredentialResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteOrganizationInvitationResponse

type DeleteOrganizationInvitationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteOrganizationInvitationResponse

func ParseDeleteOrganizationInvitationResponse(rsp *http.Response) (*DeleteOrganizationInvitationResponse, error)

ParseDeleteOrganizationInvitationResponse parses an HTTP response from a DeleteOrganizationInvitationWithResponse call

func (DeleteOrganizationInvitationResponse) Status

Status returns HTTPResponse.Status

func (DeleteOrganizationInvitationResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteOrganizationResponse

type DeleteOrganizationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteOrganizationResponse

func ParseDeleteOrganizationResponse(rsp *http.Response) (*DeleteOrganizationResponse, error)

ParseDeleteOrganizationResponse parses an HTTP response from a DeleteOrganizationWithResponse call

func (DeleteOrganizationResponse) Status

Status returns HTTPResponse.Status

func (DeleteOrganizationResponse) StatusCode

func (r DeleteOrganizationResponse) 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

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

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

Status returns HTTPResponse.Status

func (GetClusterWorkloadsResponse) StatusCode

func (r GetClusterWorkloadsResponse) 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 GetInvitationsResponse

type GetInvitationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]externalRef0.Invitation
}

func ParseGetInvitationsResponse

func ParseGetInvitationsResponse(rsp *http.Response) (*GetInvitationsResponse, error)

ParseGetInvitationsResponse parses an HTTP response from a GetInvitationsWithResponse call

func (GetInvitationsResponse) Status

func (r GetInvitationsResponse) Status() string

Status returns HTTPResponse.Status

func (GetInvitationsResponse) StatusCode

func (r GetInvitationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOrganizationClustersResponse

type GetOrganizationClustersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]externalRef0.Cluster
}

func ParseGetOrganizationClustersResponse

func ParseGetOrganizationClustersResponse(rsp *http.Response) (*GetOrganizationClustersResponse, error)

ParseGetOrganizationClustersResponse parses an HTTP response from a GetOrganizationClustersWithResponse call

func (GetOrganizationClustersResponse) Status

Status returns HTTPResponse.Status

func (GetOrganizationClustersResponse) StatusCode

func (r GetOrganizationClustersResponse) 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

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

Status returns HTTPResponse.Status

func (GetOrganizationCredentialsResponse) StatusCode

func (r GetOrganizationCredentialsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOrganizationInvitationsResponse

type GetOrganizationInvitationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]externalRef0.Invitation
}

func ParseGetOrganizationInvitationsResponse

func ParseGetOrganizationInvitationsResponse(rsp *http.Response) (*GetOrganizationInvitationsResponse, error)

ParseGetOrganizationInvitationsResponse parses an HTTP response from a GetOrganizationInvitationsWithResponse call

func (GetOrganizationInvitationsResponse) Status

Status returns HTTPResponse.Status

func (GetOrganizationInvitationsResponse) StatusCode

func (r GetOrganizationInvitationsResponse) 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 HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type ListClusterNodePoolsResponse

type ListClusterNodePoolsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]externalRef0.NodePool
}

func ParseListClusterNodePoolsResponse

func ParseListClusterNodePoolsResponse(rsp *http.Response) (*ListClusterNodePoolsResponse, error)

ParseListClusterNodePoolsResponse parses an HTTP response from a ListClusterNodePoolsWithResponse call

func (ListClusterNodePoolsResponse) Status

Status returns HTTPResponse.Status

func (ListClusterNodePoolsResponse) StatusCode

func (r ListClusterNodePoolsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type LoginJSONRequestBody

type LoginJSONRequestBody = externalRef0.LoginOptions

LoginJSONRequestBody defines body for Login for application/json ContentType.

type LoginResponse

type LoginResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *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

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type UpdateClusterNodePoolJSONRequestBody

type UpdateClusterNodePoolJSONRequestBody = externalRef0.NodePoolOptions

UpdateClusterNodePoolJSONRequestBody defines body for UpdateClusterNodePool for application/json ContentType.

type UpdateClusterNodePoolResponse

type UpdateClusterNodePoolResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseUpdateClusterNodePoolResponse

func ParseUpdateClusterNodePoolResponse(rsp *http.Response) (*UpdateClusterNodePoolResponse, error)

ParseUpdateClusterNodePoolResponse parses an HTTP response from a UpdateClusterNodePoolWithResponse call

func (UpdateClusterNodePoolResponse) Status

Status returns HTTPResponse.Status

func (UpdateClusterNodePoolResponse) StatusCode

func (r UpdateClusterNodePoolResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateClusterWorkloadJSONRequestBody

type UpdateClusterWorkloadJSONRequestBody = externalRef0.WorkloadOptions

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

Status returns HTTPResponse.Status

func (UpdateClusterWorkloadResponse) StatusCode

func (r UpdateClusterWorkloadResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateInvitationJSONRequestBody

type UpdateInvitationJSONRequestBody = externalRef0.InvitationOptions

UpdateInvitationJSONRequestBody defines body for UpdateInvitation for application/json ContentType.

type UpdateInvitationResponse

type UpdateInvitationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseUpdateInvitationResponse

func ParseUpdateInvitationResponse(rsp *http.Response) (*UpdateInvitationResponse, error)

ParseUpdateInvitationResponse parses an HTTP response from a UpdateInvitationWithResponse call

func (UpdateInvitationResponse) Status

func (r UpdateInvitationResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateInvitationResponse) StatusCode

func (r UpdateInvitationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateOrganizationCredentialJSONRequestBody

type UpdateOrganizationCredentialJSONRequestBody = externalRef0.CredentialOptions

UpdateOrganizationCredentialJSONRequestBody defines body for UpdateOrganizationCredential for application/json ContentType.

type UpdateOrganizationCredentialResponse

type UpdateOrganizationCredentialResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseUpdateOrganizationCredentialResponse

func ParseUpdateOrganizationCredentialResponse(rsp *http.Response) (*UpdateOrganizationCredentialResponse, error)

ParseUpdateOrganizationCredentialResponse parses an HTTP response from a UpdateOrganizationCredentialWithResponse call

func (UpdateOrganizationCredentialResponse) Status

Status returns HTTPResponse.Status

func (UpdateOrganizationCredentialResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateOrganizationJSONRequestBody

type UpdateOrganizationJSONRequestBody = externalRef0.OrganizationOptions

UpdateOrganizationJSONRequestBody defines body for UpdateOrganization for application/json ContentType.

type UpdateOrganizationResponse

type UpdateOrganizationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON422      *externalRef0.UnprocessableEntityErrors
}

func ParseUpdateOrganizationResponse

func ParseUpdateOrganizationResponse(rsp *http.Response) (*UpdateOrganizationResponse, error)

ParseUpdateOrganizationResponse parses an HTTP response from a UpdateOrganizationWithResponse call

func (UpdateOrganizationResponse) Status

Status returns HTTPResponse.Status

func (UpdateOrganizationResponse) StatusCode

func (r UpdateOrganizationResponse) 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL