bluemix_service_instances

package
v0.0.0-...-32f6bd3 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BluemixServiceInstanceGetBadRequest

type BluemixServiceInstanceGetBadRequest struct {
	Payload *models.Error
}

BluemixServiceInstanceGetBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewBluemixServiceInstanceGetBadRequest

func NewBluemixServiceInstanceGetBadRequest() *BluemixServiceInstanceGetBadRequest

NewBluemixServiceInstanceGetBadRequest creates a BluemixServiceInstanceGetBadRequest with default headers values

func (*BluemixServiceInstanceGetBadRequest) Code

Code gets the status code for the bluemix service instance get bad request response

func (*BluemixServiceInstanceGetBadRequest) Error

func (*BluemixServiceInstanceGetBadRequest) GetPayload

func (*BluemixServiceInstanceGetBadRequest) IsClientError

func (o *BluemixServiceInstanceGetBadRequest) IsClientError() bool

IsClientError returns true when this bluemix service instance get bad request response has a 4xx status code

func (*BluemixServiceInstanceGetBadRequest) IsCode

IsCode returns true when this bluemix service instance get bad request response a status code equal to that given

func (*BluemixServiceInstanceGetBadRequest) IsRedirect

func (o *BluemixServiceInstanceGetBadRequest) IsRedirect() bool

IsRedirect returns true when this bluemix service instance get bad request response has a 3xx status code

func (*BluemixServiceInstanceGetBadRequest) IsServerError

func (o *BluemixServiceInstanceGetBadRequest) IsServerError() bool

IsServerError returns true when this bluemix service instance get bad request response has a 5xx status code

func (*BluemixServiceInstanceGetBadRequest) IsSuccess

IsSuccess returns true when this bluemix service instance get bad request response has a 2xx status code

func (*BluemixServiceInstanceGetBadRequest) String

type BluemixServiceInstanceGetOK

type BluemixServiceInstanceGetOK struct {
	Payload *models.ServiceInstance
}

BluemixServiceInstanceGetOK describes a response with status code 200, with default header values.

OK

func NewBluemixServiceInstanceGetOK

func NewBluemixServiceInstanceGetOK() *BluemixServiceInstanceGetOK

NewBluemixServiceInstanceGetOK creates a BluemixServiceInstanceGetOK with default headers values

func (*BluemixServiceInstanceGetOK) Code

func (o *BluemixServiceInstanceGetOK) Code() int

Code gets the status code for the bluemix service instance get o k response

func (*BluemixServiceInstanceGetOK) Error

func (*BluemixServiceInstanceGetOK) GetPayload

func (*BluemixServiceInstanceGetOK) IsClientError

func (o *BluemixServiceInstanceGetOK) IsClientError() bool

IsClientError returns true when this bluemix service instance get o k response has a 4xx status code

func (*BluemixServiceInstanceGetOK) IsCode

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

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

func (*BluemixServiceInstanceGetOK) IsRedirect

func (o *BluemixServiceInstanceGetOK) IsRedirect() bool

IsRedirect returns true when this bluemix service instance get o k response has a 3xx status code

func (*BluemixServiceInstanceGetOK) IsServerError

func (o *BluemixServiceInstanceGetOK) IsServerError() bool

IsServerError returns true when this bluemix service instance get o k response has a 5xx status code

func (*BluemixServiceInstanceGetOK) IsSuccess

func (o *BluemixServiceInstanceGetOK) IsSuccess() bool

IsSuccess returns true when this bluemix service instance get o k response has a 2xx status code

func (*BluemixServiceInstanceGetOK) String

func (o *BluemixServiceInstanceGetOK) String() string

type BluemixServiceInstanceGetParams

