openapi

package
v0.2.39-2 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Overview

Package openapi provides primitives to interact with the openapi HTTP API.

Code generated by github.com/deepmap/oapi-codegen version v1.16.2 DO NOT EDIT.

Package openapi provides primitives to interact with the openapi HTTP API.

Code generated by github.com/deepmap/oapi-codegen version v1.16.2 DO NOT EDIT.

Package openapi provides primitives to interact with the openapi HTTP API.

Code generated by github.com/deepmap/oapi-codegen version v1.16.2 DO NOT EDIT.

Package openapi provides primitives to interact with the openapi HTTP API.

Code generated by github.com/deepmap/oapi-codegen version v1.16.2 DO NOT EDIT.

Index

Constants

View Source
const (
	Oauth2AuthenticationScopes = "oauth2Authentication.Scopes"
)

Variables

This section is empty.

Functions

func GetSwagger

func GetSwagger() (swagger *openapi3.T, err error)

GetSwagger returns the Swagger specification corresponding to the generated code in this file. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to "import-mapping" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.

func Handler

func Handler(si ServerInterface) http.Handler

Handler creates http.Handler with routing matching OpenAPI spec.

func HandlerFromMux

func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler

HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.

func HandlerFromMuxWithBaseURL

func HandlerFromMuxWithBaseURL(si ServerInterface, r chi.Router, baseURL string) http.Handler

func HandlerWithOptions

func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler

HandlerWithOptions creates http.Handler with additional options

func NewDeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDRequest

func NewDeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDRequest(server string, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterManagerID ClusterManagerIDParameter) (*http.Request, error)

NewDeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDRequest generates requests for DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerID

func NewDeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDRequest

func NewDeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDRequest(server string, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter) (*http.Request, error)

NewDeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDRequest generates requests for DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID

func NewGetApiV1OrganizationsOrganizationIDApplicationsRequest added in v0.2.27

func NewGetApiV1OrganizationsOrganizationIDApplicationsRequest(server string, organizationID OrganizationIDParameter) (*http.Request, error)

NewGetApiV1OrganizationsOrganizationIDApplicationsRequest generates requests for GetApiV1OrganizationsOrganizationIDApplications

func NewGetApiV1OrganizationsOrganizationIDClustermanagersRequest

func NewGetApiV1OrganizationsOrganizationIDClustermanagersRequest(server string, organizationID OrganizationIDParameter) (*http.Request, error)

NewGetApiV1OrganizationsOrganizationIDClustermanagersRequest generates requests for GetApiV1OrganizationsOrganizationIDClustermanagers

func NewGetApiV1OrganizationsOrganizationIDClustersRequest

func NewGetApiV1OrganizationsOrganizationIDClustersRequest(server string, organizationID OrganizationIDParameter) (*http.Request, error)

NewGetApiV1OrganizationsOrganizationIDClustersRequest generates requests for GetApiV1OrganizationsOrganizationIDClusters

func NewGetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDKubeconfigRequest

func NewGetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDKubeconfigRequest(server string, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter) (*http.Request, error)

NewGetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDKubeconfigRequest generates requests for GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDKubeconfig

func NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersRequest

func NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersRequest(server string, organizationID OrganizationIDParameter, projectID ProjectIDParameter, body PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersJSONRequestBody) (*http.Request, error)

NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersRequest calls the generic PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagers builder with application/json body

func NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersRequestWithBody

func NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersRequestWithBody(server string, organizationID OrganizationIDParameter, projectID ProjectIDParameter, contentType string, body io.Reader) (*http.Request, error)

NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersRequestWithBody generates requests for PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagers with any type of body

func NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersRequest

func NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersRequest(server string, organizationID OrganizationIDParameter, projectID ProjectIDParameter, body PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersJSONRequestBody) (*http.Request, error)

NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersRequest calls the generic PostApiV1OrganizationsOrganizationIDProjectsProjectIDClusters builder with application/json body

func NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersRequestWithBody

func NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersRequestWithBody(server string, organizationID OrganizationIDParameter, projectID ProjectIDParameter, contentType string, body io.Reader) (*http.Request, error)

NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersRequestWithBody generates requests for PostApiV1OrganizationsOrganizationIDProjectsProjectIDClusters with any type of body

func NewPutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDRequest

func NewPutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDRequest(server string, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterManagerID ClusterManagerIDParameter, body PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDJSONRequestBody) (*http.Request, error)

NewPutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDRequest calls the generic PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerID builder with application/json body

func NewPutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDRequestWithBody

func NewPutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDRequestWithBody(server string, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterManagerID ClusterManagerIDParameter, contentType string, body io.Reader) (*http.Request, error)

NewPutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDRequestWithBody generates requests for PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerID with any type of body

func NewPutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDRequest

func NewPutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDRequest(server string, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, body PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDJSONRequestBody) (*http.Request, error)

NewPutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDRequest calls the generic PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID builder with application/json body

func NewPutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDRequestWithBody

func NewPutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDRequestWithBody(server string, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, contentType string, body io.Reader) (*http.Request, error)

NewPutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDRequestWithBody generates requests for PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID with any type of body

func PathToRawSpec

func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)

Constructs a synthetic filesystem for resolving external references when loading openapi specifications.

Types

type ApplicationDependencies

type ApplicationDependencies = []ApplicationDependency

ApplicationDependencies A set of applications that will be installed before this application.

type ApplicationDependency

type ApplicationDependency struct {
	// Name The application name.
	Name string `json:"name"`
}

ApplicationDependency An application dependency.

type ApplicationRead

type ApplicationRead struct {
	// Metadata Resource metadata valid for all reads.
	Metadata externalRef0.ResourceReadMetadata `json:"metadata"`

	// Spec An application.
	Spec ApplicationSpec `json:"spec"`
}

ApplicationRead defines model for applicationRead.

type ApplicationRecommends

type ApplicationRecommends = []ApplicationDependency

ApplicationRecommends A set of recommended application that may be installed after this application.

type ApplicationResponse

type ApplicationResponse = Applications

ApplicationResponse A list of appications.

type ApplicationSpec

type ApplicationSpec struct {
	// Documentation Documentation link for the application.
	Documentation string `json:"documentation"`

	// HumanReadableName Human readable application name.
	HumanReadableName string `json:"humanReadableName"`

	// Icon A base64 encoded SVG icon.  This should work in both light and dark themes.
	Icon []byte `json:"icon"`

	// License The license under which the application is released.
	License string `json:"license"`

	// Tags A set of tags for filtering applications.
	Tags *ApplicationTags `json:"tags,omitempty"`

	// Versions A set of application versions.
	Versions ApplicationVersions `json:"versions"`
}

ApplicationSpec An application.

type ApplicationTags

type ApplicationTags = []string

ApplicationTags A set of tags for filtering applications.

type ApplicationVersion

type ApplicationVersion struct {
	// Dependencies A set of applications that will be installed before this application.
	Dependencies *ApplicationDependencies `json:"dependencies,omitempty"`

	// Recommends A set of recommended application that may be installed after this application.
	Recommends *ApplicationRecommends `json:"recommends,omitempty"`

	// Version The application's Helm chart version.
	Version string `json:"version"`
}

ApplicationVersion An application version.

type ApplicationVersions

type ApplicationVersions = []ApplicationVersion

ApplicationVersions A set of application versions.

type Applications

type Applications = []ApplicationRead

Applications A list of appications.

type ChiServerOptions

type ChiServerOptions struct {
	BaseURL          string
	BaseRouter       chi.Router
	Middlewares      []MiddlewareFunc
	ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}

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

