platform_configuration_instances

package
v1.0.0-bc12 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2020 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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

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

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

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

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

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

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

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

WithContext adds the context to the create instance configuration params

func (*CreateInstanceConfigurationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create instance configuration params

func (*CreateInstanceConfigurationParams) WithInstance

WithInstance adds the instance to the create instance configuration params

func (*CreateInstanceConfigurationParams) WithTimeout

WithTimeout adds the timeout to the create instance configuration params

func (*CreateInstanceConfigurationParams) WriteToRequest

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

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

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

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

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

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

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

WithContext adds the context to the delete instance configuration params

func (*DeleteInstanceConfigurationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete instance configuration params

func (*DeleteInstanceConfigurationParams) WithID

WithID adds the id to the delete instance configuration params

func (*DeleteInstanceConfigurationParams) WithTimeout

WithTimeout adds the timeout to the delete instance configuration params

func (*DeleteInstanceConfigurationParams) WithVersion

WithVersion adds the version to the delete instance configuration params

func (*DeleteInstanceConfigurationParams) WriteToRequest

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

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

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

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

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

WithContext adds the context to the get instance configuration params

func (*GetInstanceConfigurationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get instance configuration params

func (*GetInstanceConfigurationParams) WithID

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

WithTimeout adds the timeout to the get instance configuration params

func (*GetInstanceConfigurationParams) WriteToRequest

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

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

WithContext adds the context to the get instance configurations params

func (*GetInstanceConfigurationsParams) WithHTTPClient

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

WithTimeout adds the timeout to the get instance configurations params

func (*GetInstanceConfigurationsParams) WriteToRequest

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

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

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

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

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

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

SetID adds the id to the set instance configuration params

func (*SetInstanceConfigurationParams) SetInstance

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

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

WithHTTPClient adds the HTTPClient to the set instance configuration params

func (*SetInstanceConfigurationParams) WithID

WithID adds the id to the set instance configuration params

func (*SetInstanceConfigurationParams) WithInstance

WithInstance adds the instance to the set instance configuration params

func (*SetInstanceConfigurationParams) WithTimeout

WithTimeout adds the timeout to the set instance configuration params

func (*SetInstanceConfigurationParams) WithVersion

WithVersion adds the version to the set instance configuration params

func (*SetInstanceConfigurationParams) WriteToRequest

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

Jump to

Keyboard shortcuts

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