addon

package
v2.21.1 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for addon API

func (*Client) CreateAddon

func (a *Client) CreateAddon(params *CreateAddonParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAddonCreated, error)

CreateAddon Creates an addon that will belong to the given cluster

func (*Client) CreateAddonV2

func (a *Client) CreateAddonV2(params *CreateAddonV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAddonV2Created, error)

CreateAddonV2 Creates an addon that will belong to the given cluster

func (*Client) DeleteAddon

func (a *Client) DeleteAddon(params *DeleteAddonParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAddonOK, error)

DeleteAddon deletes the given addon that belongs to the cluster

func (*Client) DeleteAddonV2

func (a *Client) DeleteAddonV2(params *DeleteAddonV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAddonV2OK, error)

DeleteAddonV2 deletes the given addon that belongs to the cluster

func (*Client) GetAddon

func (a *Client) GetAddon(params *GetAddonParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAddonOK, error)

GetAddon gets an addon that is assigned to the given cluster

func (*Client) GetAddonV2

func (a *Client) GetAddonV2(params *GetAddonV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAddonV2OK, error)

GetAddonV2 gets an addon that is assigned to the given cluster

func (*Client) ListAccessibleAddons

func (a *Client) ListAccessibleAddons(params *ListAccessibleAddonsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAccessibleAddonsOK, error)

ListAccessibleAddons Lists names of addons that can be configured inside the user clusters

func (*Client) ListAddons

func (a *Client) ListAddons(params *ListAddonsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAddonsOK, error)

ListAddons Lists addons that belong to the given cluster

func (*Client) ListAddonsV2

func (a *Client) ListAddonsV2(params *ListAddonsV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAddonsV2OK, error)

ListAddonsV2 Lists addons that belong to the given cluster

func (*Client) ListInstallableAddons

func (a *Client) ListInstallableAddons(params *ListInstallableAddonsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListInstallableAddonsOK, error)

ListInstallableAddons Lists names of addons that can be installed inside the user cluster

func (*Client) ListInstallableAddonsV2

func (a *Client) ListInstallableAddonsV2(params *ListInstallableAddonsV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListInstallableAddonsV2OK, error)

ListInstallableAddonsV2 Lists names of addons that can be installed inside the user cluster

func (*Client) PatchAddon

func (a *Client) PatchAddon(params *PatchAddonParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAddonOK, error)

PatchAddon patches an addon that is assigned to the given cluster

func (*Client) PatchAddonV2

func (a *Client) PatchAddonV2(params *PatchAddonV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAddonV2OK, error)

