Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateInstanceConfiguration(params *CreateInstanceConfigurationParams, ...) (*CreateInstanceConfigurationCreated, error)
- func (a *Client) DeleteInstanceConfiguration(params *DeleteInstanceConfigurationParams, ...) (*DeleteInstanceConfigurationOK, error)
- func (a *Client) GetInstanceConfiguration(params *GetInstanceConfigurationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetInstanceConfigurationOK, error)
- func (a *Client) GetInstanceConfigurations(params *GetInstanceConfigurationsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetInstanceConfigurationsOK, error)
- func (a *Client) SetInstanceConfiguration(params *SetInstanceConfigurationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SetInstanceConfigurationOK, *SetInstanceConfigurationCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateInstanceConfigurationBadRequest
- func (o *CreateInstanceConfigurationBadRequest) Code() int
- func (o *CreateInstanceConfigurationBadRequest) Error() string
- func (o *CreateInstanceConfigurationBadRequest) GetPayload() *models.BasicFailedReply
- func (o *CreateInstanceConfigurationBadRequest) IsClientError() bool
- func (o *CreateInstanceConfigurationBadRequest) IsCode(code int) bool
- func (o *CreateInstanceConfigurationBadRequest) IsRedirect() bool
- func (o *CreateInstanceConfigurationBadRequest) IsServerError() bool
- func (o *CreateInstanceConfigurationBadRequest) IsSuccess() bool
- func (o *CreateInstanceConfigurationBadRequest) String() string
- type CreateInstanceConfigurationCreated
- func (o *CreateInstanceConfigurationCreated) Code() int
- func (o *CreateInstanceConfigurationCreated) Error() string
- func (o *CreateInstanceConfigurationCreated) GetPayload() *models.VersionedIDResponse
- func (o *CreateInstanceConfigurationCreated) IsClientError() bool
- func (o *CreateInstanceConfigurationCreated) IsCode(code int) bool
- func (o *CreateInstanceConfigurationCreated) IsRedirect() bool
- func (o *CreateInstanceConfigurationCreated) IsServerError() bool
- func (o *CreateInstanceConfigurationCreated) IsSuccess() bool
- func (o *CreateInstanceConfigurationCreated) String() string
- type CreateInstanceConfigurationForbidden
- func (o *CreateInstanceConfigurationForbidden) Code() int
- func (o *CreateInstanceConfigurationForbidden) Error() string
- func (o *CreateInstanceConfigurationForbidden) GetPayload() *models.BasicFailedReply
- func (o *CreateInstanceConfigurationForbidden) IsClientError() bool
- func (o *CreateInstanceConfigurationForbidden) IsCode(code int) bool
- func (o *CreateInstanceConfigurationForbidden) IsRedirect() bool
- func (o *CreateInstanceConfigurationForbidden) IsServerError() bool
- func (o *CreateInstanceConfigurationForbidden) IsSuccess() bool
- func (o *CreateInstanceConfigurationForbidden) String() string
- type CreateInstanceConfigurationParams
- func NewCreateInstanceConfigurationParams() *CreateInstanceConfigurationParams
- func NewCreateInstanceConfigurationParamsWithContext(ctx context.Context) *CreateInstanceConfigurationParams
- func NewCreateInstanceConfigurationParamsWithHTTPClient(client *http.Client) *CreateInstanceConfigurationParams
- func NewCreateInstanceConfigurationParamsWithTimeout(timeout time.Duration) *CreateInstanceConfigurationParams
- func (o *CreateInstanceConfigurationParams) SetContext(ctx context.Context)
- func (o *CreateInstanceConfigurationParams) SetDefaults()
- func (o *CreateInstanceConfigurationParams) SetHTTPClient(client *http.Client)
- func (o *CreateInstanceConfigurationParams) SetInstance(instance *models.InstanceConfiguration)
- func (o *CreateInstanceConfigurationParams) SetTimeout(timeout time.Duration)
- func (o *CreateInstanceConfigurationParams) WithContext(ctx context.Context) *CreateInstanceConfigurationParams
- func (o *CreateInstanceConfigurationParams) WithDefaults() *CreateInstanceConfigurationParams
- func (o *CreateInstanceConfigurationParams) WithHTTPClient(client *http.Client) *CreateInstanceConfigurationParams
- func (o *CreateInstanceConfigurationParams) WithInstance(instance *models.InstanceConfiguration) *CreateInstanceConfigurationParams
- func (o *CreateInstanceConfigurationParams) WithTimeout(timeout time.Duration) *CreateInstanceConfigurationParams
- func (o *CreateInstanceConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateInstanceConfigurationReader
- type DeleteInstanceConfigurationForbidden
- func (o *DeleteInstanceConfigurationForbidden) Code() int
- func (o *DeleteInstanceConfigurationForbidden) Error() string
- func (o *DeleteInstanceConfigurationForbidden) GetPayload() *models.BasicFailedReply
- func (o *DeleteInstanceConfigurationForbidden) IsClientError() bool
- func (o *DeleteInstanceConfigurationForbidden) IsCode(code int) bool
- func (o *DeleteInstanceConfigurationForbidden) IsRedirect() bool
- func (o *DeleteInstanceConfigurationForbidden) IsServerError() bool
- func (o *DeleteInstanceConfigurationForbidden) IsSuccess() bool
- func (o *DeleteInstanceConfigurationForbidden) String() string
- type DeleteInstanceConfigurationNotFound
- func (o *DeleteInstanceConfigurationNotFound) Code() int
- func (o *DeleteInstanceConfigurationNotFound) Error() string
- func (o *DeleteInstanceConfigurationNotFound) GetPayload() *models.BasicFailedReply
- func (o *DeleteInstanceConfigurationNotFound) IsClientError() bool
- func (o *DeleteInstanceConfigurationNotFound) IsCode(code int) bool
- func (o *DeleteInstanceConfigurationNotFound) IsRedirect() bool
- func (o *DeleteInstanceConfigurationNotFound) IsServerError() bool
- func (o *DeleteInstanceConfigurationNotFound) IsSuccess() bool
- func (o *DeleteInstanceConfigurationNotFound) String() string
- type DeleteInstanceConfigurationOK
- func (o *DeleteInstanceConfigurationOK) Code() int
- func (o *DeleteInstanceConfigurationOK) Error() string
- func (o *DeleteInstanceConfigurationOK) GetPayload() models.EmptyResponse
- func (o *DeleteInstanceConfigurationOK) IsClientError() bool
- func (o *DeleteInstanceConfigurationOK) IsCode(code int) bool
- func (o *DeleteInstanceConfigurationOK) IsRedirect() bool
- func (o *DeleteInstanceConfigurationOK) IsServerError() bool
- func (o *DeleteInstanceConfigurationOK) IsSuccess() bool
- func (o *DeleteInstanceConfigurationOK) String() string
- type DeleteInstanceConfigurationParams
- func NewDeleteInstanceConfigurationParams() *DeleteInstanceConfigurationParams
- func NewDeleteInstanceConfigurationParamsWithContext(ctx context.Context) *DeleteInstanceConfigurationParams
- func NewDeleteInstanceConfigurationParamsWithHTTPClient(client *http.Client) *DeleteInstanceConfigurationParams
- func NewDeleteInstanceConfigurationParamsWithTimeout(timeout time.Duration) *DeleteInstanceConfigurationParams
- func (o *DeleteInstanceConfigurationParams) SetContext(ctx context.Context)
- func (o *DeleteInstanceConfigurationParams) SetDefaults()
- func (o *DeleteInstanceConfigurationParams) SetHTTPClient(client *http.Client)
- func (o *DeleteInstanceConfigurationParams) SetID(id string)
- func (o *DeleteInstanceConfigurationParams) SetTimeout(timeout time.Duration)
- func (o *DeleteInstanceConfigurationParams) SetVersion(version *int64)
- func (o *DeleteInstanceConfigurationParams) WithContext(ctx context.Context) *DeleteInstanceConfigurationParams
- func (o *DeleteInstanceConfigurationParams) WithDefaults() *DeleteInstanceConfigurationParams
- func (o *DeleteInstanceConfigurationParams) WithHTTPClient(client *http.Client) *DeleteInstanceConfigurationParams
- func (o *DeleteInstanceConfigurationParams) WithID(id string) *DeleteInstanceConfigurationParams
- func (o *DeleteInstanceConfigurationParams) WithTimeout(timeout time.Duration) *DeleteInstanceConfigurationParams
- func (o *DeleteInstanceConfigurationParams) WithVersion(version *int64) *DeleteInstanceConfigurationParams
- func (o *DeleteInstanceConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteInstanceConfigurationReader
- type GetInstanceConfigurationNotFound
- func (o *GetInstanceConfigurationNotFound) Code() int
- func (o *GetInstanceConfigurationNotFound) Error() string
- func (o *GetInstanceConfigurationNotFound) GetPayload() *models.BasicFailedReply
- func (o *GetInstanceConfigurationNotFound) IsClientError() bool
- func (o *GetInstanceConfigurationNotFound) IsCode(code int) bool
- func (o *GetInstanceConfigurationNotFound) IsRedirect() bool
- func (o *GetInstanceConfigurationNotFound) IsServerError() bool
- func (o *GetInstanceConfigurationNotFound) IsSuccess() bool
- func (o *GetInstanceConfigurationNotFound) String() string
- type GetInstanceConfigurationOK
- func (o *GetInstanceConfigurationOK) Code() int
- func (o *GetInstanceConfigurationOK) Error() string
- func (o *GetInstanceConfigurationOK) GetPayload() *models.InstanceConfiguration
- func (o *GetInstanceConfigurationOK) IsClientError() bool
- func (o *GetInstanceConfigurationOK) IsCode(code int) bool
- func (o *GetInstanceConfigurationOK) IsRedirect() bool
- func (o *GetInstanceConfigurationOK) IsServerError() bool
- func (o *GetInstanceConfigurationOK) IsSuccess() bool
- func (o *GetInstanceConfigurationOK) String() string
- type GetInstanceConfigurationParams
- func NewGetInstanceConfigurationParams() *GetInstanceConfigurationParams
- func NewGetInstanceConfigurationParamsWithContext(ctx context.Context) *GetInstanceConfigurationParams
- func NewGetInstanceConfigurationParamsWithHTTPClient(client *http.Client) *GetInstanceConfigurationParams
- func NewGetInstanceConfigurationParamsWithTimeout(timeout time.Duration) *GetInstanceConfigurationParams
- func (o *GetInstanceConfigurationParams) SetConfigVersion(configVersion *int64)
- func (o *GetInstanceConfigurationParams) SetContext(ctx context.Context)
- func (o *GetInstanceConfigurationParams) SetDefaults()
- func (o *GetInstanceConfigurationParams) SetHTTPClient(client *http.Client)
- func (o *GetInstanceConfigurationParams) SetID(id string)
- func (o *GetInstanceConfigurationParams) SetShowDeleted(showDeleted *bool)
- func (o *GetInstanceConfigurationParams) SetShowMaxZones(showMaxZones *bool)
- func (o *GetInstanceConfigurationParams) SetTimeout(timeout time.Duration)
- func (o *GetInstanceConfigurationParams) WithConfigVersion(configVersion *int64) *GetInstanceConfigurationParams
- func (o *GetInstanceConfigurationParams) WithContext(ctx context.Context) *GetInstanceConfigurationParams
- func (o *GetInstanceConfigurationParams) WithDefaults() *GetInstanceConfigurationParams
- func (o *GetInstanceConfigurationParams) WithHTTPClient(client *http.Client) *GetInstanceConfigurationParams
- func (o *GetInstanceConfigurationParams) WithID(id string) *GetInstanceConfigurationParams
- func (o *GetInstanceConfigurationParams) WithShowDeleted(showDeleted *bool) *GetInstanceConfigurationParams
- func (o *GetInstanceConfigurationParams) WithShowMaxZones(showMaxZones *bool) *GetInstanceConfigurationParams
- func (o *GetInstanceConfigurationParams) WithTimeout(timeout time.Duration) *GetInstanceConfigurationParams
- func (o *GetInstanceConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInstanceConfigurationReader
- type GetInstanceConfigurationsOK
- func (o *GetInstanceConfigurationsOK) Code() int
- func (o *GetInstanceConfigurationsOK) Error() string
- func (o *GetInstanceConfigurationsOK) GetPayload() []*models.InstanceConfiguration
- func (o *GetInstanceConfigurationsOK) IsClientError() bool
- func (o *GetInstanceConfigurationsOK) IsCode(code int) bool
- func (o *GetInstanceConfigurationsOK) IsRedirect() bool
- func (o *GetInstanceConfigurationsOK) IsServerError() bool
- func (o *GetInstanceConfigurationsOK) IsSuccess() bool
- func (o *GetInstanceConfigurationsOK) String() string
- type GetInstanceConfigurationsParams
- func NewGetInstanceConfigurationsParams() *GetInstanceConfigurationsParams
- func NewGetInstanceConfigurationsParamsWithContext(ctx context.Context) *GetInstanceConfigurationsParams
- func NewGetInstanceConfigurationsParamsWithHTTPClient(client *http.Client) *GetInstanceConfigurationsParams
- func NewGetInstanceConfigurationsParamsWithTimeout(timeout time.Duration) *GetInstanceConfigurationsParams
- func (o *GetInstanceConfigurationsParams) SetContext(ctx context.Context)
- func (o *GetInstanceConfigurationsParams) SetDefaults()
- func (o *GetInstanceConfigurationsParams) SetHTTPClient(client *http.Client)
- func (o *GetInstanceConfigurationsParams) SetShowDeleted(showDeleted *bool)
- func (o *GetInstanceConfigurationsParams) SetShowMaxZones(showMaxZones *bool)
- func (o *GetInstanceConfigurationsParams) SetTimeout(timeout time.Duration)
- func (o *GetInstanceConfigurationsParams) WithContext(ctx context.Context) *GetInstanceConfigurationsParams
- func (o *GetInstanceConfigurationsParams) WithDefaults() *GetInstanceConfigurationsParams
- func (o *GetInstanceConfigurationsParams) WithHTTPClient(client *http.Client) *GetInstanceConfigurationsParams
- func (o *GetInstanceConfigurationsParams) WithShowDeleted(showDeleted *bool) *GetInstanceConfigurationsParams
- func (o *GetInstanceConfigurationsParams) WithShowMaxZones(showMaxZones *bool) *GetInstanceConfigurationsParams
- func (o *GetInstanceConfigurationsParams) WithTimeout(timeout time.Duration) *GetInstanceConfigurationsParams
- func (o *GetInstanceConfigurationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInstanceConfigurationsReader
- type SetInstanceConfigurationBadRequest
- func (o *SetInstanceConfigurationBadRequest) Code() int
- func (o *SetInstanceConfigurationBadRequest) Error() string
- func (o *SetInstanceConfigurationBadRequest) GetPayload() *models.BasicFailedReply
- func (o *SetInstanceConfigurationBadRequest) IsClientError() bool
- func (o *SetInstanceConfigurationBadRequest) IsCode(code int) bool
- func (o *SetInstanceConfigurationBadRequest) IsRedirect() bool
- func (o *SetInstanceConfigurationBadRequest) IsServerError() bool
- func (o *SetInstanceConfigurationBadRequest) IsSuccess() bool
- func (o *SetInstanceConfigurationBadRequest) String() string
- type SetInstanceConfigurationCreated
- func (o *SetInstanceConfigurationCreated) Code() int
- func (o *SetInstanceConfigurationCreated) Error() string
- func (o *SetInstanceConfigurationCreated) GetPayload() *models.VersionedIDResponse
- func (o *SetInstanceConfigurationCreated) IsClientError() bool
- func (o *SetInstanceConfigurationCreated) IsCode(code int) bool
- func (o *SetInstanceConfigurationCreated) IsRedirect() bool
- func (o *SetInstanceConfigurationCreated) IsServerError() bool
- func (o *SetInstanceConfigurationCreated) IsSuccess() bool
- func (o *SetInstanceConfigurationCreated) String() string
- type SetInstanceConfigurationForbidden
- func (o *SetInstanceConfigurationForbidden) Code() int
- func (o *SetInstanceConfigurationForbidden) Error() string
- func (o *SetInstanceConfigurationForbidden) GetPayload() *models.BasicFailedReply
- func (o *SetInstanceConfigurationForbidden) IsClientError() bool
- func (o *SetInstanceConfigurationForbidden) IsCode(code int) bool
- func (o *SetInstanceConfigurationForbidden) IsRedirect() bool
- func (o *SetInstanceConfigurationForbidden) IsServerError() bool
- func (o *SetInstanceConfigurationForbidden) IsSuccess() bool
- func (o *SetInstanceConfigurationForbidden) String() string
- type SetInstanceConfigurationNotFound
- func (o *SetInstanceConfigurationNotFound) Code() int
- func (o *SetInstanceConfigurationNotFound) Error() string
- func (o *SetInstanceConfigurationNotFound) GetPayload() *models.BasicFailedReply
- func (o *SetInstanceConfigurationNotFound) IsClientError() bool
- func (o *SetInstanceConfigurationNotFound) IsCode(code int) bool
- func (o *SetInstanceConfigurationNotFound) IsRedirect() bool
- func (o *SetInstanceConfigurationNotFound) IsServerError() bool
- func (o *SetInstanceConfigurationNotFound) IsSuccess() bool
- func (o *SetInstanceConfigurationNotFound) String() string
- type SetInstanceConfigurationOK
- func (o *SetInstanceConfigurationOK) Code() int
- func (o *SetInstanceConfigurationOK) Error() string
- func (o *SetInstanceConfigurationOK) GetPayload() *models.VersionedIDResponse
- func (o *SetInstanceConfigurationOK) IsClientError() bool
- func (o *SetInstanceConfigurationOK) IsCode(code int) bool
- func (o *SetInstanceConfigurationOK) IsRedirect() bool
- func (o *SetInstanceConfigurationOK) IsServerError() bool
- func (o *SetInstanceConfigurationOK) IsSuccess() bool
- func (o *SetInstanceConfigurationOK) String() string
- type SetInstanceConfigurationParams
- func NewSetInstanceConfigurationParams() *SetInstanceConfigurationParams
- func NewSetInstanceConfigurationParamsWithContext(ctx context.Context) *SetInstanceConfigurationParams
- func NewSetInstanceConfigurationParamsWithHTTPClient(client *http.Client) *SetInstanceConfigurationParams
- func NewSetInstanceConfigurationParamsWithTimeout(timeout time.Duration) *SetInstanceConfigurationParams
- func (o *SetInstanceConfigurationParams) SetConfigControl(configControl *bool)
- func (o *SetInstanceConfigurationParams) SetContext(ctx context.Context)
- func (o *SetInstanceConfigurationParams) SetCreateOnly(createOnly *bool)
- func (o *SetInstanceConfigurationParams) SetDefaults()
- func (o *SetInstanceConfigurationParams) SetHTTPClient(client *http.Client)
- func (o *SetInstanceConfigurationParams) SetID(id string)
- func (o *SetInstanceConfigurationParams) SetInstance(instance *models.InstanceConfiguration)
- func (o *SetInstanceConfigurationParams) SetStrictMode(strictMode *bool)
- func (o *SetInstanceConfigurationParams) SetTestConfig(testConfig *bool)
- func (o *SetInstanceConfigurationParams) SetTimeout(timeout time.Duration)
- func (o *SetInstanceConfigurationParams) SetVersion(version *int64)
- func (o *SetInstanceConfigurationParams) WithConfigControl(configControl *bool) *SetInstanceConfigurationParams
- func (o *SetInstanceConfigurationParams) WithContext(ctx context.Context) *SetInstanceConfigurationParams
- func (o *SetInstanceConfigurationParams) WithCreateOnly(createOnly *bool) *SetInstanceConfigurationParams
- func (o *SetInstanceConfigurationParams) WithDefaults() *SetInstanceConfigurationParams
- func (o *SetInstanceConfigurationParams) WithHTTPClient(client *http.Client) *SetInstanceConfigurationParams
- func (o *SetInstanceConfigurationParams) WithID(id string) *SetInstanceConfigurationParams
- func (o *SetInstanceConfigurationParams) WithInstance(instance *models.InstanceConfiguration) *SetInstanceConfigurationParams
- func (o *SetInstanceConfigurationParams) WithStrictMode(strictMode *bool) *SetInstanceConfigurationParams
- func (o *SetInstanceConfigurationParams) WithTestConfig(testConfig *bool) *SetInstanceConfigurationParams
- func (o *SetInstanceConfigurationParams) WithTimeout(timeout time.Duration) *SetInstanceConfigurationParams
- func (o *SetInstanceConfigurationParams) WithVersion(version *int64) *SetInstanceConfigurationParams
- func (o *SetInstanceConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetInstanceConfigurationReader
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 platform configuration instances API
func (*Client) CreateInstanceConfiguration ¶
func (a *Client) CreateInstanceConfiguration(params *CreateInstanceConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateInstanceConfigurationCreated, error)
CreateInstanceConfiguration creates instance configuration
Create instance configuration and return the auto-generated ID.
func (*Client) DeleteInstanceConfiguration ¶
func (a *Client) DeleteInstanceConfiguration(params *DeleteInstanceConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteInstanceConfigurationOK, error)
DeleteInstanceConfiguration deletes a instance configuration
Delete the instance configuration with the given id.
func (*Client) GetInstanceConfiguration ¶
func (a *Client) GetInstanceConfiguration(params *GetInstanceConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInstanceConfigurationOK, error)
GetInstanceConfiguration gets instance configuration
Get instance configuration by id.
func (*Client) GetInstanceConfigurations ¶
func (a *Client) GetInstanceConfigurations(params *GetInstanceConfigurationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInstanceConfigurationsOK, error)
GetInstanceConfigurations gets instance configurations
Get instance configurations.
func (*Client) SetInstanceConfiguration ¶
func (a *Client) SetInstanceConfiguration(params *SetInstanceConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetInstanceConfigurationOK, *SetInstanceConfigurationCreated, error)
SetInstanceConfiguration sets instance configuration
Creates or updates an instance configuration.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateInstanceConfiguration(params *CreateInstanceConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateInstanceConfigurationCreated, error) DeleteInstanceConfiguration(params *DeleteInstanceConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteInstanceConfigurationOK, error) GetInstanceConfiguration(params *GetInstanceConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInstanceConfigurationOK, error) GetInstanceConfigurations(params *GetInstanceConfigurationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInstanceConfigurationsOK, error) SetInstanceConfiguration(params *SetInstanceConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetInstanceConfigurationOK, *SetInstanceConfigurationCreated, 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 platform configuration instances API client.
type CreateInstanceConfigurationBadRequest ¶
type CreateInstanceConfigurationBadRequest struct {
Payload *models.BasicFailedReply
}
CreateInstanceConfigurationBadRequest describes a response with status code 400, with default header values.
cluster_type in the InstanceConfiguration model is invalid (code: 'configuration.invalid_cluster_type') or the discrete_sizes in the InstanceConfiguration model is invalid (code: 'configuration.invalid_discrete_sizes') or the metadata in the InstanceConfiguration model has empty keys or values (code: 'configuration.bad_meta_data')
func NewCreateInstanceConfigurationBadRequest ¶
func NewCreateInstanceConfigurationBadRequest() *CreateInstanceConfigurationBadRequest
NewCreateInstanceConfigurationBadRequest creates a CreateInstanceConfigurationBadRequest with default headers values
func (*CreateInstanceConfigurationBadRequest) Code ¶
func (o *CreateInstanceConfigurationBadRequest) Code() int
Code gets the status code for the create instance configuration bad request response
func (*CreateInstanceConfigurationBadRequest) Error ¶
func (o *CreateInstanceConfigurationBadRequest) Error() string
func (*CreateInstanceConfigurationBadRequest) GetPayload ¶
func (o *CreateInstanceConfigurationBadRequest) GetPayload() *models.BasicFailedReply
func (*CreateInstanceConfigurationBadRequest) IsClientError ¶
func (o *CreateInstanceConfigurationBadRequest) IsClientError() bool
IsClientError returns true when this create instance configuration bad request response has a 4xx status code
func (*CreateInstanceConfigurationBadRequest) IsCode ¶
func (o *CreateInstanceConfigurationBadRequest) IsCode(code int) bool
IsCode returns true when this create instance configuration bad request response a status code equal to that given
func (*CreateInstanceConfigurationBadRequest) IsRedirect ¶
func (o *CreateInstanceConfigurationBadRequest) IsRedirect() bool
IsRedirect returns true when this create instance configuration bad request response has a 3xx status code
func (*CreateInstanceConfigurationBadRequest) IsServerError ¶
func (o *CreateInstanceConfigurationBadRequest) IsServerError() bool
IsServerError returns true when this create instance configuration bad request response has a 5xx status code
func (*CreateInstanceConfigurationBadRequest) IsSuccess ¶
func (o *CreateInstanceConfigurationBadRequest) IsSuccess() bool
IsSuccess returns true when this create instance configuration bad request response has a 2xx status code
func (*CreateInstanceConfigurationBadRequest) String ¶
func (o *CreateInstanceConfigurationBadRequest) String() string
type CreateInstanceConfigurationCreated ¶
type CreateInstanceConfigurationCreated struct {
Payload *models.VersionedIDResponse
}
CreateInstanceConfigurationCreated describes a response with status code 201, with default header values.
Instance Configuration added with the auto generated ID returned
func NewCreateInstanceConfigurationCreated ¶
func NewCreateInstanceConfigurationCreated() *CreateInstanceConfigurationCreated
NewCreateInstanceConfigurationCreated creates a CreateInstanceConfigurationCreated with default headers values
func (*CreateInstanceConfigurationCreated) Code ¶
func (o *CreateInstanceConfigurationCreated) Code() int
Code gets the status code for the create instance configuration created response
func (*CreateInstanceConfigurationCreated) Error ¶
func (o *CreateInstanceConfigurationCreated) Error() string
func (*CreateInstanceConfigurationCreated) GetPayload ¶
func (o *CreateInstanceConfigurationCreated) GetPayload() *models.VersionedIDResponse
func (*CreateInstanceConfigurationCreated) IsClientError ¶
func (o *CreateInstanceConfigurationCreated) IsClientError() bool
IsClientError returns true when this create instance configuration created response has a 4xx status code
func (*CreateInstanceConfigurationCreated) IsCode ¶
func (o *CreateInstanceConfigurationCreated) IsCode(code int) bool
IsCode returns true when this create instance configuration created response a status code equal to that given
func (*CreateInstanceConfigurationCreated) IsRedirect ¶
func (o *CreateInstanceConfigurationCreated) IsRedirect() bool
IsRedirect returns true when this create instance configuration created response has a 3xx status code
func (*CreateInstanceConfigurationCreated) IsServerError ¶
func (o *CreateInstanceConfigurationCreated) IsServerError() bool
IsServerError returns true when this create instance configuration created response has a 5xx status code
func (*CreateInstanceConfigurationCreated) IsSuccess ¶
func (o *CreateInstanceConfigurationCreated) IsSuccess() bool
IsSuccess returns true when this create instance configuration created response has a 2xx status code
func (*CreateInstanceConfigurationCreated) String ¶
func (o *CreateInstanceConfigurationCreated) String() string
type CreateInstanceConfigurationForbidden ¶
type CreateInstanceConfigurationForbidden struct {
Payload *models.BasicFailedReply
}
CreateInstanceConfigurationForbidden describes a response with status code 403, with default header values.
system_owned or deleted_on cannot be set externally (code: 'configuration.system_owned')
func NewCreateInstanceConfigurationForbidden ¶
func NewCreateInstanceConfigurationForbidden() *CreateInstanceConfigurationForbidden
NewCreateInstanceConfigurationForbidden creates a CreateInstanceConfigurationForbidden with default headers values
func (*CreateInstanceConfigurationForbidden) Code ¶
func (o *CreateInstanceConfigurationForbidden) Code() int
Code gets the status code for the create instance configuration forbidden response
func (*CreateInstanceConfigurationForbidden) Error ¶
func (o *CreateInstanceConfigurationForbidden) Error() string
func (*CreateInstanceConfigurationForbidden) GetPayload ¶
func (o *CreateInstanceConfigurationForbidden) GetPayload() *models.BasicFailedReply
func (*CreateInstanceConfigurationForbidden) IsClientError ¶
func (o *CreateInstanceConfigurationForbidden) IsClientError() bool
IsClientError returns true when this create instance configuration forbidden response has a 4xx status code
func (*CreateInstanceConfigurationForbidden) IsCode ¶
func (o *CreateInstanceConfigurationForbidden) IsCode(code int) bool
IsCode returns true when this create instance configuration forbidden response a status code equal to that given
func (*CreateInstanceConfigurationForbidden) IsRedirect ¶
func (o *CreateInstanceConfigurationForbidden) IsRedirect() bool
IsRedirect returns true when this create instance configuration forbidden response has a 3xx status code
func (*CreateInstanceConfigurationForbidden) IsServerError ¶
func (o *CreateInstanceConfigurationForbidden) IsServerError() bool
IsServerError returns true when this create instance configuration forbidden response has a 5xx status code
func (*CreateInstanceConfigurationForbidden) IsSuccess ¶
func (o *CreateInstanceConfigurationForbidden) IsSuccess() bool
IsSuccess returns true when this create instance configuration forbidden response has a 2xx status code
func (*CreateInstanceConfigurationForbidden) String ¶
func (o *CreateInstanceConfigurationForbidden) String() string
type CreateInstanceConfigurationParams ¶
type CreateInstanceConfigurationParams struct { /* Instance. the Instance Configuration */ Instance *models.InstanceConfiguration Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateInstanceConfigurationParams contains all the parameters to send to the API endpoint
for the create instance configuration operation. Typically these are written to a http.Request.
func NewCreateInstanceConfigurationParams ¶
func NewCreateInstanceConfigurationParams() *CreateInstanceConfigurationParams
NewCreateInstanceConfigurationParams creates a new CreateInstanceConfigurationParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateInstanceConfigurationParamsWithContext ¶
func NewCreateInstanceConfigurationParamsWithContext(ctx context.Context) *CreateInstanceConfigurationParams
NewCreateInstanceConfigurationParamsWithContext creates a new CreateInstanceConfigurationParams object with the ability to set a context for a request.
func NewCreateInstanceConfigurationParamsWithHTTPClient ¶
func NewCreateInstanceConfigurationParamsWithHTTPClient(client *http.Client) *CreateInstanceConfigurationParams
NewCreateInstanceConfigurationParamsWithHTTPClient creates a new CreateInstanceConfigurationParams object with the ability to set a custom HTTPClient for a request.
func NewCreateInstanceConfigurationParamsWithTimeout ¶
func NewCreateInstanceConfigurationParamsWithTimeout(timeout time.Duration) *CreateInstanceConfigurationParams
NewCreateInstanceConfigurationParamsWithTimeout creates a new CreateInstanceConfigurationParams object with the ability to set a timeout on a request.
func (*CreateInstanceConfigurationParams) SetContext ¶
func (o *CreateInstanceConfigurationParams) SetContext(ctx context.Context)
SetContext adds the context to the create instance configuration params
func (*CreateInstanceConfigurationParams) SetDefaults ¶
func (o *CreateInstanceConfigurationParams) SetDefaults()
SetDefaults hydrates default values in the create instance configuration params (not the query body).
All values with no default are reset to their zero value.
func (*CreateInstanceConfigurationParams) SetHTTPClient ¶
func (o *CreateInstanceConfigurationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create instance configuration params
func (*CreateInstanceConfigurationParams) SetInstance ¶
func (o *CreateInstanceConfigurationParams) SetInstance(instance *models.InstanceConfiguration)
SetInstance adds the instance to the create instance configuration params
func (*CreateInstanceConfigurationParams) SetTimeout ¶
func (o *CreateInstanceConfigurationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create instance configuration params
func (*CreateInstanceConfigurationParams) WithContext ¶
func (o *CreateInstanceConfigurationParams) WithContext(ctx context.Context) *CreateInstanceConfigurationParams
WithContext adds the context to the create instance configuration params
func (*CreateInstanceConfigurationParams) WithDefaults ¶
func (o *CreateInstanceConfigurationParams) WithDefaults() *CreateInstanceConfigurationParams
WithDefaults hydrates default values in the create instance configuration params (not the query body).
All values with no default are reset to their zero value.
func (*CreateInstanceConfigurationParams) WithHTTPClient ¶
func (o *CreateInstanceConfigurationParams) WithHTTPClient(client *http.Client) *CreateInstanceConfigurationParams
WithHTTPClient adds the HTTPClient to the create instance configuration params
func (*CreateInstanceConfigurationParams) WithInstance ¶
func (o *CreateInstanceConfigurationParams) WithInstance(instance *models.InstanceConfiguration) *CreateInstanceConfigurationParams
WithInstance adds the instance to the create instance configuration params
func (*CreateInstanceConfigurationParams) WithTimeout ¶
func (o *CreateInstanceConfigurationParams) WithTimeout(timeout time.Duration) *CreateInstanceConfigurationParams
WithTimeout adds the timeout to the create instance configuration params
func (*CreateInstanceConfigurationParams) WriteToRequest ¶
func (o *CreateInstanceConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateInstanceConfigurationReader ¶
type CreateInstanceConfigurationReader struct {
// contains filtered or unexported fields
}
CreateInstanceConfigurationReader is a Reader for the CreateInstanceConfiguration structure.
func (*CreateInstanceConfigurationReader) ReadResponse ¶
func (o *CreateInstanceConfigurationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteInstanceConfigurationForbidden ¶
type DeleteInstanceConfigurationForbidden struct {
Payload *models.BasicFailedReply
}
DeleteInstanceConfigurationForbidden describes a response with status code 403, with default header values.
Instance configuration specified by {id} is system owned (code: 'configuration.system_owned')
func NewDeleteInstanceConfigurationForbidden ¶
func NewDeleteInstanceConfigurationForbidden() *DeleteInstanceConfigurationForbidden
NewDeleteInstanceConfigurationForbidden creates a DeleteInstanceConfigurationForbidden with default headers values
func (*DeleteInstanceConfigurationForbidden) Code ¶
func (o *DeleteInstanceConfigurationForbidden) Code() int
Code gets the status code for the delete instance configuration forbidden response
func (*DeleteInstanceConfigurationForbidden) Error ¶
func (o *DeleteInstanceConfigurationForbidden) Error() string
func (*DeleteInstanceConfigurationForbidden) GetPayload ¶
func (o *DeleteInstanceConfigurationForbidden) GetPayload() *models.BasicFailedReply
func (*DeleteInstanceConfigurationForbidden) IsClientError ¶
func (o *DeleteInstanceConfigurationForbidden) IsClientError() bool
IsClientError returns true when this delete instance configuration forbidden response has a 4xx status code
func (*DeleteInstanceConfigurationForbidden) IsCode ¶
func (o *DeleteInstanceConfigurationForbidden) IsCode(code int) bool
IsCode returns true when this delete instance configuration forbidden response a status code equal to that given
func (*DeleteInstanceConfigurationForbidden) IsRedirect ¶
func (o *DeleteInstanceConfigurationForbidden) IsRedirect() bool
IsRedirect returns true when this delete instance configuration forbidden response has a 3xx status code
func (*DeleteInstanceConfigurationForbidden) IsServerError ¶
func (o *DeleteInstanceConfigurationForbidden) IsServerError() bool
IsServerError returns true when this delete instance configuration forbidden response has a 5xx status code
func (*DeleteInstanceConfigurationForbidden) IsSuccess ¶
func (o *DeleteInstanceConfigurationForbidden) IsSuccess() bool
IsSuccess returns true when this delete instance configuration forbidden response has a 2xx status code
func (*DeleteInstanceConfigurationForbidden) String ¶
func (o *DeleteInstanceConfigurationForbidden) String() string
type DeleteInstanceConfigurationNotFound ¶
type DeleteInstanceConfigurationNotFound struct {
Payload *models.BasicFailedReply
}
DeleteInstanceConfigurationNotFound describes a response with status code 404, with default header values.
Instance configuration specified by {id} cannot be found or the operation failed (code: 'configuration.instance_configuration_not_found')
func NewDeleteInstanceConfigurationNotFound ¶
func NewDeleteInstanceConfigurationNotFound() *DeleteInstanceConfigurationNotFound
NewDeleteInstanceConfigurationNotFound creates a DeleteInstanceConfigurationNotFound with default headers values
func (*DeleteInstanceConfigurationNotFound) Code ¶
func (o *DeleteInstanceConfigurationNotFound) Code() int
Code gets the status code for the delete instance configuration not found response
func (*DeleteInstanceConfigurationNotFound) Error ¶
func (o *DeleteInstanceConfigurationNotFound) Error() string
func (*DeleteInstanceConfigurationNotFound) GetPayload ¶
func (o *DeleteInstanceConfigurationNotFound) GetPayload() *models.BasicFailedReply
func (*DeleteInstanceConfigurationNotFound) IsClientError ¶
func (o *DeleteInstanceConfigurationNotFound) IsClientError() bool
IsClientError returns true when this delete instance configuration not found response has a 4xx status code
func (*DeleteInstanceConfigurationNotFound) IsCode ¶
func (o *DeleteInstanceConfigurationNotFound) IsCode(code int) bool
IsCode returns true when this delete instance configuration not found response a status code equal to that given
func (*DeleteInstanceConfigurationNotFound) IsRedirect ¶
func (o *DeleteInstanceConfigurationNotFound) IsRedirect() bool
IsRedirect returns true when this delete instance configuration not found response has a 3xx status code
func (*DeleteInstanceConfigurationNotFound) IsServerError ¶
func (o *DeleteInstanceConfigurationNotFound) IsServerError() bool
IsServerError returns true when this delete instance configuration not found response has a 5xx status code
func (*DeleteInstanceConfigurationNotFound) IsSuccess ¶
func (o *DeleteInstanceConfigurationNotFound) IsSuccess() bool
IsSuccess returns true when this delete instance configuration not found response has a 2xx status code
func (*DeleteInstanceConfigurationNotFound) String ¶
func (o *DeleteInstanceConfigurationNotFound) String() string
type DeleteInstanceConfigurationOK ¶
type DeleteInstanceConfigurationOK struct {
Payload models.EmptyResponse
}
DeleteInstanceConfigurationOK describes a response with status code 200, with default header values.
Instance configuration specified by {id} was deleted
func NewDeleteInstanceConfigurationOK ¶
func NewDeleteInstanceConfigurationOK() *DeleteInstanceConfigurationOK
NewDeleteInstanceConfigurationOK creates a DeleteInstanceConfigurationOK with default headers values
func (*DeleteInstanceConfigurationOK) Code ¶
func (o *DeleteInstanceConfigurationOK) Code() int
Code gets the status code for the delete instance configuration o k response
func (*DeleteInstanceConfigurationOK) Error ¶
func (o *DeleteInstanceConfigurationOK) Error() string
func (*DeleteInstanceConfigurationOK) GetPayload ¶
func (o *DeleteInstanceConfigurationOK) GetPayload() models.EmptyResponse
func (*DeleteInstanceConfigurationOK) IsClientError ¶
func (o *DeleteInstanceConfigurationOK) IsClientError() bool
IsClientError returns true when this delete instance configuration o k response has a 4xx status code
func (*DeleteInstanceConfigurationOK) IsCode ¶
func (o *DeleteInstanceConfigurationOK) IsCode(code int) bool
IsCode returns true when this delete instance configuration o k response a status code equal to that given
func (*DeleteInstanceConfigurationOK) IsRedirect ¶
func (o *DeleteInstanceConfigurationOK) IsRedirect() bool
IsRedirect returns true when this delete instance configuration o k response has a 3xx status code
func (*DeleteInstanceConfigurationOK) IsServerError ¶
func (o *DeleteInstanceConfigurationOK) IsServerError() bool
IsServerError returns true when this delete instance configuration o k response has a 5xx status code
func (*DeleteInstanceConfigurationOK) IsSuccess ¶
func (o *DeleteInstanceConfigurationOK) IsSuccess() bool
IsSuccess returns true when this delete instance configuration o k response has a 2xx status code
func (*DeleteInstanceConfigurationOK) String ¶
func (o *DeleteInstanceConfigurationOK) String() string
type DeleteInstanceConfigurationParams ¶
type DeleteInstanceConfigurationParams struct { /* ID. ID of the instance configuration */ ID string /* Version. This is a database-level field, not related to the application-level 'config_version', except as described in the following docs. If specified, checks for conflicts against 'x-cloud-resource-version' from the GET request (the GET's 'config_version' should be left blank if the IC is configuration controlled, ie to get the latest configuration) */ Version *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteInstanceConfigurationParams contains all the parameters to send to the API endpoint
for the delete instance configuration operation. Typically these are written to a http.Request.
func NewDeleteInstanceConfigurationParams ¶
func NewDeleteInstanceConfigurationParams() *DeleteInstanceConfigurationParams
NewDeleteInstanceConfigurationParams creates a new DeleteInstanceConfigurationParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteInstanceConfigurationParamsWithContext ¶
func NewDeleteInstanceConfigurationParamsWithContext(ctx context.Context) *DeleteInstanceConfigurationParams
NewDeleteInstanceConfigurationParamsWithContext creates a new DeleteInstanceConfigurationParams object with the ability to set a context for a request.
func NewDeleteInstanceConfigurationParamsWithHTTPClient ¶
func NewDeleteInstanceConfigurationParamsWithHTTPClient(client *http.Client) *DeleteInstanceConfigurationParams
NewDeleteInstanceConfigurationParamsWithHTTPClient creates a new DeleteInstanceConfigurationParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteInstanceConfigurationParamsWithTimeout ¶
func NewDeleteInstanceConfigurationParamsWithTimeout(timeout time.Duration) *DeleteInstanceConfigurationParams
NewDeleteInstanceConfigurationParamsWithTimeout creates a new DeleteInstanceConfigurationParams object with the ability to set a timeout on a request.
func (*DeleteInstanceConfigurationParams) SetContext ¶
func (o *DeleteInstanceConfigurationParams) SetContext(ctx context.Context)
SetContext adds the context to the delete instance configuration params
func (*DeleteInstanceConfigurationParams) SetDefaults ¶
func (o *DeleteInstanceConfigurationParams) SetDefaults()
SetDefaults hydrates default values in the delete instance configuration params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteInstanceConfigurationParams) SetHTTPClient ¶
func (o *DeleteInstanceConfigurationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete instance configuration params
func (*DeleteInstanceConfigurationParams) SetID ¶
func (o *DeleteInstanceConfigurationParams) SetID(id string)
SetID adds the id to the delete instance configuration params
func (*DeleteInstanceConfigurationParams) SetTimeout ¶
func (o *DeleteInstanceConfigurationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete instance configuration params
func (*DeleteInstanceConfigurationParams) SetVersion ¶
func (o *DeleteInstanceConfigurationParams) SetVersion(version *int64)
SetVersion adds the version to the delete instance configuration params
func (*DeleteInstanceConfigurationParams) WithContext ¶
func (o *DeleteInstanceConfigurationParams) WithContext(ctx context.Context) *DeleteInstanceConfigurationParams
WithContext adds the context to the delete instance configuration params
func (*DeleteInstanceConfigurationParams) WithDefaults ¶
func (o *DeleteInstanceConfigurationParams) WithDefaults() *DeleteInstanceConfigurationParams
WithDefaults hydrates default values in the delete instance configuration params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteInstanceConfigurationParams) WithHTTPClient ¶
func (o *DeleteInstanceConfigurationParams) WithHTTPClient(client *http.Client) *DeleteInstanceConfigurationParams
WithHTTPClient adds the HTTPClient to the delete instance configuration params
func (*DeleteInstanceConfigurationParams) WithID ¶
func (o *DeleteInstanceConfigurationParams) WithID(id string) *DeleteInstanceConfigurationParams
WithID adds the id to the delete instance configuration params
func (*DeleteInstanceConfigurationParams) WithTimeout ¶
func (o *DeleteInstanceConfigurationParams) WithTimeout(timeout time.Duration) *DeleteInstanceConfigurationParams
WithTimeout adds the timeout to the delete instance configuration params
func (*DeleteInstanceConfigurationParams) WithVersion ¶
func (o *DeleteInstanceConfigurationParams) WithVersion(version *int64) *DeleteInstanceConfigurationParams
WithVersion adds the version to the delete instance configuration params
func (*DeleteInstanceConfigurationParams) WriteToRequest ¶
func (o *DeleteInstanceConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteInstanceConfigurationReader ¶
type DeleteInstanceConfigurationReader struct {
// contains filtered or unexported fields
}
DeleteInstanceConfigurationReader is a Reader for the DeleteInstanceConfiguration structure.
func (*DeleteInstanceConfigurationReader) ReadResponse ¶
func (o *DeleteInstanceConfigurationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetInstanceConfigurationNotFound ¶
type GetInstanceConfigurationNotFound struct {
Payload *models.BasicFailedReply
}
GetInstanceConfigurationNotFound describes a response with status code 404, with default header values.
Instance configuration specified by {id} cannot be found (code: 'configuration.instance_configuration_not_found')
func NewGetInstanceConfigurationNotFound ¶
func NewGetInstanceConfigurationNotFound() *GetInstanceConfigurationNotFound
NewGetInstanceConfigurationNotFound creates a GetInstanceConfigurationNotFound with default headers values
func (*GetInstanceConfigurationNotFound) Code ¶
func (o *GetInstanceConfigurationNotFound) Code() int
Code gets the status code for the get instance configuration not found response
func (*GetInstanceConfigurationNotFound) Error ¶
func (o *GetInstanceConfigurationNotFound) Error() string
func (*GetInstanceConfigurationNotFound) GetPayload ¶
func (o *GetInstanceConfigurationNotFound) GetPayload() *models.BasicFailedReply
func (*GetInstanceConfigurationNotFound) IsClientError ¶
func (o *GetInstanceConfigurationNotFound) IsClientError() bool
IsClientError returns true when this get instance configuration not found response has a 4xx status code
func (*GetInstanceConfigurationNotFound) IsCode ¶
func (o *GetInstanceConfigurationNotFound) IsCode(code int) bool
IsCode returns true when this get instance configuration not found response a status code equal to that given
func (*GetInstanceConfigurationNotFound) IsRedirect ¶
func (o *GetInstanceConfigurationNotFound) IsRedirect() bool
IsRedirect returns true when this get instance configuration not found response has a 3xx status code
func (*GetInstanceConfigurationNotFound) IsServerError ¶
func (o *GetInstanceConfigurationNotFound) IsServerError() bool
IsServerError returns true when this get instance configuration not found response has a 5xx status code
func (*GetInstanceConfigurationNotFound) IsSuccess ¶
func (o *GetInstanceConfigurationNotFound) IsSuccess() bool
IsSuccess returns true when this get instance configuration not found response has a 2xx status code
func (*GetInstanceConfigurationNotFound) String ¶
func (o *GetInstanceConfigurationNotFound) String() string
type GetInstanceConfigurationOK ¶
type GetInstanceConfigurationOK struct {
Payload *models.InstanceConfiguration
}
GetInstanceConfigurationOK describes a response with status code 200, with default header values.
An InstanceConfiguration
func NewGetInstanceConfigurationOK ¶
func NewGetInstanceConfigurationOK() *GetInstanceConfigurationOK
NewGetInstanceConfigurationOK creates a GetInstanceConfigurationOK with default headers values
func (*GetInstanceConfigurationOK) Code ¶
func (o *GetInstanceConfigurationOK) Code() int
Code gets the status code for the get instance configuration o k response
func (*GetInstanceConfigurationOK) Error ¶
func (o *GetInstanceConfigurationOK) Error() string
func (*GetInstanceConfigurationOK) GetPayload ¶
func (o *GetInstanceConfigurationOK) GetPayload() *models.InstanceConfiguration
func (*GetInstanceConfigurationOK) IsClientError ¶
func (o *GetInstanceConfigurationOK) IsClientError() bool
IsClientError returns true when this get instance configuration o k response has a 4xx status code
func (*GetInstanceConfigurationOK) IsCode ¶
func (o *GetInstanceConfigurationOK) IsCode(code int) bool
IsCode returns true when this get instance configuration o k response a status code equal to that given
func (*GetInstanceConfigurationOK) IsRedirect ¶
func (o *GetInstanceConfigurationOK) IsRedirect() bool
IsRedirect returns true when this get instance configuration o k response has a 3xx status code
func (*GetInstanceConfigurationOK) IsServerError ¶
func (o *GetInstanceConfigurationOK) IsServerError() bool
IsServerError returns true when this get instance configuration o k response has a 5xx status code
func (*GetInstanceConfigurationOK) IsSuccess ¶
func (o *GetInstanceConfigurationOK) IsSuccess() bool
IsSuccess returns true when this get instance configuration o k response has a 2xx status code
func (*GetInstanceConfigurationOK) String ¶
func (o *GetInstanceConfigurationOK) String() string
type GetInstanceConfigurationParams ¶
type GetInstanceConfigurationParams struct { /* ConfigVersion. Optionally retrieve the specified config version of the IC (otherwise retrieves the latest/only version) */ ConfigVersion *int64 /* ID. ID of the instance configuration */ ID string /* ShowDeleted. If true, if the instance configuration has been marked for deletion it is still returned. Otherwise, instance configurations marked for deletion generate a 404 */ ShowDeleted *bool /* ShowMaxZones. If true, will populate the max_zones field of the instance configuration. */ ShowMaxZones *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetInstanceConfigurationParams contains all the parameters to send to the API endpoint
for the get instance configuration operation. Typically these are written to a http.Request.
func NewGetInstanceConfigurationParams ¶
func NewGetInstanceConfigurationParams() *GetInstanceConfigurationParams
NewGetInstanceConfigurationParams creates a new GetInstanceConfigurationParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetInstanceConfigurationParamsWithContext ¶
func NewGetInstanceConfigurationParamsWithContext(ctx context.Context) *GetInstanceConfigurationParams
NewGetInstanceConfigurationParamsWithContext creates a new GetInstanceConfigurationParams object with the ability to set a context for a request.
func NewGetInstanceConfigurationParamsWithHTTPClient ¶
func NewGetInstanceConfigurationParamsWithHTTPClient(client *http.Client) *GetInstanceConfigurationParams
NewGetInstanceConfigurationParamsWithHTTPClient creates a new GetInstanceConfigurationParams object with the ability to set a custom HTTPClient for a request.
func NewGetInstanceConfigurationParamsWithTimeout ¶
func NewGetInstanceConfigurationParamsWithTimeout(timeout time.Duration) *GetInstanceConfigurationParams
NewGetInstanceConfigurationParamsWithTimeout creates a new GetInstanceConfigurationParams object with the ability to set a timeout on a request.
func (*GetInstanceConfigurationParams) SetConfigVersion ¶
func (o *GetInstanceConfigurationParams) SetConfigVersion(configVersion *int64)
SetConfigVersion adds the configVersion to the get instance configuration params
func (*GetInstanceConfigurationParams) SetContext ¶
func (o *GetInstanceConfigurationParams) SetContext(ctx context.Context)
SetContext adds the context to the get instance configuration params
func (*GetInstanceConfigurationParams) SetDefaults ¶
func (o *GetInstanceConfigurationParams) SetDefaults()
SetDefaults hydrates default values in the get instance configuration params (not the query body).
All values with no default are reset to their zero value.
func (*GetInstanceConfigurationParams) SetHTTPClient ¶
func (o *GetInstanceConfigurationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get instance configuration params
func (*GetInstanceConfigurationParams) SetID ¶
func (o *GetInstanceConfigurationParams) SetID(id string)
SetID adds the id to the get instance configuration params
func (*GetInstanceConfigurationParams) SetShowDeleted ¶
func (o *GetInstanceConfigurationParams) SetShowDeleted(showDeleted *bool)
SetShowDeleted adds the showDeleted to the get instance configuration params
func (*GetInstanceConfigurationParams) SetShowMaxZones ¶
func (o *GetInstanceConfigurationParams) SetShowMaxZones(showMaxZones *bool)
SetShowMaxZones adds the showMaxZones to the get instance configuration params
func (*GetInstanceConfigurationParams) SetTimeout ¶
func (o *GetInstanceConfigurationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get instance configuration params
func (*GetInstanceConfigurationParams) WithConfigVersion ¶
func (o *GetInstanceConfigurationParams) WithConfigVersion(configVersion *int64) *GetInstanceConfigurationParams
WithConfigVersion adds the configVersion to the get instance configuration params
func (*GetInstanceConfigurationParams) WithContext ¶
func (o *GetInstanceConfigurationParams) WithContext(ctx context.Context) *GetInstanceConfigurationParams
WithContext adds the context to the get instance configuration params
func (*GetInstanceConfigurationParams) WithDefaults ¶
func (o *GetInstanceConfigurationParams) WithDefaults() *GetInstanceConfigurationParams
WithDefaults hydrates default values in the get instance configuration params (not the query body).
All values with no default are reset to their zero value.
func (*GetInstanceConfigurationParams) WithHTTPClient ¶
func (o *GetInstanceConfigurationParams) WithHTTPClient(client *http.Client) *GetInstanceConfigurationParams
WithHTTPClient adds the HTTPClient to the get instance configuration params
func (*GetInstanceConfigurationParams) WithID ¶
func (o *GetInstanceConfigurationParams) WithID(id string) *GetInstanceConfigurationParams
WithID adds the id to the get instance configuration params
func (*GetInstanceConfigurationParams) WithShowDeleted ¶
func (o *GetInstanceConfigurationParams) WithShowDeleted(showDeleted *bool) *GetInstanceConfigurationParams
WithShowDeleted adds the showDeleted to the get instance configuration params
func (*GetInstanceConfigurationParams) WithShowMaxZones ¶
func (o *GetInstanceConfigurationParams) WithShowMaxZones(showMaxZones *bool) *GetInstanceConfigurationParams
WithShowMaxZones adds the showMaxZones to the get instance configuration params
func (*GetInstanceConfigurationParams) WithTimeout ¶
func (o *GetInstanceConfigurationParams) WithTimeout(timeout time.Duration) *GetInstanceConfigurationParams
WithTimeout adds the timeout to the get instance configuration params
func (*GetInstanceConfigurationParams) WriteToRequest ¶
func (o *GetInstanceConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetInstanceConfigurationReader ¶
type GetInstanceConfigurationReader struct {
// contains filtered or unexported fields
}
GetInstanceConfigurationReader is a Reader for the GetInstanceConfiguration structure.
func (*GetInstanceConfigurationReader) ReadResponse ¶
func (o *GetInstanceConfigurationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetInstanceConfigurationsOK ¶
type GetInstanceConfigurationsOK struct {
Payload []*models.InstanceConfiguration
}
GetInstanceConfigurationsOK describes a response with status code 200, with default header values.
A InstanceConfiguration
func NewGetInstanceConfigurationsOK ¶
func NewGetInstanceConfigurationsOK() *GetInstanceConfigurationsOK
NewGetInstanceConfigurationsOK creates a GetInstanceConfigurationsOK with default headers values
func (*GetInstanceConfigurationsOK) Code ¶
func (o *GetInstanceConfigurationsOK) Code() int
Code gets the status code for the get instance configurations o k response
func (*GetInstanceConfigurationsOK) Error ¶
func (o *GetInstanceConfigurationsOK) Error() string
func (*GetInstanceConfigurationsOK) GetPayload ¶
func (o *GetInstanceConfigurationsOK) GetPayload() []*models.InstanceConfiguration
func (*GetInstanceConfigurationsOK) IsClientError ¶
func (o *GetInstanceConfigurationsOK) IsClientError() bool
IsClientError returns true when this get instance configurations o k response has a 4xx status code
func (*GetInstanceConfigurationsOK) IsCode ¶
func (o *GetInstanceConfigurationsOK) IsCode(code int) bool
IsCode returns true when this get instance configurations o k response a status code equal to that given
func (*GetInstanceConfigurationsOK) IsRedirect ¶
func (o *GetInstanceConfigurationsOK) IsRedirect() bool
IsRedirect returns true when this get instance configurations o k response has a 3xx status code
func (*GetInstanceConfigurationsOK) IsServerError ¶
func (o *GetInstanceConfigurationsOK) IsServerError() bool
IsServerError returns true when this get instance configurations o k response has a 5xx status code
func (*GetInstanceConfigurationsOK) IsSuccess ¶
func (o *GetInstanceConfigurationsOK) IsSuccess() bool
IsSuccess returns true when this get instance configurations o k response has a 2xx status code
func (*GetInstanceConfigurationsOK) String ¶
func (o *GetInstanceConfigurationsOK) String() string
type GetInstanceConfigurationsParams ¶
type GetInstanceConfigurationsParams struct { /* ShowDeleted. If true, instance configurations marked for deletions are also returned. Otherwise, only instance configurations not marked for deletion are returned */ ShowDeleted *bool /* ShowMaxZones. If true, will populate the max_zones field of the instance configurations. */ ShowMaxZones *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetInstanceConfigurationsParams contains all the parameters to send to the API endpoint
for the get instance configurations operation. Typically these are written to a http.Request.
func NewGetInstanceConfigurationsParams ¶
func NewGetInstanceConfigurationsParams() *GetInstanceConfigurationsParams
NewGetInstanceConfigurationsParams creates a new GetInstanceConfigurationsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetInstanceConfigurationsParamsWithContext ¶
func NewGetInstanceConfigurationsParamsWithContext(ctx context.Context) *GetInstanceConfigurationsParams
NewGetInstanceConfigurationsParamsWithContext creates a new GetInstanceConfigurationsParams object with the ability to set a context for a request.
func NewGetInstanceConfigurationsParamsWithHTTPClient ¶
func NewGetInstanceConfigurationsParamsWithHTTPClient(client *http.Client) *GetInstanceConfigurationsParams
NewGetInstanceConfigurationsParamsWithHTTPClient creates a new GetInstanceConfigurationsParams object with the ability to set a custom HTTPClient for a request.
func NewGetInstanceConfigurationsParamsWithTimeout ¶
func NewGetInstanceConfigurationsParamsWithTimeout(timeout time.Duration) *GetInstanceConfigurationsParams
NewGetInstanceConfigurationsParamsWithTimeout creates a new GetInstanceConfigurationsParams object with the ability to set a timeout on a request.
func (*GetInstanceConfigurationsParams) SetContext ¶
func (o *GetInstanceConfigurationsParams) SetContext(ctx context.Context)
SetContext adds the context to the get instance configurations params
func (*GetInstanceConfigurationsParams) SetDefaults ¶
func (o *GetInstanceConfigurationsParams) SetDefaults()
SetDefaults hydrates default values in the get instance configurations params (not the query body).
All values with no default are reset to their zero value.
func (*GetInstanceConfigurationsParams) SetHTTPClient ¶
func (o *GetInstanceConfigurationsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get instance configurations params
func (*GetInstanceConfigurationsParams) SetShowDeleted ¶
func (o *GetInstanceConfigurationsParams) SetShowDeleted(showDeleted *bool)
SetShowDeleted adds the showDeleted to the get instance configurations params
func (*GetInstanceConfigurationsParams) SetShowMaxZones ¶
func (o *GetInstanceConfigurationsParams) SetShowMaxZones(showMaxZones *bool)
SetShowMaxZones adds the showMaxZones to the get instance configurations params
func (*GetInstanceConfigurationsParams) SetTimeout ¶
func (o *GetInstanceConfigurationsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get instance configurations params
func (*GetInstanceConfigurationsParams) WithContext ¶
func (o *GetInstanceConfigurationsParams) WithContext(ctx context.Context) *GetInstanceConfigurationsParams
WithContext adds the context to the get instance configurations params
func (*GetInstanceConfigurationsParams) WithDefaults ¶
func (o *GetInstanceConfigurationsParams) WithDefaults() *GetInstanceConfigurationsParams
WithDefaults hydrates default values in the get instance configurations params (not the query body).
All values with no default are reset to their zero value.
func (*GetInstanceConfigurationsParams) WithHTTPClient ¶
func (o *GetInstanceConfigurationsParams) WithHTTPClient(client *http.Client) *GetInstanceConfigurationsParams
WithHTTPClient adds the HTTPClient to the get instance configurations params
func (*GetInstanceConfigurationsParams) WithShowDeleted ¶
func (o *GetInstanceConfigurationsParams) WithShowDeleted(showDeleted *bool) *GetInstanceConfigurationsParams
WithShowDeleted adds the showDeleted to the get instance configurations params
func (*GetInstanceConfigurationsParams) WithShowMaxZones ¶
func (o *GetInstanceConfigurationsParams) WithShowMaxZones(showMaxZones *bool) *GetInstanceConfigurationsParams
WithShowMaxZones adds the showMaxZones to the get instance configurations params
func (*GetInstanceConfigurationsParams) WithTimeout ¶
func (o *GetInstanceConfigurationsParams) WithTimeout(timeout time.Duration) *GetInstanceConfigurationsParams
WithTimeout adds the timeout to the get instance configurations params
func (*GetInstanceConfigurationsParams) WriteToRequest ¶
func (o *GetInstanceConfigurationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetInstanceConfigurationsReader ¶
type GetInstanceConfigurationsReader struct {
// contains filtered or unexported fields
}
GetInstanceConfigurationsReader is a Reader for the GetInstanceConfigurations structure.
func (*GetInstanceConfigurationsReader) ReadResponse ¶
func (o *GetInstanceConfigurationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetInstanceConfigurationBadRequest ¶
type SetInstanceConfigurationBadRequest struct {
Payload *models.BasicFailedReply
}
SetInstanceConfigurationBadRequest describes a response with status code 400, with default header values.
cluster_type in the InstanceConfiguration model is invalid (code: 'configuration.invalid_cluster_type') or the ZooKeeper operation failed due to bad version, etc. (code: 'configuration.instance_configuration_update_failed') or the id in the InstanceConfiguration model is reserved/prohibited (code: 'configuration.configuration_id_reserved') or the discrete_sizes in the InstanceConfiguration model is invalid (code: 'configuration.invalid_discrete_sizes') or the metadata in the InstanceConfiguration model has empty keys or values (code: 'configuration.bad_meta_data')
func NewSetInstanceConfigurationBadRequest ¶
func NewSetInstanceConfigurationBadRequest() *SetInstanceConfigurationBadRequest
NewSetInstanceConfigurationBadRequest creates a SetInstanceConfigurationBadRequest with default headers values
func (*SetInstanceConfigurationBadRequest) Code ¶
func (o *SetInstanceConfigurationBadRequest) Code() int
Code gets the status code for the set instance configuration bad request response
func (*SetInstanceConfigurationBadRequest) Error ¶
func (o *SetInstanceConfigurationBadRequest) Error() string
func (*SetInstanceConfigurationBadRequest) GetPayload ¶
func (o *SetInstanceConfigurationBadRequest) GetPayload() *models.BasicFailedReply
func (*SetInstanceConfigurationBadRequest) IsClientError ¶
func (o *SetInstanceConfigurationBadRequest) IsClientError() bool
IsClientError returns true when this set instance configuration bad request response has a 4xx status code
func (*SetInstanceConfigurationBadRequest) IsCode ¶
func (o *SetInstanceConfigurationBadRequest) IsCode(code int) bool
IsCode returns true when this set instance configuration bad request response a status code equal to that given
func (*SetInstanceConfigurationBadRequest) IsRedirect ¶
func (o *SetInstanceConfigurationBadRequest) IsRedirect() bool
IsRedirect returns true when this set instance configuration bad request response has a 3xx status code
func (*SetInstanceConfigurationBadRequest) IsServerError ¶
func (o *SetInstanceConfigurationBadRequest) IsServerError() bool
IsServerError returns true when this set instance configuration bad request response has a 5xx status code
func (*SetInstanceConfigurationBadRequest) IsSuccess ¶
func (o *SetInstanceConfigurationBadRequest) IsSuccess() bool
IsSuccess returns true when this set instance configuration bad request response has a 2xx status code
func (*SetInstanceConfigurationBadRequest) String ¶
func (o *SetInstanceConfigurationBadRequest) String() string
type SetInstanceConfigurationCreated ¶
type SetInstanceConfigurationCreated struct {
Payload *models.VersionedIDResponse
}
SetInstanceConfigurationCreated describes a response with status code 201, with default header values.
The instance configuration was created successfully.
func NewSetInstanceConfigurationCreated ¶
func NewSetInstanceConfigurationCreated() *SetInstanceConfigurationCreated
NewSetInstanceConfigurationCreated creates a SetInstanceConfigurationCreated with default headers values
func (*SetInstanceConfigurationCreated) Code ¶
func (o *SetInstanceConfigurationCreated) Code() int
Code gets the status code for the set instance configuration created response
func (*SetInstanceConfigurationCreated) Error ¶
func (o *SetInstanceConfigurationCreated) Error() string
func (*SetInstanceConfigurationCreated) GetPayload ¶
func (o *SetInstanceConfigurationCreated) GetPayload() *models.VersionedIDResponse
func (*SetInstanceConfigurationCreated) IsClientError ¶
func (o *SetInstanceConfigurationCreated) IsClientError() bool
IsClientError returns true when this set instance configuration created response has a 4xx status code
func (*SetInstanceConfigurationCreated) IsCode ¶
func (o *SetInstanceConfigurationCreated) IsCode(code int) bool
IsCode returns true when this set instance configuration created response a status code equal to that given
func (*SetInstanceConfigurationCreated) IsRedirect ¶
func (o *SetInstanceConfigurationCreated) IsRedirect() bool
IsRedirect returns true when this set instance configuration created response has a 3xx status code
func (*SetInstanceConfigurationCreated) IsServerError ¶
func (o *SetInstanceConfigurationCreated) IsServerError() bool
IsServerError returns true when this set instance configuration created response has a 5xx status code
func (*SetInstanceConfigurationCreated) IsSuccess ¶
func (o *SetInstanceConfigurationCreated) IsSuccess() bool
IsSuccess returns true when this set instance configuration created response has a 2xx status code
func (*SetInstanceConfigurationCreated) String ¶
func (o *SetInstanceConfigurationCreated) String() string
type SetInstanceConfigurationForbidden ¶
type SetInstanceConfigurationForbidden struct {
Payload *models.BasicFailedReply
}
SetInstanceConfigurationForbidden describes a response with status code 403, with default header values.
system_owned or deleted_on cannot be set externally (code: 'configuration.system_owned')
func NewSetInstanceConfigurationForbidden ¶
func NewSetInstanceConfigurationForbidden() *SetInstanceConfigurationForbidden
NewSetInstanceConfigurationForbidden creates a SetInstanceConfigurationForbidden with default headers values
func (*SetInstanceConfigurationForbidden) Code ¶
func (o *SetInstanceConfigurationForbidden) Code() int
Code gets the status code for the set instance configuration forbidden response
func (*SetInstanceConfigurationForbidden) Error ¶
func (o *SetInstanceConfigurationForbidden) Error() string
func (*SetInstanceConfigurationForbidden) GetPayload ¶
func (o *SetInstanceConfigurationForbidden) GetPayload() *models.BasicFailedReply
func (*SetInstanceConfigurationForbidden) IsClientError ¶
func (o *SetInstanceConfigurationForbidden) IsClientError() bool
IsClientError returns true when this set instance configuration forbidden response has a 4xx status code
func (*SetInstanceConfigurationForbidden) IsCode ¶
func (o *SetInstanceConfigurationForbidden) IsCode(code int) bool
IsCode returns true when this set instance configuration forbidden response a status code equal to that given
func (*SetInstanceConfigurationForbidden) IsRedirect ¶
func (o *SetInstanceConfigurationForbidden) IsRedirect() bool
IsRedirect returns true when this set instance configuration forbidden response has a 3xx status code
func (*SetInstanceConfigurationForbidden) IsServerError ¶
func (o *SetInstanceConfigurationForbidden) IsServerError() bool
IsServerError returns true when this set instance configuration forbidden response has a 5xx status code
func (*SetInstanceConfigurationForbidden) IsSuccess ¶
func (o *SetInstanceConfigurationForbidden) IsSuccess() bool
IsSuccess returns true when this set instance configuration forbidden response has a 2xx status code
func (*SetInstanceConfigurationForbidden) String ¶
func (o *SetInstanceConfigurationForbidden) String() string
type SetInstanceConfigurationNotFound ¶
type SetInstanceConfigurationNotFound struct {
Payload *models.BasicFailedReply
}
SetInstanceConfigurationNotFound describes a response with status code 404, with default header values.
Instance configuration specified by {id} cannot be found or the operation failed (code: 'configuration.instance_configuration_not_found')
func NewSetInstanceConfigurationNotFound ¶
func NewSetInstanceConfigurationNotFound() *SetInstanceConfigurationNotFound
NewSetInstanceConfigurationNotFound creates a SetInstanceConfigurationNotFound with default headers values
func (*SetInstanceConfigurationNotFound) Code ¶
func (o *SetInstanceConfigurationNotFound) Code() int
Code gets the status code for the set instance configuration not found response
func (*SetInstanceConfigurationNotFound) Error ¶
func (o *SetInstanceConfigurationNotFound) Error() string
func (*SetInstanceConfigurationNotFound) GetPayload ¶
func (o *SetInstanceConfigurationNotFound) GetPayload() *models.BasicFailedReply
func (*SetInstanceConfigurationNotFound) IsClientError ¶
func (o *SetInstanceConfigurationNotFound) IsClientError() bool
IsClientError returns true when this set instance configuration not found response has a 4xx status code
func (*SetInstanceConfigurationNotFound) IsCode ¶
func (o *SetInstanceConfigurationNotFound) IsCode(code int) bool
IsCode returns true when this set instance configuration not found response a status code equal to that given
func (*SetInstanceConfigurationNotFound) IsRedirect ¶
func (o *SetInstanceConfigurationNotFound) IsRedirect() bool
IsRedirect returns true when this set instance configuration not found response has a 3xx status code
func (*SetInstanceConfigurationNotFound) IsServerError ¶
func (o *SetInstanceConfigurationNotFound) IsServerError() bool
IsServerError returns true when this set instance configuration not found response has a 5xx status code
func (*SetInstanceConfigurationNotFound) IsSuccess ¶
func (o *SetInstanceConfigurationNotFound) IsSuccess() bool
IsSuccess returns true when this set instance configuration not found response has a 2xx status code
func (*SetInstanceConfigurationNotFound) String ¶
func (o *SetInstanceConfigurationNotFound) String() string
type SetInstanceConfigurationOK ¶
type SetInstanceConfigurationOK struct {
Payload *models.VersionedIDResponse
}
SetInstanceConfigurationOK describes a response with status code 200, with default header values.
The instance configuration was updated successfully.
func NewSetInstanceConfigurationOK ¶
func NewSetInstanceConfigurationOK() *SetInstanceConfigurationOK
NewSetInstanceConfigurationOK creates a SetInstanceConfigurationOK with default headers values
func (*SetInstanceConfigurationOK) Code ¶
func (o *SetInstanceConfigurationOK) Code() int
Code gets the status code for the set instance configuration o k response
func (*SetInstanceConfigurationOK) Error ¶
func (o *SetInstanceConfigurationOK) Error() string
func (*SetInstanceConfigurationOK) GetPayload ¶
func (o *SetInstanceConfigurationOK) GetPayload() *models.VersionedIDResponse
func (*SetInstanceConfigurationOK) IsClientError ¶
func (o *SetInstanceConfigurationOK) IsClientError() bool
IsClientError returns true when this set instance configuration o k response has a 4xx status code
func (*SetInstanceConfigurationOK) IsCode ¶
func (o *SetInstanceConfigurationOK) IsCode(code int) bool
IsCode returns true when this set instance configuration o k response a status code equal to that given
func (*SetInstanceConfigurationOK) IsRedirect ¶
func (o *SetInstanceConfigurationOK) IsRedirect() bool
IsRedirect returns true when this set instance configuration o k response has a 3xx status code
func (*SetInstanceConfigurationOK) IsServerError ¶
func (o *SetInstanceConfigurationOK) IsServerError() bool
IsServerError returns true when this set instance configuration o k response has a 5xx status code
func (*SetInstanceConfigurationOK) IsSuccess ¶
func (o *SetInstanceConfigurationOK) IsSuccess() bool
IsSuccess returns true when this set instance configuration o k response has a 2xx status code
func (*SetInstanceConfigurationOK) String ¶
func (o *SetInstanceConfigurationOK) String() string
type SetInstanceConfigurationParams ¶
type SetInstanceConfigurationParams struct { /* ConfigControl. If true, then an update that changes immutable fields will create a new version of the IC (leaving the previous ones accessible via 'config_version'). Otherwise such updates will fail. */ ConfigControl *bool /* CreateOnly. If true, will fail if an instance configuration already exists at the given id */ CreateOnly *bool /* ID. ID of the instance configuration */ ID string /* Instance. the Instance Configuration */ Instance *models.InstanceConfiguration /* StrictMode. If true, then allocator_filter and storage_multiplier cannot be changed in an existing IC. Defaults to false unless config_control is true (in which case a new version is created) */ StrictMode *bool /* TestConfig. If true, The IC is added as a test version (set 'instance_config_version': -1 in the deployment request to reference), leaving the existing IC alone. Will error if the IC doesn't already exist. */ TestConfig *bool /* Version. This is a database-level field, not related to the application-level 'config_version', except as described in the following docs. If specified, checks for conflicts against 'x-cloud-resource-version' from the GET request (where the 'config_version' in the GET should match the the 'configuration_version' in the PUT body if the IC is configuration controlled). */ Version *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SetInstanceConfigurationParams contains all the parameters to send to the API endpoint
for the set instance configuration operation. Typically these are written to a http.Request.
func NewSetInstanceConfigurationParams ¶
func NewSetInstanceConfigurationParams() *SetInstanceConfigurationParams
NewSetInstanceConfigurationParams creates a new SetInstanceConfigurationParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSetInstanceConfigurationParamsWithContext ¶
func NewSetInstanceConfigurationParamsWithContext(ctx context.Context) *SetInstanceConfigurationParams
NewSetInstanceConfigurationParamsWithContext creates a new SetInstanceConfigurationParams object with the ability to set a context for a request.
func NewSetInstanceConfigurationParamsWithHTTPClient ¶
func NewSetInstanceConfigurationParamsWithHTTPClient(client *http.Client) *SetInstanceConfigurationParams
NewSetInstanceConfigurationParamsWithHTTPClient creates a new SetInstanceConfigurationParams object with the ability to set a custom HTTPClient for a request.
func NewSetInstanceConfigurationParamsWithTimeout ¶
func NewSetInstanceConfigurationParamsWithTimeout(timeout time.Duration) *SetInstanceConfigurationParams
NewSetInstanceConfigurationParamsWithTimeout creates a new SetInstanceConfigurationParams object with the ability to set a timeout on a request.
func (*SetInstanceConfigurationParams) SetConfigControl ¶
func (o *SetInstanceConfigurationParams) SetConfigControl(configControl *bool)
SetConfigControl adds the configControl to the set instance configuration params
func (*SetInstanceConfigurationParams) SetContext ¶
func (o *SetInstanceConfigurationParams) SetContext(ctx context.Context)
SetContext adds the context to the set instance configuration params
func (*SetInstanceConfigurationParams) SetCreateOnly ¶
func (o *SetInstanceConfigurationParams) SetCreateOnly(createOnly *bool)
SetCreateOnly adds the createOnly to the set instance configuration params
func (*SetInstanceConfigurationParams) SetDefaults ¶
func (o *SetInstanceConfigurationParams) SetDefaults()
SetDefaults hydrates default values in the set instance configuration params (not the query body).
All values with no default are reset to their zero value.
func (*SetInstanceConfigurationParams) SetHTTPClient ¶
func (o *SetInstanceConfigurationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set instance configuration params
func (*SetInstanceConfigurationParams) SetID ¶
func (o *SetInstanceConfigurationParams) SetID(id string)
SetID adds the id to the set instance configuration params
func (*SetInstanceConfigurationParams) SetInstance ¶
func (o *SetInstanceConfigurationParams) SetInstance(instance *models.InstanceConfiguration)
SetInstance adds the instance to the set instance configuration params
func (*SetInstanceConfigurationParams) SetStrictMode ¶
func (o *SetInstanceConfigurationParams) SetStrictMode(strictMode *bool)
SetStrictMode adds the strictMode to the set instance configuration params
func (*SetInstanceConfigurationParams) SetTestConfig ¶
func (o *SetInstanceConfigurationParams) SetTestConfig(testConfig *bool)
SetTestConfig adds the testConfig to the set instance configuration params
func (*SetInstanceConfigurationParams) SetTimeout ¶
func (o *SetInstanceConfigurationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set instance configuration params
func (*SetInstanceConfigurationParams) SetVersion ¶
func (o *SetInstanceConfigurationParams) SetVersion(version *int64)
SetVersion adds the version to the set instance configuration params
func (*SetInstanceConfigurationParams) WithConfigControl ¶
func (o *SetInstanceConfigurationParams) WithConfigControl(configControl *bool) *SetInstanceConfigurationParams
WithConfigControl adds the configControl to the set instance configuration params
func (*SetInstanceConfigurationParams) WithContext ¶
func (o *SetInstanceConfigurationParams) WithContext(ctx context.Context) *SetInstanceConfigurationParams
WithContext adds the context to the set instance configuration params
func (*SetInstanceConfigurationParams) WithCreateOnly ¶
func (o *SetInstanceConfigurationParams) WithCreateOnly(createOnly *bool) *SetInstanceConfigurationParams
WithCreateOnly adds the createOnly to the set instance configuration params
func (*SetInstanceConfigurationParams) WithDefaults ¶
func (o *SetInstanceConfigurationParams) WithDefaults() *SetInstanceConfigurationParams
WithDefaults hydrates default values in the set instance configuration params (not the query body).
All values with no default are reset to their zero value.
func (*SetInstanceConfigurationParams) WithHTTPClient ¶
func (o *SetInstanceConfigurationParams) WithHTTPClient(client *http.Client) *SetInstanceConfigurationParams
WithHTTPClient adds the HTTPClient to the set instance configuration params
func (*SetInstanceConfigurationParams) WithID ¶
func (o *SetInstanceConfigurationParams) WithID(id string) *SetInstanceConfigurationParams
WithID adds the id to the set instance configuration params
func (*SetInstanceConfigurationParams) WithInstance ¶
func (o *SetInstanceConfigurationParams) WithInstance(instance *models.InstanceConfiguration) *SetInstanceConfigurationParams
WithInstance adds the instance to the set instance configuration params
func (*SetInstanceConfigurationParams) WithStrictMode ¶
func (o *SetInstanceConfigurationParams) WithStrictMode(strictMode *bool) *SetInstanceConfigurationParams
WithStrictMode adds the strictMode to the set instance configuration params
func (*SetInstanceConfigurationParams) WithTestConfig ¶
func (o *SetInstanceConfigurationParams) WithTestConfig(testConfig *bool) *SetInstanceConfigurationParams
WithTestConfig adds the testConfig to the set instance configuration params
func (*SetInstanceConfigurationParams) WithTimeout ¶
func (o *SetInstanceConfigurationParams) WithTimeout(timeout time.Duration) *SetInstanceConfigurationParams
WithTimeout adds the timeout to the set instance configuration params
func (*SetInstanceConfigurationParams) WithVersion ¶
func (o *SetInstanceConfigurationParams) WithVersion(version *int64) *SetInstanceConfigurationParams
WithVersion adds the version to the set instance configuration params
func (*SetInstanceConfigurationParams) WriteToRequest ¶
func (o *SetInstanceConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetInstanceConfigurationReader ¶
type SetInstanceConfigurationReader struct {
// contains filtered or unexported fields
}
SetInstanceConfigurationReader is a Reader for the SetInstanceConfiguration structure.
func (*SetInstanceConfigurationReader) ReadResponse ¶
func (o *SetInstanceConfigurationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_instance_configuration_parameters.go
- create_instance_configuration_responses.go
- delete_instance_configuration_parameters.go
- delete_instance_configuration_responses.go
- get_instance_configuration_parameters.go
- get_instance_configuration_responses.go
- get_instance_configurations_parameters.go
- get_instance_configurations_responses.go
- platform_configuration_instances_client.go
- set_instance_configuration_parameters.go
- set_instance_configuration_responses.go