generated

package
v0.3.61 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

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

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

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

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

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

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

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

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

Index

Constants

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 NewDeleteApiV1ControlplanesControlPlaneNameClustersClusterNameRequest

func NewDeleteApiV1ControlplanesControlPlaneNameClustersClusterNameRequest(server string, controlPlaneName ControlPlaneNameParameter, clusterName ClusterNameParameter) (*http.Request, error)

NewDeleteApiV1ControlplanesControlPlaneNameClustersClusterNameRequest generates requests for DeleteApiV1ControlplanesControlPlaneNameClustersClusterName

func NewDeleteApiV1ControlplanesControlPlaneNameRequest

func NewDeleteApiV1ControlplanesControlPlaneNameRequest(server string, controlPlaneName ControlPlaneNameParameter) (*http.Request, error)

NewDeleteApiV1ControlplanesControlPlaneNameRequest generates requests for DeleteApiV1ControlplanesControlPlaneName

func NewDeleteApiV1ProjectRequest

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

NewDeleteApiV1ProjectRequest generates requests for DeleteApiV1Project

func NewGetApiV1ApplicationbundlesClusterRequest

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

NewGetApiV1ApplicationbundlesClusterRequest generates requests for GetApiV1ApplicationbundlesCluster

func NewGetApiV1ApplicationbundlesControlPlaneRequest

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

NewGetApiV1ApplicationbundlesControlPlaneRequest generates requests for GetApiV1ApplicationbundlesControlPlane

func NewGetApiV1ApplicationsRequest

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

NewGetApiV1ApplicationsRequest generates requests for GetApiV1Applications

func NewGetApiV1AuthJwksRequest

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

NewGetApiV1AuthJwksRequest generates requests for GetApiV1AuthJwks

func NewGetApiV1AuthOauth2AuthorizationRequest

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

NewGetApiV1AuthOauth2AuthorizationRequest generates requests for GetApiV1AuthOauth2Authorization

func NewGetApiV1AuthOidcCallbackRequest

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

NewGetApiV1AuthOidcCallbackRequest generates requests for GetApiV1AuthOidcCallback

func NewGetApiV1ControlplanesControlPlaneNameClustersClusterNameKubeconfigRequest

func NewGetApiV1ControlplanesControlPlaneNameClustersClusterNameKubeconfigRequest(server string, controlPlaneName ControlPlaneNameParameter, clusterName ClusterNameParameter) (*http.Request, error)

NewGetApiV1ControlplanesControlPlaneNameClustersClusterNameKubeconfigRequest generates requests for GetApiV1ControlplanesControlPlaneNameClustersClusterNameKubeconfig

func NewGetApiV1ControlplanesControlPlaneNameClustersClusterNameRequest

func NewGetApiV1ControlplanesControlPlaneNameClustersClusterNameRequest(server string, controlPlaneName ControlPlaneNameParameter, clusterName ClusterNameParameter) (*http.Request, error)

NewGetApiV1ControlplanesControlPlaneNameClustersClusterNameRequest generates requests for GetApiV1ControlplanesControlPlaneNameClustersClusterName

func NewGetApiV1ControlplanesControlPlaneNameClustersRequest

func NewGetApiV1ControlplanesControlPlaneNameClustersRequest(server string, controlPlaneName ControlPlaneNameParameter) (*http.Request, error)

NewGetApiV1ControlplanesControlPlaneNameClustersRequest generates requests for GetApiV1ControlplanesControlPlaneNameClusters

func NewGetApiV1ControlplanesControlPlaneNameRequest

func NewGetApiV1ControlplanesControlPlaneNameRequest(server string, controlPlaneName ControlPlaneNameParameter) (*http.Request, error)

NewGetApiV1ControlplanesControlPlaneNameRequest generates requests for GetApiV1ControlplanesControlPlaneName

func NewGetApiV1ControlplanesRequest

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

NewGetApiV1ControlplanesRequest generates requests for GetApiV1Controlplanes

func NewGetApiV1ProvidersOpenstackAvailabilityZonesBlockStorageRequest

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

NewGetApiV1ProvidersOpenstackAvailabilityZonesBlockStorageRequest generates requests for GetApiV1ProvidersOpenstackAvailabilityZonesBlockStorage

func NewGetApiV1ProvidersOpenstackAvailabilityZonesComputeRequest

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

NewGetApiV1ProvidersOpenstackAvailabilityZonesComputeRequest generates requests for GetApiV1ProvidersOpenstackAvailabilityZonesCompute

func NewGetApiV1ProvidersOpenstackExternalNetworksRequest

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

NewGetApiV1ProvidersOpenstackExternalNetworksRequest generates requests for GetApiV1ProvidersOpenstackExternalNetworks

func NewGetApiV1ProvidersOpenstackFlavorsRequest

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

NewGetApiV1ProvidersOpenstackFlavorsRequest generates requests for GetApiV1ProvidersOpenstackFlavors

func NewGetApiV1ProvidersOpenstackImagesRequest

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

NewGetApiV1ProvidersOpenstackImagesRequest generates requests for GetApiV1ProvidersOpenstackImages

func NewGetApiV1ProvidersOpenstackKeyPairsRequest

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

NewGetApiV1ProvidersOpenstackKeyPairsRequest generates requests for GetApiV1ProvidersOpenstackKeyPairs

func NewGetApiV1ProvidersOpenstackProjectsRequest

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

NewGetApiV1ProvidersOpenstackProjectsRequest generates requests for GetApiV1ProvidersOpenstackProjects

func NewPostApiV1AuthOauth2TokensRequestWithBody

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

NewPostApiV1AuthOauth2TokensRequestWithBody generates requests for PostApiV1AuthOauth2Tokens with any type of body

func NewPostApiV1AuthOauth2TokensRequestWithFormdataBody

func NewPostApiV1AuthOauth2TokensRequestWithFormdataBody(server string, body PostApiV1AuthOauth2TokensFormdataRequestBody) (*http.Request, error)

NewPostApiV1AuthOauth2TokensRequestWithFormdataBody calls the generic PostApiV1AuthOauth2Tokens builder with application/x-www-form-urlencoded body

func NewPostApiV1AuthTokensTokenRequest

func NewPostApiV1AuthTokensTokenRequest(server string, body PostApiV1AuthTokensTokenJSONRequestBody) (*http.Request, error)

NewPostApiV1AuthTokensTokenRequest calls the generic PostApiV1AuthTokensToken builder with application/json body

func NewPostApiV1AuthTokensTokenRequestWithBody

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

NewPostApiV1AuthTokensTokenRequestWithBody generates requests for PostApiV1AuthTokensToken with any type of body

func NewPostApiV1ControlplanesControlPlaneNameClustersRequest

func NewPostApiV1ControlplanesControlPlaneNameClustersRequest(server string, controlPlaneName ControlPlaneNameParameter, body PostApiV1ControlplanesControlPlaneNameClustersJSONRequestBody) (*http.Request, error)

NewPostApiV1ControlplanesControlPlaneNameClustersRequest calls the generic PostApiV1ControlplanesControlPlaneNameClusters builder with application/json body

func NewPostApiV1ControlplanesControlPlaneNameClustersRequestWithBody

func NewPostApiV1ControlplanesControlPlaneNameClustersRequestWithBody(server string, controlPlaneName ControlPlaneNameParameter, contentType string, body io.Reader) (*http.Request, error)

NewPostApiV1ControlplanesControlPlaneNameClustersRequestWithBody generates requests for PostApiV1ControlplanesControlPlaneNameClusters with any type of body

func NewPostApiV1ControlplanesRequest

func NewPostApiV1ControlplanesRequest(server string, body PostApiV1ControlplanesJSONRequestBody) (*http.Request, error)

NewPostApiV1ControlplanesRequest calls the generic PostApiV1Controlplanes builder with application/json body

func NewPostApiV1ControlplanesRequestWithBody

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

NewPostApiV1ControlplanesRequestWithBody generates requests for PostApiV1Controlplanes with any type of body

func NewPostApiV1ProjectRequest

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

NewPostApiV1ProjectRequest generates requests for PostApiV1Project

func NewPutApiV1ControlplanesControlPlaneNameClustersClusterNameRequest

func NewPutApiV1ControlplanesControlPlaneNameClustersClusterNameRequest(server string, controlPlaneName ControlPlaneNameParameter, clusterName ClusterNameParameter, body PutApiV1ControlplanesControlPlaneNameClustersClusterNameJSONRequestBody) (*http.Request, error)

NewPutApiV1ControlplanesControlPlaneNameClustersClusterNameRequest calls the generic PutApiV1ControlplanesControlPlaneNameClustersClusterName builder with application/json body

func NewPutApiV1ControlplanesControlPlaneNameClustersClusterNameRequestWithBody

func NewPutApiV1ControlplanesControlPlaneNameClustersClusterNameRequestWithBody(server string, controlPlaneName ControlPlaneNameParameter, clusterName ClusterNameParameter, contentType string, body io.Reader) (*http.Request, error)

NewPutApiV1ControlplanesControlPlaneNameClustersClusterNameRequestWithBody generates requests for PutApiV1ControlplanesControlPlaneNameClustersClusterName with any type of body

func NewPutApiV1ControlplanesControlPlaneNameRequest

func NewPutApiV1ControlplanesControlPlaneNameRequest(server string, controlPlaneName ControlPlaneNameParameter, body PutApiV1ControlplanesControlPlaneNameJSONRequestBody) (*http.Request, error)

NewPutApiV1ControlplanesControlPlaneNameRequest calls the generic PutApiV1ControlplanesControlPlaneName builder with application/json body

func NewPutApiV1ControlplanesControlPlaneNameRequestWithBody

func NewPutApiV1ControlplanesControlPlaneNameRequestWithBody(server string, controlPlaneName ControlPlaneNameParameter, contentType string, body io.Reader) (*http.Request, error)

NewPutApiV1ControlplanesControlPlaneNameRequestWithBody generates requests for PutApiV1ControlplanesControlPlaneName 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 Application

