addon

package
v0.0.0-...-b339f66 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: Apache-2.0 Imports: 10 Imported by: 1

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

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

func (*CreateAddonCreated) IsClientError

func (o *CreateAddonCreated) IsClientError() bool

IsClientError returns true when this create addon created response has a 4xx status code

func (*CreateAddonCreated) IsCode

func (o *CreateAddonCreated) IsCode(code int) bool

IsCode returns true when this create addon created response a status code equal to that given

func (*CreateAddonCreated) IsRedirect

func (o *CreateAddonCreated) IsRedirect() bool

IsRedirect returns true when this create addon created response has a 3xx status code

func (*CreateAddonCreated) IsServerError

func (o *CreateAddonCreated) IsServerError() bool

IsServerError returns true when this create addon created response has a 5xx status code

func (*CreateAddonCreated) IsSuccess

func (o *CreateAddonCreated) IsSuccess() bool

IsSuccess returns true when this create addon created response has a 2xx status code

func (*CreateAddonCreated) String

func (o *CreateAddonCreated) String() string

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

func (*CreateAddonDefault) IsClientError

func (o *CreateAddonDefault) IsClientError() bool

IsClientError returns true when this create addon default response has a 4xx status code

func (*CreateAddonDefault) IsCode

func (o *CreateAddonDefault) IsCode(code int) bool

IsCode returns true when this create addon default response a status code equal to that given

func (*CreateAddonDefault) IsRedirect

func (o *CreateAddonDefault) IsRedirect() bool

IsRedirect returns true when this create addon default response has a 3xx status code

func (*CreateAddonDefault) IsServerError

func (o *CreateAddonDefault) IsServerError() bool

IsServerError returns true when this create addon default response has a 5xx status code

func (*CreateAddonDefault) IsSuccess

func (o *CreateAddonDefault) IsSuccess() bool

IsSuccess returns true when this create addon default response has a 2xx status code

func (*CreateAddonDefault) String

func (o *CreateAddonDefault) String() string

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

func (*CreateAddonForbidden) IsClientError

func (o *CreateAddonForbidden) IsClientError() bool

IsClientError returns true when this create addon forbidden response has a 4xx status code

func (*CreateAddonForbidden) IsCode

func (o *CreateAddonForbidden) IsCode(code int) bool

IsCode returns true when this create addon forbidden response a status code equal to that given

func (*CreateAddonForbidden) IsRedirect

func (o *CreateAddonForbidden) IsRedirect() bool

IsRedirect returns true when this create addon forbidden response has a 3xx status code

func (*CreateAddonForbidden) IsServerError

func (o *CreateAddonForbidden) IsServerError() bool

IsServerError returns true when this create addon forbidden response has a 5xx status code

func (*CreateAddonForbidden) IsSuccess

func (o *CreateAddonForbidden) IsSuccess() bool

IsSuccess returns true when this create addon forbidden response has a 2xx status code

func (*CreateAddonForbidden) String

func (o *CreateAddonForbidden) String() 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

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

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

func (*CreateAddonUnauthorized) IsClientError

func (o *CreateAddonUnauthorized) IsClientError() bool

IsClientError returns true when this create addon unauthorized response has a 4xx status code

func (*CreateAddonUnauthorized) IsCode

func (o *CreateAddonUnauthorized) IsCode(code int) bool

IsCode returns true when this create addon unauthorized response a status code equal to that given

func (*CreateAddonUnauthorized) IsRedirect

func (o *CreateAddonUnauthorized) IsRedirect() bool

IsRedirect returns true when this create addon unauthorized response has a 3xx status code

func (*CreateAddonUnauthorized) IsServerError

func (o *CreateAddonUnauthorized) IsServerError() bool

IsServerError returns true when this create addon unauthorized response has a 5xx status code

func (*CreateAddonUnauthorized) IsSuccess

func (o *CreateAddonUnauthorized) IsSuccess() bool

IsSuccess returns true when this create addon unauthorized response has a 2xx status code

func (*CreateAddonUnauthorized) String

func (o *CreateAddonUnauthorized) String() 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

func (*CreateAddonV2Created) IsClientError

func (o *CreateAddonV2Created) IsClientError() bool

IsClientError returns true when this create addon v2 created response has a 4xx status code

func (*CreateAddonV2Created) IsCode

func (o *CreateAddonV2Created) IsCode(code int) bool

IsCode returns true when this create addon v2 created response a status code equal to that given

func (*CreateAddonV2Created) IsRedirect

func (o *CreateAddonV2Created) IsRedirect() bool

IsRedirect returns true when this create addon v2 created response has a 3xx status code

func (*CreateAddonV2Created) IsServerError

func (o *CreateAddonV2Created) IsServerError() bool

IsServerError returns true when this create addon v2 created response has a 5xx status code

func (*CreateAddonV2Created) IsSuccess

func (o *CreateAddonV2Created) IsSuccess() bool

IsSuccess returns true when this create addon v2 created response has a 2xx status code

func (*CreateAddonV2Created) String

func (o *CreateAddonV2Created) String() string

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

func (*CreateAddonV2Default) IsClientError

func (o *CreateAddonV2Default) IsClientError() bool

IsClientError returns true when this create addon v2 default response has a 4xx status code

func (*CreateAddonV2Default) IsCode

func (o *CreateAddonV2Default) IsCode(code int) bool

IsCode returns true when this create addon v2 default response a status code equal to that given

func (*CreateAddonV2Default) IsRedirect

func (o *CreateAddonV2Default) IsRedirect() bool

IsRedirect returns true when this create addon v2 default response has a 3xx status code

func (*CreateAddonV2Default) IsServerError

func (o *CreateAddonV2Default) IsServerError() bool

IsServerError returns true when this create addon v2 default response has a 5xx status code

func (*CreateAddonV2Default) IsSuccess

func (o *CreateAddonV2Default) IsSuccess() bool

IsSuccess returns true when this create addon v2 default response has a 2xx status code

func (*CreateAddonV2Default) String

func (o *CreateAddonV2Default) String() string

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

func (*CreateAddonV2Forbidden) IsClientError

func (o *CreateAddonV2Forbidden) IsClientError() bool

IsClientError returns true when this create addon v2 forbidden response has a 4xx status code

func (*CreateAddonV2Forbidden) IsCode

func (o *CreateAddonV2Forbidden) IsCode(code int) bool

IsCode returns true when this create addon v2 forbidden response a status code equal to that given

func (*CreateAddonV2Forbidden) IsRedirect

func (o *CreateAddonV2Forbidden) IsRedirect() bool

IsRedirect returns true when this create addon v2 forbidden response has a 3xx status code

func (*CreateAddonV2Forbidden) IsServerError

func (o *CreateAddonV2Forbidden) IsServerError() bool

IsServerError returns true when this create addon v2 forbidden response has a 5xx status code

