Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateAddon(params *CreateAddonParams, authInfo runtime.ClientAuthInfoWriter) (*CreateAddonCreated, error)
- func (a *Client) CreateAddonV2(params *CreateAddonV2Params, authInfo runtime.ClientAuthInfoWriter) (*CreateAddonV2Created, error)
- func (a *Client) DeleteAddon(params *DeleteAddonParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAddonOK, error)
- func (a *Client) DeleteAddonV2(params *DeleteAddonV2Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteAddonV2OK, error)
- func (a *Client) GetAddon(params *GetAddonParams, authInfo runtime.ClientAuthInfoWriter) (*GetAddonOK, error)
- func (a *Client) GetAddonV2(params *GetAddonV2Params, authInfo runtime.ClientAuthInfoWriter) (*GetAddonV2OK, error)
- func (a *Client) ListAccessibleAddons(params *ListAccessibleAddonsParams, authInfo runtime.ClientAuthInfoWriter) (*ListAccessibleAddonsOK, error)
- func (a *Client) ListAddons(params *ListAddonsParams, authInfo runtime.ClientAuthInfoWriter) (*ListAddonsOK, error)
- func (a *Client) ListAddonsV2(params *ListAddonsV2Params, authInfo runtime.ClientAuthInfoWriter) (*ListAddonsV2OK, error)
- func (a *Client) ListInstallableAddons(params *ListInstallableAddonsParams, authInfo runtime.ClientAuthInfoWriter) (*ListInstallableAddonsOK, error)
- func (a *Client) ListInstallableAddonsV2(params *ListInstallableAddonsV2Params, authInfo runtime.ClientAuthInfoWriter) (*ListInstallableAddonsV2OK, error)
- func (a *Client) PatchAddon(params *PatchAddonParams, authInfo runtime.ClientAuthInfoWriter) (*PatchAddonOK, error)
- func (a *Client) PatchAddonV2(params *PatchAddonV2Params, authInfo runtime.ClientAuthInfoWriter) (*PatchAddonV2OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type CreateAddonCreated
- type CreateAddonDefault
- type CreateAddonForbidden
- type CreateAddonParams
- func (o *CreateAddonParams) SetBody(body *models.Addon)
- func (o *CreateAddonParams) SetClusterID(clusterID string)
- func (o *CreateAddonParams) SetContext(ctx context.Context)
- func (o *CreateAddonParams) SetDC(dc string)
- func (o *CreateAddonParams) SetHTTPClient(client *http.Client)
- func (o *CreateAddonParams) SetProjectID(projectID string)
- func (o *CreateAddonParams) SetTimeout(timeout time.Duration)
- func (o *CreateAddonParams) WithBody(body *models.Addon) *CreateAddonParams
- func (o *CreateAddonParams) WithClusterID(clusterID string) *CreateAddonParams
- func (o *CreateAddonParams) WithContext(ctx context.Context) *CreateAddonParams
- func (o *CreateAddonParams) WithDC(dc string) *CreateAddonParams
- func (o *CreateAddonParams) WithHTTPClient(client *http.Client) *CreateAddonParams
- func (o *CreateAddonParams) WithProjectID(projectID string) *CreateAddonParams
- func (o *CreateAddonParams) WithTimeout(timeout time.Duration) *CreateAddonParams
- func (o *CreateAddonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateAddonReader
- type CreateAddonUnauthorized
- type CreateAddonV2Created
- type CreateAddonV2Default
- type CreateAddonV2Forbidden
- type CreateAddonV2Params
- func (o *CreateAddonV2Params) SetBody(body *models.Addon)
- func (o *CreateAddonV2Params) SetClusterID(clusterID string)
- func (o *CreateAddonV2Params) SetContext(ctx context.Context)
- func (o *CreateAddonV2Params) SetHTTPClient(client *http.Client)
- func (o *CreateAddonV2Params) SetProjectID(projectID string)
- func (o *CreateAddonV2Params) SetTimeout(timeout time.Duration)
- func (o *CreateAddonV2Params) WithBody(body *models.Addon) *CreateAddonV2Params
- func (o *CreateAddonV2Params) WithClusterID(clusterID string) *CreateAddonV2Params
- func (o *CreateAddonV2Params) WithContext(ctx context.Context) *CreateAddonV2Params
- func (o *CreateAddonV2Params) WithHTTPClient(client *http.Client) *CreateAddonV2Params
- func (o *CreateAddonV2Params) WithProjectID(projectID string) *CreateAddonV2Params
- func (o *CreateAddonV2Params) WithTimeout(timeout time.Duration) *CreateAddonV2Params
- func (o *CreateAddonV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateAddonV2Reader
- type CreateAddonV2Unauthorized
- type DeleteAddonDefault
- type DeleteAddonForbidden
- type DeleteAddonOK
- type DeleteAddonParams
- func (o *DeleteAddonParams) SetAddonID(addonID string)
- func (o *DeleteAddonParams) SetClusterID(clusterID string)
- func (o *DeleteAddonParams) SetContext(ctx context.Context)
- func (o *DeleteAddonParams) SetDC(dc string)
- func (o *DeleteAddonParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAddonParams) SetProjectID(projectID string)
- func (o *DeleteAddonParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAddonParams) WithAddonID(addonID string) *DeleteAddonParams
- func (o *DeleteAddonParams) WithClusterID(clusterID string) *DeleteAddonParams
- func (o *DeleteAddonParams) WithContext(ctx context.Context) *DeleteAddonParams
- func (o *DeleteAddonParams) WithDC(dc string) *DeleteAddonParams
- func (o *DeleteAddonParams) WithHTTPClient(client *http.Client) *DeleteAddonParams
- func (o *DeleteAddonParams) WithProjectID(projectID string) *DeleteAddonParams
- func (o *DeleteAddonParams) WithTimeout(timeout time.Duration) *DeleteAddonParams
- func (o *DeleteAddonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAddonReader
- type DeleteAddonUnauthorized
- type DeleteAddonV2Default
- type DeleteAddonV2Forbidden
- type DeleteAddonV2OK
- type DeleteAddonV2Params
- func (o *DeleteAddonV2Params) SetAddonID(addonID string)
- func (o *DeleteAddonV2Params) SetClusterID(clusterID string)
- func (o *DeleteAddonV2Params) SetContext(ctx context.Context)
- func (o *DeleteAddonV2Params) SetHTTPClient(client *http.Client)
- func (o *DeleteAddonV2Params) SetProjectID(projectID string)
- func (o *DeleteAddonV2Params) SetTimeout(timeout time.Duration)
- func (o *DeleteAddonV2Params) WithAddonID(addonID string) *DeleteAddonV2Params
- func (o *DeleteAddonV2Params) WithClusterID(clusterID string) *DeleteAddonV2Params
- func (o *DeleteAddonV2Params) WithContext(ctx context.Context) *DeleteAddonV2Params
- func (o *DeleteAddonV2Params) WithHTTPClient(client *http.Client) *DeleteAddonV2Params
- func (o *DeleteAddonV2Params) WithProjectID(projectID string) *DeleteAddonV2Params
- func (o *DeleteAddonV2Params) WithTimeout(timeout time.Duration) *DeleteAddonV2Params
- func (o *DeleteAddonV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAddonV2Reader
- type DeleteAddonV2Unauthorized
- type GetAddonDefault
- type GetAddonForbidden
- type GetAddonOK
- type GetAddonParams
- func (o *GetAddonParams) SetAddonID(addonID string)
- func (o *GetAddonParams) SetClusterID(clusterID string)
- func (o *GetAddonParams) SetContext(ctx context.Context)
- func (o *GetAddonParams) SetDC(dc string)
- func (o *GetAddonParams) SetHTTPClient(client *http.Client)
- func (o *GetAddonParams) SetProjectID(projectID string)
- func (o *GetAddonParams) SetTimeout(timeout time.Duration)
- func (o *GetAddonParams) WithAddonID(addonID string) *GetAddonParams
- func (o *GetAddonParams) WithClusterID(clusterID string) *GetAddonParams
- func (o *GetAddonParams) WithContext(ctx context.Context) *GetAddonParams
- func (o *GetAddonParams) WithDC(dc string) *GetAddonParams
- func (o *GetAddonParams) WithHTTPClient(client *http.Client) *GetAddonParams
- func (o *GetAddonParams) WithProjectID(projectID string) *GetAddonParams
- func (o *GetAddonParams) WithTimeout(timeout time.Duration) *GetAddonParams
- func (o *GetAddonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAddonReader
- type GetAddonUnauthorized
- type GetAddonV2Default
- type GetAddonV2Forbidden
- type GetAddonV2OK
- type GetAddonV2Params
- func (o *GetAddonV2Params) SetAddonID(addonID string)
- func (o *GetAddonV2Params) SetClusterID(clusterID string)
- func (o *GetAddonV2Params) SetContext(ctx context.Context)
- func (o *GetAddonV2Params) SetHTTPClient(client *http.Client)
- func (o *GetAddonV2Params) SetProjectID(projectID string)
- func (o *GetAddonV2Params) SetTimeout(timeout time.Duration)
- func (o *GetAddonV2Params) WithAddonID(addonID string) *GetAddonV2Params
- func (o *GetAddonV2Params) WithClusterID(clusterID string) *GetAddonV2Params
- func (o *GetAddonV2Params) WithContext(ctx context.Context) *GetAddonV2Params
- func (o *GetAddonV2Params) WithHTTPClient(client *http.Client) *GetAddonV2Params
- func (o *GetAddonV2Params) WithProjectID(projectID string) *GetAddonV2Params
- func (o *GetAddonV2Params) WithTimeout(timeout time.Duration) *GetAddonV2Params
- func (o *GetAddonV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAddonV2Reader
- type GetAddonV2Unauthorized
- type ListAccessibleAddonsDefault
- type ListAccessibleAddonsForbidden
- type ListAccessibleAddonsOK
- type ListAccessibleAddonsParams
- func NewListAccessibleAddonsParams() *ListAccessibleAddonsParams
- func NewListAccessibleAddonsParamsWithContext(ctx context.Context) *ListAccessibleAddonsParams
- func NewListAccessibleAddonsParamsWithHTTPClient(client *http.Client) *ListAccessibleAddonsParams
- func NewListAccessibleAddonsParamsWithTimeout(timeout time.Duration) *ListAccessibleAddonsParams
- func (o *ListAccessibleAddonsParams) SetContext(ctx context.Context)
- func (o *ListAccessibleAddonsParams) SetHTTPClient(client *http.Client)
- func (o *ListAccessibleAddonsParams) SetTimeout(timeout time.Duration)
- func (o *ListAccessibleAddonsParams) WithContext(ctx context.Context) *ListAccessibleAddonsParams
- func (o *ListAccessibleAddonsParams) WithHTTPClient(client *http.Client) *ListAccessibleAddonsParams
- func (o *ListAccessibleAddonsParams) WithTimeout(timeout time.Duration) *ListAccessibleAddonsParams
- func (o *ListAccessibleAddonsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAccessibleAddonsReader
- type ListAccessibleAddonsUnauthorized
- type ListAddonsDefault
- type ListAddonsForbidden
- type ListAddonsOK
- type ListAddonsParams
- func (o *ListAddonsParams) SetClusterID(clusterID string)
- func (o *ListAddonsParams) SetContext(ctx context.Context)
- func (o *ListAddonsParams) SetDC(dc string)
- func (o *ListAddonsParams) SetHTTPClient(client *http.Client)
- func (o *ListAddonsParams) SetProjectID(projectID string)
- func (o *ListAddonsParams) SetTimeout(timeout time.Duration)
- func (o *ListAddonsParams) WithClusterID(clusterID string) *ListAddonsParams
- func (o *ListAddonsParams) WithContext(ctx context.Context) *ListAddonsParams
- func (o *ListAddonsParams) WithDC(dc string) *ListAddonsParams
- func (o *ListAddonsParams) WithHTTPClient(client *http.Client) *ListAddonsParams
- func (o *ListAddonsParams) WithProjectID(projectID string) *ListAddonsParams
- func (o *ListAddonsParams) WithTimeout(timeout time.Duration) *ListAddonsParams
- func (o *ListAddonsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAddonsReader
- type ListAddonsUnauthorized
- type ListAddonsV2Default
- type ListAddonsV2Forbidden
- type ListAddonsV2OK
- type ListAddonsV2Params
- func (o *ListAddonsV2Params) SetClusterID(clusterID string)
- func (o *ListAddonsV2Params) SetContext(ctx context.Context)
- func (o *ListAddonsV2Params) SetHTTPClient(client *http.Client)
- func (o *ListAddonsV2Params) SetProjectID(projectID string)
- func (o *ListAddonsV2Params) SetTimeout(timeout time.Duration)
- func (o *ListAddonsV2Params) WithClusterID(clusterID string) *ListAddonsV2Params
- func (o *ListAddonsV2Params) WithContext(ctx context.Context) *ListAddonsV2Params
- func (o *ListAddonsV2Params) WithHTTPClient(client *http.Client) *ListAddonsV2Params
- func (o *ListAddonsV2Params) WithProjectID(projectID string) *ListAddonsV2Params
- func (o *ListAddonsV2Params) WithTimeout(timeout time.Duration) *ListAddonsV2Params
- func (o *ListAddonsV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAddonsV2Reader
- type ListAddonsV2Unauthorized
- type ListInstallableAddonsDefault
- type ListInstallableAddonsForbidden
- type ListInstallableAddonsOK
- type ListInstallableAddonsParams
- func NewListInstallableAddonsParams() *ListInstallableAddonsParams
- func NewListInstallableAddonsParamsWithContext(ctx context.Context) *ListInstallableAddonsParams
- func NewListInstallableAddonsParamsWithHTTPClient(client *http.Client) *ListInstallableAddonsParams
- func NewListInstallableAddonsParamsWithTimeout(timeout time.Duration) *ListInstallableAddonsParams
- func (o *ListInstallableAddonsParams) SetClusterID(clusterID string)
- func (o *ListInstallableAddonsParams) SetContext(ctx context.Context)
- func (o *ListInstallableAddonsParams) SetDC(dc string)
- func (o *ListInstallableAddonsParams) SetHTTPClient(client *http.Client)
- func (o *ListInstallableAddonsParams) SetProjectID(projectID string)
- func (o *ListInstallableAddonsParams) SetTimeout(timeout time.Duration)
- func (o *ListInstallableAddonsParams) WithClusterID(clusterID string) *ListInstallableAddonsParams
- func (o *ListInstallableAddonsParams) WithContext(ctx context.Context) *ListInstallableAddonsParams
- func (o *ListInstallableAddonsParams) WithDC(dc string) *ListInstallableAddonsParams
- func (o *ListInstallableAddonsParams) WithHTTPClient(client *http.Client) *ListInstallableAddonsParams
- func (o *ListInstallableAddonsParams) WithProjectID(projectID string) *ListInstallableAddonsParams
- func (o *ListInstallableAddonsParams) WithTimeout(timeout time.Duration) *ListInstallableAddonsParams
- func (o *ListInstallableAddonsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListInstallableAddonsReader
- type ListInstallableAddonsUnauthorized
- type ListInstallableAddonsV2Default
- type ListInstallableAddonsV2Forbidden
- type ListInstallableAddonsV2OK
- type ListInstallableAddonsV2Params
- func NewListInstallableAddonsV2Params() *ListInstallableAddonsV2Params
- func NewListInstallableAddonsV2ParamsWithContext(ctx context.Context) *ListInstallableAddonsV2Params
- func NewListInstallableAddonsV2ParamsWithHTTPClient(client *http.Client) *ListInstallableAddonsV2Params
- func NewListInstallableAddonsV2ParamsWithTimeout(timeout time.Duration) *ListInstallableAddonsV2Params
- func (o *ListInstallableAddonsV2Params) SetClusterID(clusterID string)
- func (o *ListInstallableAddonsV2Params) SetContext(ctx context.Context)
- func (o *ListInstallableAddonsV2Params) SetHTTPClient(client *http.Client)
- func (o *ListInstallableAddonsV2Params) SetProjectID(projectID string)
- func (o *ListInstallableAddonsV2Params) SetTimeout(timeout time.Duration)
- func (o *ListInstallableAddonsV2Params) WithClusterID(clusterID string) *ListInstallableAddonsV2Params
- func (o *ListInstallableAddonsV2Params) WithContext(ctx context.Context) *ListInstallableAddonsV2Params
- func (o *ListInstallableAddonsV2Params) WithHTTPClient(client *http.Client) *ListInstallableAddonsV2Params
- func (o *ListInstallableAddonsV2Params) WithProjectID(projectID string) *ListInstallableAddonsV2Params
- func (o *ListInstallableAddonsV2Params) WithTimeout(timeout time.Duration) *ListInstallableAddonsV2Params
- func (o *ListInstallableAddonsV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListInstallableAddonsV2Reader
- type ListInstallableAddonsV2Unauthorized
- type PatchAddonDefault
- type PatchAddonForbidden
- type PatchAddonOK
- type PatchAddonParams
- func (o *PatchAddonParams) SetAddonID(addonID string)
- func (o *PatchAddonParams) SetBody(body *models.Addon)
- func (o *PatchAddonParams) SetClusterID(clusterID string)
- func (o *PatchAddonParams) SetContext(ctx context.Context)
- func (o *PatchAddonParams) SetDC(dc string)
- func (o *PatchAddonParams) SetHTTPClient(client *http.Client)
- func (o *PatchAddonParams) SetProjectID(projectID string)
- func (o *PatchAddonParams) SetTimeout(timeout time.Duration)
- func (o *PatchAddonParams) WithAddonID(addonID string) *PatchAddonParams
- func (o *PatchAddonParams) WithBody(body *models.Addon) *PatchAddonParams
- func (o *PatchAddonParams) WithClusterID(clusterID string) *PatchAddonParams
- func (o *PatchAddonParams) WithContext(ctx context.Context) *PatchAddonParams
- func (o *PatchAddonParams) WithDC(dc string) *PatchAddonParams
- func (o *PatchAddonParams) WithHTTPClient(client *http.Client) *PatchAddonParams
- func (o *PatchAddonParams) WithProjectID(projectID string) *PatchAddonParams
- func (o *PatchAddonParams) WithTimeout(timeout time.Duration) *PatchAddonParams
- func (o *PatchAddonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchAddonReader
- type PatchAddonUnauthorized
- type PatchAddonV2Default
- type PatchAddonV2Forbidden
- type PatchAddonV2OK
- type PatchAddonV2Params
- func (o *PatchAddonV2Params) SetAddonID(addonID string)
- func (o *PatchAddonV2Params) SetBody(body *models.Addon)
- func (o *PatchAddonV2Params) SetClusterID(clusterID string)
- func (o *PatchAddonV2Params) SetContext(ctx context.Context)
- func (o *PatchAddonV2Params) SetHTTPClient(client *http.Client)
- func (o *PatchAddonV2Params) SetProjectID(projectID string)
- func (o *PatchAddonV2Params) SetTimeout(timeout time.Duration)
- func (o *PatchAddonV2Params) WithAddonID(addonID string) *PatchAddonV2Params
- func (o *PatchAddonV2Params) WithBody(body *models.Addon) *PatchAddonV2Params
- func (o *PatchAddonV2Params) WithClusterID(clusterID string) *PatchAddonV2Params
- func (o *PatchAddonV2Params) WithContext(ctx context.Context) *PatchAddonV2Params
- func (o *PatchAddonV2Params) WithHTTPClient(client *http.Client) *PatchAddonV2Params
- func (o *PatchAddonV2Params) WithProjectID(projectID string) *PatchAddonV2Params
- func (o *PatchAddonV2Params) WithTimeout(timeout time.Duration) *PatchAddonV2Params
- func (o *PatchAddonV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchAddonV2Reader
- type PatchAddonV2Unauthorized
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) (*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) (*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) (*DeleteAddonOK, error)
DeleteAddon deletes the given addon that belongs to the cluster
func (*Client) DeleteAddonV2 ¶
func (a *Client) DeleteAddonV2(params *DeleteAddonV2Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteAddonV2OK, error)
DeleteAddonV2 deletes the given addon that belongs to the cluster
func (*Client) GetAddon ¶
func (a *Client) GetAddon(params *GetAddonParams, authInfo runtime.ClientAuthInfoWriter) (*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) (*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) (*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) (*ListAddonsOK, error)
ListAddons Lists addons that belong to the given cluster
func (*Client) ListAddonsV2 ¶
func (a *Client) ListAddonsV2(params *ListAddonsV2Params, authInfo runtime.ClientAuthInfoWriter) (*ListAddonsV2OK, error)
ListAddonsV2 Lists addons that belong to the given cluster
func (*Client) ListInstallableAddons ¶
func (a *Client) ListInstallableAddons(params *ListInstallableAddonsParams, authInfo runtime.ClientAuthInfoWriter) (*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) (*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) (*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) (*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 ClientService ¶
type ClientService interface { CreateAddon(params *CreateAddonParams, authInfo runtime.ClientAuthInfoWriter) (*CreateAddonCreated, error) CreateAddonV2(params *CreateAddonV2Params, authInfo runtime.ClientAuthInfoWriter) (*CreateAddonV2Created, error) DeleteAddon(params *DeleteAddonParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAddonOK, error) DeleteAddonV2(params *DeleteAddonV2Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteAddonV2OK, error) GetAddon(params *GetAddonParams, authInfo runtime.ClientAuthInfoWriter) (*GetAddonOK, error) GetAddonV2(params *GetAddonV2Params, authInfo runtime.ClientAuthInfoWriter) (*GetAddonV2OK, error) ListAccessibleAddons(params *ListAccessibleAddonsParams, authInfo runtime.ClientAuthInfoWriter) (*ListAccessibleAddonsOK, error) ListAddons(params *ListAddonsParams, authInfo runtime.ClientAuthInfoWriter) (*ListAddonsOK, error) ListAddonsV2(params *ListAddonsV2Params, authInfo runtime.ClientAuthInfoWriter) (*ListAddonsV2OK, error) ListInstallableAddons(params *ListInstallableAddonsParams, authInfo runtime.ClientAuthInfoWriter) (*ListInstallableAddonsOK, error) ListInstallableAddonsV2(params *ListInstallableAddonsV2Params, authInfo runtime.ClientAuthInfoWriter) (*ListInstallableAddonsV2OK, error) PatchAddon(params *PatchAddonParams, authInfo runtime.ClientAuthInfoWriter) (*PatchAddonOK, error) PatchAddonV2(params *PatchAddonV2Params, authInfo runtime.ClientAuthInfoWriter) (*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 ¶
CreateAddonCreated handles this case with default header values.
Addon
func NewCreateAddonCreated ¶
func NewCreateAddonCreated() *CreateAddonCreated
NewCreateAddonCreated creates a CreateAddonCreated with default headers values
func (*CreateAddonCreated) Error ¶
func (o *CreateAddonCreated) Error() string
func (*CreateAddonCreated) GetPayload ¶
func (o *CreateAddonCreated) GetPayload() *models.Addon
type CreateAddonDefault ¶
type CreateAddonDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
CreateAddonDefault handles this case with default header values.
errorResponse
func NewCreateAddonDefault ¶
func NewCreateAddonDefault(code int) *CreateAddonDefault
NewCreateAddonDefault creates a CreateAddonDefault with default headers values
func (*CreateAddonDefault) Code ¶
func (o *CreateAddonDefault) Code() int
Code gets the status code for the create addon default response
func (*CreateAddonDefault) Error ¶
func (o *CreateAddonDefault) Error() string
func (*CreateAddonDefault) GetPayload ¶
func (o *CreateAddonDefault) GetPayload() *models.ErrorResponse
type CreateAddonForbidden ¶
type CreateAddonForbidden struct { }
CreateAddonForbidden handles this case with default header values.
EmptyResponse is a empty response
func NewCreateAddonForbidden ¶
func NewCreateAddonForbidden() *CreateAddonForbidden
NewCreateAddonForbidden creates a CreateAddonForbidden with default headers values
func (*CreateAddonForbidden) Error ¶
func (o *CreateAddonForbidden) Error() string
type CreateAddonParams ¶
type CreateAddonParams struct { /*Body*/ Body *models.Addon /*ClusterID*/ ClusterID string /*Dc*/ DC string /*ProjectID*/ ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateAddonParams contains all the parameters to send to the API endpoint for the create addon operation typically these are written to a http.Request
func NewCreateAddonParams ¶
func NewCreateAddonParams() *CreateAddonParams
NewCreateAddonParams creates a new CreateAddonParams object with the default values initialized.
func NewCreateAddonParamsWithContext ¶
func NewCreateAddonParamsWithContext(ctx context.Context) *CreateAddonParams
NewCreateAddonParamsWithContext creates a new CreateAddonParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 ¶
func (o *CreateAddonParams) WithDC(dc string) *CreateAddonParams
WithDC adds the dc to the create addon params
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 handles this case with default header values.
EmptyResponse is a empty response
func NewCreateAddonUnauthorized ¶
func NewCreateAddonUnauthorized() *CreateAddonUnauthorized
NewCreateAddonUnauthorized creates a CreateAddonUnauthorized with default headers values
func (*CreateAddonUnauthorized) Error ¶
func (o *CreateAddonUnauthorized) Error() string
type CreateAddonV2Created ¶
CreateAddonV2Created handles this case with default header values.
Addon
func NewCreateAddonV2Created ¶
func NewCreateAddonV2Created() *CreateAddonV2Created
NewCreateAddonV2Created creates a CreateAddonV2Created with default headers values
func (*CreateAddonV2Created) Error ¶
func (o *CreateAddonV2Created) Error() string
func (*CreateAddonV2Created) GetPayload ¶
func (o *CreateAddonV2Created) GetPayload() *models.Addon
type CreateAddonV2Default ¶
type CreateAddonV2Default struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
CreateAddonV2Default handles this case with default header values.
errorResponse
func NewCreateAddonV2Default ¶
func NewCreateAddonV2Default(code int) *CreateAddonV2Default
NewCreateAddonV2Default creates a CreateAddonV2Default with default headers values
func (*CreateAddonV2Default) Code ¶
func (o *CreateAddonV2Default) Code() int
Code gets the status code for the create addon v2 default response
func (*CreateAddonV2Default) Error ¶
func (o *CreateAddonV2Default) Error() string
func (*CreateAddonV2Default) GetPayload ¶
func (o *CreateAddonV2Default) GetPayload() *models.ErrorResponse
type CreateAddonV2Forbidden ¶
type CreateAddonV2Forbidden struct { }
CreateAddonV2Forbidden handles this case with default header values.
EmptyResponse is a empty response
func NewCreateAddonV2Forbidden ¶
func NewCreateAddonV2Forbidden() *CreateAddonV2Forbidden
NewCreateAddonV2Forbidden creates a CreateAddonV2Forbidden with default headers values
func (*CreateAddonV2Forbidden) Error ¶
func (o *CreateAddonV2Forbidden) Error() string
type CreateAddonV2Params ¶
type CreateAddonV2Params struct { /*Body*/ Body *models.Addon /*ClusterID*/ ClusterID string /*ProjectID*/ ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateAddonV2Params contains all the parameters to send to the API endpoint for the create addon v2 operation typically these are written to a http.Request
func NewCreateAddonV2Params ¶
func NewCreateAddonV2Params() *CreateAddonV2Params
NewCreateAddonV2Params creates a new CreateAddonV2Params object with the default values initialized.
func NewCreateAddonV2ParamsWithContext ¶
func NewCreateAddonV2ParamsWithContext(ctx context.Context) *CreateAddonV2Params
NewCreateAddonV2ParamsWithContext creates a new CreateAddonV2Params object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 ¶
func (o *CreateAddonV2Params) WithBody(body *models.Addon) *CreateAddonV2Params
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 ¶
func (o *CreateAddonV2Params) WithContext(ctx context.Context) *CreateAddonV2Params
WithContext adds the context to the create addon v2 params
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 handles this case with default header values.
EmptyResponse is a empty response
func NewCreateAddonV2Unauthorized ¶
func NewCreateAddonV2Unauthorized() *CreateAddonV2Unauthorized
NewCreateAddonV2Unauthorized creates a CreateAddonV2Unauthorized with default headers values
func (*CreateAddonV2Unauthorized) Error ¶
func (o *CreateAddonV2Unauthorized) Error() string
type DeleteAddonDefault ¶
type DeleteAddonDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
DeleteAddonDefault handles this case with default header values.
errorResponse
func NewDeleteAddonDefault ¶
func NewDeleteAddonDefault(code int) *DeleteAddonDefault
NewDeleteAddonDefault creates a DeleteAddonDefault with default headers values
func (*DeleteAddonDefault) Code ¶
func (o *DeleteAddonDefault) Code() int
Code gets the status code for the delete addon default response
func (*DeleteAddonDefault) Error ¶
func (o *DeleteAddonDefault) Error() string
func (*DeleteAddonDefault) GetPayload ¶
func (o *DeleteAddonDefault) GetPayload() *models.ErrorResponse
type DeleteAddonForbidden ¶
type DeleteAddonForbidden struct { }
DeleteAddonForbidden handles this case with default header values.
EmptyResponse is a empty response
func NewDeleteAddonForbidden ¶
func NewDeleteAddonForbidden() *DeleteAddonForbidden
NewDeleteAddonForbidden creates a DeleteAddonForbidden with default headers values
func (*DeleteAddonForbidden) Error ¶
func (o *DeleteAddonForbidden) Error() string
type DeleteAddonOK ¶
type DeleteAddonOK struct { }
DeleteAddonOK handles this case with default header values.
EmptyResponse is a empty response
func NewDeleteAddonOK ¶
func NewDeleteAddonOK() *DeleteAddonOK
NewDeleteAddonOK creates a DeleteAddonOK with default headers values
func (*DeleteAddonOK) Error ¶
func (o *DeleteAddonOK) Error() string
type DeleteAddonParams ¶
type DeleteAddonParams struct { /*AddonID*/ AddonID string /*ClusterID*/ ClusterID string /*Dc*/ DC string /*ProjectID*/ ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteAddonParams contains all the parameters to send to the API endpoint for the delete addon operation typically these are written to a http.Request
func NewDeleteAddonParams ¶
func NewDeleteAddonParams() *DeleteAddonParams
NewDeleteAddonParams creates a new DeleteAddonParams object with the default values initialized.
func NewDeleteAddonParamsWithContext ¶
func NewDeleteAddonParamsWithContext(ctx context.Context) *DeleteAddonParams
NewDeleteAddonParamsWithContext creates a new DeleteAddonParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 ¶
func (o *DeleteAddonParams) WithDC(dc string) *DeleteAddonParams
WithDC adds the dc to the delete addon params
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 handles this case with default header values.
EmptyResponse is a empty response
func NewDeleteAddonUnauthorized ¶
func NewDeleteAddonUnauthorized() *DeleteAddonUnauthorized
NewDeleteAddonUnauthorized creates a DeleteAddonUnauthorized with default headers values
func (*DeleteAddonUnauthorized) Error ¶
func (o *DeleteAddonUnauthorized) Error() string
type DeleteAddonV2Default ¶
type DeleteAddonV2Default struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
DeleteAddonV2Default handles this case with default header values.
errorResponse
func NewDeleteAddonV2Default ¶
func NewDeleteAddonV2Default(code int) *DeleteAddonV2Default
NewDeleteAddonV2Default creates a DeleteAddonV2Default with default headers values
func (*DeleteAddonV2Default) Code ¶
func (o *DeleteAddonV2Default) Code() int
Code gets the status code for the delete addon v2 default response
func (*DeleteAddonV2Default) Error ¶
func (o *DeleteAddonV2Default) Error() string
func (*DeleteAddonV2Default) GetPayload ¶
func (o *DeleteAddonV2Default) GetPayload() *models.ErrorResponse
type DeleteAddonV2Forbidden ¶
type DeleteAddonV2Forbidden struct { }
DeleteAddonV2Forbidden handles this case with default header values.
EmptyResponse is a empty response
func NewDeleteAddonV2Forbidden ¶
func NewDeleteAddonV2Forbidden() *DeleteAddonV2Forbidden
NewDeleteAddonV2Forbidden creates a DeleteAddonV2Forbidden with default headers values
func (*DeleteAddonV2Forbidden) Error ¶
func (o *DeleteAddonV2Forbidden) Error() string
type DeleteAddonV2OK ¶
type DeleteAddonV2OK struct { }
DeleteAddonV2OK handles this case with default header values.
EmptyResponse is a empty response
func NewDeleteAddonV2OK ¶
func NewDeleteAddonV2OK() *DeleteAddonV2OK
NewDeleteAddonV2OK creates a DeleteAddonV2OK with default headers values
func (*DeleteAddonV2OK) Error ¶
func (o *DeleteAddonV2OK) Error() string
type DeleteAddonV2Params ¶
type DeleteAddonV2Params struct { /*AddonID*/ AddonID string /*ClusterID*/ ClusterID string /*ProjectID*/ ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteAddonV2Params contains all the parameters to send to the API endpoint for the delete addon v2 operation typically these are written to a http.Request
func NewDeleteAddonV2Params ¶
func NewDeleteAddonV2Params() *DeleteAddonV2Params
NewDeleteAddonV2Params creates a new DeleteAddonV2Params object with the default values initialized.
func NewDeleteAddonV2ParamsWithContext ¶
func NewDeleteAddonV2ParamsWithContext(ctx context.Context) *DeleteAddonV2Params
NewDeleteAddonV2ParamsWithContext creates a new DeleteAddonV2Params object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 ¶
func (o *DeleteAddonV2Params) WithContext(ctx context.Context) *DeleteAddonV2Params
WithContext adds the context to the delete addon v2 params
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 handles this case with default header values.
EmptyResponse is a empty response
func NewDeleteAddonV2Unauthorized ¶
func NewDeleteAddonV2Unauthorized() *DeleteAddonV2Unauthorized
NewDeleteAddonV2Unauthorized creates a DeleteAddonV2Unauthorized with default headers values
func (*DeleteAddonV2Unauthorized) Error ¶
func (o *DeleteAddonV2Unauthorized) Error() string
type GetAddonDefault ¶
type GetAddonDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
GetAddonDefault handles this case with default header values.
errorResponse
func NewGetAddonDefault ¶
func NewGetAddonDefault(code int) *GetAddonDefault
NewGetAddonDefault creates a GetAddonDefault with default headers values
func (*GetAddonDefault) Code ¶
func (o *GetAddonDefault) Code() int
Code gets the status code for the get addon default response
func (*GetAddonDefault) Error ¶
func (o *GetAddonDefault) Error() string
func (*GetAddonDefault) GetPayload ¶
func (o *GetAddonDefault) GetPayload() *models.ErrorResponse
type GetAddonForbidden ¶
type GetAddonForbidden struct { }
GetAddonForbidden handles this case with default header values.
EmptyResponse is a empty response
func NewGetAddonForbidden ¶
func NewGetAddonForbidden() *GetAddonForbidden
NewGetAddonForbidden creates a GetAddonForbidden with default headers values
func (*GetAddonForbidden) Error ¶
func (o *GetAddonForbidden) Error() string
type GetAddonOK ¶
GetAddonOK handles this case with default header values.
Addon
func NewGetAddonOK ¶
func NewGetAddonOK() *GetAddonOK
NewGetAddonOK creates a GetAddonOK with default headers values
func (*GetAddonOK) Error ¶
func (o *GetAddonOK) Error() string
func (*GetAddonOK) GetPayload ¶
func (o *GetAddonOK) GetPayload() *models.Addon
type GetAddonParams ¶
type GetAddonParams struct { /*AddonID*/ AddonID string /*ClusterID*/ ClusterID string /*Dc*/ DC string /*ProjectID*/ ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAddonParams contains all the parameters to send to the API endpoint for the get addon operation typically these are written to a http.Request
func NewGetAddonParams ¶
func NewGetAddonParams() *GetAddonParams
NewGetAddonParams creates a new GetAddonParams object with the default values initialized.
func NewGetAddonParamsWithContext ¶
func NewGetAddonParamsWithContext(ctx context.Context) *GetAddonParams
NewGetAddonParamsWithContext creates a new GetAddonParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.
EmptyResponse is a empty response
func NewGetAddonUnauthorized ¶
func NewGetAddonUnauthorized() *GetAddonUnauthorized
NewGetAddonUnauthorized creates a GetAddonUnauthorized with default headers values
func (*GetAddonUnauthorized) Error ¶
func (o *GetAddonUnauthorized) Error() string
type GetAddonV2Default ¶
type GetAddonV2Default struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
GetAddonV2Default handles this case with default header values.
errorResponse
func NewGetAddonV2Default ¶
func NewGetAddonV2Default(code int) *GetAddonV2Default
NewGetAddonV2Default creates a GetAddonV2Default with default headers values
func (*GetAddonV2Default) Code ¶
func (o *GetAddonV2Default) Code() int
Code gets the status code for the get addon v2 default response
func (*GetAddonV2Default) Error ¶
func (o *GetAddonV2Default) Error() string
func (*GetAddonV2Default) GetPayload ¶
func (o *GetAddonV2Default) GetPayload() *models.ErrorResponse
type GetAddonV2Forbidden ¶
type GetAddonV2Forbidden struct { }
GetAddonV2Forbidden handles this case with default header values.
EmptyResponse is a empty response
func NewGetAddonV2Forbidden ¶
func NewGetAddonV2Forbidden() *GetAddonV2Forbidden
NewGetAddonV2Forbidden creates a GetAddonV2Forbidden with default headers values
func (*GetAddonV2Forbidden) Error ¶
func (o *GetAddonV2Forbidden) Error() string
type GetAddonV2OK ¶
GetAddonV2OK handles this case with default header values.
Addon
func NewGetAddonV2OK ¶
func NewGetAddonV2OK() *GetAddonV2OK
NewGetAddonV2OK creates a GetAddonV2OK with default headers values
func (*GetAddonV2OK) Error ¶
func (o *GetAddonV2OK) Error() string
func (*GetAddonV2OK) GetPayload ¶
func (o *GetAddonV2OK) GetPayload() *models.Addon
type GetAddonV2Params ¶
type GetAddonV2Params struct { /*AddonID*/ AddonID string /*ClusterID*/ ClusterID string /*ProjectID*/ ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAddonV2Params contains all the parameters to send to the API endpoint for the get addon v2 operation typically these are written to a http.Request
func NewGetAddonV2Params ¶
func NewGetAddonV2Params() *GetAddonV2Params
NewGetAddonV2Params creates a new GetAddonV2Params object with the default values initialized.
func NewGetAddonV2ParamsWithContext ¶
func NewGetAddonV2ParamsWithContext(ctx context.Context) *GetAddonV2Params
NewGetAddonV2ParamsWithContext creates a new GetAddonV2Params object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.
EmptyResponse is a empty response
func NewGetAddonV2Unauthorized ¶
func NewGetAddonV2Unauthorized() *GetAddonV2Unauthorized
NewGetAddonV2Unauthorized creates a GetAddonV2Unauthorized with default headers values
func (*GetAddonV2Unauthorized) Error ¶
func (o *GetAddonV2Unauthorized) Error() string
type ListAccessibleAddonsDefault ¶
type ListAccessibleAddonsDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
ListAccessibleAddonsDefault handles this case 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 (o *ListAccessibleAddonsDefault) Error() string
func (*ListAccessibleAddonsDefault) GetPayload ¶
func (o *ListAccessibleAddonsDefault) GetPayload() *models.ErrorResponse
type ListAccessibleAddonsForbidden ¶
type ListAccessibleAddonsForbidden struct { }
ListAccessibleAddonsForbidden handles this case 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 (o *ListAccessibleAddonsForbidden) Error() string
type ListAccessibleAddonsOK ¶
type ListAccessibleAddonsOK struct {
Payload models.AccessibleAddons
}
ListAccessibleAddonsOK handles this case 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 (o *ListAccessibleAddonsOK) GetPayload() models.AccessibleAddons
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 values initialized.
func NewListAccessibleAddonsParamsWithContext ¶
func NewListAccessibleAddonsParamsWithContext(ctx context.Context) *ListAccessibleAddonsParams
NewListAccessibleAddonsParamsWithContext creates a new ListAccessibleAddonsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 ¶
func (o *ListAccessibleAddonsParams) WithContext(ctx context.Context) *ListAccessibleAddonsParams
WithContext adds the context to the list accessible addons params
func (*ListAccessibleAddonsParams) WithHTTPClient ¶
func (o *ListAccessibleAddonsParams) WithHTTPClient(client *http.Client) *ListAccessibleAddonsParams
WithHTTPClient adds the HTTPClient to the list accessible addons params
func (*ListAccessibleAddonsParams) WithTimeout ¶
func (o *ListAccessibleAddonsParams) WithTimeout(timeout time.Duration) *ListAccessibleAddonsParams
WithTimeout adds the timeout to the list accessible addons params
func (*ListAccessibleAddonsParams) WriteToRequest ¶
func (o *ListAccessibleAddonsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 handles this case 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 (o *ListAccessibleAddonsUnauthorized) Error() string
type ListAddonsDefault ¶
type ListAddonsDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
ListAddonsDefault handles this case with default header values.
errorResponse
func NewListAddonsDefault ¶
func NewListAddonsDefault(code int) *ListAddonsDefault
NewListAddonsDefault creates a ListAddonsDefault with default headers values
func (*ListAddonsDefault) Code ¶
func (o *ListAddonsDefault) Code() int
Code gets the status code for the list addons default response
func (*ListAddonsDefault) Error ¶
func (o *ListAddonsDefault) Error() string
func (*ListAddonsDefault) GetPayload ¶
func (o *ListAddonsDefault) GetPayload() *models.ErrorResponse
type ListAddonsForbidden ¶
type ListAddonsForbidden struct { }
ListAddonsForbidden handles this case with default header values.
EmptyResponse is a empty response
func NewListAddonsForbidden ¶
func NewListAddonsForbidden() *ListAddonsForbidden
NewListAddonsForbidden creates a ListAddonsForbidden with default headers values
func (*ListAddonsForbidden) Error ¶
func (o *ListAddonsForbidden) Error() string
type ListAddonsOK ¶
ListAddonsOK handles this case with default header values.
Addon
func NewListAddonsOK ¶
func NewListAddonsOK() *ListAddonsOK
NewListAddonsOK creates a ListAddonsOK with default headers values
func (*ListAddonsOK) Error ¶
func (o *ListAddonsOK) Error() string
func (*ListAddonsOK) GetPayload ¶
func (o *ListAddonsOK) GetPayload() []*models.Addon
type ListAddonsParams ¶
type ListAddonsParams struct { /*ClusterID*/ ClusterID string /*Dc*/ DC string /*ProjectID*/ ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListAddonsParams contains all the parameters to send to the API endpoint for the list addons operation typically these are written to a http.Request
func NewListAddonsParams ¶
func NewListAddonsParams() *ListAddonsParams
NewListAddonsParams creates a new ListAddonsParams object with the default values initialized.
func NewListAddonsParamsWithContext ¶
func NewListAddonsParamsWithContext(ctx context.Context) *ListAddonsParams
NewListAddonsParamsWithContext creates a new ListAddonsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.
EmptyResponse is a empty response
func NewListAddonsUnauthorized ¶
func NewListAddonsUnauthorized() *ListAddonsUnauthorized
NewListAddonsUnauthorized creates a ListAddonsUnauthorized with default headers values
func (*ListAddonsUnauthorized) Error ¶
func (o *ListAddonsUnauthorized) Error() string
type ListAddonsV2Default ¶
type ListAddonsV2Default struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
ListAddonsV2Default handles this case with default header values.
errorResponse
func NewListAddonsV2Default ¶
func NewListAddonsV2Default(code int) *ListAddonsV2Default
NewListAddonsV2Default creates a ListAddonsV2Default with default headers values
func (*ListAddonsV2Default) Code ¶
func (o *ListAddonsV2Default) Code() int
Code gets the status code for the list addons v2 default response
func (*ListAddonsV2Default) Error ¶
func (o *ListAddonsV2Default) Error() string
func (*ListAddonsV2Default) GetPayload ¶
func (o *ListAddonsV2Default) GetPayload() *models.ErrorResponse
type ListAddonsV2Forbidden ¶
type ListAddonsV2Forbidden struct { }
ListAddonsV2Forbidden handles this case with default header values.
EmptyResponse is a empty response
func NewListAddonsV2Forbidden ¶
func NewListAddonsV2Forbidden() *ListAddonsV2Forbidden
NewListAddonsV2Forbidden creates a ListAddonsV2Forbidden with default headers values
func (*ListAddonsV2Forbidden) Error ¶
func (o *ListAddonsV2Forbidden) Error() string
type ListAddonsV2OK ¶
ListAddonsV2OK handles this case with default header values.
Addon
func NewListAddonsV2OK ¶
func NewListAddonsV2OK() *ListAddonsV2OK
NewListAddonsV2OK creates a ListAddonsV2OK with default headers values
func (*ListAddonsV2OK) Error ¶
func (o *ListAddonsV2OK) Error() string
func (*ListAddonsV2OK) GetPayload ¶
func (o *ListAddonsV2OK) GetPayload() []*models.Addon
type ListAddonsV2Params ¶
type ListAddonsV2Params struct { /*ClusterID*/ ClusterID string /*ProjectID*/ ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListAddonsV2Params contains all the parameters to send to the API endpoint for the list addons v2 operation typically these are written to a http.Request
func NewListAddonsV2Params ¶
func NewListAddonsV2Params() *ListAddonsV2Params
NewListAddonsV2Params creates a new ListAddonsV2Params object with the default values initialized.
func NewListAddonsV2ParamsWithContext ¶
func NewListAddonsV2ParamsWithContext(ctx context.Context) *ListAddonsV2Params
NewListAddonsV2ParamsWithContext creates a new ListAddonsV2Params object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 ¶
func (o *ListAddonsV2Params) WithContext(ctx context.Context) *ListAddonsV2Params
WithContext adds the context to the list addons v2 params
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 handles this case with default header values.
EmptyResponse is a empty response
func NewListAddonsV2Unauthorized ¶
func NewListAddonsV2Unauthorized() *ListAddonsV2Unauthorized
NewListAddonsV2Unauthorized creates a ListAddonsV2Unauthorized with default headers values
func (*ListAddonsV2Unauthorized) Error ¶
func (o *ListAddonsV2Unauthorized) Error() string
type ListInstallableAddonsDefault ¶
type ListInstallableAddonsDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
ListInstallableAddonsDefault handles this case with default header values.
errorResponse
func NewListInstallableAddonsDefault ¶
func NewListInstallableAddonsDefault(code int) *ListInstallableAddonsDefault
NewListInstallableAddonsDefault creates a ListInstallableAddonsDefault with default headers values
func (*ListInstallableAddonsDefault) Code ¶
func (o *ListInstallableAddonsDefault) Code() int
Code gets the status code for the list installable addons default response
func (*ListInstallableAddonsDefault) Error ¶
func (o *ListInstallableAddonsDefault) Error() string
func (*ListInstallableAddonsDefault) GetPayload ¶
func (o *ListInstallableAddonsDefault) GetPayload() *models.ErrorResponse
type ListInstallableAddonsForbidden ¶
type ListInstallableAddonsForbidden struct { }
ListInstallableAddonsForbidden handles this case 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 (o *ListInstallableAddonsForbidden) Error() string
type ListInstallableAddonsOK ¶
type ListInstallableAddonsOK struct {
Payload models.AccessibleAddons
}
ListInstallableAddonsOK handles this case 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 (o *ListInstallableAddonsOK) GetPayload() models.AccessibleAddons
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 values initialized.
func NewListInstallableAddonsParamsWithContext ¶
func NewListInstallableAddonsParamsWithContext(ctx context.Context) *ListInstallableAddonsParams
NewListInstallableAddonsParamsWithContext creates a new ListInstallableAddonsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 ¶
func (o *ListInstallableAddonsParams) WithContext(ctx context.Context) *ListInstallableAddonsParams
WithContext adds the context to the list installable addons params
func (*ListInstallableAddonsParams) WithDC ¶
func (o *ListInstallableAddonsParams) WithDC(dc string) *ListInstallableAddonsParams
WithDC adds the dc to the list installable addons params
func (*ListInstallableAddonsParams) WithHTTPClient ¶
func (o *ListInstallableAddonsParams) WithHTTPClient(client *http.Client) *ListInstallableAddonsParams
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 ¶
func (o *ListInstallableAddonsParams) WithTimeout(timeout time.Duration) *ListInstallableAddonsParams
WithTimeout adds the timeout to the list installable addons params
func (*ListInstallableAddonsParams) WriteToRequest ¶
func (o *ListInstallableAddonsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 handles this case 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 (o *ListInstallableAddonsUnauthorized) Error() string
type ListInstallableAddonsV2Default ¶
type ListInstallableAddonsV2Default struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
ListInstallableAddonsV2Default handles this case with default header values.
errorResponse
func NewListInstallableAddonsV2Default ¶
func NewListInstallableAddonsV2Default(code int) *ListInstallableAddonsV2Default
NewListInstallableAddonsV2Default creates a ListInstallableAddonsV2Default with default headers values
func (*ListInstallableAddonsV2Default) Code ¶
func (o *ListInstallableAddonsV2Default) Code() int
Code gets the status code for the list installable addons v2 default response
func (*ListInstallableAddonsV2Default) Error ¶
func (o *ListInstallableAddonsV2Default) Error() string
func (*ListInstallableAddonsV2Default) GetPayload ¶
func (o *ListInstallableAddonsV2Default) GetPayload() *models.ErrorResponse
type ListInstallableAddonsV2Forbidden ¶
type ListInstallableAddonsV2Forbidden struct { }
ListInstallableAddonsV2Forbidden handles this case 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 (o *ListInstallableAddonsV2Forbidden) Error() string
type ListInstallableAddonsV2OK ¶
type ListInstallableAddonsV2OK struct {
Payload models.AccessibleAddons
}
ListInstallableAddonsV2OK handles this case 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 (o *ListInstallableAddonsV2OK) GetPayload() models.AccessibleAddons
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 values initialized.
func NewListInstallableAddonsV2ParamsWithContext ¶
func NewListInstallableAddonsV2ParamsWithContext(ctx context.Context) *ListInstallableAddonsV2Params
NewListInstallableAddonsV2ParamsWithContext creates a new ListInstallableAddonsV2Params object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 ¶
func (o *ListInstallableAddonsV2Params) WithClusterID(clusterID string) *ListInstallableAddonsV2Params
WithClusterID adds the clusterID to the list installable addons v2 params
func (*ListInstallableAddonsV2Params) WithContext ¶
func (o *ListInstallableAddonsV2Params) WithContext(ctx context.Context) *ListInstallableAddonsV2Params
WithContext adds the context to the list installable addons v2 params
func (*ListInstallableAddonsV2Params) WithHTTPClient ¶
func (o *ListInstallableAddonsV2Params) WithHTTPClient(client *http.Client) *ListInstallableAddonsV2Params
WithHTTPClient adds the HTTPClient to the list installable addons v2 params
func (*ListInstallableAddonsV2Params) WithProjectID ¶
func (o *ListInstallableAddonsV2Params) WithProjectID(projectID string) *ListInstallableAddonsV2Params
WithProjectID adds the projectID to the list installable addons v2 params
func (*ListInstallableAddonsV2Params) WithTimeout ¶
func (o *ListInstallableAddonsV2Params) WithTimeout(timeout time.Duration) *ListInstallableAddonsV2Params
WithTimeout adds the timeout to the list installable addons v2 params
func (*ListInstallableAddonsV2Params) WriteToRequest ¶
func (o *ListInstallableAddonsV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 handles this case 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 (o *ListInstallableAddonsV2Unauthorized) Error() string
type PatchAddonDefault ¶
type PatchAddonDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
PatchAddonDefault handles this case with default header values.
errorResponse
func NewPatchAddonDefault ¶
func NewPatchAddonDefault(code int) *PatchAddonDefault
NewPatchAddonDefault creates a PatchAddonDefault with default headers values
func (*PatchAddonDefault) Code ¶
func (o *PatchAddonDefault) Code() int
Code gets the status code for the patch addon default response
func (*PatchAddonDefault) Error ¶
func (o *PatchAddonDefault) Error() string
func (*PatchAddonDefault) GetPayload ¶
func (o *PatchAddonDefault) GetPayload() *models.ErrorResponse
type PatchAddonForbidden ¶
type PatchAddonForbidden struct { }
PatchAddonForbidden handles this case with default header values.
EmptyResponse is a empty response
func NewPatchAddonForbidden ¶
func NewPatchAddonForbidden() *PatchAddonForbidden
NewPatchAddonForbidden creates a PatchAddonForbidden with default headers values
func (*PatchAddonForbidden) Error ¶
func (o *PatchAddonForbidden) Error() string
type PatchAddonOK ¶
PatchAddonOK handles this case with default header values.
Addon
func NewPatchAddonOK ¶
func NewPatchAddonOK() *PatchAddonOK
NewPatchAddonOK creates a PatchAddonOK with default headers values
func (*PatchAddonOK) Error ¶
func (o *PatchAddonOK) Error() string
func (*PatchAddonOK) GetPayload ¶
func (o *PatchAddonOK) GetPayload() *models.Addon
type PatchAddonParams ¶
type PatchAddonParams struct { /*Body*/ Body *models.Addon /*AddonID*/ AddonID string /*ClusterID*/ ClusterID string /*Dc*/ DC string /*ProjectID*/ ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchAddonParams contains all the parameters to send to the API endpoint for the patch addon operation typically these are written to a http.Request
func NewPatchAddonParams ¶
func NewPatchAddonParams() *PatchAddonParams
NewPatchAddonParams creates a new PatchAddonParams object with the default values initialized.
func NewPatchAddonParamsWithContext ¶
func NewPatchAddonParamsWithContext(ctx context.Context) *PatchAddonParams
NewPatchAddonParamsWithContext creates a new PatchAddonParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.
EmptyResponse is a empty response
func NewPatchAddonUnauthorized ¶
func NewPatchAddonUnauthorized() *PatchAddonUnauthorized
NewPatchAddonUnauthorized creates a PatchAddonUnauthorized with default headers values
func (*PatchAddonUnauthorized) Error ¶
func (o *PatchAddonUnauthorized) Error() string
type PatchAddonV2Default ¶
type PatchAddonV2Default struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
PatchAddonV2Default handles this case with default header values.
errorResponse
func NewPatchAddonV2Default ¶
func NewPatchAddonV2Default(code int) *PatchAddonV2Default
NewPatchAddonV2Default creates a PatchAddonV2Default with default headers values
func (*PatchAddonV2Default) Code ¶
func (o *PatchAddonV2Default) Code() int
Code gets the status code for the patch addon v2 default response
func (*PatchAddonV2Default) Error ¶
func (o *PatchAddonV2Default) Error() string
func (*PatchAddonV2Default) GetPayload ¶
func (o *PatchAddonV2Default) GetPayload() *models.ErrorResponse
type PatchAddonV2Forbidden ¶
type PatchAddonV2Forbidden struct { }
PatchAddonV2Forbidden handles this case with default header values.
EmptyResponse is a empty response
func NewPatchAddonV2Forbidden ¶
func NewPatchAddonV2Forbidden() *PatchAddonV2Forbidden
NewPatchAddonV2Forbidden creates a PatchAddonV2Forbidden with default headers values
func (*PatchAddonV2Forbidden) Error ¶
func (o *PatchAddonV2Forbidden) Error() string
type PatchAddonV2OK ¶
PatchAddonV2OK handles this case with default header values.
Addon
func NewPatchAddonV2OK ¶
func NewPatchAddonV2OK() *PatchAddonV2OK
NewPatchAddonV2OK creates a PatchAddonV2OK with default headers values
func (*PatchAddonV2OK) Error ¶
func (o *PatchAddonV2OK) Error() string
func (*PatchAddonV2OK) GetPayload ¶
func (o *PatchAddonV2OK) GetPayload() *models.Addon
type PatchAddonV2Params ¶
type PatchAddonV2Params struct { /*Body*/ Body *models.Addon /*AddonID*/ AddonID string /*ClusterID*/ ClusterID string /*ProjectID*/ ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchAddonV2Params contains all the parameters to send to the API endpoint for the patch addon v2 operation typically these are written to a http.Request
func NewPatchAddonV2Params ¶
func NewPatchAddonV2Params() *PatchAddonV2Params
NewPatchAddonV2Params creates a new PatchAddonV2Params object with the default values initialized.
func NewPatchAddonV2ParamsWithContext ¶
func NewPatchAddonV2ParamsWithContext(ctx context.Context) *PatchAddonV2Params
NewPatchAddonV2ParamsWithContext creates a new PatchAddonV2Params object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 ¶
func (o *PatchAddonV2Params) WithContext(ctx context.Context) *PatchAddonV2Params
WithContext adds the context to the patch addon v2 params
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 handles this case 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
Source Files
¶
- addon_client.go
- create_addon_parameters.go
- create_addon_responses.go
- create_addon_v2_parameters.go
- create_addon_v2_responses.go
- delete_addon_parameters.go
- delete_addon_responses.go
- delete_addon_v2_parameters.go
- delete_addon_v2_responses.go
- get_addon_parameters.go
- get_addon_responses.go
- get_addon_v2_parameters.go
- get_addon_v2_responses.go
- list_accessible_addons_parameters.go
- list_accessible_addons_responses.go
- list_addons_parameters.go
- list_addons_responses.go
- list_addons_v2_parameters.go
- list_addons_v2_responses.go
- list_installable_addons_parameters.go
- list_installable_addons_responses.go
- list_installable_addons_v2_parameters.go
- list_installable_addons_v2_responses.go
- patch_addon_parameters.go
- patch_addon_responses.go
- patch_addon_v2_parameters.go
- patch_addon_v2_responses.go