type BluemixServiceInstanceGetParams struct {

	/* InstanceID.

	   instance id of instance to provision
	*/
	InstanceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

BluemixServiceInstanceGetParams contains all the parameters to send to the API endpoint

for the bluemix service instance get operation.

Typically these are written to a http.Request.

func NewBluemixServiceInstanceGetParams

func NewBluemixServiceInstanceGetParams() *BluemixServiceInstanceGetParams

NewBluemixServiceInstanceGetParams creates a new BluemixServiceInstanceGetParams 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 NewBluemixServiceInstanceGetParamsWithContext

func NewBluemixServiceInstanceGetParamsWithContext(ctx context.Context) *BluemixServiceInstanceGetParams

NewBluemixServiceInstanceGetParamsWithContext creates a new BluemixServiceInstanceGetParams object with the ability to set a context for a request.

func NewBluemixServiceInstanceGetParamsWithHTTPClient

func NewBluemixServiceInstanceGetParamsWithHTTPClient(client *http.Client) *BluemixServiceInstanceGetParams

NewBluemixServiceInstanceGetParamsWithHTTPClient creates a new BluemixServiceInstanceGetParams object with the ability to set a custom HTTPClient for a request.

func NewBluemixServiceInstanceGetParamsWithTimeout

func NewBluemixServiceInstanceGetParamsWithTimeout(timeout time.Duration) *BluemixServiceInstanceGetParams

NewBluemixServiceInstanceGetParamsWithTimeout creates a new BluemixServiceInstanceGetParams object with the ability to set a timeout on a request.

func (*BluemixServiceInstanceGetParams) SetContext

func (o *BluemixServiceInstanceGetParams) SetContext(ctx context.Context)

SetContext adds the context to the bluemix service instance get params

func (*BluemixServiceInstanceGetParams) SetDefaults

func (o *BluemixServiceInstanceGetParams) SetDefaults()

SetDefaults hydrates default values in the bluemix service instance get params (not the query body).

All values with no default are reset to their zero value.

func (*BluemixServiceInstanceGetParams) SetHTTPClient

func (o *BluemixServiceInstanceGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the bluemix service instance get params

func (*BluemixServiceInstanceGetParams) SetInstanceID

func (o *BluemixServiceInstanceGetParams) SetInstanceID(instanceID string)

SetInstanceID adds the instanceId to the bluemix service instance get params

func (*BluemixServiceInstanceGetParams) SetTimeout

func (o *BluemixServiceInstanceGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the bluemix service instance get params

func (*BluemixServiceInstanceGetParams) WithContext

WithContext adds the context to the bluemix service instance get params

func (*BluemixServiceInstanceGetParams) WithDefaults

WithDefaults hydrates default values in the bluemix service instance get params (not the query body).

All values with no default are reset to their zero value.

func (*BluemixServiceInstanceGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the bluemix service instance get params

func (*BluemixServiceInstanceGetParams) WithInstanceID

WithInstanceID adds the instanceID to the bluemix service instance get params

func (*BluemixServiceInstanceGetParams) WithTimeout

WithTimeout adds the timeout to the bluemix service instance get params

func (*BluemixServiceInstanceGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type BluemixServiceInstanceGetReader

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

BluemixServiceInstanceGetReader is a Reader for the BluemixServiceInstanceGet structure.

func (*BluemixServiceInstanceGetReader) ReadResponse

func (o *BluemixServiceInstanceGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type BluemixServiceInstancePutBadRequest

type BluemixServiceInstancePutBadRequest struct {
	Payload *models.Error
}

BluemixServiceInstancePutBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewBluemixServiceInstancePutBadRequest

func NewBluemixServiceInstancePutBadRequest() *BluemixServiceInstancePutBadRequest

NewBluemixServiceInstancePutBadRequest creates a BluemixServiceInstancePutBadRequest with default headers values

func (*BluemixServiceInstancePutBadRequest) Code

Code gets the status code for the bluemix service instance put bad request response

func (*BluemixServiceInstancePutBadRequest) Error

func (*BluemixServiceInstancePutBadRequest) GetPayload

func (*BluemixServiceInstancePutBadRequest) IsClientError

func (o *BluemixServiceInstancePutBadRequest) IsClientError() bool

IsClientError returns true when this bluemix service instance put bad request response has a 4xx status code

func (*BluemixServiceInstancePutBadRequest) IsCode

IsCode returns true when this bluemix service instance put bad request response a status code equal to that given

func (*BluemixServiceInstancePutBadRequest) IsRedirect

func (o *BluemixServiceInstancePutBadRequest) IsRedirect() bool

IsRedirect returns true when this bluemix service instance put bad request response has a 3xx status code

func (*BluemixServiceInstancePutBadRequest) IsServerError

func (o *BluemixServiceInstancePutBadRequest) IsServerError() bool

IsServerError returns true when this bluemix service instance put bad request response has a 5xx status code

func (*BluemixServiceInstancePutBadRequest) IsSuccess

IsSuccess returns true when this bluemix service instance put bad request response has a 2xx status code

func (*BluemixServiceInstancePutBadRequest) String

type BluemixServiceInstancePutOK

type BluemixServiceInstancePutOK struct {
	Payload *models.ServiceInstance
}

BluemixServiceInstancePutOK describes a response with status code 200, with default header values.

OK

func NewBluemixServiceInstancePutOK

func NewBluemixServiceInstancePutOK() *BluemixServiceInstancePutOK

NewBluemixServiceInstancePutOK creates a BluemixServiceInstancePutOK with default headers values

func (*BluemixServiceInstancePutOK) Code

func (o *BluemixServiceInstancePutOK) Code() int

Code gets the status code for the bluemix service instance put o k response

func (*BluemixServiceInstancePutOK) Error

func (*BluemixServiceInstancePutOK) GetPayload

func (*BluemixServiceInstancePutOK) IsClientError

func (o *BluemixServiceInstancePutOK) IsClientError() bool

IsClientError returns true when this bluemix service instance put o k response has a 4xx status code

func (*BluemixServiceInstancePutOK) IsCode

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

IsCode returns true when this bluemix service instance put o k response a status code equal to that given

func (*BluemixServiceInstancePutOK) IsRedirect

func (o *BluemixServiceInstancePutOK) IsRedirect() bool

IsRedirect returns true when this bluemix service instance put o k response has a 3xx status code

func (*BluemixServiceInstancePutOK) IsServerError

func (o *BluemixServiceInstancePutOK) IsServerError() bool

IsServerError returns true when this bluemix service instance put o k response has a 5xx status code

func (*BluemixServiceInstancePutOK) IsSuccess

func (o *BluemixServiceInstancePutOK) IsSuccess() bool

IsSuccess returns true when this bluemix service instance put o k response has a 2xx status code

func (*BluemixServiceInstancePutOK) String

func (o *BluemixServiceInstancePutOK) String() string

type BluemixServiceInstancePutParams

type BluemixServiceInstancePutParams struct {

	/* Body.

	   parameters for the requested state of a provisioned service
	*/
	Body *models.ServiceInstanceRequest

	/* InstanceID.

	   instance id of instance to provision
	*/
	InstanceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

BluemixServiceInstancePutParams contains all the parameters to send to the API endpoint

for the bluemix service instance put operation.

Typically these are written to a http.Request.

func NewBluemixServiceInstancePutParams

func NewBluemixServiceInstancePutParams() *BluemixServiceInstancePutParams

NewBluemixServiceInstancePutParams creates a new BluemixServiceInstancePutParams 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 NewBluemixServiceInstancePutParamsWithContext

func NewBluemixServiceInstancePutParamsWithContext(ctx context.Context) *BluemixServiceInstancePutParams

NewBluemixServiceInstancePutParamsWithContext creates a new BluemixServiceInstancePutParams object with the ability to set a context for a request.

func NewBluemixServiceInstancePutParamsWithHTTPClient

func NewBluemixServiceInstancePutParamsWithHTTPClient(client *http.Client) *BluemixServiceInstancePutParams

NewBluemixServiceInstancePutParamsWithHTTPClient creates a new BluemixServiceInstancePutParams object with the ability to set a custom HTTPClient for a request.

func NewBluemixServiceInstancePutParamsWithTimeout

func NewBluemixServiceInstancePutParamsWithTimeout(timeout time.Duration) *BluemixServiceInstancePutParams

NewBluemixServiceInstancePutParamsWithTimeout creates a new BluemixServiceInstancePutParams object with the ability to set a timeout on a request.

func (*BluemixServiceInstancePutParams) SetBody

SetBody adds the body to the bluemix service instance put params

func (*BluemixServiceInstancePutParams) SetContext

func (o *BluemixServiceInstancePutParams) SetContext(ctx context.Context)

SetContext adds the context to the bluemix service instance put params

func (*BluemixServiceInstancePutParams) SetDefaults

func (o *BluemixServiceInstancePutParams) SetDefaults()

SetDefaults hydrates default values in the bluemix service instance put params (not the query body).

All values with no default are reset to their zero value.

func (*BluemixServiceInstancePutParams) SetHTTPClient

func (o *BluemixServiceInstancePutParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the bluemix service instance put params

func (*BluemixServiceInstancePutParams) SetInstanceID

func (o *BluemixServiceInstancePutParams) SetInstanceID(instanceID string)

SetInstanceID adds the instanceId to the bluemix service instance put params

func (*BluemixServiceInstancePutParams) SetTimeout

func (o *BluemixServiceInstancePutParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the bluemix service instance put params

func (*BluemixServiceInstancePutParams) WithBody

WithBody adds the body to the bluemix service instance put params

func (*BluemixServiceInstancePutParams) WithContext

WithContext adds the context to the bluemix service instance put params

func (*BluemixServiceInstancePutParams) WithDefaults

WithDefaults hydrates default values in the bluemix service instance put params (not the query body).

All values with no default are reset to their zero value.

func (*BluemixServiceInstancePutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the bluemix service instance put params

func (*BluemixServiceInstancePutParams) WithInstanceID

WithInstanceID adds the instanceID to the bluemix service instance put params

func (*BluemixServiceInstancePutParams) WithTimeout

WithTimeout adds the timeout to the bluemix service instance put params

func (*BluemixServiceInstancePutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type BluemixServiceInstancePutReader

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

BluemixServiceInstancePutReader is a Reader for the BluemixServiceInstancePut structure.

func (*BluemixServiceInstancePutReader) ReadResponse

func (o *BluemixServiceInstancePutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type Client

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

Client for bluemix service instances API

func (*Client) BluemixServiceInstanceGet

func (a *Client) BluemixServiceInstanceGet(params *BluemixServiceInstanceGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BluemixServiceInstanceGetOK, error)

BluemixServiceInstanceGet gets the current state information associated with the service instance

func (*Client) BluemixServiceInstancePut

func (a *Client) BluemixServiceInstancePut(params *BluemixServiceInstancePutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BluemixServiceInstancePutOK, error)

BluemixServiceInstancePut updates disable or enable the state of a provisioned service instance

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 {
	BluemixServiceInstanceGet(params *BluemixServiceInstanceGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BluemixServiceInstanceGetOK, error)

	BluemixServiceInstancePut(params *BluemixServiceInstancePutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BluemixServiceInstancePutOK, 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 bluemix service instances API client.

Jump to

Keyboard shortcuts

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