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 CreateInstanceConfigurationBadRequest
- type CreateInstanceConfigurationCreated
- type CreateInstanceConfigurationForbidden
- 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) 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) 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 CreateInstanceConfigurationRetryWith
- type DeleteInstanceConfigurationForbidden
- type DeleteInstanceConfigurationNotFound
- type DeleteInstanceConfigurationOK
- 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) 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) 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 DeleteInstanceConfigurationRetryWith
- type GetInstanceConfigurationNotFound
- type GetInstanceConfigurationOK
- 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) SetContext(ctx context.Context)
- func (o *GetInstanceConfigurationParams) SetHTTPClient(client *http.Client)
- func (o *GetInstanceConfigurationParams) SetID(id string)
- func (o *GetInstanceConfigurationParams) SetShowDeleted(showDeleted *bool)
- func (o *GetInstanceConfigurationParams) SetTimeout(timeout time.Duration)
- func (o *GetInstanceConfigurationParams) WithContext(ctx context.Context) *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) WithTimeout(timeout time.Duration) *GetInstanceConfigurationParams
- func (o *GetInstanceConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInstanceConfigurationReader
- type GetInstanceConfigurationsOK
- 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) SetHTTPClient(client *http.Client)
- func (o *GetInstanceConfigurationsParams) SetShowDeleted(showDeleted *bool)
- func (o *GetInstanceConfigurationsParams) SetTimeout(timeout time.Duration)
- func (o *GetInstanceConfigurationsParams) WithContext(ctx context.Context) *GetInstanceConfigurationsParams
- func (o *GetInstanceConfigurationsParams) WithHTTPClient(client *http.Client) *GetInstanceConfigurationsParams
- func (o *GetInstanceConfigurationsParams) WithShowDeleted(showDeleted *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
- type SetInstanceConfigurationCreated
- type SetInstanceConfigurationForbidden
- type SetInstanceConfigurationNotFound
- type SetInstanceConfigurationOK
- 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) SetContext(ctx context.Context)
- func (o *SetInstanceConfigurationParams) SetCreateOnly(createOnly *bool)
- func (o *SetInstanceConfigurationParams) SetHTTPClient(client *http.Client)
- func (o *SetInstanceConfigurationParams) SetID(id string)
- func (o *SetInstanceConfigurationParams) SetInstance(instance *models.InstanceConfiguration)
- func (o *SetInstanceConfigurationParams) SetTimeout(timeout time.Duration)
- func (o *SetInstanceConfigurationParams) SetVersion(version *int64)
- func (o *SetInstanceConfigurationParams) WithContext(ctx context.Context) *SetInstanceConfigurationParams
- func (o *SetInstanceConfigurationParams) WithCreateOnly(createOnly *bool) *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) 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
- type SetInstanceConfigurationRetryWith
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 New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new platform configuration instances API client.
func (*Client) CreateInstanceConfiguration ¶
func (a *Client) CreateInstanceConfiguration(params *CreateInstanceConfigurationParams, authInfo runtime.ClientAuthInfoWriter) (*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) (*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) (*GetInstanceConfigurationOK, error)
GetInstanceConfiguration gets instance configuration
Get instance configuration by id.
func (*Client) GetInstanceConfigurations ¶
func (a *Client) GetInstanceConfigurations(params *GetInstanceConfigurationsParams, authInfo runtime.ClientAuthInfoWriter) (*GetInstanceConfigurationsOK, error)
GetInstanceConfigurations gets instance configurations
Get instance configurations.
func (*Client) SetInstanceConfiguration ¶
func (a *Client) SetInstanceConfiguration(params *SetInstanceConfigurationParams, authInfo runtime.ClientAuthInfoWriter) (*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 CreateInstanceConfigurationBadRequest ¶
type CreateInstanceConfigurationBadRequest struct {
Payload *models.BasicFailedReply
}
CreateInstanceConfigurationBadRequest handles this case 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) Error ¶
func (o *CreateInstanceConfigurationBadRequest) Error() string
type CreateInstanceConfigurationCreated ¶
type CreateInstanceConfigurationCreated struct {
Payload *models.IDResponse
}
CreateInstanceConfigurationCreated handles this case 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) Error ¶
func (o *CreateInstanceConfigurationCreated) Error() string
type CreateInstanceConfigurationForbidden ¶
type CreateInstanceConfigurationForbidden struct {
Payload *models.BasicFailedReply
}
CreateInstanceConfigurationForbidden handles this case 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) Error ¶
func (o *CreateInstanceConfigurationForbidden) Error() 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 values initialized.
func NewCreateInstanceConfigurationParamsWithContext ¶
func NewCreateInstanceConfigurationParamsWithContext(ctx context.Context) *CreateInstanceConfigurationParams
NewCreateInstanceConfigurationParamsWithContext creates a new CreateInstanceConfigurationParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 CreateInstanceConfigurationRetryWith ¶
type CreateInstanceConfigurationRetryWith struct {
Payload *models.BasicFailedReply
}
CreateInstanceConfigurationRetryWith handles this case with default header values.
elevated permissions are required. (code: '"root.unauthorized.rbac.elevated_permissions_required"')
func NewCreateInstanceConfigurationRetryWith ¶
func NewCreateInstanceConfigurationRetryWith() *CreateInstanceConfigurationRetryWith
NewCreateInstanceConfigurationRetryWith creates a CreateInstanceConfigurationRetryWith with default headers values
func (*CreateInstanceConfigurationRetryWith) Error ¶
func (o *CreateInstanceConfigurationRetryWith) Error() string
type DeleteInstanceConfigurationForbidden ¶
type DeleteInstanceConfigurationForbidden struct {
Payload *models.BasicFailedReply
}
DeleteInstanceConfigurationForbidden handles this case 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) Error ¶
func (o *DeleteInstanceConfigurationForbidden) Error() string
type DeleteInstanceConfigurationNotFound ¶
type DeleteInstanceConfigurationNotFound struct {
Payload *models.BasicFailedReply
}
DeleteInstanceConfigurationNotFound handles this case 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) Error ¶
func (o *DeleteInstanceConfigurationNotFound) Error() string
type DeleteInstanceConfigurationOK ¶
type DeleteInstanceConfigurationOK struct {
Payload models.EmptyResponse
}
DeleteInstanceConfigurationOK handles this case 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) Error ¶
func (o *DeleteInstanceConfigurationOK) Error() string
type DeleteInstanceConfigurationParams ¶
type DeleteInstanceConfigurationParams struct { /*ID ID of the instance configuration */ ID string /*Version If specified, checks for conflicts against the version of the repository configuration (returned in 'x-cloud-resource-version' of the GET request) */ 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 values initialized.
func NewDeleteInstanceConfigurationParamsWithContext ¶
func NewDeleteInstanceConfigurationParamsWithContext(ctx context.Context) *DeleteInstanceConfigurationParams
NewDeleteInstanceConfigurationParamsWithContext creates a new DeleteInstanceConfigurationParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 DeleteInstanceConfigurationRetryWith ¶
type DeleteInstanceConfigurationRetryWith struct {
Payload *models.BasicFailedReply
}
DeleteInstanceConfigurationRetryWith handles this case with default header values.
elevated permissions are required. (code: '"root.unauthorized.rbac.elevated_permissions_required"')
func NewDeleteInstanceConfigurationRetryWith ¶
func NewDeleteInstanceConfigurationRetryWith() *DeleteInstanceConfigurationRetryWith
NewDeleteInstanceConfigurationRetryWith creates a DeleteInstanceConfigurationRetryWith with default headers values
func (*DeleteInstanceConfigurationRetryWith) Error ¶
func (o *DeleteInstanceConfigurationRetryWith) Error() string
type GetInstanceConfigurationNotFound ¶
type GetInstanceConfigurationNotFound struct {
Payload *models.BasicFailedReply
}
GetInstanceConfigurationNotFound handles this case 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) Error ¶
func (o *GetInstanceConfigurationNotFound) Error() string
type GetInstanceConfigurationOK ¶
type GetInstanceConfigurationOK struct {
Payload *models.InstanceConfiguration
}
GetInstanceConfigurationOK handles this case with default header values.
An InstanceConfiguration
func NewGetInstanceConfigurationOK ¶
func NewGetInstanceConfigurationOK() *GetInstanceConfigurationOK
NewGetInstanceConfigurationOK creates a GetInstanceConfigurationOK with default headers values
func (*GetInstanceConfigurationOK) Error ¶
func (o *GetInstanceConfigurationOK) Error() string
type GetInstanceConfigurationParams ¶
type GetInstanceConfigurationParams struct { /*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 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 values initialized.
func NewGetInstanceConfigurationParamsWithContext ¶
func NewGetInstanceConfigurationParamsWithContext(ctx context.Context) *GetInstanceConfigurationParams
NewGetInstanceConfigurationParamsWithContext creates a new GetInstanceConfigurationParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request
func (*GetInstanceConfigurationParams) SetContext ¶
func (o *GetInstanceConfigurationParams) SetContext(ctx context.Context)
SetContext adds the context to the get instance configuration params
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) SetTimeout ¶
func (o *GetInstanceConfigurationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout 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) 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) 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 handles this case with default header values.
A InstanceConfiguration
func NewGetInstanceConfigurationsOK ¶
func NewGetInstanceConfigurationsOK() *GetInstanceConfigurationsOK
NewGetInstanceConfigurationsOK creates a GetInstanceConfigurationsOK with default headers values
func (*GetInstanceConfigurationsOK) Error ¶
func (o *GetInstanceConfigurationsOK) Error() 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 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 values initialized.
func NewGetInstanceConfigurationsParamsWithContext ¶
func NewGetInstanceConfigurationsParamsWithContext(ctx context.Context) *GetInstanceConfigurationsParams
NewGetInstanceConfigurationsParamsWithContext creates a new GetInstanceConfigurationsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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) 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) 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 handles this case 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) Error ¶
func (o *SetInstanceConfigurationBadRequest) Error() string
type SetInstanceConfigurationCreated ¶
type SetInstanceConfigurationCreated struct {
Payload *models.IDResponse
}
SetInstanceConfigurationCreated handles this case 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) Error ¶
func (o *SetInstanceConfigurationCreated) Error() string
type SetInstanceConfigurationForbidden ¶
type SetInstanceConfigurationForbidden struct {
Payload *models.BasicFailedReply
}
SetInstanceConfigurationForbidden handles this case 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) Error ¶
func (o *SetInstanceConfigurationForbidden) Error() string
type SetInstanceConfigurationNotFound ¶
type SetInstanceConfigurationNotFound struct {
Payload *models.BasicFailedReply
}
SetInstanceConfigurationNotFound handles this case 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) Error ¶
func (o *SetInstanceConfigurationNotFound) Error() string
type SetInstanceConfigurationOK ¶
type SetInstanceConfigurationOK struct {
Payload *models.IDResponse
}
SetInstanceConfigurationOK handles this case 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) Error ¶
func (o *SetInstanceConfigurationOK) Error() string
type SetInstanceConfigurationParams ¶
type SetInstanceConfigurationParams struct { /*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 /*Version If specified, checks for conflicts against the version of the repository configuration (returned in 'x-cloud-resource-version' of the GET request) */ 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 values initialized.
func NewSetInstanceConfigurationParamsWithContext ¶
func NewSetInstanceConfigurationParamsWithContext(ctx context.Context) *SetInstanceConfigurationParams
NewSetInstanceConfigurationParamsWithContext creates a new SetInstanceConfigurationParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request
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) 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) 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) 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) 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) 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.
type SetInstanceConfigurationRetryWith ¶
type SetInstanceConfigurationRetryWith struct {
Payload *models.BasicFailedReply
}
SetInstanceConfigurationRetryWith handles this case with default header values.
elevated permissions are required. (code: '"root.unauthorized.rbac.elevated_permissions_required"')
func NewSetInstanceConfigurationRetryWith ¶
func NewSetInstanceConfigurationRetryWith() *SetInstanceConfigurationRetryWith
NewSetInstanceConfigurationRetryWith creates a SetInstanceConfigurationRetryWith with default headers values
func (*SetInstanceConfigurationRetryWith) Error ¶
func (o *SetInstanceConfigurationRetryWith) Error() string
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