PatchAddonV2 patches an addon that is assigned to the given cluster

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption added in v2.18.0

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateAddon(params *CreateAddonParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAddonCreated, error)

	CreateAddonV2(params *CreateAddonV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAddonV2Created, error)

	DeleteAddon(params *DeleteAddonParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAddonOK, error)

	DeleteAddonV2(params *DeleteAddonV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAddonV2OK, error)

	GetAddon(params *GetAddonParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAddonOK, error)

	GetAddonV2(params *GetAddonV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAddonV2OK, error)

	ListAccessibleAddons(params *ListAccessibleAddonsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAccessibleAddonsOK, error)

	ListAddons(params *ListAddonsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAddonsOK, error)

	ListAddonsV2(params *ListAddonsV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAddonsV2OK, error)

	ListInstallableAddons(params *ListInstallableAddonsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListInstallableAddonsOK, error)

	ListInstallableAddonsV2(params *ListInstallableAddonsV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListInstallableAddonsV2OK, error)

	PatchAddon(params *PatchAddonParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAddonOK, error)

	PatchAddonV2(params *PatchAddonV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAddonV2OK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new addon API client.

type CreateAddonCreated

type CreateAddonCreated struct {
	Payload *models.Addon
}
CreateAddonCreated describes a response with status code 201, with default header values.

Addon

func NewCreateAddonCreated

func NewCreateAddonCreated() *CreateAddonCreated

NewCreateAddonCreated creates a CreateAddonCreated with default headers values

func (*CreateAddonCreated) Error

func (o *CreateAddonCreated) Error() string

func (*CreateAddonCreated) GetPayload

func (o *CreateAddonCreated) GetPayload() *models.Addon

type CreateAddonDefault

type CreateAddonDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
CreateAddonDefault describes a response with status code -1, with default header values.

errorResponse

func NewCreateAddonDefault

func NewCreateAddonDefault(code int) *CreateAddonDefault

NewCreateAddonDefault creates a CreateAddonDefault with default headers values

func (*CreateAddonDefault) Code

func (o *CreateAddonDefault) Code() int

Code gets the status code for the create addon default response

func (*CreateAddonDefault) Error

func (o *CreateAddonDefault) Error() string

func (*CreateAddonDefault) GetPayload

func (o *CreateAddonDefault) GetPayload() *models.ErrorResponse

type CreateAddonForbidden

type CreateAddonForbidden struct {
}
CreateAddonForbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewCreateAddonForbidden

func NewCreateAddonForbidden() *CreateAddonForbidden

NewCreateAddonForbidden creates a CreateAddonForbidden with default headers values

func (*CreateAddonForbidden) Error

func (o *CreateAddonForbidden) Error() string

type CreateAddonParams

type CreateAddonParams struct {

	// Body.
	Body *models.Addon

	// ClusterID.
	ClusterID string

	// Dc.
	DC string

	// ProjectID.
	ProjectID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateAddonParams contains all the parameters to send to the API endpoint

for the create addon operation.

Typically these are written to a http.Request.

func NewCreateAddonParams

func NewCreateAddonParams() *CreateAddonParams

NewCreateAddonParams creates a new CreateAddonParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateAddonParamsWithContext

func NewCreateAddonParamsWithContext(ctx context.Context) *CreateAddonParams

NewCreateAddonParamsWithContext creates a new CreateAddonParams object with the ability to set a context for a request.

func NewCreateAddonParamsWithHTTPClient

func NewCreateAddonParamsWithHTTPClient(client *http.Client) *CreateAddonParams

NewCreateAddonParamsWithHTTPClient creates a new CreateAddonParams object with the ability to set a custom HTTPClient for a request.

func NewCreateAddonParamsWithTimeout

func NewCreateAddonParamsWithTimeout(timeout time.Duration) *CreateAddonParams

NewCreateAddonParamsWithTimeout creates a new CreateAddonParams object with the ability to set a timeout on a request.

func (*CreateAddonParams) SetBody

func (o *CreateAddonParams) SetBody(body *models.Addon)

SetBody adds the body to the create addon params

func (*CreateAddonParams) SetClusterID

func (o *CreateAddonParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the create addon params

func (*CreateAddonParams) SetContext

func (o *CreateAddonParams) SetContext(ctx context.Context)

SetContext adds the context to the create addon params

func (*CreateAddonParams) SetDC

func (o *CreateAddonParams) SetDC(dc string)

SetDC adds the dc to the create addon params

func (*CreateAddonParams) SetDefaults added in v2.18.0

func (o *CreateAddonParams) SetDefaults()

SetDefaults hydrates default values in the create addon params (not the query body).

All values with no default are reset to their zero value.

func (*CreateAddonParams) SetHTTPClient

func (o *CreateAddonParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create addon params

func (*CreateAddonParams) SetProjectID

func (o *CreateAddonParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the create addon params

func (*CreateAddonParams) SetTimeout

func (o *CreateAddonParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create addon params

func (*CreateAddonParams) WithBody

func (o *CreateAddonParams) WithBody(body *models.Addon) *CreateAddonParams

WithBody adds the body to the create addon params

func (*CreateAddonParams) WithClusterID

func (o *CreateAddonParams) WithClusterID(clusterID string) *CreateAddonParams

WithClusterID adds the clusterID to the create addon params

func (*CreateAddonParams) WithContext

func (o *CreateAddonParams) WithContext(ctx context.Context) *CreateAddonParams

WithContext adds the context to the create addon params

func (*CreateAddonParams) WithDC

WithDC adds the dc to the create addon params

func (*CreateAddonParams) WithDefaults added in v2.18.0

func (o *CreateAddonParams) WithDefaults() *CreateAddonParams

WithDefaults hydrates default values in the create addon params (not the query body).

All values with no default are reset to their zero value.

func (*CreateAddonParams) WithHTTPClient

func (o *CreateAddonParams) WithHTTPClient(client *http.Client) *CreateAddonParams

WithHTTPClient adds the HTTPClient to the create addon params

func (*CreateAddonParams) WithProjectID

func (o *CreateAddonParams) WithProjectID(projectID string) *CreateAddonParams

WithProjectID adds the projectID to the create addon params

func (*CreateAddonParams) WithTimeout

func (o *CreateAddonParams) WithTimeout(timeout time.Duration) *CreateAddonParams

WithTimeout adds the timeout to the create addon params

func (*CreateAddonParams) WriteToRequest

func (o *CreateAddonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateAddonReader

type CreateAddonReader struct {
	// contains filtered or unexported fields
}

CreateAddonReader is a Reader for the CreateAddon structure.

func (*CreateAddonReader) ReadResponse

func (o *CreateAddonReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateAddonUnauthorized

type CreateAddonUnauthorized struct {
}
CreateAddonUnauthorized describes a response with status code 401, with default header values.

EmptyResponse is a empty response

func NewCreateAddonUnauthorized

func NewCreateAddonUnauthorized() *CreateAddonUnauthorized

NewCreateAddonUnauthorized creates a CreateAddonUnauthorized with default headers values

func (*CreateAddonUnauthorized) Error

func (o *CreateAddonUnauthorized) Error() string

type CreateAddonV2Created

type CreateAddonV2Created struct {
	Payload *models.Addon
}
CreateAddonV2Created describes a response with status code 201, with default header values.

Addon

func NewCreateAddonV2Created

func NewCreateAddonV2Created() *CreateAddonV2Created

NewCreateAddonV2Created creates a CreateAddonV2Created with default headers values

func (*CreateAddonV2Created) Error

func (o *CreateAddonV2Created) Error() string

func (*CreateAddonV2Created) GetPayload

func (o *CreateAddonV2Created) GetPayload() *models.Addon

type CreateAddonV2Default

type CreateAddonV2Default struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
CreateAddonV2Default describes a response with status code -1, with default header values.

errorResponse

func NewCreateAddonV2Default

func NewCreateAddonV2Default(code int) *CreateAddonV2Default

NewCreateAddonV2Default creates a CreateAddonV2Default with default headers values

func (*CreateAddonV2Default) Code

func (o *CreateAddonV2Default) Code() int

Code gets the status code for the create addon v2 default response

func (*CreateAddonV2Default) Error

func (o *CreateAddonV2Default) Error() string

func (*CreateAddonV2Default) GetPayload

func (o *CreateAddonV2Default) GetPayload() *models.ErrorResponse

type CreateAddonV2Forbidden

type CreateAddonV2Forbidden struct {
}
CreateAddonV2Forbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewCreateAddonV2Forbidden

func NewCreateAddonV2Forbidden() *CreateAddonV2Forbidden

NewCreateAddonV2Forbidden creates a CreateAddonV2Forbidden with default headers values

func (*CreateAddonV2Forbidden) Error

func (o *CreateAddonV2Forbidden) Error() string

type CreateAddonV2Params

type CreateAddonV2Params struct {

	// Body.
	Body *models.Addon

	// ClusterID.
	ClusterID string

	// ProjectID.
	ProjectID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateAddonV2Params contains all the parameters to send to the API endpoint

for the create addon v2 operation.

Typically these are written to a http.Request.

func NewCreateAddonV2Params

func NewCreateAddonV2Params() *CreateAddonV2Params

NewCreateAddonV2Params creates a new CreateAddonV2Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateAddonV2ParamsWithContext

func NewCreateAddonV2ParamsWithContext(ctx context.Context) *CreateAddonV2Params

NewCreateAddonV2ParamsWithContext creates a new CreateAddonV2Params object with the ability to set a context for a request.

func NewCreateAddonV2ParamsWithHTTPClient

func NewCreateAddonV2ParamsWithHTTPClient(client *http.Client) *CreateAddonV2Params

NewCreateAddonV2ParamsWithHTTPClient creates a new CreateAddonV2Params object with the ability to set a custom HTTPClient for a request.

func NewCreateAddonV2ParamsWithTimeout

func NewCreateAddonV2ParamsWithTimeout(timeout time.Duration) *CreateAddonV2Params

NewCreateAddonV2ParamsWithTimeout creates a new CreateAddonV2Params object with the ability to set a timeout on a request.

func (*CreateAddonV2Params) SetBody

func (o *CreateAddonV2Params) SetBody(body *models.Addon)

SetBody adds the body to the create addon v2 params

func (*CreateAddonV2Params) SetClusterID

func (o *CreateAddonV2Params) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the create addon v2 params

func (*CreateAddonV2Params) SetContext

func (o *CreateAddonV2Params) SetContext(ctx context.Context)

SetContext adds the context to the create addon v2 params

func (*CreateAddonV2Params) SetDefaults added in v2.18.0

func (o *CreateAddonV2Params) SetDefaults()

SetDefaults hydrates default values in the create addon v2 params (not the query body).

All values with no default are reset to their zero value.

func (*CreateAddonV2Params) SetHTTPClient

func (o *CreateAddonV2Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create addon v2 params

func (*CreateAddonV2Params) SetProjectID

func (o *CreateAddonV2Params) SetProjectID(projectID string)

SetProjectID adds the projectId to the create addon v2 params

func (*CreateAddonV2Params) SetTimeout

func (o *CreateAddonV2Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create addon v2 params

func (*CreateAddonV2Params) WithBody

WithBody adds the body to the create addon v2 params

func (*CreateAddonV2Params) WithClusterID

func (o *CreateAddonV2Params) WithClusterID(clusterID string) *CreateAddonV2Params

WithClusterID adds the clusterID to the create addon v2 params

func (*CreateAddonV2Params) WithContext

WithContext adds the context to the create addon v2 params

func (*CreateAddonV2Params) WithDefaults added in v2.18.0

func (o *CreateAddonV2Params) WithDefaults() *CreateAddonV2Params

WithDefaults hydrates default values in the create addon v2 params (not the query body).

All values with no default are reset to their zero value.

func (*CreateAddonV2Params) WithHTTPClient

func (o *CreateAddonV2Params) WithHTTPClient(client *http.Client) *CreateAddonV2Params

WithHTTPClient adds the HTTPClient to the create addon v2 params

func (*CreateAddonV2Params) WithProjectID

func (o *CreateAddonV2Params) WithProjectID(projectID string) *CreateAddonV2Params

WithProjectID adds the projectID to the create addon v2 params

func (*CreateAddonV2Params) WithTimeout

func (o *CreateAddonV2Params) WithTimeout(timeout time.Duration) *CreateAddonV2Params

WithTimeout adds the timeout to the create addon v2 params

func (*CreateAddonV2Params) WriteToRequest

func (o *CreateAddonV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateAddonV2Reader

type CreateAddonV2Reader struct {
	// contains filtered or unexported fields
}

CreateAddonV2Reader is a Reader for the CreateAddonV2 structure.

func (*CreateAddonV2Reader) ReadResponse

func (o *CreateAddonV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateAddonV2Unauthorized

type CreateAddonV2Unauthorized struct {
}
CreateAddonV2Unauthorized describes a response with status code 401, with default header values.

EmptyResponse is a empty response

func NewCreateAddonV2Unauthorized

func NewCreateAddonV2Unauthorized() *CreateAddonV2Unauthorized

NewCreateAddonV2Unauthorized creates a CreateAddonV2Unauthorized with default headers values

func (*CreateAddonV2Unauthorized) Error

func (o *CreateAddonV2Unauthorized) Error() string

type DeleteAddonDefault

type DeleteAddonDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
DeleteAddonDefault describes a response with status code -1, with default header values.

errorResponse

func NewDeleteAddonDefault

func NewDeleteAddonDefault(code int) *DeleteAddonDefault

NewDeleteAddonDefault creates a DeleteAddonDefault with default headers values

func (*DeleteAddonDefault) Code

func (o *DeleteAddonDefault) Code() int

Code gets the status code for the delete addon default response

func (*DeleteAddonDefault) Error

func (o *DeleteAddonDefault) Error() string

func (*DeleteAddonDefault) GetPayload

func (o *DeleteAddonDefault) GetPayload() *models.ErrorResponse

type DeleteAddonForbidden

type DeleteAddonForbidden struct {
}
DeleteAddonForbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewDeleteAddonForbidden

func NewDeleteAddonForbidden() *DeleteAddonForbidden

NewDeleteAddonForbidden creates a DeleteAddonForbidden with default headers values

func (*DeleteAddonForbidden) Error

func (o *DeleteAddonForbidden) Error() string

type DeleteAddonOK

type DeleteAddonOK struct {
}
DeleteAddonOK describes a response with status code 200, with default header values.

EmptyResponse is a empty response

func NewDeleteAddonOK

func NewDeleteAddonOK() *DeleteAddonOK

NewDeleteAddonOK creates a DeleteAddonOK with default headers values

func (*DeleteAddonOK) Error

func (o *DeleteAddonOK) Error() string

type DeleteAddonParams

type DeleteAddonParams struct {

	// AddonID.
	AddonID string

	// ClusterID.
	ClusterID string

	// Dc.
	DC string

	// ProjectID.
	ProjectID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteAddonParams contains all the parameters to send to the API endpoint

for the delete addon operation.

Typically these are written to a http.Request.

func NewDeleteAddonParams

func NewDeleteAddonParams() *DeleteAddonParams

NewDeleteAddonParams creates a new DeleteAddonParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteAddonParamsWithContext

func NewDeleteAddonParamsWithContext(ctx context.Context) *DeleteAddonParams

NewDeleteAddonParamsWithContext creates a new DeleteAddonParams object with the ability to set a context for a request.

func NewDeleteAddonParamsWithHTTPClient

func NewDeleteAddonParamsWithHTTPClient(client *http.Client) *DeleteAddonParams

NewDeleteAddonParamsWithHTTPClient creates a new DeleteAddonParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteAddonParamsWithTimeout

func NewDeleteAddonParamsWithTimeout(timeout time.Duration) *DeleteAddonParams

NewDeleteAddonParamsWithTimeout creates a new DeleteAddonParams object with the ability to set a timeout on a request.

func (*DeleteAddonParams) SetAddonID

func (o *DeleteAddonParams) SetAddonID(addonID string)

SetAddonID adds the addonId to the delete addon params

func (*DeleteAddonParams) SetClusterID

func (o *DeleteAddonParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the delete addon params

func (*DeleteAddonParams) SetContext

func (o *DeleteAddonParams) SetContext(ctx context.Context)

SetContext adds the context to the delete addon params

func (*DeleteAddonParams) SetDC

func (o *DeleteAddonParams) SetDC(dc string)

SetDC adds the dc to the delete addon params

func (*DeleteAddonParams) SetDefaults added in v2.18.0

func (o *DeleteAddonParams) SetDefaults()

SetDefaults hydrates default values in the delete addon params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteAddonParams) SetHTTPClient

func (o *DeleteAddonParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete addon params

func (*DeleteAddonParams) SetProjectID

func (o *DeleteAddonParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the delete addon params

func (*DeleteAddonParams) SetTimeout

func (o *DeleteAddonParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete addon params

func (*DeleteAddonParams) WithAddonID

func (o *DeleteAddonParams) WithAddonID(addonID string) *DeleteAddonParams

WithAddonID adds the addonID to the delete addon params

func (*DeleteAddonParams) WithClusterID

func (o *DeleteAddonParams) WithClusterID(clusterID string) *DeleteAddonParams

WithClusterID adds the clusterID to the delete addon params

func (*DeleteAddonParams) WithContext

func (o *DeleteAddonParams) WithContext(ctx context.Context) *DeleteAddonParams

WithContext adds the context to the delete addon params

func (*DeleteAddonParams) WithDC

WithDC adds the dc to the delete addon params

func (*DeleteAddonParams) WithDefaults added in v2.18.0

func (o *DeleteAddonParams) WithDefaults() *DeleteAddonParams

WithDefaults hydrates default values in the delete addon params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteAddonParams) WithHTTPClient

func (o *DeleteAddonParams) WithHTTPClient(client *http.Client) *DeleteAddonParams

WithHTTPClient adds the HTTPClient to the delete addon params

func (*DeleteAddonParams) WithProjectID

func (o *DeleteAddonParams) WithProjectID(projectID string) *DeleteAddonParams

WithProjectID adds the projectID to the delete addon params

func (*DeleteAddonParams) WithTimeout

func (o *DeleteAddonParams) WithTimeout(timeout time.Duration) *DeleteAddonParams

WithTimeout adds the timeout to the delete addon params

func (*DeleteAddonParams) WriteToRequest

func (o *DeleteAddonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteAddonReader

type DeleteAddonReader struct {
	// contains filtered or unexported fields
}

DeleteAddonReader is a Reader for the DeleteAddon structure.

func (*DeleteAddonReader) ReadResponse

func (o *DeleteAddonReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteAddonUnauthorized

type DeleteAddonUnauthorized struct {
}
DeleteAddonUnauthorized describes a response with status code 401, with default header values.

EmptyResponse is a empty response

func NewDeleteAddonUnauthorized

func NewDeleteAddonUnauthorized() *DeleteAddonUnauthorized

NewDeleteAddonUnauthorized creates a DeleteAddonUnauthorized with default headers values

func (*DeleteAddonUnauthorized) Error

func (o *DeleteAddonUnauthorized) Error() string

type DeleteAddonV2Default

type DeleteAddonV2Default struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
DeleteAddonV2Default describes a response with status code -1, with default header values.

errorResponse

func NewDeleteAddonV2Default

func NewDeleteAddonV2Default(code int) *DeleteAddonV2Default

NewDeleteAddonV2Default creates a DeleteAddonV2Default with default headers values

func (*DeleteAddonV2Default) Code

func (o *DeleteAddonV2Default) Code() int

Code gets the status code for the delete addon v2 default response

func (*DeleteAddonV2Default) Error

func (o *DeleteAddonV2Default) Error() string

func (*DeleteAddonV2Default) GetPayload

func (o *DeleteAddonV2Default) GetPayload() *models.ErrorResponse

type DeleteAddonV2Forbidden

type DeleteAddonV2Forbidden struct {
}
DeleteAddonV2Forbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewDeleteAddonV2Forbidden

func NewDeleteAddonV2Forbidden() *DeleteAddonV2Forbidden

NewDeleteAddonV2Forbidden creates a DeleteAddonV2Forbidden with default headers values

func (*DeleteAddonV2Forbidden) Error

func (o *DeleteAddonV2Forbidden) Error() string

type DeleteAddonV2OK

type DeleteAddonV2OK struct {
}
DeleteAddonV2OK describes a response with status code 200, with default header values.

EmptyResponse is a empty response

func NewDeleteAddonV2OK

func NewDeleteAddonV2OK() *DeleteAddonV2OK

NewDeleteAddonV2OK creates a DeleteAddonV2OK with default headers values

func (*DeleteAddonV2OK) Error

func (o *DeleteAddonV2OK) Error() string

type DeleteAddonV2Params

type DeleteAddonV2Params struct {

	// AddonID.
	AddonID string

	// ClusterID.
	ClusterID string

	// ProjectID.
	ProjectID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteAddonV2Params contains all the parameters to send to the API endpoint

for the delete addon v2 operation.

Typically these are written to a http.Request.

func NewDeleteAddonV2Params

func NewDeleteAddonV2Params() *DeleteAddonV2Params

NewDeleteAddonV2Params creates a new DeleteAddonV2Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteAddonV2ParamsWithContext

func NewDeleteAddonV2ParamsWithContext(ctx context.Context) *DeleteAddonV2Params

NewDeleteAddonV2ParamsWithContext creates a new DeleteAddonV2Params object with the ability to set a context for a request.

func NewDeleteAddonV2ParamsWithHTTPClient

func NewDeleteAddonV2ParamsWithHTTPClient(client *http.Client) *DeleteAddonV2Params

NewDeleteAddonV2ParamsWithHTTPClient creates a new DeleteAddonV2Params object with the ability to set a custom HTTPClient for a request.

func NewDeleteAddonV2ParamsWithTimeout

func NewDeleteAddonV2ParamsWithTimeout(timeout time.Duration) *DeleteAddonV2Params

NewDeleteAddonV2ParamsWithTimeout creates a new DeleteAddonV2Params object with the ability to set a timeout on a request.

func (*DeleteAddonV2Params) SetAddonID

func (o *DeleteAddonV2Params) SetAddonID(addonID string)

SetAddonID adds the addonId to the delete addon v2 params

func (*DeleteAddonV2Params) SetClusterID

func (o *DeleteAddonV2Params) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the delete addon v2 params

func (*DeleteAddonV2Params) SetContext

func (o *DeleteAddonV2Params) SetContext(ctx context.Context)

SetContext adds the context to the delete addon v2 params

func (*DeleteAddonV2Params) SetDefaults added in v2.18.0

func (o *DeleteAddonV2Params) SetDefaults()

SetDefaults hydrates default values in the delete addon v2 params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteAddonV2Params) SetHTTPClient

func (o *DeleteAddonV2Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete addon v2 params

func (*DeleteAddonV2Params) SetProjectID

func (o *DeleteAddonV2Params) SetProjectID(projectID string)

SetProjectID adds the projectId to the delete addon v2 params

func (*DeleteAddonV2Params) SetTimeout

func (o *DeleteAddonV2Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete addon v2 params

func (*DeleteAddonV2Params) WithAddonID

func (o *DeleteAddonV2Params) WithAddonID(addonID string) *DeleteAddonV2Params

WithAddonID adds the addonID to the delete addon v2 params

func (*DeleteAddonV2Params) WithClusterID

func (o *DeleteAddonV2Params) WithClusterID(clusterID string) *DeleteAddonV2Params

WithClusterID adds the clusterID to the delete addon v2 params

func (*DeleteAddonV2Params) WithContext

WithContext adds the context to the delete addon v2 params

func (*DeleteAddonV2Params) WithDefaults added in v2.18.0

func (o *DeleteAddonV2Params) WithDefaults() *DeleteAddonV2Params

WithDefaults hydrates default values in the delete addon v2 params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteAddonV2Params) WithHTTPClient

func (o *DeleteAddonV2Params) WithHTTPClient(client *http.Client) *DeleteAddonV2Params

WithHTTPClient adds the HTTPClient to the delete addon v2 params

func (*DeleteAddonV2Params) WithProjectID

func (o *DeleteAddonV2Params) WithProjectID(projectID string) *DeleteAddonV2Params

WithProjectID adds the projectID to the delete addon v2 params

func (*DeleteAddonV2Params) WithTimeout

func (o *DeleteAddonV2Params) WithTimeout(timeout time.Duration) *DeleteAddonV2Params

WithTimeout adds the timeout to the delete addon v2 params

func (*DeleteAddonV2Params) WriteToRequest

func (o *DeleteAddonV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteAddonV2Reader

type DeleteAddonV2Reader struct {
	// contains filtered or unexported fields
}

DeleteAddonV2Reader is a Reader for the DeleteAddonV2 structure.

func (*DeleteAddonV2Reader) ReadResponse

func (o *DeleteAddonV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteAddonV2Unauthorized

type DeleteAddonV2Unauthorized struct {
}
DeleteAddonV2Unauthorized describes a response with status code 401, with default header values.

EmptyResponse is a empty response

func NewDeleteAddonV2Unauthorized

func NewDeleteAddonV2Unauthorized() *DeleteAddonV2Unauthorized

NewDeleteAddonV2Unauthorized creates a DeleteAddonV2Unauthorized with default headers values

func (*DeleteAddonV2Unauthorized) Error

func (o *DeleteAddonV2Unauthorized) Error() string

type GetAddonDefault

type GetAddonDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
GetAddonDefault describes a response with status code -1, with default header values.

errorResponse

func NewGetAddonDefault

func NewGetAddonDefault(code int) *GetAddonDefault

NewGetAddonDefault creates a GetAddonDefault with default headers values

func (*GetAddonDefault) Code

func (o *GetAddonDefault) Code() int

Code gets the status code for the get addon default response

func (*GetAddonDefault) Error

func (o *GetAddonDefault) Error() string

func (*GetAddonDefault) GetPayload

func (o *GetAddonDefault) GetPayload() *models.ErrorResponse

type GetAddonForbidden

type GetAddonForbidden struct {
}
GetAddonForbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewGetAddonForbidden

func NewGetAddonForbidden() *GetAddonForbidden

NewGetAddonForbidden creates a GetAddonForbidden with default headers values

func (*GetAddonForbidden) Error

func (o *GetAddonForbidden) Error() string

type GetAddonOK

type GetAddonOK struct {
	Payload *models.Addon
}
GetAddonOK describes a response with status code 200, with default header values.

Addon

func NewGetAddonOK

func NewGetAddonOK() *GetAddonOK

NewGetAddonOK creates a GetAddonOK with default headers values

func (*GetAddonOK) Error

func (o *GetAddonOK) Error() string

func (*GetAddonOK) GetPayload

func (o *GetAddonOK) GetPayload() *models.Addon

type GetAddonParams

type GetAddonParams struct {

	// AddonID.
	AddonID string

	// ClusterID.
	ClusterID string

	// Dc.
	DC string

	// ProjectID.
	ProjectID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAddonParams contains all the parameters to send to the API endpoint

for the get addon operation.

Typically these are written to a http.Request.

func NewGetAddonParams

func NewGetAddonParams() *GetAddonParams

NewGetAddonParams creates a new GetAddonParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetAddonParamsWithContext

func NewGetAddonParamsWithContext(ctx context.Context) *GetAddonParams

NewGetAddonParamsWithContext creates a new GetAddonParams object with the ability to set a context for a request.

func NewGetAddonParamsWithHTTPClient

func NewGetAddonParamsWithHTTPClient(client *http.Client) *GetAddonParams

NewGetAddonParamsWithHTTPClient creates a new GetAddonParams object with the ability to set a custom HTTPClient for a request.

func NewGetAddonParamsWithTimeout

func NewGetAddonParamsWithTimeout(timeout time.Duration) *GetAddonParams

NewGetAddonParamsWithTimeout creates a new GetAddonParams object with the ability to set a timeout on a request.

func (*GetAddonParams) SetAddonID

func (o *GetAddonParams) SetAddonID(addonID string)

SetAddonID adds the addonId to the get addon params

func (*GetAddonParams) SetClusterID

func (o *GetAddonParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the get addon params

func (*GetAddonParams) SetContext

func (o *GetAddonParams) SetContext(ctx context.Context)

SetContext adds the context to the get addon params

func (*GetAddonParams) SetDC

func (o *GetAddonParams) SetDC(dc string)

SetDC adds the dc to the get addon params

func (*GetAddonParams) SetDefaults added in v2.18.0

func (o *GetAddonParams) SetDefaults()

SetDefaults hydrates default values in the get addon params (not the query body).

All values with no default are reset to their zero value.

func (*GetAddonParams) SetHTTPClient

func (o *GetAddonParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get addon params

func (*GetAddonParams) SetProjectID

func (o *GetAddonParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the get addon params

func (*GetAddonParams) SetTimeout

func (o *GetAddonParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get addon params

func (*GetAddonParams) WithAddonID

func (o *GetAddonParams) WithAddonID(addonID string) *GetAddonParams

WithAddonID adds the addonID to the get addon params

func (*GetAddonParams) WithClusterID

func (o *GetAddonParams) WithClusterID(clusterID string) *GetAddonParams

WithClusterID adds the clusterID to the get addon params

func (*GetAddonParams) WithContext

func (o *GetAddonParams) WithContext(ctx context.Context) *GetAddonParams

WithContext adds the context to the get addon params

func (*GetAddonParams) WithDC

func (o *GetAddonParams) WithDC(dc string) *GetAddonParams

WithDC adds the dc to the get addon params

func (*GetAddonParams) WithDefaults added in v2.18.0

func (o *GetAddonParams) WithDefaults() *GetAddonParams

WithDefaults hydrates default values in the get addon params (not the query body).

All values with no default are reset to their zero value.

func (*GetAddonParams) WithHTTPClient

func (o *GetAddonParams) WithHTTPClient(client *http.Client) *GetAddonParams

WithHTTPClient adds the HTTPClient to the get addon params

func (*GetAddonParams) WithProjectID

func (o *GetAddonParams) WithProjectID(projectID string) *GetAddonParams

WithProjectID adds the projectID to the get addon params

func (*GetAddonParams) WithTimeout

func (o *GetAddonParams) WithTimeout(timeout time.Duration) *GetAddonParams

WithTimeout adds the timeout to the get addon params

func (*GetAddonParams) WriteToRequest

func (o *GetAddonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetAddonReader

type GetAddonReader struct {
	// contains filtered or unexported fields
}

GetAddonReader is a Reader for the GetAddon structure.

func (*GetAddonReader) ReadResponse

func (o *GetAddonReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetAddonUnauthorized

type GetAddonUnauthorized struct {
}
GetAddonUnauthorized describes a response with status code 401, with default header values.

EmptyResponse is a empty response

func NewGetAddonUnauthorized

func NewGetAddonUnauthorized() *GetAddonUnauthorized

NewGetAddonUnauthorized creates a GetAddonUnauthorized with default headers values

func (*GetAddonUnauthorized) Error

func (o *GetAddonUnauthorized) Error() string

type GetAddonV2Default

type GetAddonV2Default struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
GetAddonV2Default describes a response with status code -1, with default header values.

errorResponse

func NewGetAddonV2Default

func NewGetAddonV2Default(code int) *GetAddonV2Default

NewGetAddonV2Default creates a GetAddonV2Default with default headers values

func (*GetAddonV2Default) Code

func (o *GetAddonV2Default) Code() int

Code gets the status code for the get addon v2 default response

func (*GetAddonV2Default) Error

func (o *GetAddonV2Default) Error() string

func (*GetAddonV2Default) GetPayload

func (o *GetAddonV2Default) GetPayload() *models.ErrorResponse

type GetAddonV2Forbidden

type GetAddonV2Forbidden struct {
}
GetAddonV2Forbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewGetAddonV2Forbidden

func NewGetAddonV2Forbidden() *GetAddonV2Forbidden

NewGetAddonV2Forbidden creates a GetAddonV2Forbidden with default headers values

func (*GetAddonV2Forbidden) Error

func (o *GetAddonV2Forbidden) Error() string

type GetAddonV2OK

type GetAddonV2OK struct {
	Payload *models.Addon
}
GetAddonV2OK describes a response with status code 200, with default header values.

Addon

func NewGetAddonV2OK

func NewGetAddonV2OK() *GetAddonV2OK

NewGetAddonV2OK creates a GetAddonV2OK with default headers values

func (*GetAddonV2OK) Error

func (o *GetAddonV2OK) Error() string

func (*GetAddonV2OK) GetPayload

func (o *GetAddonV2OK) GetPayload() *models.Addon

type GetAddonV2Params

type GetAddonV2Params struct {

	// AddonID.
	AddonID string

	// ClusterID.
	ClusterID string

	// ProjectID.
	ProjectID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAddonV2Params contains all the parameters to send to the API endpoint

for the get addon v2 operation.

Typically these are written to a http.Request.

func NewGetAddonV2Params

func NewGetAddonV2Params() *GetAddonV2Params

NewGetAddonV2Params creates a new GetAddonV2Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetAddonV2ParamsWithContext

func NewGetAddonV2ParamsWithContext(ctx context.Context) *GetAddonV2Params

NewGetAddonV2ParamsWithContext creates a new GetAddonV2Params object with the ability to set a context for a request.

func NewGetAddonV2ParamsWithHTTPClient

func NewGetAddonV2ParamsWithHTTPClient(client *http.Client) *GetAddonV2Params

NewGetAddonV2ParamsWithHTTPClient creates a new GetAddonV2Params object with the ability to set a custom HTTPClient for a request.

func NewGetAddonV2ParamsWithTimeout

func NewGetAddonV2ParamsWithTimeout(timeout time.Duration) *GetAddonV2Params

NewGetAddonV2ParamsWithTimeout creates a new GetAddonV2Params object with the ability to set a timeout on a request.

func (*GetAddonV2Params) SetAddonID

func (o *GetAddonV2Params) SetAddonID(addonID string)

SetAddonID adds the addonId to the get addon v2 params

func (*GetAddonV2Params) SetClusterID

func (o *GetAddonV2Params) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the get addon v2 params

func (*GetAddonV2Params) SetContext

func (o *GetAddonV2Params) SetContext(ctx context.Context)

SetContext adds the context to the get addon v2 params

func (*GetAddonV2Params) SetDefaults added in v2.18.0

func (o *GetAddonV2Params) SetDefaults()

SetDefaults hydrates default values in the get addon v2 params (not the query body).

All values with no default are reset to their zero value.

func (*GetAddonV2Params) SetHTTPClient

func (o *GetAddonV2Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get addon v2 params

func (*GetAddonV2Params) SetProjectID

func (o *GetAddonV2Params) SetProjectID(projectID string)

SetProjectID adds the projectId to the get addon v2 params

func (*GetAddonV2Params) SetTimeout

func (o *GetAddonV2Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get addon v2 params

func (*GetAddonV2Params) WithAddonID

func (o *GetAddonV2Params) WithAddonID(addonID string) *GetAddonV2Params

WithAddonID adds the addonID to the get addon v2 params

func (*GetAddonV2Params) WithClusterID

func (o *GetAddonV2Params) WithClusterID(clusterID string) *GetAddonV2Params

WithClusterID adds the clusterID to the get addon v2 params

func (*GetAddonV2Params) WithContext

func (o *GetAddonV2Params) WithContext(ctx context.Context) *GetAddonV2Params

WithContext adds the context to the get addon v2 params

func (*GetAddonV2Params) WithDefaults added in v2.18.0

func (o *GetAddonV2Params) WithDefaults() *GetAddonV2Params

WithDefaults hydrates default values in the get addon v2 params (not the query body).

All values with no default are reset to their zero value.

func (*GetAddonV2Params) WithHTTPClient

func (o *GetAddonV2Params) WithHTTPClient(client *http.Client) *GetAddonV2Params

WithHTTPClient adds the HTTPClient to the get addon v2 params

func (*GetAddonV2Params) WithProjectID

func (o *GetAddonV2Params) WithProjectID(projectID string) *GetAddonV2Params

WithProjectID adds the projectID to the get addon v2 params

func (*GetAddonV2Params) WithTimeout

func (o *GetAddonV2Params) WithTimeout(timeout time.Duration) *GetAddonV2Params

WithTimeout adds the timeout to the get addon v2 params

func (*GetAddonV2Params) WriteToRequest

func (o *GetAddonV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetAddonV2Reader

type GetAddonV2Reader struct {
	// contains filtered or unexported fields
}

GetAddonV2Reader is a Reader for the GetAddonV2 structure.

func (*GetAddonV2Reader) ReadResponse

func (o *GetAddonV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetAddonV2Unauthorized

type GetAddonV2Unauthorized struct {
}
GetAddonV2Unauthorized describes a response with status code 401, with default header values.

EmptyResponse is a empty response

func NewGetAddonV2Unauthorized

func NewGetAddonV2Unauthorized() *GetAddonV2Unauthorized

NewGetAddonV2Unauthorized creates a GetAddonV2Unauthorized with default headers values

func (*GetAddonV2Unauthorized) Error

func (o *GetAddonV2Unauthorized) Error() string

type ListAccessibleAddonsDefault

type ListAccessibleAddonsDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ListAccessibleAddonsDefault describes a response with status code -1, with default header values.

errorResponse

func NewListAccessibleAddonsDefault

func NewListAccessibleAddonsDefault(code int) *ListAccessibleAddonsDefault

NewListAccessibleAddonsDefault creates a ListAccessibleAddonsDefault with default headers values

func (*ListAccessibleAddonsDefault) Code

func (o *ListAccessibleAddonsDefault) Code() int

Code gets the status code for the list accessible addons default response

func (*ListAccessibleAddonsDefault) Error

func (*ListAccessibleAddonsDefault) GetPayload

type ListAccessibleAddonsForbidden

type ListAccessibleAddonsForbidden struct {
}
ListAccessibleAddonsForbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewListAccessibleAddonsForbidden

func NewListAccessibleAddonsForbidden() *ListAccessibleAddonsForbidden

NewListAccessibleAddonsForbidden creates a ListAccessibleAddonsForbidden with default headers values

func (*ListAccessibleAddonsForbidden) Error

type ListAccessibleAddonsOK

type ListAccessibleAddonsOK struct {
	Payload models.AccessibleAddons
}
ListAccessibleAddonsOK describes a response with status code 200, with default header values.

AccessibleAddons

func NewListAccessibleAddonsOK

func NewListAccessibleAddonsOK() *ListAccessibleAddonsOK

NewListAccessibleAddonsOK creates a ListAccessibleAddonsOK with default headers values

func (*ListAccessibleAddonsOK) Error

func (o *ListAccessibleAddonsOK) Error() string

func (*ListAccessibleAddonsOK) GetPayload

type ListAccessibleAddonsParams

type ListAccessibleAddonsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListAccessibleAddonsParams contains all the parameters to send to the API endpoint

for the list accessible addons operation.

Typically these are written to a http.Request.

func NewListAccessibleAddonsParams

func NewListAccessibleAddonsParams() *ListAccessibleAddonsParams

NewListAccessibleAddonsParams creates a new ListAccessibleAddonsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListAccessibleAddonsParamsWithContext

func NewListAccessibleAddonsParamsWithContext(ctx context.Context) *ListAccessibleAddonsParams

NewListAccessibleAddonsParamsWithContext creates a new ListAccessibleAddonsParams object with the ability to set a context for a request.

func NewListAccessibleAddonsParamsWithHTTPClient

func NewListAccessibleAddonsParamsWithHTTPClient(client *http.Client) *ListAccessibleAddonsParams

NewListAccessibleAddonsParamsWithHTTPClient creates a new ListAccessibleAddonsParams object with the ability to set a custom HTTPClient for a request.

func NewListAccessibleAddonsParamsWithTimeout

func NewListAccessibleAddonsParamsWithTimeout(timeout time.Duration) *ListAccessibleAddonsParams

NewListAccessibleAddonsParamsWithTimeout creates a new ListAccessibleAddonsParams object with the ability to set a timeout on a request.

func (*ListAccessibleAddonsParams) SetContext

func (o *ListAccessibleAddonsParams) SetContext(ctx context.Context)

SetContext adds the context to the list accessible addons params

func (*ListAccessibleAddonsParams) SetDefaults added in v2.18.0

func (o *ListAccessibleAddonsParams) SetDefaults()

SetDefaults hydrates default values in the list accessible addons params (not the query body).

All values with no default are reset to their zero value.

func (*ListAccessibleAddonsParams) SetHTTPClient

func (o *ListAccessibleAddonsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list accessible addons params

func (*ListAccessibleAddonsParams) SetTimeout

func (o *ListAccessibleAddonsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list accessible addons params

func (*ListAccessibleAddonsParams) WithContext

WithContext adds the context to the list accessible addons params

func (*ListAccessibleAddonsParams) WithDefaults added in v2.18.0

WithDefaults hydrates default values in the list accessible addons params (not the query body).

All values with no default are reset to their zero value.

func (*ListAccessibleAddonsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list accessible addons params

func (*ListAccessibleAddonsParams) WithTimeout

WithTimeout adds the timeout to the list accessible addons params

func (*ListAccessibleAddonsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListAccessibleAddonsReader

type ListAccessibleAddonsReader struct {
	// contains filtered or unexported fields
}

ListAccessibleAddonsReader is a Reader for the ListAccessibleAddons structure.

func (*ListAccessibleAddonsReader) ReadResponse

func (o *ListAccessibleAddonsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListAccessibleAddonsUnauthorized

type ListAccessibleAddonsUnauthorized struct {
}
ListAccessibleAddonsUnauthorized describes a response with status code 401, with default header values.

EmptyResponse is a empty response

func NewListAccessibleAddonsUnauthorized

func NewListAccessibleAddonsUnauthorized() *ListAccessibleAddonsUnauthorized

NewListAccessibleAddonsUnauthorized creates a ListAccessibleAddonsUnauthorized with default headers values

func (*ListAccessibleAddonsUnauthorized) Error

type ListAddonsDefault

type ListAddonsDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ListAddonsDefault describes a response with status code -1, with default header values.

errorResponse

func NewListAddonsDefault

func NewListAddonsDefault(code int) *ListAddonsDefault

NewListAddonsDefault creates a ListAddonsDefault with default headers values

func (*ListAddonsDefault) Code

func (o *ListAddonsDefault) Code() int

Code gets the status code for the list addons default response

func (*ListAddonsDefault) Error

func (o *ListAddonsDefault) Error() string

func (*ListAddonsDefault) GetPayload

func (o *ListAddonsDefault) GetPayload() *models.ErrorResponse

type ListAddonsForbidden

type ListAddonsForbidden struct {
}
ListAddonsForbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewListAddonsForbidden

func NewListAddonsForbidden() *ListAddonsForbidden

NewListAddonsForbidden creates a ListAddonsForbidden with default headers values

func (*ListAddonsForbidden) Error

func (o *ListAddonsForbidden) Error() string

type ListAddonsOK

type ListAddonsOK struct {
	Payload []*models.Addon
}
ListAddonsOK describes a response with status code 200, with default header values.

Addon

func NewListAddonsOK

func NewListAddonsOK() *ListAddonsOK

NewListAddonsOK creates a ListAddonsOK with default headers values

func (*ListAddonsOK) Error

func (o *ListAddonsOK) Error() string

func (*ListAddonsOK) GetPayload

func (o *ListAddonsOK) GetPayload() []*models.Addon

type ListAddonsParams

type ListAddonsParams struct {

	// ClusterID.
	ClusterID string

	// Dc.
	DC string

	// ProjectID.
	ProjectID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListAddonsParams contains all the parameters to send to the API endpoint

for the list addons operation.

Typically these are written to a http.Request.

func NewListAddonsParams

func NewListAddonsParams() *ListAddonsParams

NewListAddonsParams creates a new ListAddonsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListAddonsParamsWithContext

func NewListAddonsParamsWithContext(ctx context.Context) *ListAddonsParams

NewListAddonsParamsWithContext creates a new ListAddonsParams object with the ability to set a context for a request.

func NewListAddonsParamsWithHTTPClient

func NewListAddonsParamsWithHTTPClient(client *http.Client) *ListAddonsParams

NewListAddonsParamsWithHTTPClient creates a new ListAddonsParams object with the ability to set a custom HTTPClient for a request.

func NewListAddonsParamsWithTimeout

func NewListAddonsParamsWithTimeout(timeout time.Duration) *ListAddonsParams

NewListAddonsParamsWithTimeout creates a new ListAddonsParams object with the ability to set a timeout on a request.

func (*ListAddonsParams) SetClusterID

func (o *ListAddonsParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the list addons params

func (*ListAddonsParams) SetContext

func (o *ListAddonsParams) SetContext(ctx context.Context)

SetContext adds the context to the list addons params

func (*ListAddonsParams) SetDC

func (o *ListAddonsParams) SetDC(dc string)

SetDC adds the dc to the list addons params

func (*ListAddonsParams) SetDefaults added in v2.18.0

func (o *ListAddonsParams) SetDefaults()

SetDefaults hydrates default values in the list addons params (not the query body).

All values with no default are reset to their zero value.

func (*ListAddonsParams) SetHTTPClient

func (o *ListAddonsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list addons params

func (*ListAddonsParams) SetProjectID

func (o *ListAddonsParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the list addons params

func (*ListAddonsParams) SetTimeout

func (o *ListAddonsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list addons params

func (*ListAddonsParams) WithClusterID

func (o *ListAddonsParams) WithClusterID(clusterID string) *ListAddonsParams

WithClusterID adds the clusterID to the list addons params

func (*ListAddonsParams) WithContext

func (o *ListAddonsParams) WithContext(ctx context.Context) *ListAddonsParams

WithContext adds the context to the list addons params

func (*ListAddonsParams) WithDC

func (o *ListAddonsParams) WithDC(dc string) *ListAddonsParams

WithDC adds the dc to the list addons params

func (*ListAddonsParams) WithDefaults added in v2.18.0

func (o *ListAddonsParams) WithDefaults() *ListAddonsParams

WithDefaults hydrates default values in the list addons params (not the query body).

All values with no default are reset to their zero value.

func (*ListAddonsParams) WithHTTPClient

func (o *ListAddonsParams) WithHTTPClient(client *http.Client) *ListAddonsParams

WithHTTPClient adds the HTTPClient to the list addons params

func (*ListAddonsParams) WithProjectID

func (o *ListAddonsParams) WithProjectID(projectID string) *ListAddonsParams

WithProjectID adds the projectID to the list addons params

func (*ListAddonsParams) WithTimeout

func (o *ListAddonsParams) WithTimeout(timeout time.Duration) *ListAddonsParams

WithTimeout adds the timeout to the list addons params

func (*ListAddonsParams) WriteToRequest

func (o *ListAddonsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListAddonsReader

type ListAddonsReader struct {
	// contains filtered or unexported fields
}

ListAddonsReader is a Reader for the ListAddons structure.

func (*ListAddonsReader) ReadResponse

func (o *ListAddonsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListAddonsUnauthorized

type ListAddonsUnauthorized struct {
}
ListAddonsUnauthorized describes a response with status code 401, with default header values.

EmptyResponse is a empty response

func NewListAddonsUnauthorized

func NewListAddonsUnauthorized() *ListAddonsUnauthorized

NewListAddonsUnauthorized creates a ListAddonsUnauthorized with default headers values

func (*ListAddonsUnauthorized) Error

func (o *ListAddonsUnauthorized) Error() string

type ListAddonsV2Default

type ListAddonsV2Default struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ListAddonsV2Default describes a response with status code -1, with default header values.

errorResponse

func NewListAddonsV2Default

func NewListAddonsV2Default(code int) *ListAddonsV2Default

NewListAddonsV2Default creates a ListAddonsV2Default with default headers values

func (*ListAddonsV2Default) Code

func (o *ListAddonsV2Default) Code() int

Code gets the status code for the list addons v2 default response

func (*ListAddonsV2Default) Error

func (o *ListAddonsV2Default) Error() string

func (*ListAddonsV2Default) GetPayload

func (o *ListAddonsV2Default) GetPayload() *models.ErrorResponse

type ListAddonsV2Forbidden

type ListAddonsV2Forbidden struct {
}
ListAddonsV2Forbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewListAddonsV2Forbidden

func NewListAddonsV2Forbidden() *ListAddonsV2Forbidden

NewListAddonsV2Forbidden creates a ListAddonsV2Forbidden with default headers values

func (*ListAddonsV2Forbidden) Error

func (o *ListAddonsV2Forbidden) Error() string

type ListAddonsV2OK

type ListAddonsV2OK struct {
	Payload []*models.Addon
}
ListAddonsV2OK describes a response with status code 200, with default header values.

Addon

func NewListAddonsV2OK

func NewListAddonsV2OK() *ListAddonsV2OK

NewListAddonsV2OK creates a ListAddonsV2OK with default headers values

func (*ListAddonsV2OK) Error

func (o *ListAddonsV2OK) Error() string

func (*ListAddonsV2OK) GetPayload

func (o *ListAddonsV2OK) GetPayload() []*models.Addon

type ListAddonsV2Params

type ListAddonsV2Params struct {

	// ClusterID.
	ClusterID string

	// ProjectID.
	ProjectID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListAddonsV2Params contains all the parameters to send to the API endpoint

for the list addons v2 operation.

Typically these are written to a http.Request.

func NewListAddonsV2Params

func NewListAddonsV2Params() *ListAddonsV2Params

NewListAddonsV2Params creates a new ListAddonsV2Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListAddonsV2ParamsWithContext

func NewListAddonsV2ParamsWithContext(ctx context.Context) *ListAddonsV2Params

NewListAddonsV2ParamsWithContext creates a new ListAddonsV2Params object with the ability to set a context for a request.

func NewListAddonsV2ParamsWithHTTPClient

func NewListAddonsV2ParamsWithHTTPClient(client *http.Client) *ListAddonsV2Params

NewListAddonsV2ParamsWithHTTPClient creates a new ListAddonsV2Params object with the ability to set a custom HTTPClient for a request.

func NewListAddonsV2ParamsWithTimeout

func NewListAddonsV2ParamsWithTimeout(timeout time.Duration) *ListAddonsV2Params

NewListAddonsV2ParamsWithTimeout creates a new ListAddonsV2Params object with the ability to set a timeout on a request.

func (*ListAddonsV2Params) SetClusterID

func (o *ListAddonsV2Params) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the list addons v2 params

func (*ListAddonsV2Params) SetContext

func (o *ListAddonsV2Params) SetContext(ctx context.Context)

SetContext adds the context to the list addons v2 params

func (*ListAddonsV2Params) SetDefaults added in v2.18.0

func (o *ListAddonsV2Params) SetDefaults()

SetDefaults hydrates default values in the list addons v2 params (not the query body).

All values with no default are reset to their zero value.

func (*ListAddonsV2Params) SetHTTPClient

func (o *ListAddonsV2Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list addons v2 params

func (*ListAddonsV2Params) SetProjectID

func (o *ListAddonsV2Params) SetProjectID(projectID string)

SetProjectID adds the projectId to the list addons v2 params

func (*ListAddonsV2Params) SetTimeout

func (o *ListAddonsV2Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list addons v2 params

func (*ListAddonsV2Params) WithClusterID

func (o *ListAddonsV2Params) WithClusterID(clusterID string) *ListAddonsV2Params

WithClusterID adds the clusterID to the list addons v2 params

func (*ListAddonsV2Params) WithContext

WithContext adds the context to the list addons v2 params

func (*ListAddonsV2Params) WithDefaults added in v2.18.0

func (o *ListAddonsV2Params) WithDefaults() *ListAddonsV2Params

WithDefaults hydrates default values in the list addons v2 params (not the query body).

All values with no default are reset to their zero value.

func (*ListAddonsV2Params) WithHTTPClient

func (o *ListAddonsV2Params) WithHTTPClient(client *http.Client) *ListAddonsV2Params

WithHTTPClient adds the HTTPClient to the list addons v2 params

func (*ListAddonsV2Params) WithProjectID

func (o *ListAddonsV2Params) WithProjectID(projectID string) *ListAddonsV2Params

WithProjectID adds the projectID to the list addons v2 params

func (*ListAddonsV2Params) WithTimeout

func (o *ListAddonsV2Params) WithTimeout(timeout time.Duration) *ListAddonsV2Params

WithTimeout adds the timeout to the list addons v2 params

func (*ListAddonsV2Params) WriteToRequest

func (o *ListAddonsV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListAddonsV2Reader

type ListAddonsV2Reader struct {
	// contains filtered or unexported fields
}

ListAddonsV2Reader is a Reader for the ListAddonsV2 structure.

func (*ListAddonsV2Reader) ReadResponse

func (o *ListAddonsV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListAddonsV2Unauthorized

type ListAddonsV2Unauthorized struct {
}
ListAddonsV2Unauthorized describes a response with status code 401, with default header values.

EmptyResponse is a empty response

func NewListAddonsV2Unauthorized

func NewListAddonsV2Unauthorized() *ListAddonsV2Unauthorized

NewListAddonsV2Unauthorized creates a ListAddonsV2Unauthorized with default headers values

func (*ListAddonsV2Unauthorized) Error

func (o *ListAddonsV2Unauthorized) Error() string

type ListInstallableAddonsDefault

type ListInstallableAddonsDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ListInstallableAddonsDefault describes a response with status code -1, with default header values.

errorResponse

func NewListInstallableAddonsDefault

func NewListInstallableAddonsDefault(code int) *ListInstallableAddonsDefault

NewListInstallableAddonsDefault creates a ListInstallableAddonsDefault with default headers values

func (*ListInstallableAddonsDefault) Code

Code gets the status code for the list installable addons default response

func (*ListInstallableAddonsDefault) Error

func (*ListInstallableAddonsDefault) GetPayload

type ListInstallableAddonsForbidden

type ListInstallableAddonsForbidden struct {
}
ListInstallableAddonsForbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewListInstallableAddonsForbidden

func NewListInstallableAddonsForbidden() *ListInstallableAddonsForbidden

NewListInstallableAddonsForbidden creates a ListInstallableAddonsForbidden with default headers values

func (*ListInstallableAddonsForbidden) Error

type ListInstallableAddonsOK

type ListInstallableAddonsOK struct {
	Payload models.AccessibleAddons
}
ListInstallableAddonsOK describes a response with status code 200, with default header values.

AccessibleAddons

func NewListInstallableAddonsOK

func NewListInstallableAddonsOK() *ListInstallableAddonsOK

NewListInstallableAddonsOK creates a ListInstallableAddonsOK with default headers values

func (*ListInstallableAddonsOK) Error

func (o *ListInstallableAddonsOK) Error() string

func (*ListInstallableAddonsOK) GetPayload

type ListInstallableAddonsParams

type ListInstallableAddonsParams struct {

	// ClusterID.
	ClusterID string

	// Dc.
	DC string

	// ProjectID.
	ProjectID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListInstallableAddonsParams contains all the parameters to send to the API endpoint

for the list installable addons operation.

Typically these are written to a http.Request.

func NewListInstallableAddonsParams

func NewListInstallableAddonsParams() *ListInstallableAddonsParams

NewListInstallableAddonsParams creates a new ListInstallableAddonsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListInstallableAddonsParamsWithContext

func NewListInstallableAddonsParamsWithContext(ctx context.Context) *ListInstallableAddonsParams

NewListInstallableAddonsParamsWithContext creates a new ListInstallableAddonsParams object with the ability to set a context for a request.

func NewListInstallableAddonsParamsWithHTTPClient

func NewListInstallableAddonsParamsWithHTTPClient(client *http.Client) *ListInstallableAddonsParams

NewListInstallableAddonsParamsWithHTTPClient creates a new ListInstallableAddonsParams object with the ability to set a custom HTTPClient for a request.

func NewListInstallableAddonsParamsWithTimeout

func NewListInstallableAddonsParamsWithTimeout(timeout time.Duration) *ListInstallableAddonsParams

NewListInstallableAddonsParamsWithTimeout creates a new ListInstallableAddonsParams object with the ability to set a timeout on a request.

func (*ListInstallableAddonsParams) SetClusterID

func (o *ListInstallableAddonsParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the list installable addons params

func (*ListInstallableAddonsParams) SetContext

func (o *ListInstallableAddonsParams) SetContext(ctx context.Context)

SetContext adds the context to the list installable addons params

func (*ListInstallableAddonsParams) SetDC

func (o *ListInstallableAddonsParams) SetDC(dc string)

SetDC adds the dc to the list installable addons params

func (*ListInstallableAddonsParams) SetDefaults added in v2.18.0

func (o *ListInstallableAddonsParams) SetDefaults()

SetDefaults hydrates default values in the list installable addons params (not the query body).

All values with no default are reset to their zero value.

func (*ListInstallableAddonsParams) SetHTTPClient

func (o *ListInstallableAddonsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list installable addons params

func (*ListInstallableAddonsParams) SetProjectID

func (o *ListInstallableAddonsParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the list installable addons params

func (*ListInstallableAddonsParams) SetTimeout

func (o *ListInstallableAddonsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list installable addons params

func (*ListInstallableAddonsParams) WithClusterID

func (o *ListInstallableAddonsParams) WithClusterID(clusterID string) *ListInstallableAddonsParams

WithClusterID adds the clusterID to the list installable addons params

func (*ListInstallableAddonsParams) WithContext

WithContext adds the context to the list installable addons params

func (*ListInstallableAddonsParams) WithDC

WithDC adds the dc to the list installable addons params

func (*ListInstallableAddonsParams) WithDefaults added in v2.18.0

WithDefaults hydrates default values in the list installable addons params (not the query body).

All values with no default are reset to their zero value.

func (*ListInstallableAddonsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list installable addons params

func (*ListInstallableAddonsParams) WithProjectID

func (o *ListInstallableAddonsParams) WithProjectID(projectID string) *ListInstallableAddonsParams

WithProjectID adds the projectID to the list installable addons params

func (*ListInstallableAddonsParams) WithTimeout

WithTimeout adds the timeout to the list installable addons params

func (*ListInstallableAddonsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListInstallableAddonsReader

type ListInstallableAddonsReader struct {
	// contains filtered or unexported fields
}

ListInstallableAddonsReader is a Reader for the ListInstallableAddons structure.

func (*ListInstallableAddonsReader) ReadResponse

func (o *ListInstallableAddonsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListInstallableAddonsUnauthorized

type ListInstallableAddonsUnauthorized struct {
}
ListInstallableAddonsUnauthorized describes a response with status code 401, with default header values.

EmptyResponse is a empty response

func NewListInstallableAddonsUnauthorized

func NewListInstallableAddonsUnauthorized() *ListInstallableAddonsUnauthorized

NewListInstallableAddonsUnauthorized creates a ListInstallableAddonsUnauthorized with default headers values

func (*ListInstallableAddonsUnauthorized) Error

type ListInstallableAddonsV2Default

type ListInstallableAddonsV2Default struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ListInstallableAddonsV2Default describes a response with status code -1, with default header values.

errorResponse

func NewListInstallableAddonsV2Default

func NewListInstallableAddonsV2Default(code int) *ListInstallableAddonsV2Default

NewListInstallableAddonsV2Default creates a ListInstallableAddonsV2Default with default headers values

func (*ListInstallableAddonsV2Default) Code

Code gets the status code for the list installable addons v2 default response

func (*ListInstallableAddonsV2Default) Error

func (*ListInstallableAddonsV2Default) GetPayload

type ListInstallableAddonsV2Forbidden

type ListInstallableAddonsV2Forbidden struct {
}
ListInstallableAddonsV2Forbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewListInstallableAddonsV2Forbidden

func NewListInstallableAddonsV2Forbidden() *ListInstallableAddonsV2Forbidden

NewListInstallableAddonsV2Forbidden creates a ListInstallableAddonsV2Forbidden with default headers values

func (*ListInstallableAddonsV2Forbidden) Error

type ListInstallableAddonsV2OK

type ListInstallableAddonsV2OK struct {
	Payload models.AccessibleAddons
}
ListInstallableAddonsV2OK describes a response with status code 200, with default header values.

AccessibleAddons

func NewListInstallableAddonsV2OK

func NewListInstallableAddonsV2OK() *ListInstallableAddonsV2OK

NewListInstallableAddonsV2OK creates a ListInstallableAddonsV2OK with default headers values

func (*ListInstallableAddonsV2OK) Error

func (o *ListInstallableAddonsV2OK) Error() string

func (*ListInstallableAddonsV2OK) GetPayload

type ListInstallableAddonsV2Params

type ListInstallableAddonsV2Params struct {

	// ClusterID.
	ClusterID string

	// ProjectID.
	ProjectID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListInstallableAddonsV2Params contains all the parameters to send to the API endpoint

for the list installable addons v2 operation.

Typically these are written to a http.Request.

func NewListInstallableAddonsV2Params

func NewListInstallableAddonsV2Params() *ListInstallableAddonsV2Params

NewListInstallableAddonsV2Params creates a new ListInstallableAddonsV2Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListInstallableAddonsV2ParamsWithContext

func NewListInstallableAddonsV2ParamsWithContext(ctx context.Context) *ListInstallableAddonsV2Params

NewListInstallableAddonsV2ParamsWithContext creates a new ListInstallableAddonsV2Params object with the ability to set a context for a request.

func NewListInstallableAddonsV2ParamsWithHTTPClient

func NewListInstallableAddonsV2ParamsWithHTTPClient(client *http.Client) *ListInstallableAddonsV2Params

NewListInstallableAddonsV2ParamsWithHTTPClient creates a new ListInstallableAddonsV2Params object with the ability to set a custom HTTPClient for a request.

func NewListInstallableAddonsV2ParamsWithTimeout

func NewListInstallableAddonsV2ParamsWithTimeout(timeout time.Duration) *ListInstallableAddonsV2Params

NewListInstallableAddonsV2ParamsWithTimeout creates a new ListInstallableAddonsV2Params object with the ability to set a timeout on a request.

func (*ListInstallableAddonsV2Params) SetClusterID

func (o *ListInstallableAddonsV2Params) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the list installable addons v2 params

func (*ListInstallableAddonsV2Params) SetContext

func (o *ListInstallableAddonsV2Params) SetContext(ctx context.Context)

SetContext adds the context to the list installable addons v2 params

func (*ListInstallableAddonsV2Params) SetDefaults added in v2.18.0

func (o *ListInstallableAddonsV2Params) SetDefaults()

SetDefaults hydrates default values in the list installable addons v2 params (not the query body).

All values with no default are reset to their zero value.

func (*ListInstallableAddonsV2Params) SetHTTPClient

func (o *ListInstallableAddonsV2Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list installable addons v2 params

func (*ListInstallableAddonsV2Params) SetProjectID

func (o *ListInstallableAddonsV2Params) SetProjectID(projectID string)

SetProjectID adds the projectId to the list installable addons v2 params

func (*ListInstallableAddonsV2Params) SetTimeout

func (o *ListInstallableAddonsV2Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list installable addons v2 params

func (*ListInstallableAddonsV2Params) WithClusterID

WithClusterID adds the clusterID to the list installable addons v2 params

func (*ListInstallableAddonsV2Params) WithContext

WithContext adds the context to the list installable addons v2 params

func (*ListInstallableAddonsV2Params) WithDefaults added in v2.18.0

WithDefaults hydrates default values in the list installable addons v2 params (not the query body).

All values with no default are reset to their zero value.

func (*ListInstallableAddonsV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list installable addons v2 params

func (*ListInstallableAddonsV2Params) WithProjectID

WithProjectID adds the projectID to the list installable addons v2 params

func (*ListInstallableAddonsV2Params) WithTimeout

WithTimeout adds the timeout to the list installable addons v2 params

func (*ListInstallableAddonsV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListInstallableAddonsV2Reader

type ListInstallableAddonsV2Reader struct {
	// contains filtered or unexported fields
}

ListInstallableAddonsV2Reader is a Reader for the ListInstallableAddonsV2 structure.

func (*ListInstallableAddonsV2Reader) ReadResponse

func (o *ListInstallableAddonsV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListInstallableAddonsV2Unauthorized

type ListInstallableAddonsV2Unauthorized struct {
}
ListInstallableAddonsV2Unauthorized describes a response with status code 401, with default header values.

EmptyResponse is a empty response

func NewListInstallableAddonsV2Unauthorized

func NewListInstallableAddonsV2Unauthorized() *ListInstallableAddonsV2Unauthorized

NewListInstallableAddonsV2Unauthorized creates a ListInstallableAddonsV2Unauthorized with default headers values

func (*ListInstallableAddonsV2Unauthorized) Error

type PatchAddonDefault

type PatchAddonDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
PatchAddonDefault describes a response with status code -1, with default header values.

errorResponse

func NewPatchAddonDefault

func NewPatchAddonDefault(code int) *PatchAddonDefault

NewPatchAddonDefault creates a PatchAddonDefault with default headers values

func (*PatchAddonDefault) Code

func (o *PatchAddonDefault) Code() int

Code gets the status code for the patch addon default response

func (*PatchAddonDefault) Error

func (o *PatchAddonDefault) Error() string

func (*PatchAddonDefault) GetPayload

func (o *PatchAddonDefault) GetPayload() *models.ErrorResponse

type PatchAddonForbidden

type PatchAddonForbidden struct {
}
PatchAddonForbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewPatchAddonForbidden

func NewPatchAddonForbidden() *PatchAddonForbidden

NewPatchAddonForbidden creates a PatchAddonForbidden with default headers values

func (*PatchAddonForbidden) Error

func (o *PatchAddonForbidden) Error() string

type PatchAddonOK

type PatchAddonOK struct {
	Payload *models.Addon
}
PatchAddonOK describes a response with status code 200, with default header values.

Addon

func NewPatchAddonOK

func NewPatchAddonOK() *PatchAddonOK

NewPatchAddonOK creates a PatchAddonOK with default headers values

func (*PatchAddonOK) Error

func (o *PatchAddonOK) Error() string

func (*PatchAddonOK) GetPayload

func (o *PatchAddonOK) GetPayload() *models.Addon

type PatchAddonParams

type PatchAddonParams struct {

	// Body.
	Body *models.Addon

	// AddonID.
	AddonID string

	// ClusterID.
	ClusterID string

	// Dc.
	DC string

	// ProjectID.
	ProjectID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PatchAddonParams contains all the parameters to send to the API endpoint

for the patch addon operation.

Typically these are written to a http.Request.

func NewPatchAddonParams

func NewPatchAddonParams() *PatchAddonParams

NewPatchAddonParams creates a new PatchAddonParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPatchAddonParamsWithContext

func NewPatchAddonParamsWithContext(ctx context.Context) *PatchAddonParams

NewPatchAddonParamsWithContext creates a new PatchAddonParams object with the ability to set a context for a request.

func NewPatchAddonParamsWithHTTPClient

func NewPatchAddonParamsWithHTTPClient(client *http.Client) *PatchAddonParams

NewPatchAddonParamsWithHTTPClient creates a new PatchAddonParams object with the ability to set a custom HTTPClient for a request.

func NewPatchAddonParamsWithTimeout

func NewPatchAddonParamsWithTimeout(timeout time.Duration) *PatchAddonParams

NewPatchAddonParamsWithTimeout creates a new PatchAddonParams object with the ability to set a timeout on a request.

func (*PatchAddonParams) SetAddonID

func (o *PatchAddonParams) SetAddonID(addonID string)

SetAddonID adds the addonId to the patch addon params

func (*PatchAddonParams) SetBody

func (o *PatchAddonParams) SetBody(body *models.Addon)

SetBody adds the body to the patch addon params

func (*PatchAddonParams) SetClusterID

func (o *PatchAddonParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the patch addon params

func (*PatchAddonParams) SetContext

func (o *PatchAddonParams) SetContext(ctx context.Context)

SetContext adds the context to the patch addon params

func (*PatchAddonParams) SetDC

func (o *PatchAddonParams) SetDC(dc string)

SetDC adds the dc to the patch addon params

func (*PatchAddonParams) SetDefaults added in v2.18.0

func (o *PatchAddonParams) SetDefaults()

SetDefaults hydrates default values in the patch addon params (not the query body).

All values with no default are reset to their zero value.

func (*PatchAddonParams) SetHTTPClient

func (o *PatchAddonParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the patch addon params

func (*PatchAddonParams) SetProjectID

func (o *PatchAddonParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the patch addon params

func (*PatchAddonParams) SetTimeout

func (o *PatchAddonParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the patch addon params

func (*PatchAddonParams) WithAddonID

func (o *PatchAddonParams) WithAddonID(addonID string) *PatchAddonParams

WithAddonID adds the addonID to the patch addon params

func (*PatchAddonParams) WithBody

func (o *PatchAddonParams) WithBody(body *models.Addon) *PatchAddonParams

WithBody adds the body to the patch addon params

func (*PatchAddonParams) WithClusterID

func (o *PatchAddonParams) WithClusterID(clusterID string) *PatchAddonParams

WithClusterID adds the clusterID to the patch addon params

func (*PatchAddonParams) WithContext

func (o *PatchAddonParams) WithContext(ctx context.Context) *PatchAddonParams

WithContext adds the context to the patch addon params

func (*PatchAddonParams) WithDC

func (o *PatchAddonParams) WithDC(dc string) *PatchAddonParams

WithDC adds the dc to the patch addon params

func (*PatchAddonParams) WithDefaults added in v2.18.0

func (o *PatchAddonParams) WithDefaults() *PatchAddonParams

WithDefaults hydrates default values in the patch addon params (not the query body).

All values with no default are reset to their zero value.

func (*PatchAddonParams) WithHTTPClient

func (o *PatchAddonParams) WithHTTPClient(client *http.Client) *PatchAddonParams

WithHTTPClient adds the HTTPClient to the patch addon params

func (*PatchAddonParams) WithProjectID

func (o *PatchAddonParams) WithProjectID(projectID string) *PatchAddonParams

WithProjectID adds the projectID to the patch addon params

func (*PatchAddonParams) WithTimeout

func (o *PatchAddonParams) WithTimeout(timeout time.Duration) *PatchAddonParams

WithTimeout adds the timeout to the patch addon params

func (*PatchAddonParams) WriteToRequest

func (o *PatchAddonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PatchAddonReader

type PatchAddonReader struct {
	// contains filtered or unexported fields
}

PatchAddonReader is a Reader for the PatchAddon structure.

func (*PatchAddonReader) ReadResponse

func (o *PatchAddonReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PatchAddonUnauthorized

type PatchAddonUnauthorized struct {
}
PatchAddonUnauthorized describes a response with status code 401, with default header values.

EmptyResponse is a empty response

func NewPatchAddonUnauthorized

func NewPatchAddonUnauthorized() *PatchAddonUnauthorized

NewPatchAddonUnauthorized creates a PatchAddonUnauthorized with default headers values

func (*PatchAddonUnauthorized) Error

func (o *PatchAddonUnauthorized) Error() string

type PatchAddonV2Default

type PatchAddonV2Default struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
PatchAddonV2Default describes a response with status code -1, with default header values.

errorResponse

func NewPatchAddonV2Default

func NewPatchAddonV2Default(code int) *PatchAddonV2Default

NewPatchAddonV2Default creates a PatchAddonV2Default with default headers values

func (*PatchAddonV2Default) Code

func (o *PatchAddonV2Default) Code() int

Code gets the status code for the patch addon v2 default response

func (*PatchAddonV2Default) Error

func (o *PatchAddonV2Default) Error() string

func (*PatchAddonV2Default) GetPayload

func (o *PatchAddonV2Default) GetPayload() *models.ErrorResponse

type PatchAddonV2Forbidden

type PatchAddonV2Forbidden struct {
}
PatchAddonV2Forbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewPatchAddonV2Forbidden

func NewPatchAddonV2Forbidden() *PatchAddonV2Forbidden

NewPatchAddonV2Forbidden creates a PatchAddonV2Forbidden with default headers values

func (*PatchAddonV2Forbidden) Error

func (o *PatchAddonV2Forbidden) Error() string

type PatchAddonV2OK

type PatchAddonV2OK struct {
	Payload *models.Addon
}
PatchAddonV2OK describes a response with status code 200, with default header values.

Addon

func NewPatchAddonV2OK

func NewPatchAddonV2OK() *PatchAddonV2OK

NewPatchAddonV2OK creates a PatchAddonV2OK with default headers values

func (*PatchAddonV2OK) Error

func (o *PatchAddonV2OK) Error() string

func (*PatchAddonV2OK) GetPayload

func (o *PatchAddonV2OK) GetPayload() *models.Addon

type PatchAddonV2Params

type PatchAddonV2Params struct {

	// Body.
	Body *models.Addon

	// AddonID.
	AddonID string

	// ClusterID.
	ClusterID string

	// ProjectID.
	ProjectID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PatchAddonV2Params contains all the parameters to send to the API endpoint

for the patch addon v2 operation.

Typically these are written to a http.Request.

func NewPatchAddonV2Params

func NewPatchAddonV2Params() *PatchAddonV2Params

NewPatchAddonV2Params creates a new PatchAddonV2Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPatchAddonV2ParamsWithContext

func NewPatchAddonV2ParamsWithContext(ctx context.Context) *PatchAddonV2Params

NewPatchAddonV2ParamsWithContext creates a new PatchAddonV2Params object with the ability to set a context for a request.

func NewPatchAddonV2ParamsWithHTTPClient

func NewPatchAddonV2ParamsWithHTTPClient(client *http.Client) *PatchAddonV2Params

NewPatchAddonV2ParamsWithHTTPClient creates a new PatchAddonV2Params object with the ability to set a custom HTTPClient for a request.

func NewPatchAddonV2ParamsWithTimeout

func NewPatchAddonV2ParamsWithTimeout(timeout time.Duration) *PatchAddonV2Params

NewPatchAddonV2ParamsWithTimeout creates a new PatchAddonV2Params object with the ability to set a timeout on a request.

func (*PatchAddonV2Params) SetAddonID

func (o *PatchAddonV2Params) SetAddonID(addonID string)

SetAddonID adds the addonId to the patch addon v2 params

func (*PatchAddonV2Params) SetBody

func (o *PatchAddonV2Params) SetBody(body *models.Addon)

SetBody adds the body to the patch addon v2 params

func (*PatchAddonV2Params) SetClusterID

func (o *PatchAddonV2Params) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the patch addon v2 params

func (*PatchAddonV2Params) SetContext

func (o *PatchAddonV2Params) SetContext(ctx context.Context)

SetContext adds the context to the patch addon v2 params

func (*PatchAddonV2Params) SetDefaults added in v2.18.0

func (o *PatchAddonV2Params) SetDefaults()

SetDefaults hydrates default values in the patch addon v2 params (not the query body).

All values with no default are reset to their zero value.

func (*PatchAddonV2Params) SetHTTPClient

func (o *PatchAddonV2Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the patch addon v2 params

func (*PatchAddonV2Params) SetProjectID

func (o *PatchAddonV2Params) SetProjectID(projectID string)

SetProjectID adds the projectId to the patch addon v2 params

func (*PatchAddonV2Params) SetTimeout

func (o *PatchAddonV2Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the patch addon v2 params

func (*PatchAddonV2Params) WithAddonID

func (o *PatchAddonV2Params) WithAddonID(addonID string) *PatchAddonV2Params

WithAddonID adds the addonID to the patch addon v2 params

func (*PatchAddonV2Params) WithBody

func (o *PatchAddonV2Params) WithBody(body *models.Addon) *PatchAddonV2Params

WithBody adds the body to the patch addon v2 params

func (*PatchAddonV2Params) WithClusterID

func (o *PatchAddonV2Params) WithClusterID(clusterID string) *PatchAddonV2Params

WithClusterID adds the clusterID to the patch addon v2 params

func (*PatchAddonV2Params) WithContext

WithContext adds the context to the patch addon v2 params

func (*PatchAddonV2Params) WithDefaults added in v2.18.0

func (o *PatchAddonV2Params) WithDefaults() *PatchAddonV2Params

WithDefaults hydrates default values in the patch addon v2 params (not the query body).

All values with no default are reset to their zero value.

func (*PatchAddonV2Params) WithHTTPClient

func (o *PatchAddonV2Params) WithHTTPClient(client *http.Client) *PatchAddonV2Params

WithHTTPClient adds the HTTPClient to the patch addon v2 params

func (*PatchAddonV2Params) WithProjectID

func (o *PatchAddonV2Params) WithProjectID(projectID string) *PatchAddonV2Params

WithProjectID adds the projectID to the patch addon v2 params

func (*PatchAddonV2Params) WithTimeout

func (o *PatchAddonV2Params) WithTimeout(timeout time.Duration) *PatchAddonV2Params

WithTimeout adds the timeout to the patch addon v2 params

func (*PatchAddonV2Params) WriteToRequest

func (o *PatchAddonV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PatchAddonV2Reader

type PatchAddonV2Reader struct {
	// contains filtered or unexported fields
}

PatchAddonV2Reader is a Reader for the PatchAddonV2 structure.

func (*PatchAddonV2Reader) ReadResponse

func (o *PatchAddonV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PatchAddonV2Unauthorized

type PatchAddonV2Unauthorized struct {
}
PatchAddonV2Unauthorized describes a response with status code 401, with default header values.

EmptyResponse is a empty response

func NewPatchAddonV2Unauthorized

func NewPatchAddonV2Unauthorized() *PatchAddonV2Unauthorized

NewPatchAddonV2Unauthorized creates a PatchAddonV2Unauthorized with default headers values

func (*PatchAddonV2Unauthorized) Error

func (o *PatchAddonV2Unauthorized) Error() string

Jump to

Keyboard shortcuts

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