type Application struct {
	// Description Verbose description of what the application provides.
	Description string `json:"description"`

	// 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"`

	// Name Unique application name.
	Name string `json:"name"`

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

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

Application An application.

type ApplicationBundle

type ApplicationBundle struct {
	// EndOfLife When the bundle is end-of-life.
	EndOfLife *time.Time `json:"endOfLife,omitempty"`

	// Name The resource name.
	Name string `json:"name"`

	// Preview Whether the bundle is in preview.
	Preview *bool `json:"preview,omitempty"`

	// Version The bundle version.
	Version string `json:"version"`
}

ApplicationBundle A bundle of applications. This forms the basis of resource versions. Bundles marked as preview should not be selected by default, and end of life bundles should not be used to avoid unnecessary upgrades. If enabled, automatic upgrades will occur if a newer version of a bundle exists that is not in preview. When a bundle's end of life expires, resources will undergo a foreced upgrade, regardless of whether automatic upgrade is enabled for a resource or not.

type ApplicationBundleAutoUpgrade

type ApplicationBundleAutoUpgrade struct {
	// DaysOfWeek Days of the week and time windows that permit operations to be performed in.
	DaysOfWeek *AutoUpgradeDaysOfWeek `json:"daysOfWeek,omitempty"`
}

ApplicationBundleAutoUpgrade When specified, enables auto upgrade of application bundles. All resources will be automatically upgraded if the currently selected bundle is end of life.

type ApplicationBundleResponse

type ApplicationBundleResponse = ApplicationBundles

ApplicationBundleResponse A list of application bundles.

type ApplicationBundles

type ApplicationBundles = []ApplicationBundle

ApplicationBundles A list of application bundles.

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 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 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 = []Application

Applications A list of appications.

type AutoUpgradeDaysOfWeek

type AutoUpgradeDaysOfWeek struct {
	// Friday A time window that wraps into the next day if required.
	Friday *TimeWindow `json:"friday,omitempty"`

	// Monday A time window that wraps into the next day if required.
	Monday *TimeWindow `json:"monday,omitempty"`

	// Saturday A time window that wraps into the next day if required.
	Saturday *TimeWindow `json:"saturday,omitempty"`

	// Sunday A time window that wraps into the next day if required.
	Sunday *TimeWindow `json:"sunday,omitempty"`

	// Thursday A time window that wraps into the next day if required.
	Thursday *TimeWindow `json:"thursday,omitempty"`

	// Tuesday A time window that wraps into the next day if required.
	Tuesday *TimeWindow `json:"tuesday,omitempty"`

	// Wednesday A time window that wraps into the next day if required.
	Wednesday *TimeWindow `json:"wednesday,omitempty"`
}

AutoUpgradeDaysOfWeek Days of the week and time windows that permit operations to be performed in.

type BadRequestResponse

type BadRequestResponse = Oauth2Error

BadRequestResponse Generic error message.

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

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

func (*Client) DeleteApiV1ControlplanesControlPlaneNameClustersClusterName

func (c *Client) DeleteApiV1ControlplanesControlPlaneNameClustersClusterName(ctx context.Context, controlPlaneName ControlPlaneNameParameter, clusterName ClusterNameParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteApiV1Project

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

func (*Client) GetApiV1ApplicationbundlesCluster

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

func (*Client) GetApiV1ApplicationbundlesControlPlane

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

func (*Client) GetApiV1Applications

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

func (*Client) GetApiV1AuthJwks

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

func (*Client) GetApiV1AuthOauth2Authorization

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

func (*Client) GetApiV1AuthOidcCallback

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

func (*Client) GetApiV1Controlplanes

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

func (*Client) GetApiV1ControlplanesControlPlaneName

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

func (*Client) GetApiV1ControlplanesControlPlaneNameClusters

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

func (*Client) GetApiV1ControlplanesControlPlaneNameClustersClusterName

func (c *Client) GetApiV1ControlplanesControlPlaneNameClustersClusterName(ctx context.Context, controlPlaneName ControlPlaneNameParameter, clusterName ClusterNameParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetApiV1ControlplanesControlPlaneNameClustersClusterNameKubeconfig

func (c *Client) GetApiV1ControlplanesControlPlaneNameClustersClusterNameKubeconfig(ctx context.Context, controlPlaneName ControlPlaneNameParameter, clusterName ClusterNameParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetApiV1ProvidersOpenstackAvailabilityZonesBlockStorage

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

func (*Client) GetApiV1ProvidersOpenstackAvailabilityZonesCompute

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

func (*Client) GetApiV1ProvidersOpenstackExternalNetworks

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

func (*Client) GetApiV1ProvidersOpenstackFlavors

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

func (*Client) GetApiV1ProvidersOpenstackImages

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

func (*Client) GetApiV1ProvidersOpenstackKeyPairs

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

func (*Client) GetApiV1ProvidersOpenstackProjects

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

func (*Client) PostApiV1AuthOauth2TokensWithBody

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

func (*Client) PostApiV1AuthOauth2TokensWithFormdataBody

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

func (*Client) PostApiV1AuthTokensToken

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

func (*Client) PostApiV1AuthTokensTokenWithBody

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

func (*Client) PostApiV1Controlplanes

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

func (*Client) PostApiV1ControlplanesControlPlaneNameClusters

func (c *Client) PostApiV1ControlplanesControlPlaneNameClusters(ctx context.Context, controlPlaneName ControlPlaneNameParameter, body PostApiV1ControlplanesControlPlaneNameClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostApiV1ControlplanesControlPlaneNameClustersWithBody

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

func (*Client) PostApiV1ControlplanesWithBody

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

func (*Client) PostApiV1Project

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

func (*Client) PutApiV1ControlplanesControlPlaneName

func (c *Client) PutApiV1ControlplanesControlPlaneName(ctx context.Context, controlPlaneName ControlPlaneNameParameter, body PutApiV1ControlplanesControlPlaneNameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutApiV1ControlplanesControlPlaneNameClustersClusterName

func (c *Client) PutApiV1ControlplanesControlPlaneNameClustersClusterName(ctx context.Context, controlPlaneName ControlPlaneNameParameter, clusterName ClusterNameParameter, body PutApiV1ControlplanesControlPlaneNameClustersClusterNameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutApiV1ControlplanesControlPlaneNameClustersClusterNameWithBody

func (c *Client) PutApiV1ControlplanesControlPlaneNameClustersClusterNameWithBody(ctx context.Context, controlPlaneName ControlPlaneNameParameter, clusterName ClusterNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutApiV1ControlplanesControlPlaneNameWithBody

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

type ClientInterface

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

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

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

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

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

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

	PostApiV1AuthOauth2TokensWithFormdataBody(ctx context.Context, body PostApiV1AuthOauth2TokensFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	PostApiV1AuthTokensToken(ctx context.Context, body PostApiV1AuthTokensTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	PostApiV1Controlplanes(ctx context.Context, body PostApiV1ControlplanesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteApiV1ControlplanesControlPlaneName request
	DeleteApiV1ControlplanesControlPlaneName(ctx context.Context, controlPlaneName ControlPlaneNameParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetApiV1ControlplanesControlPlaneName request
	GetApiV1ControlplanesControlPlaneName(ctx context.Context, controlPlaneName ControlPlaneNameParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	PutApiV1ControlplanesControlPlaneName(ctx context.Context, controlPlaneName ControlPlaneNameParameter, body PutApiV1ControlplanesControlPlaneNameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetApiV1ControlplanesControlPlaneNameClusters request
	GetApiV1ControlplanesControlPlaneNameClusters(ctx context.Context, controlPlaneName ControlPlaneNameParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	PostApiV1ControlplanesControlPlaneNameClusters(ctx context.Context, controlPlaneName ControlPlaneNameParameter, body PostApiV1ControlplanesControlPlaneNameClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteApiV1ControlplanesControlPlaneNameClustersClusterName request
	DeleteApiV1ControlplanesControlPlaneNameClustersClusterName(ctx context.Context, controlPlaneName ControlPlaneNameParameter, clusterName ClusterNameParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetApiV1ControlplanesControlPlaneNameClustersClusterName request
	GetApiV1ControlplanesControlPlaneNameClustersClusterName(ctx context.Context, controlPlaneName ControlPlaneNameParameter, clusterName ClusterNameParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutApiV1ControlplanesControlPlaneNameClustersClusterName request with any body
	PutApiV1ControlplanesControlPlaneNameClustersClusterNameWithBody(ctx context.Context, controlPlaneName ControlPlaneNameParameter, clusterName ClusterNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutApiV1ControlplanesControlPlaneNameClustersClusterName(ctx context.Context, controlPlaneName ControlPlaneNameParameter, clusterName ClusterNameParameter, body PutApiV1ControlplanesControlPlaneNameClustersClusterNameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetApiV1ControlplanesControlPlaneNameClustersClusterNameKubeconfig request
	GetApiV1ControlplanesControlPlaneNameClustersClusterNameKubeconfig(ctx context.Context, controlPlaneName ControlPlaneNameParameter, clusterName ClusterNameParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

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

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

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

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

	// GetApiV1ProvidersOpenstackProjects request
	GetApiV1ProvidersOpenstackProjects(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) DeleteApiV1ControlplanesControlPlaneNameClustersClusterNameWithResponse

func (c *ClientWithResponses) DeleteApiV1ControlplanesControlPlaneNameClustersClusterNameWithResponse(ctx context.Context, controlPlaneName ControlPlaneNameParameter, clusterName ClusterNameParameter, reqEditors ...RequestEditorFn) (*DeleteApiV1ControlplanesControlPlaneNameClustersClusterNameResponse, error)

DeleteApiV1ControlplanesControlPlaneNameClustersClusterNameWithResponse request returning *DeleteApiV1ControlplanesControlPlaneNameClustersClusterNameResponse

func (*ClientWithResponses) DeleteApiV1ControlplanesControlPlaneNameWithResponse

func (c *ClientWithResponses) DeleteApiV1ControlplanesControlPlaneNameWithResponse(ctx context.Context, controlPlaneName ControlPlaneNameParameter, reqEditors ...RequestEditorFn) (*DeleteApiV1ControlplanesControlPlaneNameResponse, error)

DeleteApiV1ControlplanesControlPlaneNameWithResponse request returning *DeleteApiV1ControlplanesControlPlaneNameResponse

func (*ClientWithResponses) DeleteApiV1ProjectWithResponse

func (c *ClientWithResponses) DeleteApiV1ProjectWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteApiV1ProjectResponse, error)

DeleteApiV1ProjectWithResponse request returning *DeleteApiV1ProjectResponse

func (*ClientWithResponses) GetApiV1ApplicationbundlesClusterWithResponse

func (c *ClientWithResponses) GetApiV1ApplicationbundlesClusterWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1ApplicationbundlesClusterResponse, error)

GetApiV1ApplicationbundlesClusterWithResponse request returning *GetApiV1ApplicationbundlesClusterResponse

func (*ClientWithResponses) GetApiV1ApplicationbundlesControlPlaneWithResponse

func (c *ClientWithResponses) GetApiV1ApplicationbundlesControlPlaneWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1ApplicationbundlesControlPlaneResponse, error)

GetApiV1ApplicationbundlesControlPlaneWithResponse request returning *GetApiV1ApplicationbundlesControlPlaneResponse

func (*ClientWithResponses) GetApiV1ApplicationsWithResponse

func (c *ClientWithResponses) GetApiV1ApplicationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1ApplicationsResponse, error)

GetApiV1ApplicationsWithResponse request returning *GetApiV1ApplicationsResponse

func (*ClientWithResponses) GetApiV1AuthJwksWithResponse

func (c *ClientWithResponses) GetApiV1AuthJwksWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1AuthJwksResponse, error)

GetApiV1AuthJwksWithResponse request returning *GetApiV1AuthJwksResponse

func (*ClientWithResponses) GetApiV1AuthOauth2AuthorizationWithResponse

func (c *ClientWithResponses) GetApiV1AuthOauth2AuthorizationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1AuthOauth2AuthorizationResponse, error)

GetApiV1AuthOauth2AuthorizationWithResponse request returning *GetApiV1AuthOauth2AuthorizationResponse

func (*ClientWithResponses) GetApiV1AuthOidcCallbackWithResponse

func (c *ClientWithResponses) GetApiV1AuthOidcCallbackWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1AuthOidcCallbackResponse, error)

GetApiV1AuthOidcCallbackWithResponse request returning *GetApiV1AuthOidcCallbackResponse

func (*ClientWithResponses) GetApiV1ControlplanesControlPlaneNameClustersClusterNameKubeconfigWithResponse

func (c *ClientWithResponses) GetApiV1ControlplanesControlPlaneNameClustersClusterNameKubeconfigWithResponse(ctx context.Context, controlPlaneName ControlPlaneNameParameter, clusterName ClusterNameParameter, reqEditors ...RequestEditorFn) (*GetApiV1ControlplanesControlPlaneNameClustersClusterNameKubeconfigResponse, error)

GetApiV1ControlplanesControlPlaneNameClustersClusterNameKubeconfigWithResponse request returning *GetApiV1ControlplanesControlPlaneNameClustersClusterNameKubeconfigResponse

func (*ClientWithResponses) GetApiV1ControlplanesControlPlaneNameClustersClusterNameWithResponse

func (c *ClientWithResponses) GetApiV1ControlplanesControlPlaneNameClustersClusterNameWithResponse(ctx context.Context, controlPlaneName ControlPlaneNameParameter, clusterName ClusterNameParameter, reqEditors ...RequestEditorFn) (*GetApiV1ControlplanesControlPlaneNameClustersClusterNameResponse, error)

GetApiV1ControlplanesControlPlaneNameClustersClusterNameWithResponse request returning *GetApiV1ControlplanesControlPlaneNameClustersClusterNameResponse

func (*ClientWithResponses) GetApiV1ControlplanesControlPlaneNameClustersWithResponse

func (c *ClientWithResponses) GetApiV1ControlplanesControlPlaneNameClustersWithResponse(ctx context.Context, controlPlaneName ControlPlaneNameParameter, reqEditors ...RequestEditorFn) (*GetApiV1ControlplanesControlPlaneNameClustersResponse, error)

GetApiV1ControlplanesControlPlaneNameClustersWithResponse request returning *GetApiV1ControlplanesControlPlaneNameClustersResponse

func (*ClientWithResponses) GetApiV1ControlplanesControlPlaneNameWithResponse

func (c *ClientWithResponses) GetApiV1ControlplanesControlPlaneNameWithResponse(ctx context.Context, controlPlaneName ControlPlaneNameParameter, reqEditors ...RequestEditorFn) (*GetApiV1ControlplanesControlPlaneNameResponse, error)

GetApiV1ControlplanesControlPlaneNameWithResponse request returning *GetApiV1ControlplanesControlPlaneNameResponse

func (*ClientWithResponses) GetApiV1ControlplanesWithResponse

func (c *ClientWithResponses) GetApiV1ControlplanesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1ControlplanesResponse, error)

GetApiV1ControlplanesWithResponse request returning *GetApiV1ControlplanesResponse

func (*ClientWithResponses) GetApiV1ProvidersOpenstackAvailabilityZonesBlockStorageWithResponse

func (c *ClientWithResponses) GetApiV1ProvidersOpenstackAvailabilityZonesBlockStorageWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1ProvidersOpenstackAvailabilityZonesBlockStorageResponse, error)

GetApiV1ProvidersOpenstackAvailabilityZonesBlockStorageWithResponse request returning *GetApiV1ProvidersOpenstackAvailabilityZonesBlockStorageResponse

func (*ClientWithResponses) GetApiV1ProvidersOpenstackAvailabilityZonesComputeWithResponse

func (c *ClientWithResponses) GetApiV1ProvidersOpenstackAvailabilityZonesComputeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1ProvidersOpenstackAvailabilityZonesComputeResponse, error)

GetApiV1ProvidersOpenstackAvailabilityZonesComputeWithResponse request returning *GetApiV1ProvidersOpenstackAvailabilityZonesComputeResponse

func (*ClientWithResponses) GetApiV1ProvidersOpenstackExternalNetworksWithResponse

func (c *ClientWithResponses) GetApiV1ProvidersOpenstackExternalNetworksWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1ProvidersOpenstackExternalNetworksResponse, error)

GetApiV1ProvidersOpenstackExternalNetworksWithResponse request returning *GetApiV1ProvidersOpenstackExternalNetworksResponse

func (*ClientWithResponses) GetApiV1ProvidersOpenstackFlavorsWithResponse

func (c *ClientWithResponses) GetApiV1ProvidersOpenstackFlavorsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1ProvidersOpenstackFlavorsResponse, error)

GetApiV1ProvidersOpenstackFlavorsWithResponse request returning *GetApiV1ProvidersOpenstackFlavorsResponse

func (*ClientWithResponses) GetApiV1ProvidersOpenstackImagesWithResponse

func (c *ClientWithResponses) GetApiV1ProvidersOpenstackImagesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1ProvidersOpenstackImagesResponse, error)

GetApiV1ProvidersOpenstackImagesWithResponse request returning *GetApiV1ProvidersOpenstackImagesResponse

func (*ClientWithResponses) GetApiV1ProvidersOpenstackKeyPairsWithResponse

func (c *ClientWithResponses) GetApiV1ProvidersOpenstackKeyPairsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1ProvidersOpenstackKeyPairsResponse, error)

GetApiV1ProvidersOpenstackKeyPairsWithResponse request returning *GetApiV1ProvidersOpenstackKeyPairsResponse

func (*ClientWithResponses) GetApiV1ProvidersOpenstackProjectsWithResponse

func (c *ClientWithResponses) GetApiV1ProvidersOpenstackProjectsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1ProvidersOpenstackProjectsResponse, error)

GetApiV1ProvidersOpenstackProjectsWithResponse request returning *GetApiV1ProvidersOpenstackProjectsResponse

func (*ClientWithResponses) PostApiV1AuthOauth2TokensWithBodyWithResponse

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

PostApiV1AuthOauth2TokensWithBodyWithResponse request with arbitrary body returning *PostApiV1AuthOauth2TokensResponse

func (*ClientWithResponses) PostApiV1AuthOauth2TokensWithFormdataBodyWithResponse

func (c *ClientWithResponses) PostApiV1AuthOauth2TokensWithFormdataBodyWithResponse(ctx context.Context, body PostApiV1AuthOauth2TokensFormdataRequestBody, reqEditors ...RequestEditorFn) (*PostApiV1AuthOauth2TokensResponse, error)

func (*ClientWithResponses) PostApiV1AuthTokensTokenWithBodyWithResponse

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

PostApiV1AuthTokensTokenWithBodyWithResponse request with arbitrary body returning *PostApiV1AuthTokensTokenResponse

func (*ClientWithResponses) PostApiV1AuthTokensTokenWithResponse

func (c *ClientWithResponses) PostApiV1AuthTokensTokenWithResponse(ctx context.Context, body PostApiV1AuthTokensTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiV1AuthTokensTokenResponse, error)

func (*ClientWithResponses) PostApiV1ControlplanesControlPlaneNameClustersWithBodyWithResponse

func (c *ClientWithResponses) PostApiV1ControlplanesControlPlaneNameClustersWithBodyWithResponse(ctx context.Context, controlPlaneName ControlPlaneNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiV1ControlplanesControlPlaneNameClustersResponse, error)

PostApiV1ControlplanesControlPlaneNameClustersWithBodyWithResponse request with arbitrary body returning *PostApiV1ControlplanesControlPlaneNameClustersResponse

func (*ClientWithResponses) PostApiV1ControlplanesWithBodyWithResponse

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

PostApiV1ControlplanesWithBodyWithResponse request with arbitrary body returning *PostApiV1ControlplanesResponse

func (*ClientWithResponses) PostApiV1ControlplanesWithResponse

func (c *ClientWithResponses) PostApiV1ControlplanesWithResponse(ctx context.Context, body PostApiV1ControlplanesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiV1ControlplanesResponse, error)

func (*ClientWithResponses) PostApiV1ProjectWithResponse

func (c *ClientWithResponses) PostApiV1ProjectWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostApiV1ProjectResponse, error)

PostApiV1ProjectWithResponse request returning *PostApiV1ProjectResponse

func (*ClientWithResponses) PutApiV1ControlplanesControlPlaneNameClustersClusterNameWithBodyWithResponse

func (c *ClientWithResponses) PutApiV1ControlplanesControlPlaneNameClustersClusterNameWithBodyWithResponse(ctx context.Context, controlPlaneName ControlPlaneNameParameter, clusterName ClusterNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiV1ControlplanesControlPlaneNameClustersClusterNameResponse, error)

PutApiV1ControlplanesControlPlaneNameClustersClusterNameWithBodyWithResponse request with arbitrary body returning *PutApiV1ControlplanesControlPlaneNameClustersClusterNameResponse

func (*ClientWithResponses) PutApiV1ControlplanesControlPlaneNameWithBodyWithResponse

func (c *ClientWithResponses) PutApiV1ControlplanesControlPlaneNameWithBodyWithResponse(ctx context.Context, controlPlaneName ControlPlaneNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiV1ControlplanesControlPlaneNameResponse, error)

PutApiV1ControlplanesControlPlaneNameWithBodyWithResponse request with arbitrary body returning *PutApiV1ControlplanesControlPlaneNameResponse

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// GetApiV1ApplicationbundlesCluster request
	GetApiV1ApplicationbundlesClusterWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1ApplicationbundlesClusterResponse, error)

	// GetApiV1ApplicationbundlesControlPlane request
	GetApiV1ApplicationbundlesControlPlaneWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1ApplicationbundlesControlPlaneResponse, error)

	// GetApiV1Applications request
	GetApiV1ApplicationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1ApplicationsResponse, error)

	// GetApiV1AuthJwks request
	GetApiV1AuthJwksWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1AuthJwksResponse, error)

	// GetApiV1AuthOauth2Authorization request
	GetApiV1AuthOauth2AuthorizationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1AuthOauth2AuthorizationResponse, error)

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

	PostApiV1AuthOauth2TokensWithFormdataBodyWithResponse(ctx context.Context, body PostApiV1AuthOauth2TokensFormdataRequestBody, reqEditors ...RequestEditorFn) (*PostApiV1AuthOauth2TokensResponse, error)

	// GetApiV1AuthOidcCallback request
	GetApiV1AuthOidcCallbackWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1AuthOidcCallbackResponse, error)

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

	PostApiV1AuthTokensTokenWithResponse(ctx context.Context, body PostApiV1AuthTokensTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiV1AuthTokensTokenResponse, error)

	// GetApiV1Controlplanes request
	GetApiV1ControlplanesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1ControlplanesResponse, error)

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

	PostApiV1ControlplanesWithResponse(ctx context.Context, body PostApiV1ControlplanesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiV1ControlplanesResponse, error)

	// DeleteApiV1ControlplanesControlPlaneName request
	DeleteApiV1ControlplanesControlPlaneNameWithResponse(ctx context.Context, controlPlaneName ControlPlaneNameParameter, reqEditors ...RequestEditorFn) (*DeleteApiV1ControlplanesControlPlaneNameResponse, error)

	// GetApiV1ControlplanesControlPlaneName request
	GetApiV1ControlplanesControlPlaneNameWithResponse(ctx context.Context, controlPlaneName ControlPlaneNameParameter, reqEditors ...RequestEditorFn) (*GetApiV1ControlplanesControlPlaneNameResponse, error)

	// PutApiV1ControlplanesControlPlaneName request with any body
	PutApiV1ControlplanesControlPlaneNameWithBodyWithResponse(ctx context.Context, controlPlaneName ControlPlaneNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiV1ControlplanesControlPlaneNameResponse, error)

	PutApiV1ControlplanesControlPlaneNameWithResponse(ctx context.Context, controlPlaneName ControlPlaneNameParameter, body PutApiV1ControlplanesControlPlaneNameJSONRequestBody, reqEditors ...RequestEditorFn) (*PutApiV1ControlplanesControlPlaneNameResponse, error)

	// GetApiV1ControlplanesControlPlaneNameClusters request
	GetApiV1ControlplanesControlPlaneNameClustersWithResponse(ctx context.Context, controlPlaneName ControlPlaneNameParameter, reqEditors ...RequestEditorFn) (*GetApiV1ControlplanesControlPlaneNameClustersResponse, error)

	// PostApiV1ControlplanesControlPlaneNameClusters request with any body
	PostApiV1ControlplanesControlPlaneNameClustersWithBodyWithResponse(ctx context.Context, controlPlaneName ControlPlaneNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiV1ControlplanesControlPlaneNameClustersResponse, error)

	PostApiV1ControlplanesControlPlaneNameClustersWithResponse(ctx context.Context, controlPlaneName ControlPlaneNameParameter, body PostApiV1ControlplanesControlPlaneNameClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiV1ControlplanesControlPlaneNameClustersResponse, error)

	// DeleteApiV1ControlplanesControlPlaneNameClustersClusterName request
	DeleteApiV1ControlplanesControlPlaneNameClustersClusterNameWithResponse(ctx context.Context, controlPlaneName ControlPlaneNameParameter, clusterName ClusterNameParameter, reqEditors ...RequestEditorFn) (*DeleteApiV1ControlplanesControlPlaneNameClustersClusterNameResponse, error)

	// GetApiV1ControlplanesControlPlaneNameClustersClusterName request
	GetApiV1ControlplanesControlPlaneNameClustersClusterNameWithResponse(ctx context.Context, controlPlaneName ControlPlaneNameParameter, clusterName ClusterNameParameter, reqEditors ...RequestEditorFn) (*GetApiV1ControlplanesControlPlaneNameClustersClusterNameResponse, error)

	// PutApiV1ControlplanesControlPlaneNameClustersClusterName request with any body
	PutApiV1ControlplanesControlPlaneNameClustersClusterNameWithBodyWithResponse(ctx context.Context, controlPlaneName ControlPlaneNameParameter, clusterName ClusterNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiV1ControlplanesControlPlaneNameClustersClusterNameResponse, error)

	PutApiV1ControlplanesControlPlaneNameClustersClusterNameWithResponse(ctx context.Context, controlPlaneName ControlPlaneNameParameter, clusterName ClusterNameParameter, body PutApiV1ControlplanesControlPlaneNameClustersClusterNameJSONRequestBody, reqEditors ...RequestEditorFn) (*PutApiV1ControlplanesControlPlaneNameClustersClusterNameResponse, error)

	// GetApiV1ControlplanesControlPlaneNameClustersClusterNameKubeconfig request
	GetApiV1ControlplanesControlPlaneNameClustersClusterNameKubeconfigWithResponse(ctx context.Context, controlPlaneName ControlPlaneNameParameter, clusterName ClusterNameParameter, reqEditors ...RequestEditorFn) (*GetApiV1ControlplanesControlPlaneNameClustersClusterNameKubeconfigResponse, error)

	// DeleteApiV1Project request
	DeleteApiV1ProjectWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteApiV1ProjectResponse, error)

	// PostApiV1Project request
	PostApiV1ProjectWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostApiV1ProjectResponse, error)

	// GetApiV1ProvidersOpenstackAvailabilityZonesBlockStorage request
	GetApiV1ProvidersOpenstackAvailabilityZonesBlockStorageWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1ProvidersOpenstackAvailabilityZonesBlockStorageResponse, error)

	// GetApiV1ProvidersOpenstackAvailabilityZonesCompute request
	GetApiV1ProvidersOpenstackAvailabilityZonesComputeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1ProvidersOpenstackAvailabilityZonesComputeResponse, error)

	// GetApiV1ProvidersOpenstackExternalNetworks request
	GetApiV1ProvidersOpenstackExternalNetworksWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1ProvidersOpenstackExternalNetworksResponse, error)

	// GetApiV1ProvidersOpenstackFlavors request
	GetApiV1ProvidersOpenstackFlavorsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1ProvidersOpenstackFlavorsResponse, error)

	// GetApiV1ProvidersOpenstackImages request
	GetApiV1ProvidersOpenstackImagesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1ProvidersOpenstackImagesResponse, error)

	// GetApiV1ProvidersOpenstackKeyPairs request
	GetApiV1ProvidersOpenstackKeyPairsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1ProvidersOpenstackKeyPairsResponse, error)

	// GetApiV1ProvidersOpenstackProjects request
	GetApiV1ProvidersOpenstackProjectsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1ProvidersOpenstackProjectsResponse, error)
}

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