func (*CreateAddonV2Forbidden) IsSuccess

func (o *CreateAddonV2Forbidden) IsSuccess() bool

IsSuccess returns true when this create addon v2 forbidden response has a 2xx status code

func (*CreateAddonV2Forbidden) String

func (o *CreateAddonV2Forbidden) String() 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

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

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

func (*CreateAddonV2Unauthorized) IsClientError

func (o *CreateAddonV2Unauthorized) IsClientError() bool

IsClientError returns true when this create addon v2 unauthorized response has a 4xx status code

func (*CreateAddonV2Unauthorized) IsCode

func (o *CreateAddonV2Unauthorized) IsCode(code int) bool

IsCode returns true when this create addon v2 unauthorized response a status code equal to that given

func (*CreateAddonV2Unauthorized) IsRedirect

func (o *CreateAddonV2Unauthorized) IsRedirect() bool

IsRedirect returns true when this create addon v2 unauthorized response has a 3xx status code

func (*CreateAddonV2Unauthorized) IsServerError

func (o *CreateAddonV2Unauthorized) IsServerError() bool

IsServerError returns true when this create addon v2 unauthorized response has a 5xx status code

func (*CreateAddonV2Unauthorized) IsSuccess

func (o *CreateAddonV2Unauthorized) IsSuccess() bool

IsSuccess returns true when this create addon v2 unauthorized response has a 2xx status code

func (*CreateAddonV2Unauthorized) String

func (o *CreateAddonV2Unauthorized) String() 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

func (*DeleteAddonDefault) IsClientError

func (o *DeleteAddonDefault) IsClientError() bool

IsClientError returns true when this delete addon default response has a 4xx status code

func (*DeleteAddonDefault) IsCode

func (o *DeleteAddonDefault) IsCode(code int) bool

IsCode returns true when this delete addon default response a status code equal to that given

func (*DeleteAddonDefault) IsRedirect

func (o *DeleteAddonDefault) IsRedirect() bool

IsRedirect returns true when this delete addon default response has a 3xx status code

func (*DeleteAddonDefault) IsServerError

func (o *DeleteAddonDefault) IsServerError() bool

IsServerError returns true when this delete addon default response has a 5xx status code

func (*DeleteAddonDefault) IsSuccess

func (o *DeleteAddonDefault) IsSuccess() bool

IsSuccess returns true when this delete addon default response has a 2xx status code

func (*DeleteAddonDefault) String

func (o *DeleteAddonDefault) String() string

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

func (*DeleteAddonForbidden) IsClientError

func (o *DeleteAddonForbidden) IsClientError() bool

IsClientError returns true when this delete addon forbidden response has a 4xx status code

func (*DeleteAddonForbidden) IsCode

func (o *DeleteAddonForbidden) IsCode(code int) bool

IsCode returns true when this delete addon forbidden response a status code equal to that given

func (*DeleteAddonForbidden) IsRedirect

func (o *DeleteAddonForbidden) IsRedirect() bool

IsRedirect returns true when this delete addon forbidden response has a 3xx status code

func (*DeleteAddonForbidden) IsServerError

func (o *DeleteAddonForbidden) IsServerError() bool

IsServerError returns true when this delete addon forbidden response has a 5xx status code

func (*DeleteAddonForbidden) IsSuccess

func (o *DeleteAddonForbidden) IsSuccess() bool

IsSuccess returns true when this delete addon forbidden response has a 2xx status code

func (*DeleteAddonForbidden) String

func (o *DeleteAddonForbidden) String() 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

func (*DeleteAddonOK) IsClientError

func (o *DeleteAddonOK) IsClientError() bool

IsClientError returns true when this delete addon o k response has a 4xx status code

func (*DeleteAddonOK) IsCode

func (o *DeleteAddonOK) IsCode(code int) bool

IsCode returns true when this delete addon o k response a status code equal to that given

func (*DeleteAddonOK) IsRedirect

func (o *DeleteAddonOK) IsRedirect() bool

IsRedirect returns true when this delete addon o k response has a 3xx status code

func (*DeleteAddonOK) IsServerError

func (o *DeleteAddonOK) IsServerError() bool

IsServerError returns true when this delete addon o k response has a 5xx status code

func (*DeleteAddonOK) IsSuccess

func (o *DeleteAddonOK) IsSuccess() bool

IsSuccess returns true when this delete addon o k response has a 2xx status code

func (*DeleteAddonOK) String

func (o *DeleteAddonOK) String() 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

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

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

func (*DeleteAddonUnauthorized) IsClientError

func (o *DeleteAddonUnauthorized) IsClientError() bool

IsClientError returns true when this delete addon unauthorized response has a 4xx status code

func (*DeleteAddonUnauthorized) IsCode

func (o *DeleteAddonUnauthorized) IsCode(code int) bool

IsCode returns true when this delete addon unauthorized response a status code equal to that given

func (*DeleteAddonUnauthorized) IsRedirect