func (c *Client) DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerID(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterManagerID ClusterManagerIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID

func (c *Client) DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetApiV1OrganizationsOrganizationIDApplications added in v0.2.27

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

func (*Client) GetApiV1OrganizationsOrganizationIDClustermanagers

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

func (*Client) GetApiV1OrganizationsOrganizationIDClusters

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

func (*Client) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDKubeconfig

func (c *Client) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDKubeconfig(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagers

func (c *Client) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagers(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, body PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersWithBody

func (c *Client) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersWithBody(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClusters

func (c *Client) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClusters(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, body PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersWithBody

func (c *Client) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersWithBody(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDWithBody

func (c *Client) PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDWithBody(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterManagerID ClusterManagerIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithBody

func (c *Client) PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithBody(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// GetApiV1OrganizationsOrganizationIDApplications request
	GetApiV1OrganizationsOrganizationIDApplications(ctx context.Context, organizationID OrganizationIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetApiV1OrganizationsOrganizationIDClustermanagers request
	GetApiV1OrganizationsOrganizationIDClustermanagers(ctx context.Context, organizationID OrganizationIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetApiV1OrganizationsOrganizationIDClusters request
	GetApiV1OrganizationsOrganizationIDClusters(ctx context.Context, organizationID OrganizationIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersWithBody request with any body
	PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersWithBody(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagers(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, body PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerID request
	DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerID(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterManagerID ClusterManagerIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDWithBody request with any body
	PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDWithBody(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterManagerID ClusterManagerIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerID(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterManagerID ClusterManagerIDParameter, body PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersWithBody request with any body
	PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersWithBody(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostApiV1OrganizationsOrganizationIDProjectsProjectIDClusters(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, body PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID request
	DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithBody request with any body
	PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithBody(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, body PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDKubeconfig request
	GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDKubeconfig(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, 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) DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDWithResponse

func (c *ClientWithResponses) DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterManagerID ClusterManagerIDParameter, reqEditors ...RequestEditorFn) (*DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDResponse, error)

DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDWithResponse request returning *DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDResponse

func (*ClientWithResponses) DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithResponse

func (c *ClientWithResponses) DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, reqEditors ...RequestEditorFn) (*DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse, error)

DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithResponse request returning *DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse

func (*ClientWithResponses) GetApiV1OrganizationsOrganizationIDApplicationsWithResponse added in v0.2.27

func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationIDApplicationsWithResponse(ctx context.Context, organizationID OrganizationIDParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationIDApplicationsResponse, error)

GetApiV1OrganizationsOrganizationIDApplicationsWithResponse request returning *GetApiV1OrganizationsOrganizationIDApplicationsResponse

func (*ClientWithResponses) GetApiV1OrganizationsOrganizationIDClustermanagersWithResponse

func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationIDClustermanagersWithResponse(ctx context.Context, organizationID OrganizationIDParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationIDClustermanagersResponse, error)

GetApiV1OrganizationsOrganizationIDClustermanagersWithResponse request returning *GetApiV1OrganizationsOrganizationIDClustermanagersResponse

func (*ClientWithResponses) GetApiV1OrganizationsOrganizationIDClustersWithResponse

func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationIDClustersWithResponse(ctx context.Context, organizationID OrganizationIDParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationIDClustersResponse, error)

GetApiV1OrganizationsOrganizationIDClustersWithResponse request returning *GetApiV1OrganizationsOrganizationIDClustersResponse

func (*ClientWithResponses) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDKubeconfigWithResponse

func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDKubeconfigWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDKubeconfigResponse, error)

GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDKubeconfigWithResponse request returning *GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDKubeconfigResponse

func (*ClientWithResponses) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersWithBodyWithResponse

func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersWithBodyWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersResponse, error)

PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersWithBodyWithResponse request with arbitrary body returning *PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersResponse

func (*ClientWithResponses) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersWithBodyWithResponse

func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersWithBodyWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersResponse, error)

PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersWithBodyWithResponse request with arbitrary body returning *PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersResponse

func (*ClientWithResponses) PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDWithBodyWithResponse

func (c *ClientWithResponses) PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDWithBodyWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterManagerID ClusterManagerIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDResponse, error)

PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDWithBodyWithResponse request with arbitrary body returning *PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDResponse

func (*ClientWithResponses) PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithBodyWithResponse

func (c *ClientWithResponses) PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithBodyWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse, error)

PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithBodyWithResponse request with arbitrary body returning *PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// GetApiV1OrganizationsOrganizationIDApplicationsWithResponse request
	GetApiV1OrganizationsOrganizationIDApplicationsWithResponse(ctx context.Context, organizationID OrganizationIDParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationIDApplicationsResponse, error)

	// GetApiV1OrganizationsOrganizationIDClustermanagersWithResponse request
	GetApiV1OrganizationsOrganizationIDClustermanagersWithResponse(ctx context.Context, organizationID OrganizationIDParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationIDClustermanagersResponse, error)

	// GetApiV1OrganizationsOrganizationIDClustersWithResponse request
	GetApiV1OrganizationsOrganizationIDClustersWithResponse(ctx context.Context, organizationID OrganizationIDParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationIDClustersResponse, error)

	// PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersWithBodyWithResponse request with any body
	PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersWithBodyWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersResponse, error)

	PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, body PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersResponse, error)

	// DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDWithResponse request
	DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterManagerID ClusterManagerIDParameter, reqEditors ...RequestEditorFn) (*DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDResponse, error)

	// PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDWithBodyWithResponse request with any body
	PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDWithBodyWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterManagerID ClusterManagerIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDResponse, error)

	PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterManagerID ClusterManagerIDParameter, body PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDResponse, error)

	// PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersWithBodyWithResponse request with any body
	PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersWithBodyWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersResponse, error)

	PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, body PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersResponse, error)

	// DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithResponse request
	DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, reqEditors ...RequestEditorFn) (*DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse, error)

	// PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithBodyWithResponse request with any body
	PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithBodyWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse, error)

	PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, body PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse, error)

	// GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDKubeconfigWithResponse request
	GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDKubeconfigWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDKubeconfigResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type ClusterIDParameter

type ClusterIDParameter = KubernetesNameParameter

ClusterIDParameter A Kubernetes name. Must be a valid DNS containing only lower case characters, numbers or hyphens, start and end with a character or number, and be at most 63 characters in length.

type ClusterManagerIDParameter

type ClusterManagerIDParameter = KubernetesNameParameter

ClusterManagerIDParameter A Kubernetes name. Must be a valid DNS containing only lower case characters, numbers or hyphens, start and end with a character or number, and be at most 63 characters in length.

type ClusterManagerRead

type ClusterManagerRead struct {
	Metadata externalRef0.ProjectScopedResourceReadMetadata `json:"metadata"`
}

ClusterManagerRead A cluster manager.

type ClusterManagerResponse added in v0.2.29

type ClusterManagerResponse = ClusterManagerRead

ClusterManagerResponse A cluster manager.

type ClusterManagerWrite

type ClusterManagerWrite struct {
	// Metadata Resource metadata valid for all API resource reads and writes.
	Metadata externalRef0.ResourceWriteMetadata `json:"metadata"`
}

ClusterManagerWrite A cluster manager.

type ClusterManagers

type ClusterManagers = []ClusterManagerRead

ClusterManagers A list of cluster managers.

type ClusterManagersResponse

type ClusterManagersResponse = ClusterManagers

ClusterManagersResponse A list of cluster managers.

type CreateControlPlaneRequest

type CreateControlPlaneRequest = ClusterManagerWrite

CreateControlPlaneRequest A cluster manager.

type CreateKubernetesClusterRequest

type CreateKubernetesClusterRequest = KubernetesClusterWrite

CreateKubernetesClusterRequest Kubernetes cluster create or update.

type DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDResponse

type DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *externalRef0.BadRequestResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON404      *externalRef0.NotFoundResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParseDeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDResponse

func ParseDeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDResponse(rsp *http.Response) (*DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDResponse, error)

ParseDeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDResponse parses an HTTP response from a DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDWithResponse call

func (DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDResponse) Status

Status returns HTTPResponse.Status

func (DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse

type DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *externalRef0.BadRequestResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON404      *externalRef0.NotFoundResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParseDeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse

func ParseDeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse(rsp *http.Response) (*DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse, error)

ParseDeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse parses an HTTP response from a DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithResponse call

func (DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse) Status

Status returns HTTPResponse.Status

func (DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetApiV1OrganizationsOrganizationIDApplicationsResponse added in v0.2.27

type GetApiV1OrganizationsOrganizationIDApplicationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ApplicationResponse
	JSON400      *externalRef0.BadRequestResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParseGetApiV1OrganizationsOrganizationIDApplicationsResponse added in v0.2.27

func ParseGetApiV1OrganizationsOrganizationIDApplicationsResponse(rsp *http.Response) (*GetApiV1OrganizationsOrganizationIDApplicationsResponse, error)

ParseGetApiV1OrganizationsOrganizationIDApplicationsResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationIDApplicationsWithResponse call

func (GetApiV1OrganizationsOrganizationIDApplicationsResponse) Status added in v0.2.27

Status returns HTTPResponse.Status

func (GetApiV1OrganizationsOrganizationIDApplicationsResponse) StatusCode added in v0.2.27

StatusCode returns HTTPResponse.StatusCode

type GetApiV1OrganizationsOrganizationIDClustermanagersResponse

type GetApiV1OrganizationsOrganizationIDClustermanagersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ClusterManagersResponse
	JSON400      *externalRef0.BadRequestResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON404      *externalRef0.NotFoundResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParseGetApiV1OrganizationsOrganizationIDClustermanagersResponse

func ParseGetApiV1OrganizationsOrganizationIDClustermanagersResponse(rsp *http.Response) (*GetApiV1OrganizationsOrganizationIDClustermanagersResponse, error)

ParseGetApiV1OrganizationsOrganizationIDClustermanagersResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationIDClustermanagersWithResponse call

func (GetApiV1OrganizationsOrganizationIDClustermanagersResponse) Status

Status returns HTTPResponse.Status

func (GetApiV1OrganizationsOrganizationIDClustermanagersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetApiV1OrganizationsOrganizationIDClustersResponse

type GetApiV1OrganizationsOrganizationIDClustersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *KubernetesClustersResponse
	JSON400      *externalRef0.BadRequestResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON404      *externalRef0.NotFoundResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParseGetApiV1OrganizationsOrganizationIDClustersResponse

func ParseGetApiV1OrganizationsOrganizationIDClustersResponse(rsp *http.Response) (*GetApiV1OrganizationsOrganizationIDClustersResponse, error)

ParseGetApiV1OrganizationsOrganizationIDClustersResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationIDClustersWithResponse call

func (GetApiV1OrganizationsOrganizationIDClustersResponse) Status

Status returns HTTPResponse.Status

func (GetApiV1OrganizationsOrganizationIDClustersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDKubeconfigResponse

type GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDKubeconfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *externalRef0.BadRequestResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON404      *externalRef0.NotFoundResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParseGetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDKubeconfigResponse

func ParseGetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDKubeconfigResponse(rsp *http.Response) (*GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDKubeconfigResponse, error)

ParseGetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDKubeconfigResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDKubeconfigWithResponse call

func (GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDKubeconfigResponse) Status

Status returns HTTPResponse.Status

func (GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDKubeconfigResponse) StatusCode

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 InvalidParamFormatError

type InvalidParamFormatError struct {
	ParamName string
	Err       error
}

func (*InvalidParamFormatError) Error

func (e *InvalidParamFormatError) Error() string

func (*InvalidParamFormatError) Unwrap

func (e *InvalidParamFormatError) Unwrap() error

type KubernetesClusterAutoscaling

type KubernetesClusterAutoscaling struct {
	// MinimumReplicas The minimum number of replicas to allow. Must be less than the maximum.
	MinimumReplicas int `json:"minimumReplicas"`
}

KubernetesClusterAutoscaling A Kubernetes cluster workload pool autoscaling configuration. Cluster autoscaling must also be enabled in the cluster features.

type KubernetesClusterRead

type KubernetesClusterRead struct {
	Metadata externalRef0.ProjectScopedResourceReadMetadata `json:"metadata"`

	// Spec Kubernetes cluster creation parameters.
	Spec KubernetesClusterSpec `json:"spec"`
}

KubernetesClusterRead Kubernetes cluster read.

type KubernetesClusterResponse added in v0.2.29

type KubernetesClusterResponse = KubernetesClusterRead

KubernetesClusterResponse Kubernetes cluster read.

type KubernetesClusterSpec

type KubernetesClusterSpec struct {
	// ClusterManagerId The name of the cluster manager to use, if one is not specified
	// the system will create one for you.
	ClusterManagerId *string `json:"clusterManagerId,omitempty"`

	// RegionId The region to provision the cluster in.
	RegionId string `json:"regionId"`

	// Version The Kuebernetes version.  This should be derived from image metadata.
	Version string `json:"version"`

	// WorkloadPools A list of Kubernetes cluster workload pools.
	WorkloadPools KubernetesClusterWorkloadPools `json:"workloadPools"`
}

KubernetesClusterSpec Kubernetes cluster creation parameters.

type KubernetesClusterWorkloadPool

type KubernetesClusterWorkloadPool struct {
	// Autoscaling A Kubernetes cluster workload pool autoscaling configuration. Cluster autoscaling
	// must also be enabled in the cluster features.
	Autoscaling *KubernetesClusterAutoscaling `json:"autoscaling,omitempty"`

	// Labels Workload pool key value labels to apply on node creation.
	Labels *map[string]string `json:"labels,omitempty"`

	// Machine A Kubernetes cluster machine.
	Machine MachinePool `json:"machine"`

	// Name Workload pool name.
	Name string `json:"name"`
}

KubernetesClusterWorkloadPool A Kuberntes cluster workload pool.

type KubernetesClusterWorkloadPools

type KubernetesClusterWorkloadPools = []KubernetesClusterWorkloadPool

KubernetesClusterWorkloadPools A list of Kubernetes cluster workload pools.

type KubernetesClusterWrite

type KubernetesClusterWrite struct {
	// Metadata Resource metadata valid for all API resource reads and writes.
	Metadata externalRef0.ResourceWriteMetadata `json:"metadata"`

	// Spec Kubernetes cluster creation parameters.
	Spec KubernetesClusterSpec `json:"spec"`
}

KubernetesClusterWrite Kubernetes cluster create or update.

type KubernetesClusters

type KubernetesClusters = []KubernetesClusterRead

KubernetesClusters A list of Kubernetes clusters.

type KubernetesClustersResponse

type KubernetesClustersResponse = KubernetesClusters

KubernetesClustersResponse A list of Kubernetes clusters.

type KubernetesNameParameter

type KubernetesNameParameter = string

KubernetesNameParameter A Kubernetes name. Must be a valid DNS containing only lower case characters, numbers or hyphens, start and end with a character or number, and be at most 63 characters in length.

type MachinePool

type MachinePool struct {
	// Disk A volume.
	Disk *Volume `json:"disk,omitempty"`

	// FlavorId Flavor ID.
	FlavorId *string `json:"flavorId,omitempty"`

	// Replicas Number of machines for a statically sized pool or the maximum for an auto-scaled pool.
	Replicas *int `json:"replicas,omitempty"`
}

MachinePool A Kubernetes cluster machine.

type MiddlewareFunc

type MiddlewareFunc func(http.Handler) http.Handler

type OrganizationIDParameter

type OrganizationIDParameter = KubernetesNameParameter

OrganizationIDParameter A Kubernetes name. Must be a valid DNS containing only lower case characters, numbers or hyphens, start and end with a character or number, and be at most 63 characters in length.

type PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersJSONRequestBody

type PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersJSONRequestBody = ClusterManagerWrite

PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersJSONRequestBody defines body for PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagers for application/json ContentType.

type PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersResponse

type PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *ClusterManagerResponse
	JSON400      *externalRef0.BadRequestResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON409      *externalRef0.ConflictResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParsePostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersResponse

func ParsePostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersResponse(rsp *http.Response) (*PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersResponse, error)

ParsePostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersResponse parses an HTTP response from a PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersWithResponse call

func (PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersResponse) Status

Status returns HTTPResponse.Status

func (PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersJSONRequestBody

type PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersJSONRequestBody = KubernetesClusterWrite

PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersJSONRequestBody defines body for PostApiV1OrganizationsOrganizationIDProjectsProjectIDClusters for application/json ContentType.

type PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersResponse

type PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *KubernetesClusterResponse
	JSON400      *externalRef0.BadRequestResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON409      *externalRef0.ConflictResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParsePostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersResponse

func ParsePostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersResponse(rsp *http.Response) (*PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersResponse, error)

ParsePostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersResponse parses an HTTP response from a PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersWithResponse call

func (PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersResponse) Status

Status returns HTTPResponse.Status

func (PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ProjectIDParameter

type ProjectIDParameter = KubernetesNameParameter

ProjectIDParameter A Kubernetes name. Must be a valid DNS containing only lower case characters, numbers or hyphens, start and end with a character or number, and be at most 63 characters in length.

type PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDJSONRequestBody

type PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDJSONRequestBody = ClusterManagerWrite

PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDJSONRequestBody defines body for PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerID for application/json ContentType.

type PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDResponse

type PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *externalRef0.BadRequestResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON404      *externalRef0.NotFoundResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParsePutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDResponse

func ParsePutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDResponse(rsp *http.Response) (*PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDResponse, error)

ParsePutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDResponse parses an HTTP response from a PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDWithResponse call

func (PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDResponse) Status

Status returns HTTPResponse.Status

func (PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerIDResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDJSONRequestBody

type PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDJSONRequestBody = KubernetesClusterWrite

PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDJSONRequestBody defines body for PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID for application/json ContentType.

type PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse

type PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *externalRef0.BadRequestResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON404      *externalRef0.NotFoundResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParsePutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse

func ParsePutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse(rsp *http.Response) (*PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse, error)

ParsePutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse parses an HTTP response from a PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithResponse call

func (PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse) Status

Status returns HTTPResponse.Status

func (PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse) StatusCode

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 RequiredHeaderError

type RequiredHeaderError struct {
	ParamName string
	Err       error
}

func (*RequiredHeaderError) Error

func (e *RequiredHeaderError) Error() string

func (*RequiredHeaderError) Unwrap

func (e *RequiredHeaderError) Unwrap() error

type RequiredParamError

type RequiredParamError struct {
	ParamName string
}

func (*RequiredParamError) Error

func (e *RequiredParamError) Error() string

type ServerInterface

type ServerInterface interface {

	// (GET /api/v1/organizations/{organizationID}/applications)
	GetApiV1OrganizationsOrganizationIDApplications(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter)

	// (GET /api/v1/organizations/{organizationID}/clustermanagers)
	GetApiV1OrganizationsOrganizationIDClustermanagers(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter)

	// (GET /api/v1/organizations/{organizationID}/clusters)
	GetApiV1OrganizationsOrganizationIDClusters(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter)

	// (POST /api/v1/organizations/{organizationID}/projects/{projectID}/clustermanagers)
	PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagers(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, projectID ProjectIDParameter)

	// (DELETE /api/v1/organizations/{organizationID}/projects/{projectID}/clustermanagers/{clusterManagerID})
	DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerID(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterManagerID ClusterManagerIDParameter)

	// (PUT /api/v1/organizations/{organizationID}/projects/{projectID}/clustermanagers/{clusterManagerID})
	PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerID(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterManagerID ClusterManagerIDParameter)

	// (POST /api/v1/organizations/{organizationID}/projects/{projectID}/clusters)
	PostApiV1OrganizationsOrganizationIDProjectsProjectIDClusters(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, projectID ProjectIDParameter)

	// (DELETE /api/v1/organizations/{organizationID}/projects/{projectID}/clusters/{clusterID})
	DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter)

	// (PUT /api/v1/organizations/{organizationID}/projects/{projectID}/clusters/{clusterID})
	PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter)

	// (GET /api/v1/organizations/{organizationID}/projects/{projectID}/clusters/{clusterID}/kubeconfig)
	GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDKubeconfig(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter)
}

ServerInterface represents all server handlers.

type ServerInterfaceWrapper

type ServerInterfaceWrapper struct {
	Handler            ServerInterface
	HandlerMiddlewares []MiddlewareFunc
	ErrorHandlerFunc   func(w http.ResponseWriter, r *http.Request, err error)
}

ServerInterfaceWrapper converts contexts to parameters.

func (*ServerInterfaceWrapper) DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerID

func (siw *ServerInterfaceWrapper) DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerID(w http.ResponseWriter, r *http.Request)

DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerID operation middleware

func (*ServerInterfaceWrapper) DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID

func (siw *ServerInterfaceWrapper) DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID(w http.ResponseWriter, r *http.Request)

DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID operation middleware

func (*ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDApplications added in v0.2.27

func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDApplications(w http.ResponseWriter, r *http.Request)

GetApiV1OrganizationsOrganizationIDApplications operation middleware

func (*ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDClustermanagers

func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDClustermanagers(w http.ResponseWriter, r *http.Request)

GetApiV1OrganizationsOrganizationIDClustermanagers operation middleware

func (*ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDClusters

func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDClusters(w http.ResponseWriter, r *http.Request)

GetApiV1OrganizationsOrganizationIDClusters operation middleware

func (*ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDKubeconfig

func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDKubeconfig(w http.ResponseWriter, r *http.Request)

GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDKubeconfig operation middleware

func (*ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagers

func (siw *ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagers(w http.ResponseWriter, r *http.Request)

PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagers operation middleware

func (*ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClusters

func (siw *ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClusters(w http.ResponseWriter, r *http.Request)

PostApiV1OrganizationsOrganizationIDProjectsProjectIDClusters operation middleware

func (*ServerInterfaceWrapper) PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerID

func (siw *ServerInterfaceWrapper) PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerID(w http.ResponseWriter, r *http.Request)

PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerID operation middleware

func (*ServerInterfaceWrapper) PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID

func (siw *ServerInterfaceWrapper) PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID(w http.ResponseWriter, r *http.Request)

PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID operation middleware

type TooManyValuesForParamError

type TooManyValuesForParamError struct {
	ParamName string
	Count     int
}

func (*TooManyValuesForParamError) Error

type UnescapedCookieParamError

type UnescapedCookieParamError struct {
	ParamName string
	Err       error
}

func (*UnescapedCookieParamError) Error

func (e *UnescapedCookieParamError) Error() string

func (*UnescapedCookieParamError) Unwrap

func (e *UnescapedCookieParamError) Unwrap() error

type Unimplemented

type Unimplemented struct{}

func (Unimplemented) DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerID

func (_ Unimplemented) DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerID(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterManagerID ClusterManagerIDParameter)

(DELETE /api/v1/organizations/{organizationID}/projects/{projectID}/clustermanagers/{clusterManagerID})

func (Unimplemented) DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID

func (_ Unimplemented) DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter)

(DELETE /api/v1/organizations/{organizationID}/projects/{projectID}/clusters/{clusterID})

func (Unimplemented) GetApiV1OrganizationsOrganizationIDApplications added in v0.2.27

func (_ Unimplemented) GetApiV1OrganizationsOrganizationIDApplications(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter)

(GET /api/v1/organizations/{organizationID}/applications)

func (Unimplemented) GetApiV1OrganizationsOrganizationIDClustermanagers

func (_ Unimplemented) GetApiV1OrganizationsOrganizationIDClustermanagers(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter)

(GET /api/v1/organizations/{organizationID}/clustermanagers)

func (Unimplemented) GetApiV1OrganizationsOrganizationIDClusters

func (_ Unimplemented) GetApiV1OrganizationsOrganizationIDClusters(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter)

(GET /api/v1/organizations/{organizationID}/clusters)

func (Unimplemented) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDKubeconfig

func (_ Unimplemented) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDKubeconfig(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter)

(GET /api/v1/organizations/{organizationID}/projects/{projectID}/clusters/{clusterID}/kubeconfig)

func (Unimplemented) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagers

func (_ Unimplemented) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagers(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, projectID ProjectIDParameter)

(POST /api/v1/organizations/{organizationID}/projects/{projectID}/clustermanagers)

func (Unimplemented) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClusters

func (_ Unimplemented) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClusters(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, projectID ProjectIDParameter)

(POST /api/v1/organizations/{organizationID}/projects/{projectID}/clusters)

func (Unimplemented) PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerID

func (_ Unimplemented) PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustermanagersClusterManagerID(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterManagerID ClusterManagerIDParameter)

(PUT /api/v1/organizations/{organizationID}/projects/{projectID}/clustermanagers/{clusterManagerID})

func (Unimplemented) PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID

func (_ Unimplemented) PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter)

(PUT /api/v1/organizations/{organizationID}/projects/{projectID}/clusters/{clusterID})

type UnmarshalingParamError

type UnmarshalingParamError struct {
	ParamName string
	Err       error
}

func (*UnmarshalingParamError) Error

func (e *UnmarshalingParamError) Error() string

func (*UnmarshalingParamError) Unwrap

func (e *UnmarshalingParamError) Unwrap() error

type Volume

type Volume struct {
	// Size Disk size in GiB.
	Size int `json:"size"`
}

Volume A volume.

Jump to

Keyboard shortcuts

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