type ClusterNameParameter

type ClusterNameParameter = KubernetesNameParameter

ClusterNameParameter 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 ConflictResponse

type ConflictResponse = Oauth2Error

ConflictResponse Generic error message.

type ControlPlane

type ControlPlane struct {
	// ApplicationBundle A bundle of applications. This forms the basis of resource versions. Bundles marked
	// as preview should not be selected by default, and end of life bundles should not be
	// used to avoid unnecessary upgrades. If enabled, automatic upgrades will occur if
	// a newer version of a bundle exists that is not in preview. When a bundle's end of
	// life expires, resources will undergo a foreced upgrade, regardless of whether
	// automatic upgrade is enabled for a resource or not.
	ApplicationBundle ApplicationBundle `json:"applicationBundle"`

	// ApplicationBundleAutoUpgrade When specified, enables auto upgrade of application bundles. All resources will be
	// automatically upgraded if the currently selected bundle is end of life.
	ApplicationBundleAutoUpgrade *ApplicationBundleAutoUpgrade `json:"applicationBundleAutoUpgrade,omitempty"`

	// Name The name of the resource.
	Name string `json:"name"`

	// Status A Kubernetes resource status.
	Status *KubernetesResourceStatus `json:"status,omitempty"`
}

ControlPlane A control plane.

