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.
Index ¶
- Constants
- func NewDeleteApiV1ControlplanesControlPlaneNameClustersClusterNameRequest(server string, controlPlaneName ControlPlaneNameParameter, ...) (*http.Request, error)
- func NewDeleteApiV1ControlplanesControlPlaneNameRequest(server string, controlPlaneName ControlPlaneNameParameter) (*http.Request, error)
- func NewDeleteApiV1ProjectRequest(server string) (*http.Request, error)
- func NewGetApiV1ApplicationBundlesClusterRequest(server string) (*http.Request, error)
- func NewGetApiV1ApplicationBundlesControlPlaneRequest(server string) (*http.Request, error)
- func NewGetApiV1AuthJwksRequest(server string) (*http.Request, error)
- func NewGetApiV1AuthOauth2AuthorizationRequest(server string) (*http.Request, error)
- func NewGetApiV1AuthOidcCallbackRequest(server string) (*http.Request, error)
- func NewGetApiV1ControlplanesControlPlaneNameClustersClusterNameKubeconfigRequest(server string, controlPlaneName ControlPlaneNameParameter, ...) (*http.Request, error)
- func NewGetApiV1ControlplanesControlPlaneNameClustersClusterNameRequest(server string, controlPlaneName ControlPlaneNameParameter, ...) (*http.Request, error)
- func NewGetApiV1ControlplanesControlPlaneNameClustersRequest(server string, controlPlaneName ControlPlaneNameParameter) (*http.Request, error)
- func NewGetApiV1ControlplanesControlPlaneNameRequest(server string, controlPlaneName ControlPlaneNameParameter) (*http.Request, error)
- func NewGetApiV1ControlplanesRequest(server string) (*http.Request, error)
- func NewGetApiV1ProjectRequest(server string) (*http.Request, error)
- func NewGetApiV1ProvidersOpenstackAvailabilityZonesBlockStorageRequest(server string) (*http.Request, error)
- func NewGetApiV1ProvidersOpenstackAvailabilityZonesComputeRequest(server string) (*http.Request, error)
- func NewGetApiV1ProvidersOpenstackExternalNetworksRequest(server string) (*http.Request, error)
- func NewGetApiV1ProvidersOpenstackFlavorsRequest(server string) (*http.Request, error)
- func NewGetApiV1ProvidersOpenstackImagesRequest(server string) (*http.Request, error)
- func NewGetApiV1ProvidersOpenstackKeyPairsRequest(server string) (*http.Request, error)
- func NewGetApiV1ProvidersOpenstackProjectsRequest(server string) (*http.Request, error)
- func NewPostApiV1AuthOauth2TokensRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostApiV1AuthOauth2TokensRequestWithFormdataBody(server string, body PostApiV1AuthOauth2TokensFormdataRequestBody) (*http.Request, error)
- func NewPostApiV1AuthTokensTokenRequest(server string, body PostApiV1AuthTokensTokenJSONRequestBody) (*http.Request, error)
- func NewPostApiV1AuthTokensTokenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostApiV1ControlplanesControlPlaneNameClustersRequest(server string, controlPlaneName ControlPlaneNameParameter, ...) (*http.Request, error)
- func NewPostApiV1ControlplanesControlPlaneNameClustersRequestWithBody(server string, controlPlaneName ControlPlaneNameParameter, contentType string, ...) (*http.Request, error)
- func NewPostApiV1ControlplanesRequest(server string, body PostApiV1ControlplanesJSONRequestBody) (*http.Request, error)
- func NewPostApiV1ControlplanesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostApiV1ProjectRequest(server string) (*http.Request, error)
- func NewPutApiV1ControlplanesControlPlaneNameClustersClusterNameRequest(server string, controlPlaneName ControlPlaneNameParameter, ...) (*http.Request, error)
- func NewPutApiV1ControlplanesControlPlaneNameClustersClusterNameRequestWithBody(server string, controlPlaneName ControlPlaneNameParameter, ...) (*http.Request, error)
- func NewPutApiV1ControlplanesControlPlaneNameRequest(server string, controlPlaneName ControlPlaneNameParameter, ...) (*http.Request, error)
- func NewPutApiV1ControlplanesControlPlaneNameRequestWithBody(server string, controlPlaneName ControlPlaneNameParameter, contentType string, ...) (*http.Request, error)
- type ApplicationBundle
- type ApplicationBundleAutoUpgrade
- type ApplicationBundleResponse
- type ApplicationBundles
- type AutoUpgradeDaysOfWeek
- type BadRequestResponse
- type Client
- func (c *Client) DeleteApiV1ControlplanesControlPlaneName(ctx context.Context, controlPlaneName ControlPlaneNameParameter, ...) (*http.Response, error)
- func (c *Client) DeleteApiV1ControlplanesControlPlaneNameClustersClusterName(ctx context.Context, controlPlaneName ControlPlaneNameParameter, ...) (*http.Response, error)
- func (c *Client) DeleteApiV1Project(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetApiV1ApplicationBundlesCluster(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetApiV1ApplicationBundlesControlPlane(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetApiV1AuthJwks(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetApiV1AuthOauth2Authorization(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetApiV1AuthOidcCallback(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetApiV1Controlplanes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetApiV1ControlplanesControlPlaneName(ctx context.Context, controlPlaneName ControlPlaneNameParameter, ...) (*http.Response, error)
- func (c *Client) GetApiV1ControlplanesControlPlaneNameClusters(ctx context.Context, controlPlaneName ControlPlaneNameParameter, ...) (*http.Response, error)
- func (c *Client) GetApiV1ControlplanesControlPlaneNameClustersClusterName(ctx context.Context, controlPlaneName ControlPlaneNameParameter, ...) (*http.Response, error)
- func (c *Client) GetApiV1ControlplanesControlPlaneNameClustersClusterNameKubeconfig(ctx context.Context, controlPlaneName ControlPlaneNameParameter, ...) (*http.Response, error)
- func (c *Client) GetApiV1Project(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetApiV1ProvidersOpenstackAvailabilityZonesBlockStorage(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetApiV1ProvidersOpenstackAvailabilityZonesCompute(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetApiV1ProvidersOpenstackExternalNetworks(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetApiV1ProvidersOpenstackFlavors(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetApiV1ProvidersOpenstackImages(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetApiV1ProvidersOpenstackKeyPairs(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetApiV1ProvidersOpenstackProjects(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PostApiV1AuthOauth2TokensWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostApiV1AuthOauth2TokensWithFormdataBody(ctx context.Context, body PostApiV1AuthOauth2TokensFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) PostApiV1AuthTokensToken(ctx context.Context, body PostApiV1AuthTokensTokenJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostApiV1AuthTokensTokenWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostApiV1Controlplanes(ctx context.Context, body PostApiV1ControlplanesJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostApiV1ControlplanesControlPlaneNameClusters(ctx context.Context, controlPlaneName ControlPlaneNameParameter, ...) (*http.Response, error)
- func (c *Client) PostApiV1ControlplanesControlPlaneNameClustersWithBody(ctx context.Context, controlPlaneName ControlPlaneNameParameter, ...) (*http.Response, error)
- func (c *Client) PostApiV1ControlplanesWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostApiV1Project(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PutApiV1ControlplanesControlPlaneName(ctx context.Context, controlPlaneName ControlPlaneNameParameter, ...) (*http.Response, error)
- func (c *Client) PutApiV1ControlplanesControlPlaneNameClustersClusterName(ctx context.Context, controlPlaneName ControlPlaneNameParameter, ...) (*http.Response, error)
- func (c *Client) PutApiV1ControlplanesControlPlaneNameClustersClusterNameWithBody(ctx context.Context, controlPlaneName ControlPlaneNameParameter, ...) (*http.Response, error)
- func (c *Client) PutApiV1ControlplanesControlPlaneNameWithBody(ctx context.Context, controlPlaneName ControlPlaneNameParameter, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) DeleteApiV1ControlplanesControlPlaneNameClustersClusterNameWithResponse(ctx context.Context, controlPlaneName ControlPlaneNameParameter, ...) (*DeleteApiV1ControlplanesControlPlaneNameClustersClusterNameResponse, error)
- func (c *ClientWithResponses) DeleteApiV1ControlplanesControlPlaneNameWithResponse(ctx context.Context, controlPlaneName ControlPlaneNameParameter, ...) (*DeleteApiV1ControlplanesControlPlaneNameResponse, error)
- func (c *ClientWithResponses) DeleteApiV1ProjectWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteApiV1ProjectResponse, error)
- func (c *ClientWithResponses) GetApiV1ApplicationBundlesClusterWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1ApplicationBundlesClusterResponse, error)
- func (c *ClientWithResponses) GetApiV1ApplicationBundlesControlPlaneWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1ApplicationBundlesControlPlaneResponse, error)
- func (c *ClientWithResponses) GetApiV1AuthJwksWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1AuthJwksResponse, error)
- func (c *ClientWithResponses) GetApiV1AuthOauth2AuthorizationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1AuthOauth2AuthorizationResponse, error)
- func (c *ClientWithResponses) GetApiV1AuthOidcCallbackWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1AuthOidcCallbackResponse, error)
- func (c *ClientWithResponses) GetApiV1ControlplanesControlPlaneNameClustersClusterNameKubeconfigWithResponse(ctx context.Context, controlPlaneName ControlPlaneNameParameter, ...) (*GetApiV1ControlplanesControlPlaneNameClustersClusterNameKubeconfigResponse, ...)
- func (c *ClientWithResponses) GetApiV1ControlplanesControlPlaneNameClustersClusterNameWithResponse(ctx context.Context, controlPlaneName ControlPlaneNameParameter, ...) (*GetApiV1ControlplanesControlPlaneNameClustersClusterNameResponse, error)
- func (c *ClientWithResponses) GetApiV1ControlplanesControlPlaneNameClustersWithResponse(ctx context.Context, controlPlaneName ControlPlaneNameParameter, ...) (*GetApiV1ControlplanesControlPlaneNameClustersResponse, error)
- func (c *ClientWithResponses) GetApiV1ControlplanesControlPlaneNameWithResponse(ctx context.Context, controlPlaneName ControlPlaneNameParameter, ...) (*GetApiV1ControlplanesControlPlaneNameResponse, error)
- func (c *ClientWithResponses) GetApiV1ControlplanesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1ControlplanesResponse, error)
- func (c *ClientWithResponses) GetApiV1ProjectWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1ProjectResponse, error)
- func (c *ClientWithResponses) GetApiV1ProvidersOpenstackAvailabilityZonesBlockStorageWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1ProvidersOpenstackAvailabilityZonesBlockStorageResponse, error)
- func (c *ClientWithResponses) GetApiV1ProvidersOpenstackAvailabilityZonesComputeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1ProvidersOpenstackAvailabilityZonesComputeResponse, error)
- func (c *ClientWithResponses) GetApiV1ProvidersOpenstackExternalNetworksWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1ProvidersOpenstackExternalNetworksResponse, error)
- func (c *ClientWithResponses) GetApiV1ProvidersOpenstackFlavorsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1ProvidersOpenstackFlavorsResponse, error)
- func (c *ClientWithResponses) GetApiV1ProvidersOpenstackImagesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1ProvidersOpenstackImagesResponse, error)
- func (c *ClientWithResponses) GetApiV1ProvidersOpenstackKeyPairsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1ProvidersOpenstackKeyPairsResponse, error)
- func (c *ClientWithResponses) GetApiV1ProvidersOpenstackProjectsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1ProvidersOpenstackProjectsResponse, error)
- func (c *ClientWithResponses) PostApiV1AuthOauth2TokensWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostApiV1AuthOauth2TokensResponse, error)
- func (c *ClientWithResponses) PostApiV1AuthOauth2TokensWithFormdataBodyWithResponse(ctx context.Context, body PostApiV1AuthOauth2TokensFormdataRequestBody, ...) (*PostApiV1AuthOauth2TokensResponse, error)
- func (c *ClientWithResponses) PostApiV1AuthTokensTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostApiV1AuthTokensTokenResponse, error)
- func (c *ClientWithResponses) PostApiV1AuthTokensTokenWithResponse(ctx context.Context, body PostApiV1AuthTokensTokenJSONRequestBody, ...) (*PostApiV1AuthTokensTokenResponse, error)
- func (c *ClientWithResponses) PostApiV1ControlplanesControlPlaneNameClustersWithBodyWithResponse(ctx context.Context, controlPlaneName ControlPlaneNameParameter, ...) (*PostApiV1ControlplanesControlPlaneNameClustersResponse, error)
- func (c *ClientWithResponses) PostApiV1ControlplanesControlPlaneNameClustersWithResponse(ctx context.Context, controlPlaneName ControlPlaneNameParameter, ...) (*PostApiV1ControlplanesControlPlaneNameClustersResponse, error)
- func (c *ClientWithResponses) PostApiV1ControlplanesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostApiV1ControlplanesResponse, error)
- func (c *ClientWithResponses) PostApiV1ControlplanesWithResponse(ctx context.Context, body PostApiV1ControlplanesJSONRequestBody, ...) (*PostApiV1ControlplanesResponse, error)
- func (c *ClientWithResponses) PostApiV1ProjectWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostApiV1ProjectResponse, error)
- func (c *ClientWithResponses) PutApiV1ControlplanesControlPlaneNameClustersClusterNameWithBodyWithResponse(ctx context.Context, controlPlaneName ControlPlaneNameParameter, ...) (*PutApiV1ControlplanesControlPlaneNameClustersClusterNameResponse, error)
- func (c *ClientWithResponses) PutApiV1ControlplanesControlPlaneNameClustersClusterNameWithResponse(ctx context.Context, controlPlaneName ControlPlaneNameParameter, ...) (*PutApiV1ControlplanesControlPlaneNameClustersClusterNameResponse, error)
- func (c *ClientWithResponses) PutApiV1ControlplanesControlPlaneNameWithBodyWithResponse(ctx context.Context, controlPlaneName ControlPlaneNameParameter, ...) (*PutApiV1ControlplanesControlPlaneNameResponse, error)
- func (c *ClientWithResponses) PutApiV1ControlplanesControlPlaneNameWithResponse(ctx context.Context, controlPlaneName ControlPlaneNameParameter, ...) (*PutApiV1ControlplanesControlPlaneNameResponse, error)
- type ClientWithResponsesInterface
- type ClusterNameParameter
- type ControlPlane
- type ControlPlaneNameParameter
- type ControlPlaneResponse
- type ControlPlanes
- type ControlPlanesResponse
- type CreateControlPlaneRequest
- type CreateKubernetesClusterRequest
- type DeleteApiV1ControlplanesControlPlaneNameClustersClusterNameResponse
- type DeleteApiV1ControlplanesControlPlaneNameResponse
- type DeleteApiV1ProjectResponse
- type GetApiV1ApplicationBundlesClusterResponse
- type GetApiV1ApplicationBundlesControlPlaneResponse
- type GetApiV1AuthJwksResponse
- type GetApiV1AuthOauth2AuthorizationResponse
- type GetApiV1AuthOidcCallbackResponse
- type GetApiV1ControlplanesControlPlaneNameClustersClusterNameKubeconfigResponse
- type GetApiV1ControlplanesControlPlaneNameClustersClusterNameResponse
- type GetApiV1ControlplanesControlPlaneNameClustersResponse
- type GetApiV1ControlplanesControlPlaneNameResponse
- type GetApiV1ControlplanesResponse
- type GetApiV1ProjectResponse
- type GetApiV1ProvidersOpenstackAvailabilityZonesBlockStorageResponse
- type GetApiV1ProvidersOpenstackAvailabilityZonesComputeResponse
- type GetApiV1ProvidersOpenstackExternalNetworksResponse
- type GetApiV1ProvidersOpenstackFlavorsResponse
- type GetApiV1ProvidersOpenstackImagesResponse
- type GetApiV1ProvidersOpenstackKeyPairsResponse
- type GetApiV1ProvidersOpenstackProjectsResponse
- type Hour
- type HttpRequestDoer
- type InternalServerErrorResponse
- type JsonWebKey
- type JsonWebKeySet
- type JwksResponse
- type KubernetesCluster
- type KubernetesClusterAPI
- type KubernetesClusterAutoscaling
- type KubernetesClusterFeatures
- type KubernetesClusterNetwork
- type KubernetesClusterOpenstack
- type KubernetesClusterResponse
- type KubernetesClusterWorkloadPool
- type KubernetesClusterWorkloadPools
- type KubernetesClusters
- type KubernetesClustersResponse
- type KubernetesResourceStatus
- type NullResponse
- type Oauth2Error
- type Oauth2ErrorError
- type OpenstackAvailabilityZone
- type OpenstackAvailabilityZones
- type OpenstackBlockStorageAvailabilityZonesResponse
- type OpenstackComputeAvailabilityZonesResponse
- type OpenstackExternalNetwork
- type OpenstackExternalNetworks
- type OpenstackExternalNetworksResponse
- type OpenstackFlavor
- type OpenstackFlavors
- type OpenstackFlavorsResponse
- type OpenstackImage
- type OpenstackImages
- type OpenstackImagesResponse
- type OpenstackKeyPair
- type OpenstackKeyPairs
- type OpenstackKeyPairsResponse
- type OpenstackMachinePool
- type OpenstackProject
- type OpenstackProjects
- type OpenstackProjectsResponse
- type OpenstackVolume
- type PostApiV1AuthOauth2TokensFormdataRequestBody
- type PostApiV1AuthOauth2TokensResponse
- type PostApiV1AuthTokensTokenJSONRequestBody
- type PostApiV1AuthTokensTokenResponse
- type PostApiV1ControlplanesControlPlaneNameClustersJSONRequestBody
- type PostApiV1ControlplanesControlPlaneNameClustersResponse
- type PostApiV1ControlplanesJSONRequestBody
- type PostApiV1ControlplanesResponse
- type PostApiV1ProjectResponse
- type Project
- type ProjectResponse
- type PutApiV1ControlplanesControlPlaneNameClustersClusterNameJSONRequestBody
- type PutApiV1ControlplanesControlPlaneNameClustersClusterNameResponse
- type PutApiV1ControlplanesControlPlaneNameJSONRequestBody
- type PutApiV1ControlplanesControlPlaneNameResponse
- type RequestEditorFn
- type StringParameter
- type TimeWindow
- type Token
- type TokenRequestOptions
- func (t TokenRequestOptions) AsTokenRequestOptions0() (TokenRequestOptions0, error)
- func (t TokenRequestOptions) AsTokenRequestOptions1() (TokenRequestOptions1, error)
- func (t *TokenRequestOptions) FromTokenRequestOptions0(v TokenRequestOptions0) error
- func (t *TokenRequestOptions) FromTokenRequestOptions1(v TokenRequestOptions1) error
- func (t TokenRequestOptions) MarshalJSON() ([]byte, error)
- func (t *TokenRequestOptions) MergeTokenRequestOptions0(v TokenRequestOptions0) error
- func (t *TokenRequestOptions) MergeTokenRequestOptions1(v TokenRequestOptions1) error
- func (t *TokenRequestOptions) UnmarshalJSON(b []byte) error
- type TokenRequestOptions0
- type TokenRequestOptions1
- type TokenResponse
- type TokenScope
- type TokenScopeProject
- type TokenScopeRequest
- type UnauthorizedResponse
Constants ¶
const (
Oauth2AuthenticationScopes = "oauth2Authentication.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
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 ¶
NewDeleteApiV1ProjectRequest generates requests for DeleteApiV1Project
func NewGetApiV1ApplicationBundlesClusterRequest ¶
NewGetApiV1ApplicationBundlesClusterRequest generates requests for GetApiV1ApplicationBundlesCluster
func NewGetApiV1ApplicationBundlesControlPlaneRequest ¶
NewGetApiV1ApplicationBundlesControlPlaneRequest generates requests for GetApiV1ApplicationBundlesControlPlane
func NewGetApiV1AuthJwksRequest ¶
NewGetApiV1AuthJwksRequest generates requests for GetApiV1AuthJwks
func NewGetApiV1AuthOauth2AuthorizationRequest ¶
NewGetApiV1AuthOauth2AuthorizationRequest generates requests for GetApiV1AuthOauth2Authorization
func NewGetApiV1AuthOidcCallbackRequest ¶
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 ¶
NewGetApiV1ControlplanesRequest generates requests for GetApiV1Controlplanes
func NewGetApiV1ProjectRequest ¶
NewGetApiV1ProjectRequest generates requests for GetApiV1Project
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 ¶
NewGetApiV1ProvidersOpenstackExternalNetworksRequest generates requests for GetApiV1ProvidersOpenstackExternalNetworks
func NewGetApiV1ProvidersOpenstackFlavorsRequest ¶
NewGetApiV1ProvidersOpenstackFlavorsRequest generates requests for GetApiV1ProvidersOpenstackFlavors
func NewGetApiV1ProvidersOpenstackImagesRequest ¶
NewGetApiV1ProvidersOpenstackImagesRequest generates requests for GetApiV1ProvidersOpenstackImages
func NewGetApiV1ProvidersOpenstackKeyPairsRequest ¶
NewGetApiV1ProvidersOpenstackKeyPairsRequest generates requests for GetApiV1ProvidersOpenstackKeyPairs
func NewGetApiV1ProvidersOpenstackProjectsRequest ¶
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 ¶
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
Types ¶
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.
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.
type ApplicationBundleResponse ¶
type ApplicationBundleResponse = ApplicationBundles
ApplicationBundleResponse A list of application bundles.
type ApplicationBundles ¶
type ApplicationBundles = []ApplicationBundle
ApplicationBundles A list of application bundles.
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 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 (*Client) GetApiV1ApplicationBundlesCluster ¶
func (*Client) GetApiV1ApplicationBundlesControlPlane ¶
func (*Client) GetApiV1AuthJwks ¶
func (*Client) GetApiV1AuthOauth2Authorization ¶
func (*Client) GetApiV1AuthOidcCallback ¶
func (*Client) GetApiV1Controlplanes ¶
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) GetApiV1Project ¶
func (*Client) GetApiV1ProvidersOpenstackAvailabilityZonesBlockStorage ¶
func (*Client) GetApiV1ProvidersOpenstackAvailabilityZonesCompute ¶
func (*Client) GetApiV1ProvidersOpenstackExternalNetworks ¶
func (*Client) GetApiV1ProvidersOpenstackFlavors ¶
func (*Client) GetApiV1ProvidersOpenstackImages ¶
func (*Client) GetApiV1ProvidersOpenstackKeyPairs ¶
func (*Client) GetApiV1ProvidersOpenstackProjects ¶
func (*Client) PostApiV1AuthOauth2TokensWithBody ¶
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 (*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 (*Client) PostApiV1ControlplanesWithBody ¶
func (*Client) PostApiV1Project ¶
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 ¶
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)
// 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)
// GetApiV1Project request
GetApiV1Project(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 ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) 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) 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) GetApiV1ProjectWithResponse ¶
func (c *ClientWithResponses) GetApiV1ProjectWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1ProjectResponse, error)
GetApiV1ProjectWithResponse request returning *GetApiV1ProjectResponse
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) PostApiV1ControlplanesControlPlaneNameClustersWithResponse ¶
func (c *ClientWithResponses) PostApiV1ControlplanesControlPlaneNameClustersWithResponse(ctx context.Context, controlPlaneName ControlPlaneNameParameter, body PostApiV1ControlplanesControlPlaneNameClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiV1ControlplanesControlPlaneNameClustersResponse, error)
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) PutApiV1ControlplanesControlPlaneNameClustersClusterNameWithResponse ¶
func (c *ClientWithResponses) PutApiV1ControlplanesControlPlaneNameClustersClusterNameWithResponse(ctx context.Context, controlPlaneName ControlPlaneNameParameter, clusterName ClusterNameParameter, body PutApiV1ControlplanesControlPlaneNameClustersClusterNameJSONRequestBody, reqEditors ...RequestEditorFn) (*PutApiV1ControlplanesControlPlaneNameClustersClusterNameResponse, error)
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
func (*ClientWithResponses) PutApiV1ControlplanesControlPlaneNameWithResponse ¶
func (c *ClientWithResponses) PutApiV1ControlplanesControlPlaneNameWithResponse(ctx context.Context, controlPlaneName ControlPlaneNameParameter, body PutApiV1ControlplanesControlPlaneNameJSONRequestBody, reqEditors ...RequestEditorFn) (*PutApiV1ControlplanesControlPlaneNameResponse, error)
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)
// 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)
// GetApiV1Project request
GetApiV1ProjectWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1ProjectResponse, 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 = StringParameter
ClusterNameParameter A basic string parameter.
type ControlPlane ¶
type ControlPlane struct {
// ApplicationBundle A bundle of applications.
ApplicationBundle ApplicationBundle `json:"applicationBundle"`
// ApplicationBundleAutoUpgrade When specified enables auto upgrade of application bundles.
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 Unikorn control plane.
type ControlPlaneNameParameter ¶
type ControlPlaneNameParameter = StringParameter
ControlPlaneNameParameter A basic string parameter.
type ControlPlaneResponse ¶
type ControlPlaneResponse = ControlPlane
ControlPlaneResponse A Unikorn control plane.
type ControlPlanes ¶
type ControlPlanes = []ControlPlane
ControlPlanes A list of Unikorn control planes.
type ControlPlanesResponse ¶
type ControlPlanesResponse = ControlPlanes
ControlPlanesResponse A list of Unikorn control planes.
type CreateControlPlaneRequest ¶
type CreateControlPlaneRequest = ControlPlane
CreateControlPlaneRequest A Unikorn control plane.
type CreateKubernetesClusterRequest ¶
type CreateKubernetesClusterRequest = KubernetesCluster
CreateKubernetesClusterRequest Unikorn Kubernetes cluster creation parameters.
type DeleteApiV1ControlplanesControlPlaneNameClustersClusterNameResponse ¶
type DeleteApiV1ControlplanesControlPlaneNameClustersClusterNameResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *map[string]interface{}
JSON400 *Oauth2Error
JSON401 *Oauth2Error
JSON500 *Oauth2Error
}
func ParseDeleteApiV1ControlplanesControlPlaneNameClustersClusterNameResponse ¶
func ParseDeleteApiV1ControlplanesControlPlaneNameClustersClusterNameResponse(rsp *http.Response) (*DeleteApiV1ControlplanesControlPlaneNameClustersClusterNameResponse, error)
ParseDeleteApiV1ControlplanesControlPlaneNameClustersClusterNameResponse parses an HTTP response from a DeleteApiV1ControlplanesControlPlaneNameClustersClusterNameWithResponse call
func (DeleteApiV1ControlplanesControlPlaneNameClustersClusterNameResponse) Status ¶
func (r DeleteApiV1ControlplanesControlPlaneNameClustersClusterNameResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteApiV1ControlplanesControlPlaneNameClustersClusterNameResponse) StatusCode ¶
func (r DeleteApiV1ControlplanesControlPlaneNameClustersClusterNameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteApiV1ControlplanesControlPlaneNameResponse ¶
type DeleteApiV1ControlplanesControlPlaneNameResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *map[string]interface{}
JSON400 *Oauth2Error
JSON401 *Oauth2Error
JSON500 *Oauth2Error
}
func ParseDeleteApiV1ControlplanesControlPlaneNameResponse ¶
func ParseDeleteApiV1ControlplanesControlPlaneNameResponse(rsp *http.Response) (*DeleteApiV1ControlplanesControlPlaneNameResponse, error)
ParseDeleteApiV1ControlplanesControlPlaneNameResponse parses an HTTP response from a DeleteApiV1ControlplanesControlPlaneNameWithResponse call
func (DeleteApiV1ControlplanesControlPlaneNameResponse) Status ¶
func (r DeleteApiV1ControlplanesControlPlaneNameResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteApiV1ControlplanesControlPlaneNameResponse) StatusCode ¶
func (r DeleteApiV1ControlplanesControlPlaneNameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteApiV1ProjectResponse ¶
type DeleteApiV1ProjectResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *map[string]interface{}
JSON400 *Oauth2Error
JSON401 *Oauth2Error
JSON500 *Oauth2Error
}
func ParseDeleteApiV1ProjectResponse ¶
func ParseDeleteApiV1ProjectResponse(rsp *http.Response) (*DeleteApiV1ProjectResponse, error)
ParseDeleteApiV1ProjectResponse parses an HTTP response from a DeleteApiV1ProjectWithResponse call
func (DeleteApiV1ProjectResponse) Status ¶
func (r DeleteApiV1ProjectResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteApiV1ProjectResponse) StatusCode ¶
func (r DeleteApiV1ProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
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 ¶
func (r GetApiV1ApplicationBundlesClusterResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiV1ApplicationBundlesClusterResponse) StatusCode ¶
func (r GetApiV1ApplicationBundlesClusterResponse) StatusCode() int
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 ¶
func (r GetApiV1ApplicationBundlesControlPlaneResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiV1ApplicationBundlesControlPlaneResponse) StatusCode ¶
func (r GetApiV1ApplicationBundlesControlPlaneResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiV1AuthJwksResponse ¶
type GetApiV1AuthJwksResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *JsonWebKeySet
}
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 ¶
func (r GetApiV1AuthOauth2AuthorizationResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiV1AuthOauth2AuthorizationResponse) StatusCode ¶
func (r GetApiV1AuthOauth2AuthorizationResponse) StatusCode() int
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 ¶
func (r GetApiV1AuthOidcCallbackResponse) Status() string
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
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 ¶
func (r GetApiV1ControlplanesControlPlaneNameClustersClusterNameKubeconfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiV1ControlplanesControlPlaneNameClustersClusterNameResponse ¶
type GetApiV1ControlplanesControlPlaneNameClustersClusterNameResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *KubernetesCluster
JSON400 *Oauth2Error
JSON401 *Oauth2Error
JSON500 *Oauth2Error
}
func ParseGetApiV1ControlplanesControlPlaneNameClustersClusterNameResponse ¶
func ParseGetApiV1ControlplanesControlPlaneNameClustersClusterNameResponse(rsp *http.Response) (*GetApiV1ControlplanesControlPlaneNameClustersClusterNameResponse, error)
ParseGetApiV1ControlplanesControlPlaneNameClustersClusterNameResponse parses an HTTP response from a GetApiV1ControlplanesControlPlaneNameClustersClusterNameWithResponse call
func (GetApiV1ControlplanesControlPlaneNameClustersClusterNameResponse) Status ¶
func (r GetApiV1ControlplanesControlPlaneNameClustersClusterNameResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiV1ControlplanesControlPlaneNameClustersClusterNameResponse) StatusCode ¶
func (r GetApiV1ControlplanesControlPlaneNameClustersClusterNameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiV1ControlplanesControlPlaneNameClustersResponse ¶
type GetApiV1ControlplanesControlPlaneNameClustersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *KubernetesClusters
JSON400 *Oauth2Error
JSON401 *Oauth2Error
JSON500 *Oauth2Error
}
func ParseGetApiV1ControlplanesControlPlaneNameClustersResponse ¶
func ParseGetApiV1ControlplanesControlPlaneNameClustersResponse(rsp *http.Response) (*GetApiV1ControlplanesControlPlaneNameClustersResponse, error)
ParseGetApiV1ControlplanesControlPlaneNameClustersResponse parses an HTTP response from a GetApiV1ControlplanesControlPlaneNameClustersWithResponse call
func (GetApiV1ControlplanesControlPlaneNameClustersResponse) Status ¶
func (r GetApiV1ControlplanesControlPlaneNameClustersResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiV1ControlplanesControlPlaneNameClustersResponse) StatusCode ¶
func (r GetApiV1ControlplanesControlPlaneNameClustersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiV1ControlplanesControlPlaneNameResponse ¶
type GetApiV1ControlplanesControlPlaneNameResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ControlPlane
JSON400 *Oauth2Error
JSON401 *Oauth2Error
JSON500 *Oauth2Error
}
func ParseGetApiV1ControlplanesControlPlaneNameResponse ¶
func ParseGetApiV1ControlplanesControlPlaneNameResponse(rsp *http.Response) (*GetApiV1ControlplanesControlPlaneNameResponse, error)
ParseGetApiV1ControlplanesControlPlaneNameResponse parses an HTTP response from a GetApiV1ControlplanesControlPlaneNameWithResponse call
func (GetApiV1ControlplanesControlPlaneNameResponse) Status ¶
func (r GetApiV1ControlplanesControlPlaneNameResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiV1ControlplanesControlPlaneNameResponse) StatusCode ¶
func (r GetApiV1ControlplanesControlPlaneNameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiV1ControlplanesResponse ¶
type GetApiV1ControlplanesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ControlPlanes
JSON400 *Oauth2Error
JSON401 *Oauth2Error
JSON500 *Oauth2Error
}
func ParseGetApiV1ControlplanesResponse ¶
func ParseGetApiV1ControlplanesResponse(rsp *http.Response) (*GetApiV1ControlplanesResponse, error)
ParseGetApiV1ControlplanesResponse parses an HTTP response from a GetApiV1ControlplanesWithResponse call
func (GetApiV1ControlplanesResponse) Status ¶
func (r GetApiV1ControlplanesResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiV1ControlplanesResponse) StatusCode ¶
func (r GetApiV1ControlplanesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiV1ProjectResponse ¶
type GetApiV1ProjectResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Project
JSON400 *Oauth2Error
JSON401 *Oauth2Error
JSON500 *Oauth2Error
}
func ParseGetApiV1ProjectResponse ¶
func ParseGetApiV1ProjectResponse(rsp *http.Response) (*GetApiV1ProjectResponse, error)
ParseGetApiV1ProjectResponse parses an HTTP response from a GetApiV1ProjectWithResponse call
func (GetApiV1ProjectResponse) Status ¶
func (r GetApiV1ProjectResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiV1ProjectResponse) StatusCode ¶
func (r GetApiV1ProjectResponse) 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 ¶
func (r GetApiV1ProvidersOpenstackAvailabilityZonesBlockStorageResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiV1ProvidersOpenstackAvailabilityZonesBlockStorageResponse) StatusCode ¶
func (r GetApiV1ProvidersOpenstackAvailabilityZonesBlockStorageResponse) StatusCode() int
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 ¶
func (r GetApiV1ProvidersOpenstackAvailabilityZonesComputeResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiV1ProvidersOpenstackAvailabilityZonesComputeResponse) StatusCode ¶
func (r GetApiV1ProvidersOpenstackAvailabilityZonesComputeResponse) StatusCode() int
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 ¶
func (r GetApiV1ProvidersOpenstackExternalNetworksResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiV1ProvidersOpenstackExternalNetworksResponse) StatusCode ¶
func (r GetApiV1ProvidersOpenstackExternalNetworksResponse) StatusCode() int
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 ¶
func (r GetApiV1ProvidersOpenstackFlavorsResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiV1ProvidersOpenstackFlavorsResponse) StatusCode ¶
func (r GetApiV1ProvidersOpenstackFlavorsResponse) StatusCode() int
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 ¶
func (r GetApiV1ProvidersOpenstackImagesResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiV1ProvidersOpenstackImagesResponse) StatusCode ¶
func (r GetApiV1ProvidersOpenstackImagesResponse) StatusCode() int
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 ¶
func (r GetApiV1ProvidersOpenstackKeyPairsResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiV1ProvidersOpenstackKeyPairsResponse) StatusCode ¶
func (r GetApiV1ProvidersOpenstackKeyPairsResponse) StatusCode() int
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 ¶
func (r GetApiV1ProvidersOpenstackProjectsResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiV1ProvidersOpenstackProjectsResponse) StatusCode ¶
func (r GetApiV1ProvidersOpenstackProjectsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type InternalServerErrorResponse ¶
type InternalServerErrorResponse = Oauth2Error
InternalServerErrorResponse Generic error message.
type JsonWebKeySet ¶
type JsonWebKeySet struct {
Keys *[]JsonWebKey `json:"keys,omitempty"`
}
JsonWebKeySet JSON web key set.
type KubernetesCluster ¶
type KubernetesCluster struct {
// Api Kubernetes API settings.
Api *KubernetesClusterAPI `json:"api,omitempty"`
// ApplicationBundle A bundle of applications.
ApplicationBundle ApplicationBundle `json:"applicationBundle"`
// ApplicationBundleAutoUpgrade When specified enables auto upgrade of application bundles.
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 Unikorn Kubernetes cluster creation Openstack parameters.
Openstack KubernetesClusterOpenstack `json:"openstack"`
// Status A Kubernetes resource status.
Status *KubernetesResourceStatus `json:"status,omitempty"`
// WorkloadPools A non-empty list of Kubernetes cluster workload pools.
WorkloadPools KubernetesClusterWorkloadPools `json:"workloadPools"`
}
KubernetesCluster Unikorn 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.
MaximumReplicas int `json:"maximumReplicas"`
// MinimumReplicas The minimum number of replicas to allow.
MinimumReplicas int `json:"minimumReplicas"`
}
KubernetesClusterAutoscaling A Kubernetes cluster workload pool autoscaling configuration.
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.
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"`
// 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.
NodePrefix string `json:"nodePrefix"`
// PodPrefix Network prefix to provision pods in.
PodPrefix string `json:"podPrefix"`
// ServicePrefix Network prefix to provision services in.
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 Unikorn Kubernetes cluster creation Openstack parameters.
type KubernetesClusterResponse ¶
type KubernetesClusterResponse = KubernetesCluster
KubernetesClusterResponse Unikorn Kubernetes cluster creation parameters.
type KubernetesClusterWorkloadPool ¶
type KubernetesClusterWorkloadPool struct {
// Autoscaling A Kubernetes cluster workload pool autoscaling configuration.
Autoscaling *KubernetesClusterAutoscaling `json:"autoscaling,omitempty"`
// AvailabilityZone Workload pool availability zone.
AvailabilityZone *string `json:"availabilityZone,omitempty"`
// Labels Workload pool 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 non-empty list of Kubernetes cluster workload pools.
type KubernetesClusters ¶
type KubernetesClusters = []KubernetesCluster
KubernetesClusters A list of Unikorn Kubernetes clusters.
type KubernetesClustersResponse ¶
type KubernetesClustersResponse = KubernetesClusters
KubernetesClustersResponse A list of Unikorn Kubernetes clusters.
type KubernetesResourceStatus ¶
type KubernetesResourceStatus struct {
// CreationTime The time the resource was created.
CreationTime time.Time `json:"creationTime"`
// DeletionTime The time a control plane 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.
Status string `json:"status"`
}
KubernetesResourceStatus A Kubernetes resource status.
type NullResponse ¶
type NullResponse = map[string]interface{}
NullResponse defines model for nullResponse.
type Oauth2Error ¶
type Oauth2Error struct {
// Error A terse error string expaning on the HTTP error code.
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 expaning on the HTTP error code.
const ( AccessDenied Oauth2ErrorError = "access_denied" 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" 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"`
// 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.
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.
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 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.
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 Globally unique project ID.
Id string `json:"id"`
// Name The name of the project within the scope of the domain.
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.
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
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 ¶
func (r PostApiV1AuthOauth2TokensResponse) Status() string
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
JSON200 *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 ¶
func (r PostApiV1AuthTokensTokenResponse) Status() string
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
JSON500 *Oauth2Error
}
func ParsePostApiV1ControlplanesControlPlaneNameClustersResponse ¶
func ParsePostApiV1ControlplanesControlPlaneNameClustersResponse(rsp *http.Response) (*PostApiV1ControlplanesControlPlaneNameClustersResponse, error)
ParsePostApiV1ControlplanesControlPlaneNameClustersResponse parses an HTTP response from a PostApiV1ControlplanesControlPlaneNameClustersWithResponse call
func (PostApiV1ControlplanesControlPlaneNameClustersResponse) Status ¶
func (r PostApiV1ControlplanesControlPlaneNameClustersResponse) Status() string
Status returns HTTPResponse.Status
func (PostApiV1ControlplanesControlPlaneNameClustersResponse) StatusCode ¶
func (r PostApiV1ControlplanesControlPlaneNameClustersResponse) StatusCode() int
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
JSON500 *Oauth2Error
}
func ParsePostApiV1ControlplanesResponse ¶
func ParsePostApiV1ControlplanesResponse(rsp *http.Response) (*PostApiV1ControlplanesResponse, error)
ParsePostApiV1ControlplanesResponse parses an HTTP response from a PostApiV1ControlplanesWithResponse call
func (PostApiV1ControlplanesResponse) Status ¶
func (r PostApiV1ControlplanesResponse) Status() string
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
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 Project ¶
type Project struct {
// Status A Kubernetes resource status.
Status *KubernetesResourceStatus `json:"status,omitempty"`
}
Project A Unikorn project.
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
JSON500 *Oauth2Error
}
func ParsePutApiV1ControlplanesControlPlaneNameClustersClusterNameResponse ¶
func ParsePutApiV1ControlplanesControlPlaneNameClustersClusterNameResponse(rsp *http.Response) (*PutApiV1ControlplanesControlPlaneNameClustersClusterNameResponse, error)
ParsePutApiV1ControlplanesControlPlaneNameClustersClusterNameResponse parses an HTTP response from a PutApiV1ControlplanesControlPlaneNameClustersClusterNameWithResponse call
func (PutApiV1ControlplanesControlPlaneNameClustersClusterNameResponse) Status ¶
func (r PutApiV1ControlplanesControlPlaneNameClustersClusterNameResponse) Status() string
Status returns HTTPResponse.Status
func (PutApiV1ControlplanesControlPlaneNameClustersClusterNameResponse) StatusCode ¶
func (r PutApiV1ControlplanesControlPlaneNameClustersClusterNameResponse) StatusCode() int
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
JSON500 *Oauth2Error
}
func ParsePutApiV1ControlplanesControlPlaneNameResponse ¶
func ParsePutApiV1ControlplanesControlPlaneNameResponse(rsp *http.Response) (*PutApiV1ControlplanesControlPlaneNameResponse, error)
ParsePutApiV1ControlplanesControlPlaneNameResponse parses an HTTP response from a PutApiV1ControlplanesControlPlaneNameWithResponse call
func (PutApiV1ControlplanesControlPlaneNameResponse) Status ¶
func (r PutApiV1ControlplanesControlPlaneNameResponse) Status() string
Status returns HTTPResponse.Status
func (PutApiV1ControlplanesControlPlaneNameResponse) StatusCode ¶
func (r PutApiV1ControlplanesControlPlaneNameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
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.
ClientId *string `json:"client_id"`
// Code Authorization code.
Code *string `json:"code"`
// CodeVerifier Client code verifier.
CodeVerifier *string `json:"code_verifier"`
// GrantType Supported grant type.
GrantType string `json:"grant_type"`
// Password Resource owner password.
Password *string `json:"password"`
// RedirectUri Client redirect URI.
RedirectUri *string `json:"redirect_uri"`
// Username Resource owner username.
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 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 UnauthorizedResponse ¶
type UnauthorizedResponse = Oauth2Error
UnauthorizedResponse Generic error message.