func (o *DeleteAddonUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete addon unauthorized response has a 3xx status code

func (*DeleteAddonUnauthorized) IsServerError

func (o *DeleteAddonUnauthorized) IsServerError() bool

IsServerError returns true when this delete addon unauthorized response has a 5xx status code

func (*DeleteAddonUnauthorized) IsSuccess

func (o *DeleteAddonUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete addon unauthorized response has a 2xx status code

func (*DeleteAddonUnauthorized) String

func (o *DeleteAddonUnauthorized) String() 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

func (*DeleteAddonV2Default) IsClientError

func (o *DeleteAddonV2Default) IsClientError() bool

IsClientError returns true when this delete addon v2 default response has a 4xx status code

func (*DeleteAddonV2Default) IsCode

func (o *DeleteAddonV2Default) IsCode(code int) bool

IsCode returns true when this delete addon v2 default response a status code equal to that given

func (*DeleteAddonV2Default) IsRedirect

func (o *DeleteAddonV2Default) IsRedirect() bool

IsRedirect returns true when this delete addon v2 default response has a 3xx status code

func (*DeleteAddonV2Default) IsServerError

func (o *DeleteAddonV2Default) IsServerError() bool

IsServerError returns true when this delete addon v2 default response has a 5xx status code

func (*DeleteAddonV2Default) IsSuccess

func (o *DeleteAddonV2Default) IsSuccess() bool

IsSuccess returns true when this delete addon v2 default response has a 2xx status code

func (*DeleteAddonV2Default) String

func (o *DeleteAddonV2Default) String() string

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

func (*DeleteAddonV2Forbidden) IsClientError

func (o *DeleteAddonV2Forbidden) IsClientError() bool

IsClientError returns true when this delete addon v2 forbidden response has a 4xx status code

func (*DeleteAddonV2Forbidden) IsCode

func (o *DeleteAddonV2Forbidden) IsCode(code int) bool

IsCode returns true when this delete addon v2 forbidden response a status code equal to that given

func (*DeleteAddonV2Forbidden) IsRedirect

func (o *DeleteAddonV2Forbidden) IsRedirect() bool

IsRedirect returns true when this delete addon v2 forbidden response has a 3xx status code

func (*DeleteAddonV2Forbidden) IsServerError

func (o *DeleteAddonV2Forbidden) IsServerError() bool

IsServerError returns true when this delete addon v2 forbidden response has a 5xx status code

func (*DeleteAddonV2Forbidden) IsSuccess

func (o *DeleteAddonV2Forbidden) IsSuccess() bool

IsSuccess returns true when this delete addon v2 forbidden response has a 2xx status code

func (*DeleteAddonV2Forbidden) String

func (o *DeleteAddonV2Forbidden) String() 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

func (*DeleteAddonV2OK) IsClientError

func (o *DeleteAddonV2OK) IsClientError() bool

IsClientError returns true when this delete addon v2 o k response has a 4xx status code

func (*DeleteAddonV2OK) IsCode

func (o *DeleteAddonV2OK) IsCode(code int) bool

IsCode returns true when this delete addon v2 o k response a status code equal to that given

func (*DeleteAddonV2OK) IsRedirect

func (o *DeleteAddonV2OK) IsRedirect() bool

IsRedirect returns true when this delete addon v2 o k response has a 3xx status code

func (*DeleteAddonV2OK) IsServerError

func (o *DeleteAddonV2OK) IsServerError() bool

IsServerError returns true when this delete addon v2 o k response has a 5xx status code

func (*DeleteAddonV2OK) IsSuccess

func (o *DeleteAddonV2OK) IsSuccess() bool

IsSuccess returns true when this delete addon v2 o k response has a 2xx status code

func (*DeleteAddonV2OK) String

func (o *DeleteAddonV2OK) String() 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

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

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

func (*DeleteAddonV2Unauthorized) IsClientError

func (o *DeleteAddonV2Unauthorized) IsClientError() bool

IsClientError returns true when this delete addon v2 unauthorized response has a 4xx status code

func (*DeleteAddonV2Unauthorized) IsCode

func (o *DeleteAddonV2Unauthorized) IsCode(code int) bool

IsCode returns true when this delete addon v2 unauthorized response a status code equal to that given

func (*DeleteAddonV2Unauthorized) IsRedirect

func (o *DeleteAddonV2Unauthorized) IsRedirect() bool

IsRedirect returns true when this delete addon v2 unauthorized response has a 3xx status code

func (*DeleteAddonV2Unauthorized) IsServerError

func (o *DeleteAddonV2Unauthorized) IsServerError() bool

IsServerError returns true when this delete addon v2 unauthorized response has a 5xx status code

func (*DeleteAddonV2Unauthorized) IsSuccess

func (o *DeleteAddonV2Unauthorized) IsSuccess() bool

IsSuccess returns true when this delete addon v2 unauthorized response has a 2xx status code

func (*DeleteAddonV2Unauthorized) String

func (o *DeleteAddonV2Unauthorized) String() 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

func (*GetAddonDefault) IsClientError

func (o *GetAddonDefault) IsClientError() bool

IsClientError returns true when this get addon default response has a 4xx status code

func (*GetAddonDefault) IsCode

func (o *GetAddonDefault) IsCode(code int) bool

IsCode returns true when this get addon default response a status code equal to that given

func (*GetAddonDefault) IsRedirect

func (o *GetAddonDefault) IsRedirect() bool

IsRedirect returns true when this get addon default response has a 3xx status code

func (*GetAddonDefault) IsServerError

func (o *GetAddonDefault) IsServerError() bool

IsServerError returns true when this get addon default response has a 5xx status code

func (*GetAddonDefault) IsSuccess

func (o *GetAddonDefault) IsSuccess() bool

IsSuccess returns true when this get addon default response has a 2xx status code

func (*GetAddonDefault) String

func (o *GetAddonDefault) String() string

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

func (*GetAddonForbidden) IsClientError

func (o *GetAddonForbidden) IsClientError() bool

IsClientError returns true when this get addon forbidden response has a 4xx status code

func (*GetAddonForbidden) IsCode

func (o *GetAddonForbidden) IsCode(code int) bool

IsCode returns true when this get addon forbidden response a status code equal to that given

func (*GetAddonForbidden) IsRedirect

func (o *GetAddonForbidden) IsRedirect() bool

IsRedirect returns true when this get addon forbidden response has a 3xx status code

func (*GetAddonForbidden) IsServerError

func (o *GetAddonForbidden) IsServerError() bool

IsServerError returns true when this get addon forbidden response has a 5xx status code

func (*GetAddonForbidden) IsSuccess

func (o *GetAddonForbidden) IsSuccess() bool

IsSuccess returns true when this get addon forbidden response has a 2xx status code

func (*GetAddonForbidden) String

func (o *GetAddonForbidden) String() 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

func (*GetAddonOK) IsClientError

func (o *GetAddonOK) IsClientError() bool

IsClientError returns true when this get addon o k response has a 4xx status code

func (*GetAddonOK) IsCode

func (o *GetAddonOK) IsCode(code int) bool

IsCode returns true when this get addon o k response a status code equal to that given

func (*GetAddonOK) IsRedirect

func (o *GetAddonOK) IsRedirect() bool

IsRedirect returns true when this get addon o k response has a 3xx status code

func (*GetAddonOK) IsServerError

func (o *GetAddonOK) IsServerError() bool

IsServerError returns true when this get addon o k response has a 5xx status code

func (*GetAddonOK) IsSuccess

func (o *GetAddonOK) IsSuccess() bool

IsSuccess returns true when this get addon o k response has a 2xx status code

func (*GetAddonOK) String

func (o *GetAddonOK) String() string

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

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

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

func (*GetAddonUnauthorized) IsClientError

func (o *GetAddonUnauthorized) IsClientError() bool

IsClientError returns true when this get addon unauthorized response has a 4xx status code

func (*GetAddonUnauthorized) IsCode

func (o *GetAddonUnauthorized) IsCode(code int) bool

IsCode returns true when this get addon unauthorized response a status code equal to that given

func (*GetAddonUnauthorized) IsRedirect

func (o *GetAddonUnauthorized) IsRedirect() bool

IsRedirect returns true when this get addon unauthorized response has a 3xx status code

func (*GetAddonUnauthorized) IsServerError

func (o *GetAddonUnauthorized) IsServerError() bool

IsServerError returns true when this get addon unauthorized response has a 5xx status code

func (*GetAddonUnauthorized) IsSuccess

func (o *GetAddonUnauthorized) IsSuccess() bool

IsSuccess returns true when this get addon unauthorized response has a 2xx status code

func (*GetAddonUnauthorized) String

func (o *GetAddonUnauthorized) String() 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

func (*GetAddonV2Default) IsClientError

func (o *GetAddonV2Default) IsClientError() bool

IsClientError returns true when this get addon v2 default response has a 4xx status code

func (*GetAddonV2Default) IsCode

func (o *GetAddonV2Default) IsCode(code int) bool

IsCode returns true when this get addon v2 default response a status code equal to that given

func (*GetAddonV2Default) IsRedirect

func (o *GetAddonV2Default) IsRedirect() bool

IsRedirect returns true when this get addon v2 default response has a 3xx status code

func (*GetAddonV2Default) IsServerError

func (o *GetAddonV2Default) IsServerError() bool

IsServerError returns true when this get addon v2 default response has a 5xx status code

func (*GetAddonV2Default) IsSuccess

func (o *GetAddonV2Default) IsSuccess() bool

IsSuccess returns true when this get addon v2 default response has a 2xx status code

func (*GetAddonV2Default) String

func (o *GetAddonV2Default) String() string

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

func (*GetAddonV2Forbidden) IsClientError

func (o *GetAddonV2Forbidden) IsClientError() bool

IsClientError returns true when this get addon v2 forbidden response has a 4xx status code

func (*GetAddonV2Forbidden) IsCode

func (o *GetAddonV2Forbidden) IsCode(code int) bool

IsCode returns true when this get addon v2 forbidden response a status code equal to that given

func (*GetAddonV2Forbidden) IsRedirect

func (o *GetAddonV2Forbidden) IsRedirect() bool

IsRedirect returns true when this get addon v2 forbidden response has a 3xx status code

func (*GetAddonV2Forbidden) IsServerError

func (o *GetAddonV2Forbidden) IsServerError() bool

IsServerError returns true when this get addon v2 forbidden response has a 5xx status code

func (*GetAddonV2Forbidden) IsSuccess

func (o *GetAddonV2Forbidden) IsSuccess() bool

IsSuccess returns true when this get addon v2 forbidden response has a 2xx status code

func (*GetAddonV2Forbidden) String

func (o *GetAddonV2Forbidden) String() 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

func (*GetAddonV2OK) IsClientError

func (o *GetAddonV2OK) IsClientError() bool

IsClientError returns true when this get addon v2 o k response has a 4xx status code

func (*GetAddonV2OK) IsCode

func (o *GetAddonV2OK) IsCode(code int) bool

IsCode returns true when this get addon v2 o k response a status code equal to that given

func (*GetAddonV2OK) IsRedirect

func (o *GetAddonV2OK) IsRedirect() bool

IsRedirect returns true when this get addon v2 o k response has a 3xx status code

func (*GetAddonV2OK) IsServerError

func (o *GetAddonV2OK) IsServerError() bool

IsServerError returns true when this get addon v2 o k response has a 5xx status code

func (*GetAddonV2OK) IsSuccess

func (o *GetAddonV2OK) IsSuccess() bool

IsSuccess returns true when this get addon v2 o k response has a 2xx status code

func (*GetAddonV2OK) String

func (o *GetAddonV2OK) String() string

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

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

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

func (*GetAddonV2Unauthorized) IsClientError

func (o *GetAddonV2Unauthorized) IsClientError() bool

IsClientError returns true when this get addon v2 unauthorized response has a 4xx status code

func (*GetAddonV2Unauthorized) IsCode

func (o *GetAddonV2Unauthorized) IsCode(code int) bool

IsCode returns true when this get addon v2 unauthorized response a status code equal to that given

func (*GetAddonV2Unauthorized) IsRedirect

func (o *GetAddonV2Unauthorized) IsRedirect() bool

IsRedirect returns true when this get addon v2 unauthorized response has a 3xx status code

func (*GetAddonV2Unauthorized) IsServerError

func (o *GetAddonV2Unauthorized) IsServerError() bool

IsServerError returns true when this get addon v2 unauthorized response has a 5xx status code

func (*GetAddonV2Unauthorized) IsSuccess

func (o *GetAddonV2Unauthorized) IsSuccess() bool

IsSuccess returns true when this get addon v2 unauthorized response has a 2xx status code

func (*GetAddonV2Unauthorized) String

func (o *GetAddonV2Unauthorized) String() 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

func (*ListAccessibleAddonsDefault) IsClientError

func (o *ListAccessibleAddonsDefault) IsClientError() bool

IsClientError returns true when this list accessible addons default response has a 4xx status code

func (*ListAccessibleAddonsDefault) IsCode

func (o *ListAccessibleAddonsDefault) IsCode(code int) bool

IsCode returns true when this list accessible addons default response a status code equal to that given

func (*ListAccessibleAddonsDefault) IsRedirect

func (o *ListAccessibleAddonsDefault) IsRedirect() bool

IsRedirect returns true when this list accessible addons default response has a 3xx status code

func (*ListAccessibleAddonsDefault) IsServerError

func (o *ListAccessibleAddonsDefault) IsServerError() bool

IsServerError returns true when this list accessible addons default response has a 5xx status code

func (*ListAccessibleAddonsDefault) IsSuccess

func (o *ListAccessibleAddonsDefault) IsSuccess() bool

IsSuccess returns true when this list accessible addons default response has a 2xx status code

func (*ListAccessibleAddonsDefault) String

func (o *ListAccessibleAddonsDefault) String() string

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

func (*ListAccessibleAddonsForbidden) IsClientError

func (o *ListAccessibleAddonsForbidden) IsClientError() bool

IsClientError returns true when this list accessible addons forbidden response has a 4xx status code

func (*ListAccessibleAddonsForbidden) IsCode

func (o *ListAccessibleAddonsForbidden) IsCode(code int) bool

IsCode returns true when this list accessible addons forbidden response a status code equal to that given

func (*ListAccessibleAddonsForbidden) IsRedirect

func (o *ListAccessibleAddonsForbidden) IsRedirect() bool

IsRedirect returns true when this list accessible addons forbidden response has a 3xx status code

func (*ListAccessibleAddonsForbidden) IsServerError

func (o *ListAccessibleAddonsForbidden) IsServerError() bool

IsServerError returns true when this list accessible addons forbidden response has a 5xx status code

func (*ListAccessibleAddonsForbidden) IsSuccess

func (o *ListAccessibleAddonsForbidden) IsSuccess() bool

IsSuccess returns true when this list accessible addons forbidden response has a 2xx status code

func (*ListAccessibleAddonsForbidden) String

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

func (*ListAccessibleAddonsOK) IsClientError

func (o *ListAccessibleAddonsOK) IsClientError() bool

IsClientError returns true when this list accessible addons o k response has a 4xx status code

func (*ListAccessibleAddonsOK) IsCode

func (o *ListAccessibleAddonsOK) IsCode(code int) bool

IsCode returns true when this list accessible addons o k response a status code equal to that given

func (*ListAccessibleAddonsOK) IsRedirect

func (o *ListAccessibleAddonsOK) IsRedirect() bool

IsRedirect returns true when this list accessible addons o k response has a 3xx status code

func (*ListAccessibleAddonsOK) IsServerError

func (o *ListAccessibleAddonsOK) IsServerError() bool

IsServerError returns true when this list accessible addons o k response has a 5xx status code

func (*ListAccessibleAddonsOK) IsSuccess

func (o *ListAccessibleAddonsOK) IsSuccess() bool

IsSuccess returns true when this list accessible addons o k response has a 2xx status code

func (*ListAccessibleAddonsOK) String

func (o *ListAccessibleAddonsOK) String() string

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

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

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

func (*ListAccessibleAddonsUnauthorized) IsClientError

func (o *ListAccessibleAddonsUnauthorized) IsClientError() bool

IsClientError returns true when this list accessible addons unauthorized response has a 4xx status code

func (*ListAccessibleAddonsUnauthorized) IsCode

func (o *ListAccessibleAddonsUnauthorized) IsCode(code int) bool

IsCode returns true when this list accessible addons unauthorized response a status code equal to that given

func (*ListAccessibleAddonsUnauthorized) IsRedirect

func (o *ListAccessibleAddonsUnauthorized) IsRedirect() bool

IsRedirect returns true when this list accessible addons unauthorized response has a 3xx status code

func (*ListAccessibleAddonsUnauthorized) IsServerError

func (o *ListAccessibleAddonsUnauthorized) IsServerError() bool

IsServerError returns true when this list accessible addons unauthorized response has a 5xx status code

func (*ListAccessibleAddonsUnauthorized) IsSuccess

func (o *ListAccessibleAddonsUnauthorized) IsSuccess() bool

IsSuccess returns true when this list accessible addons unauthorized response has a 2xx status code

func (*ListAccessibleAddonsUnauthorized) String

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

func (*ListAddonsDefault) IsClientError

func (o *ListAddonsDefault) IsClientError() bool

IsClientError returns true when this list addons default response has a 4xx status code

func (*ListAddonsDefault) IsCode

func (o *ListAddonsDefault) IsCode(code int) bool

IsCode returns true when this list addons default response a status code equal to that given

func (*ListAddonsDefault) IsRedirect

func (o *ListAddonsDefault) IsRedirect() bool

IsRedirect returns true when this list addons default response has a 3xx status code

func (*ListAddonsDefault) IsServerError

func (o *ListAddonsDefault) IsServerError() bool

IsServerError returns true when this list addons default response has a 5xx status code

func (*ListAddonsDefault) IsSuccess

func (o *ListAddonsDefault) IsSuccess() bool

IsSuccess returns true when this list addons default response has a 2xx status code

func (*ListAddonsDefault) String

func (o *ListAddonsDefault) String() string

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

func (*ListAddonsForbidden) IsClientError

func (o *ListAddonsForbidden) IsClientError() bool

IsClientError returns true when this list addons forbidden response has a 4xx status code

func (*ListAddonsForbidden) IsCode

func (o *ListAddonsForbidden) IsCode(code int) bool

IsCode returns true when this list addons forbidden response a status code equal to that given

func (*ListAddonsForbidden) IsRedirect

func (o *ListAddonsForbidden) IsRedirect() bool

IsRedirect returns true when this list addons forbidden response has a 3xx status code

func (*ListAddonsForbidden) IsServerError

func (o *ListAddonsForbidden) IsServerError() bool

IsServerError returns true when this list addons forbidden response has a 5xx status code

func (*ListAddonsForbidden) IsSuccess

func (o *ListAddonsForbidden) IsSuccess() bool

IsSuccess returns true when this list addons forbidden response has a 2xx status code

func (*ListAddonsForbidden) String

func (o *ListAddonsForbidden) String() 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

func (*ListAddonsOK) IsClientError

func (o *ListAddonsOK) IsClientError() bool

IsClientError returns true when this list addons o k response has a 4xx status code

func (*ListAddonsOK) IsCode

func (o *ListAddonsOK) IsCode(code int) bool

IsCode returns true when this list addons o k response a status code equal to that given

func (*ListAddonsOK) IsRedirect

func (o *ListAddonsOK) IsRedirect() bool

IsRedirect returns true when this list addons o k response has a 3xx status code

func (*ListAddonsOK) IsServerError

func (o *ListAddonsOK) IsServerError() bool

IsServerError returns true when this list addons o k response has a 5xx status code

func (*ListAddonsOK) IsSuccess

func (o *ListAddonsOK) IsSuccess() bool

IsSuccess returns true when this list addons o k response has a 2xx status code

func (*ListAddonsOK) String

func (o *ListAddonsOK) String() string

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

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

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

func (*ListAddonsUnauthorized) IsClientError

func (o *ListAddonsUnauthorized) IsClientError() bool

IsClientError returns true when this list addons unauthorized response has a 4xx status code

func (*ListAddonsUnauthorized) IsCode

func (o *ListAddonsUnauthorized) IsCode(code int) bool

IsCode returns true when this list addons unauthorized response a status code equal to that given

func (*ListAddonsUnauthorized) IsRedirect

func (o *ListAddonsUnauthorized) IsRedirect() bool

IsRedirect returns true when this list addons unauthorized response has a 3xx status code

func (*ListAddonsUnauthorized) IsServerError

func (o *ListAddonsUnauthorized) IsServerError() bool

IsServerError returns true when this list addons unauthorized response has a 5xx status code

func (*ListAddonsUnauthorized) IsSuccess

func (o *ListAddonsUnauthorized) IsSuccess() bool

IsSuccess returns true when this list addons unauthorized response has a 2xx status code

func (*ListAddonsUnauthorized) String

func (o *ListAddonsUnauthorized) String() 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

func (*ListAddonsV2Default) IsClientError

func (o *ListAddonsV2Default) IsClientError() bool

IsClientError returns true when this list addons v2 default response has a 4xx status code

func (*ListAddonsV2Default) IsCode

func (o *ListAddonsV2Default) IsCode(code int) bool

IsCode returns true when this list addons v2 default response a status code equal to that given

func (*ListAddonsV2Default) IsRedirect

func (o *ListAddonsV2Default) IsRedirect() bool

IsRedirect returns true when this list addons v2 default response has a 3xx status code

func (*ListAddonsV2Default) IsServerError

func (o *ListAddonsV2Default) IsServerError() bool

IsServerError returns true when this list addons v2 default response has a 5xx status code

func (*ListAddonsV2Default) IsSuccess

func (o *ListAddonsV2Default) IsSuccess() bool

IsSuccess returns true when this list addons v2 default response has a 2xx status code

func (*ListAddonsV2Default) String

func (o *ListAddonsV2Default) String() string

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

func (*ListAddonsV2Forbidden) IsClientError

func (o *ListAddonsV2Forbidden) IsClientError() bool

IsClientError returns true when this list addons v2 forbidden response has a 4xx status code

func (*ListAddonsV2Forbidden) IsCode

func (o *ListAddonsV2Forbidden) IsCode(code int) bool

IsCode returns true when this list addons v2 forbidden response a status code equal to that given

func (*ListAddonsV2Forbidden) IsRedirect

func (o *ListAddonsV2Forbidden) IsRedirect() bool

IsRedirect returns true when this list addons v2 forbidden response has a 3xx status code

func (*ListAddonsV2Forbidden) IsServerError

func (o *ListAddonsV2Forbidden) IsServerError() bool

IsServerError returns true when this list addons v2 forbidden response has a 5xx status code

func (*ListAddonsV2Forbidden) IsSuccess

func (o *ListAddonsV2Forbidden) IsSuccess() bool

IsSuccess returns true when this list addons v2 forbidden response has a 2xx status code

func (*ListAddonsV2Forbidden) String

func (o *ListAddonsV2Forbidden) String() 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

func (*ListAddonsV2OK) IsClientError

func (o *ListAddonsV2OK) IsClientError() bool

IsClientError returns true when this list addons v2 o k response has a 4xx status code

func (*ListAddonsV2OK) IsCode

func (o *ListAddonsV2OK) IsCode(code int) bool

IsCode returns true when this list addons v2 o k response a status code equal to that given

func (*ListAddonsV2OK) IsRedirect

func (o *ListAddonsV2OK) IsRedirect() bool

IsRedirect returns true when this list addons v2 o k response has a 3xx status code

func (*ListAddonsV2OK) IsServerError

func (o *ListAddonsV2OK) IsServerError() bool

IsServerError returns true when this list addons v2 o k response has a 5xx status code

func (*ListAddonsV2OK) IsSuccess

func (o *ListAddonsV2OK) IsSuccess() bool

IsSuccess returns true when this list addons v2 o k response has a 2xx status code

func (*ListAddonsV2OK) String

func (o *ListAddonsV2OK) String() string

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

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

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

func (*ListAddonsV2Unauthorized) IsClientError

func (o *ListAddonsV2Unauthorized) IsClientError() bool

IsClientError returns true when this list addons v2 unauthorized response has a 4xx status code

func (*ListAddonsV2Unauthorized) IsCode

func (o *ListAddonsV2Unauthorized) IsCode(code int) bool

IsCode returns true when this list addons v2 unauthorized response a status code equal to that given

func (*ListAddonsV2Unauthorized) IsRedirect

func (o *ListAddonsV2Unauthorized) IsRedirect() bool

IsRedirect returns true when this list addons v2 unauthorized response has a 3xx status code

func (*ListAddonsV2Unauthorized) IsServerError

func (o *ListAddonsV2Unauthorized) IsServerError() bool

IsServerError returns true when this list addons v2 unauthorized response has a 5xx status code

func (*ListAddonsV2Unauthorized) IsSuccess

func (o *ListAddonsV2Unauthorized) IsSuccess() bool

IsSuccess returns true when this list addons v2 unauthorized response has a 2xx status code

func (*ListAddonsV2Unauthorized) String

func (o *ListAddonsV2Unauthorized) String() 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

func (*ListInstallableAddonsDefault) IsClientError

func (o *ListInstallableAddonsDefault) IsClientError() bool

IsClientError returns true when this list installable addons default response has a 4xx status code

func (*ListInstallableAddonsDefault) IsCode

func (o *ListInstallableAddonsDefault) IsCode(code int) bool

IsCode returns true when this list installable addons default response a status code equal to that given

func (*ListInstallableAddonsDefault) IsRedirect

func (o *ListInstallableAddonsDefault) IsRedirect() bool

IsRedirect returns true when this list installable addons default response has a 3xx status code

func (*ListInstallableAddonsDefault) IsServerError

func (o *ListInstallableAddonsDefault) IsServerError() bool

IsServerError returns true when this list installable addons default response has a 5xx status code

func (*ListInstallableAddonsDefault) IsSuccess

func (o *ListInstallableAddonsDefault) IsSuccess() bool

IsSuccess returns true when this list installable addons default response has a 2xx status code

func (*ListInstallableAddonsDefault) String

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

func (*ListInstallableAddonsForbidden) IsClientError

func (o *ListInstallableAddonsForbidden) IsClientError() bool

IsClientError returns true when this list installable addons forbidden response has a 4xx status code

func (*ListInstallableAddonsForbidden) IsCode

func (o *ListInstallableAddonsForbidden) IsCode(code int) bool

IsCode returns true when this list installable addons forbidden response a status code equal to that given

func (*ListInstallableAddonsForbidden) IsRedirect

func (o *ListInstallableAddonsForbidden) IsRedirect() bool

IsRedirect returns true when this list installable addons forbidden response has a 3xx status code

func (*ListInstallableAddonsForbidden) IsServerError

func (o *ListInstallableAddonsForbidden) IsServerError() bool

IsServerError returns true when this list installable addons forbidden response has a 5xx status code

func (*ListInstallableAddonsForbidden) IsSuccess

func (o *ListInstallableAddonsForbidden) IsSuccess() bool

IsSuccess returns true when this list installable addons forbidden response has a 2xx status code

func (*ListInstallableAddonsForbidden) String

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

func (*ListInstallableAddonsOK) IsClientError

func (o *ListInstallableAddonsOK) IsClientError() bool

IsClientError returns true when this list installable addons o k response has a 4xx status code

func (*ListInstallableAddonsOK) IsCode

func (o *ListInstallableAddonsOK) IsCode(code int) bool

IsCode returns true when this list installable addons o k response a status code equal to that given

func (*ListInstallableAddonsOK) IsRedirect

func (o *ListInstallableAddonsOK) IsRedirect() bool

IsRedirect returns true when this list installable addons o k response has a 3xx status code

func (*ListInstallableAddonsOK) IsServerError

func (o *ListInstallableAddonsOK) IsServerError() bool

IsServerError returns true when this list installable addons o k response has a 5xx status code

func (*ListInstallableAddonsOK) IsSuccess

func (o *ListInstallableAddonsOK) IsSuccess() bool

IsSuccess returns true when this list installable addons o k response has a 2xx status code

func (*ListInstallableAddonsOK) String

func (o *ListInstallableAddonsOK) String() string

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

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

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

func (*ListInstallableAddonsUnauthorized) IsClientError

func (o *ListInstallableAddonsUnauthorized) IsClientError() bool

IsClientError returns true when this list installable addons unauthorized response has a 4xx status code

func (*ListInstallableAddonsUnauthorized) IsCode

func (o *ListInstallableAddonsUnauthorized) IsCode(code int) bool

IsCode returns true when this list installable addons unauthorized response a status code equal to that given

func (*ListInstallableAddonsUnauthorized) IsRedirect

func (o *ListInstallableAddonsUnauthorized) IsRedirect() bool

IsRedirect returns true when this list installable addons unauthorized response has a 3xx status code

func (*ListInstallableAddonsUnauthorized) IsServerError

func (o *ListInstallableAddonsUnauthorized) IsServerError() bool

IsServerError returns true when this list installable addons unauthorized response has a 5xx status code

func (*ListInstallableAddonsUnauthorized) IsSuccess

func (o *ListInstallableAddonsUnauthorized) IsSuccess() bool

IsSuccess returns true when this list installable addons unauthorized response has a 2xx status code

func (*ListInstallableAddonsUnauthorized) String

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

func (*ListInstallableAddonsV2Default) IsClientError

func (o *ListInstallableAddonsV2Default) IsClientError() bool

IsClientError returns true when this list installable addons v2 default response has a 4xx status code

func (*ListInstallableAddonsV2Default) IsCode

func (o *ListInstallableAddonsV2Default) IsCode(code int) bool

IsCode returns true when this list installable addons v2 default response a status code equal to that given

func (*ListInstallableAddonsV2Default) IsRedirect

func (o *ListInstallableAddonsV2Default) IsRedirect() bool

IsRedirect returns true when this list installable addons v2 default response has a 3xx status code

func (*ListInstallableAddonsV2Default) IsServerError

func (o *ListInstallableAddonsV2Default) IsServerError() bool

IsServerError returns true when this list installable addons v2 default response has a 5xx status code

func (*ListInstallableAddonsV2Default) IsSuccess

func (o *ListInstallableAddonsV2Default) IsSuccess() bool

IsSuccess returns true when this list installable addons v2 default response has a 2xx status code

func (*ListInstallableAddonsV2Default) String

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

func (*ListInstallableAddonsV2Forbidden) IsClientError

func (o *ListInstallableAddonsV2Forbidden) IsClientError() bool

IsClientError returns true when this list installable addons v2 forbidden response has a 4xx status code

func (*ListInstallableAddonsV2Forbidden) IsCode

func (o *ListInstallableAddonsV2Forbidden) IsCode(code int) bool

IsCode returns true when this list installable addons v2 forbidden response a status code equal to that given

func (*ListInstallableAddonsV2Forbidden) IsRedirect

func (o *ListInstallableAddonsV2Forbidden) IsRedirect() bool

IsRedirect returns true when this list installable addons v2 forbidden response has a 3xx status code

func (*ListInstallableAddonsV2Forbidden) IsServerError

func (o *ListInstallableAddonsV2Forbidden) IsServerError() bool

IsServerError returns true when this list installable addons v2 forbidden response has a 5xx status code

func (*ListInstallableAddonsV2Forbidden) IsSuccess

func (o *ListInstallableAddonsV2Forbidden) IsSuccess() bool

IsSuccess returns true when this list installable addons v2 forbidden response has a 2xx status code

func (*ListInstallableAddonsV2Forbidden) String

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

func (*ListInstallableAddonsV2OK) IsClientError

func (o *ListInstallableAddonsV2OK) IsClientError() bool

IsClientError returns true when this list installable addons v2 o k response has a 4xx status code

func (*ListInstallableAddonsV2OK) IsCode

func (o *ListInstallableAddonsV2OK) IsCode(code int) bool

IsCode returns true when this list installable addons v2 o k response a status code equal to that given

func (*ListInstallableAddonsV2OK) IsRedirect

func (o *ListInstallableAddonsV2OK) IsRedirect() bool

IsRedirect returns true when this list installable addons v2 o k response has a 3xx status code

func (*ListInstallableAddonsV2OK) IsServerError

func (o *ListInstallableAddonsV2OK) IsServerError() bool

IsServerError returns true when this list installable addons v2 o k response has a 5xx status code

func (*ListInstallableAddonsV2OK) IsSuccess

func (o *ListInstallableAddonsV2OK) IsSuccess() bool

IsSuccess returns true when this list installable addons v2 o k response has a 2xx status code

func (*ListInstallableAddonsV2OK) String

func (o *ListInstallableAddonsV2OK) String() string

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

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

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

func (*ListInstallableAddonsV2Unauthorized) IsClientError

func (o *ListInstallableAddonsV2Unauthorized) IsClientError() bool

IsClientError returns true when this list installable addons v2 unauthorized response has a 4xx status code

func (*ListInstallableAddonsV2Unauthorized) IsCode

IsCode returns true when this list installable addons v2 unauthorized response a status code equal to that given

func (*ListInstallableAddonsV2Unauthorized) IsRedirect

func (o *ListInstallableAddonsV2Unauthorized) IsRedirect() bool

IsRedirect returns true when this list installable addons v2 unauthorized response has a 3xx status code

func (*ListInstallableAddonsV2Unauthorized) IsServerError

func (o *ListInstallableAddonsV2Unauthorized) IsServerError() bool

IsServerError returns true when this list installable addons v2 unauthorized response has a 5xx status code

func (*ListInstallableAddonsV2Unauthorized) IsSuccess

IsSuccess returns true when this list installable addons v2 unauthorized response has a 2xx status code

func (*ListInstallableAddonsV2Unauthorized) String

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

func (*PatchAddonDefault) IsClientError

func (o *PatchAddonDefault) IsClientError() bool

IsClientError returns true when this patch addon default response has a 4xx status code

func (*PatchAddonDefault) IsCode

func (o *PatchAddonDefault) IsCode(code int) bool

IsCode returns true when this patch addon default response a status code equal to that given

func (*PatchAddonDefault) IsRedirect

func (o *PatchAddonDefault) IsRedirect() bool

IsRedirect returns true when this patch addon default response has a 3xx status code

func (*PatchAddonDefault) IsServerError

func (o *PatchAddonDefault) IsServerError() bool

IsServerError returns true when this patch addon default response has a 5xx status code

func (*PatchAddonDefault) IsSuccess

func (o *PatchAddonDefault) IsSuccess() bool

IsSuccess returns true when this patch addon default response has a 2xx status code

func (*PatchAddonDefault) String

func (o *PatchAddonDefault) String() string

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

func (*PatchAddonForbidden) IsClientError

func (o *PatchAddonForbidden) IsClientError() bool

IsClientError returns true when this patch addon forbidden response has a 4xx status code

func (*PatchAddonForbidden) IsCode

func (o *PatchAddonForbidden) IsCode(code int) bool

IsCode returns true when this patch addon forbidden response a status code equal to that given

func (*PatchAddonForbidden) IsRedirect

func (o *PatchAddonForbidden) IsRedirect() bool

IsRedirect returns true when this patch addon forbidden response has a 3xx status code

func (*PatchAddonForbidden) IsServerError

func (o *PatchAddonForbidden) IsServerError() bool

IsServerError returns true when this patch addon forbidden response has a 5xx status code

func (*PatchAddonForbidden) IsSuccess

func (o *PatchAddonForbidden) IsSuccess() bool

IsSuccess returns true when this patch addon forbidden response has a 2xx status code

func (*PatchAddonForbidden) String

func (o *PatchAddonForbidden) String() 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

func (*PatchAddonOK) IsClientError

func (o *PatchAddonOK) IsClientError() bool

IsClientError returns true when this patch addon o k response has a 4xx status code

func (*PatchAddonOK) IsCode

func (o *PatchAddonOK) IsCode(code int) bool

IsCode returns true when this patch addon o k response a status code equal to that given

func (*PatchAddonOK) IsRedirect

func (o *PatchAddonOK) IsRedirect() bool

IsRedirect returns true when this patch addon o k response has a 3xx status code

func (*PatchAddonOK) IsServerError

func (o *PatchAddonOK) IsServerError() bool

IsServerError returns true when this patch addon o k response has a 5xx status code

func (*PatchAddonOK) IsSuccess

func (o *PatchAddonOK) IsSuccess() bool

IsSuccess returns true when this patch addon o k response has a 2xx status code

func (*PatchAddonOK) String

func (o *PatchAddonOK) String() string

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

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

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

func (*PatchAddonUnauthorized) IsClientError

func (o *PatchAddonUnauthorized) IsClientError() bool

IsClientError returns true when this patch addon unauthorized response has a 4xx status code

func (*PatchAddonUnauthorized) IsCode

func (o *PatchAddonUnauthorized) IsCode(code int) bool

IsCode returns true when this patch addon unauthorized response a status code equal to that given

func (*PatchAddonUnauthorized) IsRedirect

func (o *PatchAddonUnauthorized) IsRedirect() bool

IsRedirect returns true when this patch addon unauthorized response has a 3xx status code

func (*PatchAddonUnauthorized) IsServerError

func (o *PatchAddonUnauthorized) IsServerError() bool

IsServerError returns true when this patch addon unauthorized response has a 5xx status code

func (*PatchAddonUnauthorized) IsSuccess

func (o *PatchAddonUnauthorized) IsSuccess() bool

IsSuccess returns true when this patch addon unauthorized response has a 2xx status code

func (*PatchAddonUnauthorized) String

func (o *PatchAddonUnauthorized) String() 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

func (*PatchAddonV2Default) IsClientError

func (o *PatchAddonV2Default) IsClientError() bool

IsClientError returns true when this patch addon v2 default response has a 4xx status code

func (*PatchAddonV2Default) IsCode

func (o *PatchAddonV2Default) IsCode(code int) bool

IsCode returns true when this patch addon v2 default response a status code equal to that given

func (*PatchAddonV2Default) IsRedirect

func (o *PatchAddonV2Default) IsRedirect() bool

IsRedirect returns true when this patch addon v2 default response has a 3xx status code

func (*PatchAddonV2Default) IsServerError

func (o *PatchAddonV2Default) IsServerError() bool

IsServerError returns true when this patch addon v2 default response has a 5xx status code

func (*PatchAddonV2Default) IsSuccess

func (o *PatchAddonV2Default) IsSuccess() bool

IsSuccess returns true when this patch addon v2 default response has a 2xx status code

func (*PatchAddonV2Default) String

func (o *PatchAddonV2Default) String() string

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

func (*PatchAddonV2Forbidden) IsClientError

func (o *PatchAddonV2Forbidden) IsClientError() bool

IsClientError returns true when this patch addon v2 forbidden response has a 4xx status code

func (*PatchAddonV2Forbidden) IsCode

func (o *PatchAddonV2Forbidden) IsCode(code int) bool

IsCode returns true when this patch addon v2 forbidden response a status code equal to that given

func (*PatchAddonV2Forbidden) IsRedirect

func (o *PatchAddonV2Forbidden) IsRedirect() bool

IsRedirect returns true when this patch addon v2 forbidden response has a 3xx status code

func (*PatchAddonV2Forbidden) IsServerError

func (o *PatchAddonV2Forbidden) IsServerError() bool

IsServerError returns true when this patch addon v2 forbidden response has a 5xx status code

func (*PatchAddonV2Forbidden) IsSuccess

func (o *PatchAddonV2Forbidden) IsSuccess() bool

IsSuccess returns true when this patch addon v2 forbidden response has a 2xx status code

func (*PatchAddonV2Forbidden) String

func (o *PatchAddonV2Forbidden) String() 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

func (*PatchAddonV2OK) IsClientError

func (o *PatchAddonV2OK) IsClientError() bool

IsClientError returns true when this patch addon v2 o k response has a 4xx status code

func (*PatchAddonV2OK) IsCode

func (o *PatchAddonV2OK) IsCode(code int) bool

IsCode returns true when this patch addon v2 o k response a status code equal to that given

func (*PatchAddonV2OK) IsRedirect

func (o *PatchAddonV2OK) IsRedirect() bool

IsRedirect returns true when this patch addon v2 o k response has a 3xx status code

func (*PatchAddonV2OK) IsServerError

func (o *PatchAddonV2OK) IsServerError() bool

IsServerError returns true when this patch addon v2 o k response has a 5xx status code

func (*PatchAddonV2OK) IsSuccess

func (o *PatchAddonV2OK) IsSuccess() bool

IsSuccess returns true when this patch addon v2 o k response has a 2xx status code

func (*PatchAddonV2OK) String

func (o *PatchAddonV2OK) String() string

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

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

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

func (*PatchAddonV2Unauthorized) IsClientError

func (o *PatchAddonV2Unauthorized) IsClientError() bool

IsClientError returns true when this patch addon v2 unauthorized response has a 4xx status code

func (*PatchAddonV2Unauthorized) IsCode

func (o *PatchAddonV2Unauthorized) IsCode(code int) bool

IsCode returns true when this patch addon v2 unauthorized response a status code equal to that given

func (*PatchAddonV2Unauthorized) IsRedirect

func (o *PatchAddonV2Unauthorized) IsRedirect() bool

IsRedirect returns true when this patch addon v2 unauthorized response has a 3xx status code

func (*PatchAddonV2Unauthorized) IsServerError

func (o *PatchAddonV2Unauthorized) IsServerError() bool

IsServerError returns true when this patch addon v2 unauthorized response has a 5xx status code

func (*PatchAddonV2Unauthorized) IsSuccess

func (o *PatchAddonV2Unauthorized) IsSuccess() bool

IsSuccess returns true when this patch addon v2 unauthorized response has a 2xx status code

func (*PatchAddonV2Unauthorized) String

func (o *PatchAddonV2Unauthorized) String() string

Jump to

Keyboard shortcuts

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