type ControlPlaneNameParameter

type ControlPlaneNameParameter = KubernetesNameParameter

ControlPlaneNameParameter 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 ControlPlaneResponse

type ControlPlaneResponse = ControlPlane

ControlPlaneResponse A control plane.

type ControlPlanes

type ControlPlanes = []ControlPlane

ControlPlanes A list of control planes.

type ControlPlanesResponse

type ControlPlanesResponse = ControlPlanes

ControlPlanesResponse A list of control planes.

type CreateControlPlaneRequest

type CreateControlPlaneRequest = ControlPlane

CreateControlPlaneRequest A control plane.

type CreateKubernetesClusterRequest

type CreateKubernetesClusterRequest = KubernetesCluster

CreateKubernetesClusterRequest Kubernetes cluster creation parameters.

type DeleteApiV1ControlplanesControlPlaneNameClustersClusterNameResponse

type DeleteApiV1ControlplanesControlPlaneNameClustersClusterNameResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *Oauth2Error
	JSON401      *Oauth2Error
	JSON404      *Oauth2Error
	JSON500      *Oauth2Error
}

func ParseDeleteApiV1ControlplanesControlPlaneNameClustersClusterNameResponse

func ParseDeleteApiV1ControlplanesControlPlaneNameClustersClusterNameResponse(rsp *http.Response) (*DeleteApiV1ControlplanesControlPlaneNameClustersClusterNameResponse, error)

ParseDeleteApiV1ControlplanesControlPlaneNameClustersClusterNameResponse parses an HTTP response from a DeleteApiV1ControlplanesControlPlaneNameClustersClusterNameWithResponse call

func (DeleteApiV1ControlplanesControlPlaneNameClustersClusterNameResponse) Status

Status returns HTTPResponse.Status

func (DeleteApiV1ControlplanesControlPlaneNameClustersClusterNameResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteApiV1ControlplanesControlPlaneNameResponse

type DeleteApiV1ControlplanesControlPlaneNameResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *Oauth2Error
	JSON401      *Oauth2Error
	JSON404      *Oauth2Error
	JSON500      *Oauth2Error
}

func ParseDeleteApiV1ControlplanesControlPlaneNameResponse

func ParseDeleteApiV1ControlplanesControlPlaneNameResponse(rsp *http.Response) (*DeleteApiV1ControlplanesControlPlaneNameResponse, error)

ParseDeleteApiV1ControlplanesControlPlaneNameResponse parses an HTTP response from a DeleteApiV1ControlplanesControlPlaneNameWithResponse call

func (DeleteApiV1ControlplanesControlPlaneNameResponse) Status

Status returns HTTPResponse.Status

func (DeleteApiV1ControlplanesControlPlaneNameResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteApiV1ProjectResponse

type DeleteApiV1ProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *Oauth2Error
	JSON401      *Oauth2Error
	JSON404      *Oauth2Error
	JSON500      *Oauth2Error
}

func ParseDeleteApiV1ProjectResponse

func ParseDeleteApiV1ProjectResponse(rsp *http.Response) (*DeleteApiV1ProjectResponse, error)

ParseDeleteApiV1ProjectResponse parses an HTTP response from a DeleteApiV1ProjectWithResponse call

func (DeleteApiV1ProjectResponse) Status

Status returns HTTPResponse.Status

func (DeleteApiV1ProjectResponse) StatusCode

func (r DeleteApiV1ProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ForbiddenResponse

type ForbiddenResponse = Oauth2Error

ForbiddenResponse Generic error message.

type GetApiV1ApplicationbundlesClusterResponse

type GetApiV1ApplicationbundlesClusterResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ApplicationBundles
	JSON400      *Oauth2Error
	JSON401      *Oauth2Error
	JSON500      *Oauth2Error
}

func ParseGetApiV1ApplicationbundlesClusterResponse

func ParseGetApiV1ApplicationbundlesClusterResponse(rsp *http.Response) (*GetApiV1ApplicationbundlesClusterResponse, error)

ParseGetApiV1ApplicationbundlesClusterResponse parses an HTTP response from a GetApiV1ApplicationbundlesClusterWithResponse call

func (GetApiV1ApplicationbundlesClusterResponse) Status

Status returns HTTPResponse.Status

func (GetApiV1ApplicationbundlesClusterResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetApiV1ApplicationbundlesControlPlaneResponse

type GetApiV1ApplicationbundlesControlPlaneResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ApplicationBundles
	JSON400      *Oauth2Error
	JSON401      *Oauth2Error
	JSON500      *Oauth2Error
}

func ParseGetApiV1ApplicationbundlesControlPlaneResponse

func ParseGetApiV1ApplicationbundlesControlPlaneResponse(rsp *http.Response) (*GetApiV1ApplicationbundlesControlPlaneResponse, error)

ParseGetApiV1ApplicationbundlesControlPlaneResponse parses an HTTP response from a GetApiV1ApplicationbundlesControlPlaneWithResponse call

func (GetApiV1ApplicationbundlesControlPlaneResponse) Status

Status returns HTTPResponse.Status

func (GetApiV1ApplicationbundlesControlPlaneResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetApiV1ApplicationsResponse

type GetApiV1ApplicationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Applications
	JSON400      *Oauth2Error
	JSON401      *Oauth2Error
	JSON500      *Oauth2Error
}

func ParseGetApiV1ApplicationsResponse

func ParseGetApiV1ApplicationsResponse(rsp *http.Response) (*GetApiV1ApplicationsResponse, error)

ParseGetApiV1ApplicationsResponse parses an HTTP response from a GetApiV1ApplicationsWithResponse call

func (GetApiV1ApplicationsResponse) Status

Status returns HTTPResponse.Status

func (GetApiV1ApplicationsResponse) StatusCode

func (r GetApiV1ApplicationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetApiV1AuthJwksResponse

type GetApiV1AuthJwksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *JsonWebKeySet
	JSON500      *Oauth2Error
}

func ParseGetApiV1AuthJwksResponse

func ParseGetApiV1AuthJwksResponse(rsp *http.Response) (*GetApiV1AuthJwksResponse, error)

ParseGetApiV1AuthJwksResponse parses an HTTP response from a GetApiV1AuthJwksWithResponse call

func (GetApiV1AuthJwksResponse) Status

func (r GetApiV1AuthJwksResponse) Status() string

Status returns HTTPResponse.Status

func (GetApiV1AuthJwksResponse) StatusCode

func (r GetApiV1AuthJwksResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetApiV1AuthOauth2AuthorizationResponse

type GetApiV1AuthOauth2AuthorizationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *Oauth2Error
	JSON500      *Oauth2Error
}

func ParseGetApiV1AuthOauth2AuthorizationResponse

func ParseGetApiV1AuthOauth2AuthorizationResponse(rsp *http.Response) (*GetApiV1AuthOauth2AuthorizationResponse, error)

ParseGetApiV1AuthOauth2AuthorizationResponse parses an HTTP response from a GetApiV1AuthOauth2AuthorizationWithResponse call

func (GetApiV1AuthOauth2AuthorizationResponse) Status

Status returns HTTPResponse.Status

func (GetApiV1AuthOauth2AuthorizationResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetApiV1AuthOidcCallbackResponse

type GetApiV1AuthOidcCallbackResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON500      *Oauth2Error
}

func ParseGetApiV1AuthOidcCallbackResponse

func ParseGetApiV1AuthOidcCallbackResponse(rsp *http.Response) (*GetApiV1AuthOidcCallbackResponse, error)

ParseGetApiV1AuthOidcCallbackResponse parses an HTTP response from a GetApiV1AuthOidcCallbackWithResponse call

func (GetApiV1AuthOidcCallbackResponse) Status

Status returns HTTPResponse.Status

func (GetApiV1AuthOidcCallbackResponse) StatusCode

func (r GetApiV1AuthOidcCallbackResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetApiV1ControlplanesControlPlaneNameClustersClusterNameKubeconfigResponse

type GetApiV1ControlplanesControlPlaneNameClustersClusterNameKubeconfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *Oauth2Error
	JSON401      *Oauth2Error
	JSON404      *Oauth2Error
	JSON500      *Oauth2Error
}

func ParseGetApiV1ControlplanesControlPlaneNameClustersClusterNameKubeconfigResponse

func ParseGetApiV1ControlplanesControlPlaneNameClustersClusterNameKubeconfigResponse(rsp *http.Response) (*GetApiV1ControlplanesControlPlaneNameClustersClusterNameKubeconfigResponse, error)

ParseGetApiV1ControlplanesControlPlaneNameClustersClusterNameKubeconfigResponse parses an HTTP response from a GetApiV1ControlplanesControlPlaneNameClustersClusterNameKubeconfigWithResponse call

func (GetApiV1ControlplanesControlPlaneNameClustersClusterNameKubeconfigResponse) Status

Status returns HTTPResponse.Status

func (GetApiV1ControlplanesControlPlaneNameClustersClusterNameKubeconfigResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetApiV1ControlplanesControlPlaneNameClustersClusterNameResponse

type GetApiV1ControlplanesControlPlaneNameClustersClusterNameResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *KubernetesCluster
	JSON400      *Oauth2Error
	JSON401      *Oauth2Error
	JSON404      *Oauth2Error
	JSON500      *Oauth2Error
}

func ParseGetApiV1ControlplanesControlPlaneNameClustersClusterNameResponse

func ParseGetApiV1ControlplanesControlPlaneNameClustersClusterNameResponse(rsp *http.Response) (*GetApiV1ControlplanesControlPlaneNameClustersClusterNameResponse, error)

ParseGetApiV1ControlplanesControlPlaneNameClustersClusterNameResponse parses an HTTP response from a GetApiV1ControlplanesControlPlaneNameClustersClusterNameWithResponse call

func (GetApiV1ControlplanesControlPlaneNameClustersClusterNameResponse) Status

Status returns HTTPResponse.Status

func (GetApiV1ControlplanesControlPlaneNameClustersClusterNameResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetApiV1ControlplanesControlPlaneNameClustersResponse

type GetApiV1ControlplanesControlPlaneNameClustersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *KubernetesClusters
	JSON400      *Oauth2Error
	JSON401      *Oauth2Error
	JSON404      *Oauth2Error
	JSON500      *Oauth2Error
}

func ParseGetApiV1ControlplanesControlPlaneNameClustersResponse

func ParseGetApiV1ControlplanesControlPlaneNameClustersResponse(rsp *http.Response) (*GetApiV1ControlplanesControlPlaneNameClustersResponse, error)

ParseGetApiV1ControlplanesControlPlaneNameClustersResponse parses an HTTP response from a GetApiV1ControlplanesControlPlaneNameClustersWithResponse call

func (GetApiV1ControlplanesControlPlaneNameClustersResponse) Status

Status returns HTTPResponse.Status

func (GetApiV1ControlplanesControlPlaneNameClustersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetApiV1ControlplanesControlPlaneNameResponse

type GetApiV1ControlplanesControlPlaneNameResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ControlPlane
	JSON400      *Oauth2Error
	JSON401      *Oauth2Error
	JSON404      *Oauth2Error
	JSON500      *Oauth2Error
}

func ParseGetApiV1ControlplanesControlPlaneNameResponse

func ParseGetApiV1ControlplanesControlPlaneNameResponse(rsp *http.Response) (*GetApiV1ControlplanesControlPlaneNameResponse, error)

ParseGetApiV1ControlplanesControlPlaneNameResponse parses an HTTP response from a GetApiV1ControlplanesControlPlaneNameWithResponse call

func (GetApiV1ControlplanesControlPlaneNameResponse) Status

Status returns HTTPResponse.Status

func (GetApiV1ControlplanesControlPlaneNameResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetApiV1ControlplanesResponse

type GetApiV1ControlplanesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ControlPlanes
	JSON400      *Oauth2Error
	JSON401      *Oauth2Error
	JSON404      *Oauth2Error
	JSON500      *Oauth2Error
}

func ParseGetApiV1ControlplanesResponse

func ParseGetApiV1ControlplanesResponse(rsp *http.Response) (*GetApiV1ControlplanesResponse, error)

ParseGetApiV1ControlplanesResponse parses an HTTP response from a GetApiV1ControlplanesWithResponse call

func (GetApiV1ControlplanesResponse) Status

Status returns HTTPResponse.Status

func (GetApiV1ControlplanesResponse) StatusCode

func (r GetApiV1ControlplanesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetApiV1ProvidersOpenstackAvailabilityZonesBlockStorageResponse

type GetApiV1ProvidersOpenstackAvailabilityZonesBlockStorageResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *OpenstackAvailabilityZones
	JSON400      *Oauth2Error
	JSON401      *Oauth2Error
	JSON500      *Oauth2Error
}

func ParseGetApiV1ProvidersOpenstackAvailabilityZonesBlockStorageResponse

func ParseGetApiV1ProvidersOpenstackAvailabilityZonesBlockStorageResponse(rsp *http.Response) (*GetApiV1ProvidersOpenstackAvailabilityZonesBlockStorageResponse, error)

ParseGetApiV1ProvidersOpenstackAvailabilityZonesBlockStorageResponse parses an HTTP response from a GetApiV1ProvidersOpenstackAvailabilityZonesBlockStorageWithResponse call

func (GetApiV1ProvidersOpenstackAvailabilityZonesBlockStorageResponse) Status

Status returns HTTPResponse.Status

func (GetApiV1ProvidersOpenstackAvailabilityZonesBlockStorageResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetApiV1ProvidersOpenstackAvailabilityZonesComputeResponse

type GetApiV1ProvidersOpenstackAvailabilityZonesComputeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *OpenstackAvailabilityZones
	JSON400      *Oauth2Error
	JSON401      *Oauth2Error
	JSON500      *Oauth2Error
}

func ParseGetApiV1ProvidersOpenstackAvailabilityZonesComputeResponse

func ParseGetApiV1ProvidersOpenstackAvailabilityZonesComputeResponse(rsp *http.Response) (*GetApiV1ProvidersOpenstackAvailabilityZonesComputeResponse, error)

ParseGetApiV1ProvidersOpenstackAvailabilityZonesComputeResponse parses an HTTP response from a GetApiV1ProvidersOpenstackAvailabilityZonesComputeWithResponse call

func (GetApiV1ProvidersOpenstackAvailabilityZonesComputeResponse) Status

Status returns HTTPResponse.Status

func (GetApiV1ProvidersOpenstackAvailabilityZonesComputeResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetApiV1ProvidersOpenstackExternalNetworksResponse

type GetApiV1ProvidersOpenstackExternalNetworksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *OpenstackExternalNetworks
	JSON400      *Oauth2Error
	JSON401      *Oauth2Error
	JSON500      *Oauth2Error
}

func ParseGetApiV1ProvidersOpenstackExternalNetworksResponse

func ParseGetApiV1ProvidersOpenstackExternalNetworksResponse(rsp *http.Response) (*GetApiV1ProvidersOpenstackExternalNetworksResponse, error)

ParseGetApiV1ProvidersOpenstackExternalNetworksResponse parses an HTTP response from a GetApiV1ProvidersOpenstackExternalNetworksWithResponse call

func (GetApiV1ProvidersOpenstackExternalNetworksResponse) Status

Status returns HTTPResponse.Status

func (GetApiV1ProvidersOpenstackExternalNetworksResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetApiV1ProvidersOpenstackFlavorsResponse

type GetApiV1ProvidersOpenstackFlavorsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *OpenstackFlavors
	JSON400      *Oauth2Error
	JSON401      *Oauth2Error
	JSON500      *Oauth2Error
}

func ParseGetApiV1ProvidersOpenstackFlavorsResponse

func ParseGetApiV1ProvidersOpenstackFlavorsResponse(rsp *http.Response) (*GetApiV1ProvidersOpenstackFlavorsResponse, error)

ParseGetApiV1ProvidersOpenstackFlavorsResponse parses an HTTP response from a GetApiV1ProvidersOpenstackFlavorsWithResponse call

func (GetApiV1ProvidersOpenstackFlavorsResponse) Status

Status returns HTTPResponse.Status

func (GetApiV1ProvidersOpenstackFlavorsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetApiV1ProvidersOpenstackImagesResponse

type GetApiV1ProvidersOpenstackImagesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *OpenstackImages
	JSON400      *Oauth2Error
	JSON401      *Oauth2Error
	JSON500      *Oauth2Error
}

func ParseGetApiV1ProvidersOpenstackImagesResponse

func ParseGetApiV1ProvidersOpenstackImagesResponse(rsp *http.Response) (*GetApiV1ProvidersOpenstackImagesResponse, error)

ParseGetApiV1ProvidersOpenstackImagesResponse parses an HTTP response from a GetApiV1ProvidersOpenstackImagesWithResponse call

func (GetApiV1ProvidersOpenstackImagesResponse) Status

Status returns HTTPResponse.Status

func (GetApiV1ProvidersOpenstackImagesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetApiV1ProvidersOpenstackKeyPairsResponse

type GetApiV1ProvidersOpenstackKeyPairsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *OpenstackKeyPairs
	JSON400      *Oauth2Error
	JSON401      *Oauth2Error
	JSON500      *Oauth2Error
}

func ParseGetApiV1ProvidersOpenstackKeyPairsResponse

func ParseGetApiV1ProvidersOpenstackKeyPairsResponse(rsp *http.Response) (*GetApiV1ProvidersOpenstackKeyPairsResponse, error)

ParseGetApiV1ProvidersOpenstackKeyPairsResponse parses an HTTP response from a GetApiV1ProvidersOpenstackKeyPairsWithResponse call

func (GetApiV1ProvidersOpenstackKeyPairsResponse) Status

Status returns HTTPResponse.Status

func (GetApiV1ProvidersOpenstackKeyPairsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetApiV1ProvidersOpenstackProjectsResponse

type GetApiV1ProvidersOpenstackProjectsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *OpenstackProjects
	JSON400      *Oauth2Error
	JSON401      *Oauth2Error
	JSON500      *Oauth2Error
}

func ParseGetApiV1ProvidersOpenstackProjectsResponse

func ParseGetApiV1ProvidersOpenstackProjectsResponse(rsp *http.Response) (*GetApiV1ProvidersOpenstackProjectsResponse, error)

ParseGetApiV1ProvidersOpenstackProjectsResponse parses an HTTP response from a GetApiV1ProvidersOpenstackProjectsWithResponse call

func (GetApiV1ProvidersOpenstackProjectsResponse) Status

Status returns HTTPResponse.Status

func (GetApiV1ProvidersOpenstackProjectsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type Hour

type Hour = int

Hour An hour of the day in UTC.

type HttpRequestDoer

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

Doer performs HTTP requests.

The standard http.Client implements this interface.

type InternalServerErrorResponse

type InternalServerErrorResponse = Oauth2Error

InternalServerErrorResponse Generic error message.

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 JsonWebKey

type JsonWebKey = map[string]interface{}

JsonWebKey JSON web key. See the relevant JWKS documentation for further details.

type JsonWebKeySet

type JsonWebKeySet struct {
	Keys *[]JsonWebKey `json:"keys,omitempty"`
}

JsonWebKeySet JSON web key set. This data type is defined by an external 3rd party standards committee. Consult the relevant documentation for further details.

type JwksResponse

type JwksResponse = JsonWebKeySet

JwksResponse JSON web key set. This data type is defined by an external 3rd party standards committee. Consult the relevant documentation for further details.

type KubernetesCluster

type KubernetesCluster struct {
	// Api Kubernetes API settings.
	Api *KubernetesClusterAPI `json:"api,omitempty"`

	// ApplicationBundle A bundle of applications. This forms the basis of resource versions. Bundles marked
	// as preview should not be selected by default, and end of life bundles should not be
	// used to avoid unnecessary upgrades. If enabled, automatic upgrades will occur if
	// a newer version of a bundle exists that is not in preview. When a bundle's end of
	// life expires, resources will undergo a foreced upgrade, regardless of whether
	// automatic upgrade is enabled for a resource or not.
	ApplicationBundle ApplicationBundle `json:"applicationBundle"`

	// ApplicationBundleAutoUpgrade When specified, enables auto upgrade of application bundles. All resources will be
	// automatically upgraded if the currently selected bundle is end of life.
	ApplicationBundleAutoUpgrade *ApplicationBundleAutoUpgrade `json:"applicationBundleAutoUpgrade,omitempty"`

	// ControlPlane A Kubernetes cluster machine.
	ControlPlane OpenstackMachinePool `json:"controlPlane"`

	// Features A set of optional add on features for the cluster.
	Features *KubernetesClusterFeatures `json:"features,omitempty"`

	// Name Cluster name.
	Name string `json:"name"`

	// Network A kubernetes cluster network settings.
	Network KubernetesClusterNetwork `json:"network"`

	// Openstack Kubernetes cluster creation OpenStack parameters.
	Openstack KubernetesClusterOpenStack `json:"openstack"`

	// Status A Kubernetes resource status.
	Status *KubernetesResourceStatus `json:"status,omitempty"`

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

KubernetesCluster Kubernetes cluster creation parameters.

type KubernetesClusterAPI

type KubernetesClusterAPI struct {
	// AllowedPrefixes Set of address prefixes to allow access to the Kubernetes API.
	AllowedPrefixes *[]string `json:"allowedPrefixes,omitempty"`

	// SubjectAlternativeNames Set of non-standard X.509 SANs to add to the API certificate.
	SubjectAlternativeNames *[]string `json:"subjectAlternativeNames,omitempty"`
}

KubernetesClusterAPI Kubernetes API settings.

type KubernetesClusterAutoscaling

type KubernetesClusterAutoscaling struct {
	// MaximumReplicas The maximum number of replicas to allow. Must be greater than the minimum.
	MaximumReplicas int `json:"maximumReplicas"`

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

type KubernetesClusterFeatures struct {
	// Autoscaling Enable auto-scaling.
	Autoscaling *bool `json:"autoscaling,omitempty"`

	// CertManager Enable cert-manager.
	CertManager *bool `json:"certManager,omitempty"`

	// FileStorage Enable POSIX file based persistent storage (Longhorn).
	FileStorage *bool `json:"fileStorage,omitempty"`

	// Ingress Enable an ingress controller.
	Ingress *bool `json:"ingress,omitempty"`

	// KubernetesDashboard Enable the Kubernetes dashboard.  Requires ingress and certManager to be enabled.
	KubernetesDashboard *bool `json:"kubernetesDashboard,omitempty"`

	// NvidiaOperator Install the NVIDIA Operator
	NvidiaOperator *bool `json:"nvidiaOperator,omitempty"`

	// Prometheus Enable Prometheus.
	Prometheus *bool `json:"prometheus,omitempty"`
}

KubernetesClusterFeatures A set of optional add on features for the cluster.

type KubernetesClusterNetwork

type KubernetesClusterNetwork struct {
	// DnsNameservers A list of DNS name server to use.
	DnsNameservers []string `json:"dnsNameservers"`

	// NodePrefix Network prefix to provision nodes in. Must be a valid CIDR block.
	NodePrefix string `json:"nodePrefix"`

	// PodPrefix Network prefix to provision pods in. Must be a valid CIDR block.
	PodPrefix string `json:"podPrefix"`

	// ServicePrefix Network prefix to provision services in. Must be a valid CIDR block.
	ServicePrefix string `json:"servicePrefix"`
}

KubernetesClusterNetwork A kubernetes cluster network settings.

type KubernetesClusterOpenStack

type KubernetesClusterOpenStack struct {
	// ComputeAvailabilityZone Compute availability zone for control plane, and workload pool default.
	ComputeAvailabilityZone string `json:"computeAvailabilityZone"`

	// ExternalNetworkID OpenStack external network ID.
	ExternalNetworkID string `json:"externalNetworkID"`

	// SshKeyName OpenStack SSH Key to install on all machines.
	SshKeyName *string `json:"sshKeyName,omitempty"`

	// VolumeAvailabilityZone Volume availability zone for control plane, and workload pool default.
	VolumeAvailabilityZone string `json:"volumeAvailabilityZone"`
}

KubernetesClusterOpenStack Kubernetes cluster creation OpenStack parameters.

type KubernetesClusterResponse

type KubernetesClusterResponse = KubernetesCluster

KubernetesClusterResponse 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"`

	// AvailabilityZone Workload pool availability zone. Overrides the cluster default.
	AvailabilityZone *string `json:"availabilityZone,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 OpenstackMachinePool `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 KubernetesClusters

type KubernetesClusters = []KubernetesCluster

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 KubernetesResourceStatus

type KubernetesResourceStatus struct {
	// CreationTime The time the resource was created.
	CreationTime time.Time `json:"creationTime"`

	// DeletionTime The time the resource was deleted.
	DeletionTime *time.Time `json:"deletionTime,omitempty"`

	// Name The name of the resource.
	Name string `json:"name"`

	// Status The current status of the resource. Intially the status will be "Unknown" until
	// the resource is reconciled by the relevant controller. It then will transition to
	// "Provisioning" and will be ready for use when it changes to "Provisioned". The status
	// will also transition to the "Provisioning" status during an update. The
	// status will change to "Deprovisioning" when a delete request is being processed.
	// It may also change to "Error" if an unexpected error occurred during any operation.
	// Errors may be transient.
	Status string `json:"status"`
}

KubernetesResourceStatus A Kubernetes resource status.

type MiddlewareFunc

type MiddlewareFunc func(http.Handler) http.Handler

type NotFoundResponse

type NotFoundResponse = Oauth2Error

NotFoundResponse Generic error message.

type Oauth2Error

type Oauth2Error struct {
	// Error A terse error string expanding on the HTTP error code. Errors are based on the OAuth2 specification, but are expanded with proprietary status codes for APIs other than those specified by OAuth2.
	Error Oauth2ErrorError `json:"error"`

	// ErrorDescription Verbose message describing the error.
	ErrorDescription string `json:"error_description"`
}

Oauth2Error Generic error message.

type Oauth2ErrorError

type Oauth2ErrorError string

Oauth2ErrorError A terse error string expanding on the HTTP error code. Errors are based on the OAuth2 specification, but are expanded with proprietary status codes for APIs other than those specified by OAuth2.

const (
	AccessDenied            Oauth2ErrorError = "access_denied"
	Conflict                Oauth2ErrorError = "conflict"
	Forbidden               Oauth2ErrorError = "forbidden"
	InvalidClient           Oauth2ErrorError = "invalid_client"
	InvalidGrant            Oauth2ErrorError = "invalid_grant"
	InvalidRequest          Oauth2ErrorError = "invalid_request"
	InvalidScope            Oauth2ErrorError = "invalid_scope"
	MethodNotAllowed        Oauth2ErrorError = "method_not_allowed"
	NotFound                Oauth2ErrorError = "not_found"
	ServerError             Oauth2ErrorError = "server_error"
	TemporarilyUnavailable  Oauth2ErrorError = "temporarily_unavailable"
	UnauthorizedClient      Oauth2ErrorError = "unauthorized_client"
	UnsupportedGrantType    Oauth2ErrorError = "unsupported_grant_type"
	UnsupportedMediaType    Oauth2ErrorError = "unsupported_media_type"
	UnsupportedResponseType Oauth2ErrorError = "unsupported_response_type"
)

Defines values for Oauth2ErrorError.

type OpenstackAvailabilityZone

type OpenstackAvailabilityZone struct {
	// Name The availability zone name.
	Name string `json:"name"`
}

OpenstackAvailabilityZone An OpenStack availability zone.

type OpenstackAvailabilityZones

type OpenstackAvailabilityZones = []OpenstackAvailabilityZone

OpenstackAvailabilityZones A list of OpenStack availability zones.

type OpenstackBlockStorageAvailabilityZonesResponse

type OpenstackBlockStorageAvailabilityZonesResponse = OpenstackAvailabilityZones

OpenstackBlockStorageAvailabilityZonesResponse A list of OpenStack availability zones.

type OpenstackComputeAvailabilityZonesResponse

type OpenstackComputeAvailabilityZonesResponse = OpenstackAvailabilityZones

OpenstackComputeAvailabilityZonesResponse A list of OpenStack availability zones.

type OpenstackExternalNetwork

type OpenstackExternalNetwork struct {
	// Id OpenStack external network ID.
	Id string `json:"id"`

	// Name Opestack external network name.
	Name string `json:"name"`
}

OpenstackExternalNetwork An OpenStack external network.

type OpenstackExternalNetworks

type OpenstackExternalNetworks = []OpenstackExternalNetwork

OpenstackExternalNetworks A list of OpenStack external networks.

type OpenstackExternalNetworksResponse

type OpenstackExternalNetworksResponse = OpenstackExternalNetworks

OpenstackExternalNetworksResponse A list of OpenStack external networks.

type OpenstackFlavor

type OpenstackFlavor struct {
	// Cpus The number of CPUs.
	Cpus int `json:"cpus"`

	// Disk The amount of ephemeral disk in GB.
	Disk int `json:"disk"`

	// Gpus The number of GPUs, if not set there are none.
	Gpus *int `json:"gpus,omitempty"`

	// Id The unique flavor ID.
	Id string `json:"id"`

	// Memory The amount of memory in GiB.
	Memory int `json:"memory"`

	// Name The flavor name.
	Name string `json:"name"`
}

OpenstackFlavor An OpenStack flavor.

type OpenstackFlavors

type OpenstackFlavors = []OpenstackFlavor

OpenstackFlavors A list of OpenStack flavors.

type OpenstackFlavorsResponse

type OpenstackFlavorsResponse = OpenstackFlavors

OpenstackFlavorsResponse A list of OpenStack flavors.

type OpenstackImage

type OpenstackImage struct {
	// Created Time when the image was created. Images with a newer creation time should
	// be favoured over older images as they will contain updates and fewer vulnerabilities.
	Created time.Time `json:"created"`

	// Id The unique image ID.
	Id string `json:"id"`

	// Modified Time when the image was last modified.
	Modified time.Time `json:"modified"`

	// Name The image name.
	Name string `json:"name"`

	// Versions Image version metadata.
	Versions struct {
		// Kubernetes The kubernetes semantic version.  This should be used directly when specifying
		// Kubernetes control planes and workload pools in a cluster specification.
		Kubernetes string `json:"kubernetes"`

		// NvidiaDriver The nvidia driver version.
		NvidiaDriver string `json:"nvidiaDriver"`
	} `json:"versions"`
}

OpenstackImage And OpenStack image.

type OpenstackImages

type OpenstackImages = []OpenstackImage

OpenstackImages A list of OpenStack images that are compatible with this platform.

type OpenstackImagesResponse

type OpenstackImagesResponse = OpenstackImages

OpenstackImagesResponse A list of OpenStack images that are compatible with this platform.

type OpenstackKeyPair

type OpenstackKeyPair struct {
	// Name The key pair name.
	Name string `json:"name"`
}

OpenstackKeyPair An OpenStack SSH key pair.

type OpenstackKeyPairs

type OpenstackKeyPairs = []OpenstackKeyPair

OpenstackKeyPairs A list of OpenStack key pairs.

type OpenstackKeyPairsResponse

type OpenstackKeyPairsResponse = OpenstackKeyPairs

OpenstackKeyPairsResponse A list of OpenStack key pairs.

type OpenstackMachinePool

type OpenstackMachinePool struct {
	// Disk An OpenStack volume.
	Disk *OpenstackVolume `json:"disk,omitempty"`

	// FlavorName OpenStack flavor name.
	FlavorName string `json:"flavorName"`

	// ImageName OpenStack image name.
	ImageName string `json:"imageName"`

	// Replicas Number of machines.
	Replicas int `json:"replicas"`

	// Version Kubernetes version. This should be derived from the image name as images
	// will be preloaded with containers for a specific Kubernetes version.
	Version string `json:"version"`
}

OpenstackMachinePool A Kubernetes cluster machine.

type OpenstackProject

type OpenstackProject struct {
	// Description A verbose description of the project.
	Description *string `json:"description,omitempty"`

	// Id The unique project ID.
	Id string `json:"id"`

	// Name The name of the project.
	Name string `json:"name"`
}

OpenstackProject An OpenStack project.

type OpenstackProjects

type OpenstackProjects = []OpenstackProject

OpenstackProjects A list of OpenStack projects.

type OpenstackProjectsResponse

type OpenstackProjectsResponse = OpenstackProjects

OpenstackProjectsResponse A list of OpenStack projects.

type OpenstackVolume

type OpenstackVolume struct {
	// AvailabilityZone Volume availability zone. Overrides the cluster default.
	AvailabilityZone *string `json:"availabilityZone,omitempty"`

	// Size Disk size in GiB.
	Size int `json:"size"`
}

OpenstackVolume An OpenStack volume.

type PostApiV1AuthOauth2TokensFormdataRequestBody

type PostApiV1AuthOauth2TokensFormdataRequestBody = TokenRequestOptions

PostApiV1AuthOauth2TokensFormdataRequestBody defines body for PostApiV1AuthOauth2Tokens for application/x-www-form-urlencoded ContentType.

type PostApiV1AuthOauth2TokensResponse

type PostApiV1AuthOauth2TokensResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Token
	JSON400      *Oauth2Error
	JSON401      *Oauth2Error
	JSON500      *Oauth2Error
}

func ParsePostApiV1AuthOauth2TokensResponse

func ParsePostApiV1AuthOauth2TokensResponse(rsp *http.Response) (*PostApiV1AuthOauth2TokensResponse, error)

ParsePostApiV1AuthOauth2TokensResponse parses an HTTP response from a PostApiV1AuthOauth2TokensWithResponse call

func (PostApiV1AuthOauth2TokensResponse) Status

Status returns HTTPResponse.Status

func (PostApiV1AuthOauth2TokensResponse) StatusCode

func (r PostApiV1AuthOauth2TokensResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostApiV1AuthTokensTokenJSONRequestBody

type PostApiV1AuthTokensTokenJSONRequestBody = TokenScope

PostApiV1AuthTokensTokenJSONRequestBody defines body for PostApiV1AuthTokensToken for application/json ContentType.

type PostApiV1AuthTokensTokenResponse

type PostApiV1AuthTokensTokenResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Token
	JSON400      *Oauth2Error
	JSON401      *Oauth2Error
	JSON500      *Oauth2Error
}

func ParsePostApiV1AuthTokensTokenResponse

func ParsePostApiV1AuthTokensTokenResponse(rsp *http.Response) (*PostApiV1AuthTokensTokenResponse, error)

ParsePostApiV1AuthTokensTokenResponse parses an HTTP response from a PostApiV1AuthTokensTokenWithResponse call

func (PostApiV1AuthTokensTokenResponse) Status

Status returns HTTPResponse.Status

func (PostApiV1AuthTokensTokenResponse) StatusCode

func (r PostApiV1AuthTokensTokenResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostApiV1ControlplanesControlPlaneNameClustersJSONRequestBody

type PostApiV1ControlplanesControlPlaneNameClustersJSONRequestBody = KubernetesCluster

PostApiV1ControlplanesControlPlaneNameClustersJSONRequestBody defines body for PostApiV1ControlplanesControlPlaneNameClusters for application/json ContentType.

type PostApiV1ControlplanesControlPlaneNameClustersResponse

type PostApiV1ControlplanesControlPlaneNameClustersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *Oauth2Error
	JSON401      *Oauth2Error
	JSON403      *Oauth2Error
	JSON409      *Oauth2Error
	JSON500      *Oauth2Error
}

func ParsePostApiV1ControlplanesControlPlaneNameClustersResponse

func ParsePostApiV1ControlplanesControlPlaneNameClustersResponse(rsp *http.Response) (*PostApiV1ControlplanesControlPlaneNameClustersResponse, error)

ParsePostApiV1ControlplanesControlPlaneNameClustersResponse parses an HTTP response from a PostApiV1ControlplanesControlPlaneNameClustersWithResponse call

func (PostApiV1ControlplanesControlPlaneNameClustersResponse) Status

Status returns HTTPResponse.Status

func (PostApiV1ControlplanesControlPlaneNameClustersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostApiV1ControlplanesJSONRequestBody

type PostApiV1ControlplanesJSONRequestBody = ControlPlane

PostApiV1ControlplanesJSONRequestBody defines body for PostApiV1Controlplanes for application/json ContentType.

type PostApiV1ControlplanesResponse

type PostApiV1ControlplanesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *Oauth2Error
	JSON401      *Oauth2Error
	JSON409      *Oauth2Error
	JSON500      *Oauth2Error
}

func ParsePostApiV1ControlplanesResponse

func ParsePostApiV1ControlplanesResponse(rsp *http.Response) (*PostApiV1ControlplanesResponse, error)

ParsePostApiV1ControlplanesResponse parses an HTTP response from a PostApiV1ControlplanesWithResponse call

func (PostApiV1ControlplanesResponse) Status

Status returns HTTPResponse.Status

func (PostApiV1ControlplanesResponse) StatusCode

func (r PostApiV1ControlplanesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostApiV1ProjectResponse

type PostApiV1ProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *Oauth2Error
	JSON401      *Oauth2Error
	JSON409      *Oauth2Error
	JSON500      *Oauth2Error
}

func ParsePostApiV1ProjectResponse

func ParsePostApiV1ProjectResponse(rsp *http.Response) (*PostApiV1ProjectResponse, error)

ParsePostApiV1ProjectResponse parses an HTTP response from a PostApiV1ProjectWithResponse call

func (PostApiV1ProjectResponse) Status

func (r PostApiV1ProjectResponse) Status() string

Status returns HTTPResponse.Status

func (PostApiV1ProjectResponse) StatusCode

func (r PostApiV1ProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutApiV1ControlplanesControlPlaneNameClustersClusterNameJSONRequestBody

type PutApiV1ControlplanesControlPlaneNameClustersClusterNameJSONRequestBody = KubernetesCluster

PutApiV1ControlplanesControlPlaneNameClustersClusterNameJSONRequestBody defines body for PutApiV1ControlplanesControlPlaneNameClustersClusterName for application/json ContentType.

type PutApiV1ControlplanesControlPlaneNameClustersClusterNameResponse

type PutApiV1ControlplanesControlPlaneNameClustersClusterNameResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *Oauth2Error
	JSON401      *Oauth2Error
	JSON404      *Oauth2Error
	JSON500      *Oauth2Error
}

func ParsePutApiV1ControlplanesControlPlaneNameClustersClusterNameResponse

func ParsePutApiV1ControlplanesControlPlaneNameClustersClusterNameResponse(rsp *http.Response) (*PutApiV1ControlplanesControlPlaneNameClustersClusterNameResponse, error)

ParsePutApiV1ControlplanesControlPlaneNameClustersClusterNameResponse parses an HTTP response from a PutApiV1ControlplanesControlPlaneNameClustersClusterNameWithResponse call

func (PutApiV1ControlplanesControlPlaneNameClustersClusterNameResponse) Status

Status returns HTTPResponse.Status

func (PutApiV1ControlplanesControlPlaneNameClustersClusterNameResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PutApiV1ControlplanesControlPlaneNameJSONRequestBody

type PutApiV1ControlplanesControlPlaneNameJSONRequestBody = ControlPlane

PutApiV1ControlplanesControlPlaneNameJSONRequestBody defines body for PutApiV1ControlplanesControlPlaneName for application/json ContentType.

type PutApiV1ControlplanesControlPlaneNameResponse

type PutApiV1ControlplanesControlPlaneNameResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *Oauth2Error
	JSON401      *Oauth2Error
	JSON404      *Oauth2Error
	JSON500      *Oauth2Error
}

func ParsePutApiV1ControlplanesControlPlaneNameResponse

func ParsePutApiV1ControlplanesControlPlaneNameResponse(rsp *http.Response) (*PutApiV1ControlplanesControlPlaneNameResponse, error)

ParsePutApiV1ControlplanesControlPlaneNameResponse parses an HTTP response from a PutApiV1ControlplanesControlPlaneNameWithResponse call

func (PutApiV1ControlplanesControlPlaneNameResponse) Status

Status returns HTTPResponse.Status

func (PutApiV1ControlplanesControlPlaneNameResponse) 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/applicationbundles/cluster)
	GetApiV1ApplicationbundlesCluster(w http.ResponseWriter, r *http.Request)

	// (GET /api/v1/applicationbundles/controlPlane)
	GetApiV1ApplicationbundlesControlPlane(w http.ResponseWriter, r *http.Request)

	// (GET /api/v1/applications)
	GetApiV1Applications(w http.ResponseWriter, r *http.Request)

	// (GET /api/v1/auth/jwks)
	GetApiV1AuthJwks(w http.ResponseWriter, r *http.Request)

	// (GET /api/v1/auth/oauth2/authorization)
	GetApiV1AuthOauth2Authorization(w http.ResponseWriter, r *http.Request)

	// (POST /api/v1/auth/oauth2/tokens)
	PostApiV1AuthOauth2Tokens(w http.ResponseWriter, r *http.Request)

	// (GET /api/v1/auth/oidc/callback)
	GetApiV1AuthOidcCallback(w http.ResponseWriter, r *http.Request)

	// (POST /api/v1/auth/tokens/token)
	PostApiV1AuthTokensToken(w http.ResponseWriter, r *http.Request)

	// (GET /api/v1/controlplanes)
	GetApiV1Controlplanes(w http.ResponseWriter, r *http.Request)

	// (POST /api/v1/controlplanes)
	PostApiV1Controlplanes(w http.ResponseWriter, r *http.Request)

	// (DELETE /api/v1/controlplanes/{controlPlaneName})
	DeleteApiV1ControlplanesControlPlaneName(w http.ResponseWriter, r *http.Request, controlPlaneName ControlPlaneNameParameter)

	// (GET /api/v1/controlplanes/{controlPlaneName})
	GetApiV1ControlplanesControlPlaneName(w http.ResponseWriter, r *http.Request, controlPlaneName ControlPlaneNameParameter)

	// (PUT /api/v1/controlplanes/{controlPlaneName})
	PutApiV1ControlplanesControlPlaneName(w http.ResponseWriter, r *http.Request, controlPlaneName ControlPlaneNameParameter)

	// (GET /api/v1/controlplanes/{controlPlaneName}/clusters)
	GetApiV1ControlplanesControlPlaneNameClusters(w http.ResponseWriter, r *http.Request, controlPlaneName ControlPlaneNameParameter)

	// (POST /api/v1/controlplanes/{controlPlaneName}/clusters)
	PostApiV1ControlplanesControlPlaneNameClusters(w http.ResponseWriter, r *http.Request, controlPlaneName ControlPlaneNameParameter)

	// (DELETE /api/v1/controlplanes/{controlPlaneName}/clusters/{clusterName})
	DeleteApiV1ControlplanesControlPlaneNameClustersClusterName(w http.ResponseWriter, r *http.Request, controlPlaneName ControlPlaneNameParameter, clusterName ClusterNameParameter)

	// (GET /api/v1/controlplanes/{controlPlaneName}/clusters/{clusterName})
	GetApiV1ControlplanesControlPlaneNameClustersClusterName(w http.ResponseWriter, r *http.Request, controlPlaneName ControlPlaneNameParameter, clusterName ClusterNameParameter)

	// (PUT /api/v1/controlplanes/{controlPlaneName}/clusters/{clusterName})
	PutApiV1ControlplanesControlPlaneNameClustersClusterName(w http.ResponseWriter, r *http.Request, controlPlaneName ControlPlaneNameParameter, clusterName ClusterNameParameter)

	// (GET /api/v1/controlplanes/{controlPlaneName}/clusters/{clusterName}/kubeconfig)
	GetApiV1ControlplanesControlPlaneNameClustersClusterNameKubeconfig(w http.ResponseWriter, r *http.Request, controlPlaneName ControlPlaneNameParameter, clusterName ClusterNameParameter)

	// (DELETE /api/v1/project)
	DeleteApiV1Project(w http.ResponseWriter, r *http.Request)

	// (POST /api/v1/project)
	PostApiV1Project(w http.ResponseWriter, r *http.Request)

	// (GET /api/v1/providers/openstack/availability-zones/block-storage)
	GetApiV1ProvidersOpenstackAvailabilityZonesBlockStorage(w http.ResponseWriter, r *http.Request)

	// (GET /api/v1/providers/openstack/availability-zones/compute)
	GetApiV1ProvidersOpenstackAvailabilityZonesCompute(w http.ResponseWriter, r *http.Request)

	// (GET /api/v1/providers/openstack/external-networks)
	GetApiV1ProvidersOpenstackExternalNetworks(w http.ResponseWriter, r *http.Request)

	// (GET /api/v1/providers/openstack/flavors)
	GetApiV1ProvidersOpenstackFlavors(w http.ResponseWriter, r *http.Request)

	// (GET /api/v1/providers/openstack/images)
	GetApiV1ProvidersOpenstackImages(w http.ResponseWriter, r *http.Request)

	// (GET /api/v1/providers/openstack/key-pairs)
	GetApiV1ProvidersOpenstackKeyPairs(w http.ResponseWriter, r *http.Request)

	// (GET /api/v1/providers/openstack/projects)
	GetApiV1ProvidersOpenstackProjects(w http.ResponseWriter, r *http.Request)
}

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

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

DeleteApiV1ControlplanesControlPlaneName operation middleware

func (*ServerInterfaceWrapper) DeleteApiV1ControlplanesControlPlaneNameClustersClusterName

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

DeleteApiV1ControlplanesControlPlaneNameClustersClusterName operation middleware

func (*ServerInterfaceWrapper) DeleteApiV1Project

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

DeleteApiV1Project operation middleware

func (*ServerInterfaceWrapper) GetApiV1ApplicationbundlesCluster

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

GetApiV1ApplicationbundlesCluster operation middleware

func (*ServerInterfaceWrapper) GetApiV1ApplicationbundlesControlPlane

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

GetApiV1ApplicationbundlesControlPlane operation middleware

func (*ServerInterfaceWrapper) GetApiV1Applications

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

GetApiV1Applications operation middleware

func (*ServerInterfaceWrapper) GetApiV1AuthJwks

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

GetApiV1AuthJwks operation middleware

func (*ServerInterfaceWrapper) GetApiV1AuthOauth2Authorization

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

GetApiV1AuthOauth2Authorization operation middleware

func (*ServerInterfaceWrapper) GetApiV1AuthOidcCallback

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

GetApiV1AuthOidcCallback operation middleware

func (*ServerInterfaceWrapper) GetApiV1Controlplanes

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

GetApiV1Controlplanes operation middleware

func (*ServerInterfaceWrapper) GetApiV1ControlplanesControlPlaneName

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

GetApiV1ControlplanesControlPlaneName operation middleware

func (*ServerInterfaceWrapper) GetApiV1ControlplanesControlPlaneNameClusters

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

GetApiV1ControlplanesControlPlaneNameClusters operation middleware

func (*ServerInterfaceWrapper) GetApiV1ControlplanesControlPlaneNameClustersClusterName

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

GetApiV1ControlplanesControlPlaneNameClustersClusterName operation middleware

func (*ServerInterfaceWrapper) GetApiV1ControlplanesControlPlaneNameClustersClusterNameKubeconfig

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

GetApiV1ControlplanesControlPlaneNameClustersClusterNameKubeconfig operation middleware

func (*ServerInterfaceWrapper) GetApiV1ProvidersOpenstackAvailabilityZonesBlockStorage

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

GetApiV1ProvidersOpenstackAvailabilityZonesBlockStorage operation middleware

func (*ServerInterfaceWrapper) GetApiV1ProvidersOpenstackAvailabilityZonesCompute

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

GetApiV1ProvidersOpenstackAvailabilityZonesCompute operation middleware

func (*ServerInterfaceWrapper) GetApiV1ProvidersOpenstackExternalNetworks

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

GetApiV1ProvidersOpenstackExternalNetworks operation middleware

func (*ServerInterfaceWrapper) GetApiV1ProvidersOpenstackFlavors

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

GetApiV1ProvidersOpenstackFlavors operation middleware

func (*ServerInterfaceWrapper) GetApiV1ProvidersOpenstackImages

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

GetApiV1ProvidersOpenstackImages operation middleware

func (*ServerInterfaceWrapper) GetApiV1ProvidersOpenstackKeyPairs

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

GetApiV1ProvidersOpenstackKeyPairs operation middleware

func (*ServerInterfaceWrapper) GetApiV1ProvidersOpenstackProjects

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

GetApiV1ProvidersOpenstackProjects operation middleware

func (*ServerInterfaceWrapper) PostApiV1AuthOauth2Tokens

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

PostApiV1AuthOauth2Tokens operation middleware

func (*ServerInterfaceWrapper) PostApiV1AuthTokensToken

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

PostApiV1AuthTokensToken operation middleware

func (*ServerInterfaceWrapper) PostApiV1Controlplanes

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

PostApiV1Controlplanes operation middleware

func (*ServerInterfaceWrapper) PostApiV1ControlplanesControlPlaneNameClusters

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

PostApiV1ControlplanesControlPlaneNameClusters operation middleware

func (*ServerInterfaceWrapper) PostApiV1Project

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

PostApiV1Project operation middleware

func (*ServerInterfaceWrapper) PutApiV1ControlplanesControlPlaneName

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

PutApiV1ControlplanesControlPlaneName operation middleware

func (*ServerInterfaceWrapper) PutApiV1ControlplanesControlPlaneNameClustersClusterName

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

PutApiV1ControlplanesControlPlaneNameClustersClusterName operation middleware

type TimeWindow

type TimeWindow struct {
	// End An hour of the day in UTC.
	End Hour `json:"end"`

	// Start An hour of the day in UTC.
	Start Hour `json:"start"`
}

TimeWindow A time window that wraps into the next day if required.

type Token

type Token struct {
	// AccessToken The opaque access token.
	AccessToken string `json:"access_token"`

	// ExpiresIn The time in seconds the token will last for.
	ExpiresIn int `json:"expires_in"`

	// IdToken An OIDC ID token.
	IdToken *string `json:"id_token,omitempty"`

	// TokenType How the access token is to be presented to the resource server.
	TokenType string `json:"token_type"`
}

Token Oauth2 token result.

type TokenRequestOptions

type TokenRequestOptions struct {
	// ClientId Client ID. Required with the "code" grant type.
	ClientId *string `json:"client_id"`

	// Code Authorization code. Required with the "code" grant type.
	Code *string `json:"code"`

	// CodeVerifier Client code verifier. Required with the "code" grant type.
	CodeVerifier *string `json:"code_verifier"`

	// GrantType Supported grant type.  Must be either "code" or "password".
	GrantType string `json:"grant_type"`

	// Password Resource owner password. Required with the "password" grant type.
	Password *string `json:"password"`

	// RedirectUri Client redirect URI. Required with the "code" grant type.
	RedirectUri *string `json:"redirect_uri"`

	// Username Resource owner username. Required with the "password" grant type.
	Username *string `json:"username"`
	// contains filtered or unexported fields
}

TokenRequestOptions oauth2 token endpoint.

func (TokenRequestOptions) AsTokenRequestOptions0

func (t TokenRequestOptions) AsTokenRequestOptions0() (TokenRequestOptions0, error)

AsTokenRequestOptions0 returns the union data inside the TokenRequestOptions as a TokenRequestOptions0

func (TokenRequestOptions) AsTokenRequestOptions1

func (t TokenRequestOptions) AsTokenRequestOptions1() (TokenRequestOptions1, error)

AsTokenRequestOptions1 returns the union data inside the TokenRequestOptions as a TokenRequestOptions1

func (*TokenRequestOptions) FromTokenRequestOptions0

func (t *TokenRequestOptions) FromTokenRequestOptions0(v TokenRequestOptions0) error

FromTokenRequestOptions0 overwrites any union data inside the TokenRequestOptions as the provided TokenRequestOptions0

func (*TokenRequestOptions) FromTokenRequestOptions1

func (t *TokenRequestOptions) FromTokenRequestOptions1(v TokenRequestOptions1) error

FromTokenRequestOptions1 overwrites any union data inside the TokenRequestOptions as the provided TokenRequestOptions1

func (TokenRequestOptions) MarshalJSON

func (t TokenRequestOptions) MarshalJSON() ([]byte, error)

func (*TokenRequestOptions) MergeTokenRequestOptions0

func (t *TokenRequestOptions) MergeTokenRequestOptions0(v TokenRequestOptions0) error

MergeTokenRequestOptions0 performs a merge with any union data inside the TokenRequestOptions, using the provided TokenRequestOptions0

func (*TokenRequestOptions) MergeTokenRequestOptions1

func (t *TokenRequestOptions) MergeTokenRequestOptions1(v TokenRequestOptions1) error

MergeTokenRequestOptions1 performs a merge with any union data inside the TokenRequestOptions, using the provided TokenRequestOptions1

func (*TokenRequestOptions) UnmarshalJSON

func (t *TokenRequestOptions) UnmarshalJSON(b []byte) error

type TokenRequestOptions0

type TokenRequestOptions0 struct {
	GrantType *interface{} `json:"grant_type,omitempty"`
}

TokenRequestOptions0 defines model for .

type TokenRequestOptions1

type TokenRequestOptions1 struct {
	GrantType *interface{} `json:"grant_type,omitempty"`
}

TokenRequestOptions1 defines model for .

type TokenResponse

type TokenResponse = Token

TokenResponse Oauth2 token result.

type TokenScope

type TokenScope struct {
	// Project OpenStack token project scope.
	Project TokenScopeProject `json:"project"`
}

TokenScope OpenStack token scope.

type TokenScopeProject

type TokenScopeProject struct {
	// Id OpenStack project ID.
	Id string `json:"id"`
}

TokenScopeProject OpenStack token project scope.

type TokenScopeRequest

type TokenScopeRequest = TokenScope

TokenScopeRequest OpenStack token scope.

type TooManyValuesForParamError

type TooManyValuesForParamError struct {
	ParamName string
	Count     int
}

func (*TooManyValuesForParamError) Error

type UnauthorizedResponse

type UnauthorizedResponse = Oauth2Error

UnauthorizedResponse Generic error message.

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 UnmarshallingParamError

type UnmarshallingParamError struct {
	ParamName string
	Err       error
}

func (*UnmarshallingParamError) Error

func (e *UnmarshallingParamError) Error() string

func (*UnmarshallingParamError) Unwrap

func (e *UnmarshallingParamError) Unwrap() error

Jump to

Keyboard shortcuts

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