Documentation ¶
Index ¶
- type AddServiceInstanceBadRequest
- type AddServiceInstanceConflict
- type AddServiceInstanceCreated
- type AddServiceInstanceDefault
- type AddServiceInstanceParams
- func NewAddServiceInstanceParams() *AddServiceInstanceParams
- func NewAddServiceInstanceParamsWithContext(ctx context.Context) *AddServiceInstanceParams
- func NewAddServiceInstanceParamsWithHTTPClient(client *http.Client) *AddServiceInstanceParams
- func NewAddServiceInstanceParamsWithTimeout(timeout time.Duration) *AddServiceInstanceParams
- func (o *AddServiceInstanceParams) SetBody(body *v1.ServiceInstance)
- func (o *AddServiceInstanceParams) SetContext(ctx context.Context)
- func (o *AddServiceInstanceParams) SetHTTPClient(client *http.Client)
- func (o *AddServiceInstanceParams) SetTimeout(timeout time.Duration)
- func (o *AddServiceInstanceParams) WithBody(body *v1.ServiceInstance) *AddServiceInstanceParams
- func (o *AddServiceInstanceParams) WithContext(ctx context.Context) *AddServiceInstanceParams
- func (o *AddServiceInstanceParams) WithHTTPClient(client *http.Client) *AddServiceInstanceParams
- func (o *AddServiceInstanceParams) WithTimeout(timeout time.Duration) *AddServiceInstanceParams
- func (o *AddServiceInstanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddServiceInstanceReader
- type Client
- func (a *Client) AddServiceInstance(params *AddServiceInstanceParams, authInfo runtime.ClientAuthInfoWriter) (*AddServiceInstanceCreated, error)
- func (a *Client) DeleteServiceInstanceByName(params *DeleteServiceInstanceByNameParams, ...) (*DeleteServiceInstanceByNameOK, error)
- func (a *Client) GetServiceInstanceByName(params *GetServiceInstanceByNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetServiceInstanceByNameOK, error)
- func (a *Client) GetServiceInstances(params *GetServiceInstancesParams, authInfo runtime.ClientAuthInfoWriter) (*GetServiceInstancesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type DeleteServiceInstanceByNameBadRequest
- type DeleteServiceInstanceByNameDefault
- type DeleteServiceInstanceByNameNotFound
- type DeleteServiceInstanceByNameOK
- type DeleteServiceInstanceByNameParams
- func NewDeleteServiceInstanceByNameParams() *DeleteServiceInstanceByNameParams
- func NewDeleteServiceInstanceByNameParamsWithContext(ctx context.Context) *DeleteServiceInstanceByNameParams
- func NewDeleteServiceInstanceByNameParamsWithHTTPClient(client *http.Client) *DeleteServiceInstanceByNameParams
- func NewDeleteServiceInstanceByNameParamsWithTimeout(timeout time.Duration) *DeleteServiceInstanceByNameParams
- func (o *DeleteServiceInstanceByNameParams) SetContext(ctx context.Context)
- func (o *DeleteServiceInstanceByNameParams) SetHTTPClient(client *http.Client)
- func (o *DeleteServiceInstanceByNameParams) SetServiceInstanceName(serviceInstanceName string)
- func (o *DeleteServiceInstanceByNameParams) SetTimeout(timeout time.Duration)
- func (o *DeleteServiceInstanceByNameParams) WithContext(ctx context.Context) *DeleteServiceInstanceByNameParams
- func (o *DeleteServiceInstanceByNameParams) WithHTTPClient(client *http.Client) *DeleteServiceInstanceByNameParams
- func (o *DeleteServiceInstanceByNameParams) WithServiceInstanceName(serviceInstanceName string) *DeleteServiceInstanceByNameParams
- func (o *DeleteServiceInstanceByNameParams) WithTimeout(timeout time.Duration) *DeleteServiceInstanceByNameParams
- func (o *DeleteServiceInstanceByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteServiceInstanceByNameReader
- type GetServiceInstanceByNameBadRequest
- type GetServiceInstanceByNameDefault
- type GetServiceInstanceByNameNotFound
- type GetServiceInstanceByNameOK
- type GetServiceInstanceByNameParams
- func NewGetServiceInstanceByNameParams() *GetServiceInstanceByNameParams
- func NewGetServiceInstanceByNameParamsWithContext(ctx context.Context) *GetServiceInstanceByNameParams
- func NewGetServiceInstanceByNameParamsWithHTTPClient(client *http.Client) *GetServiceInstanceByNameParams
- func NewGetServiceInstanceByNameParamsWithTimeout(timeout time.Duration) *GetServiceInstanceByNameParams
- func (o *GetServiceInstanceByNameParams) SetContext(ctx context.Context)
- func (o *GetServiceInstanceByNameParams) SetHTTPClient(client *http.Client)
- func (o *GetServiceInstanceByNameParams) SetServiceInstanceName(serviceInstanceName string)
- func (o *GetServiceInstanceByNameParams) SetTimeout(timeout time.Duration)
- func (o *GetServiceInstanceByNameParams) WithContext(ctx context.Context) *GetServiceInstanceByNameParams
- func (o *GetServiceInstanceByNameParams) WithHTTPClient(client *http.Client) *GetServiceInstanceByNameParams
- func (o *GetServiceInstanceByNameParams) WithServiceInstanceName(serviceInstanceName string) *GetServiceInstanceByNameParams
- func (o *GetServiceInstanceByNameParams) WithTimeout(timeout time.Duration) *GetServiceInstanceByNameParams
- func (o *GetServiceInstanceByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetServiceInstanceByNameReader
- type GetServiceInstancesBadRequest
- type GetServiceInstancesDefault
- type GetServiceInstancesOK
- type GetServiceInstancesParams
- func NewGetServiceInstancesParams() *GetServiceInstancesParams
- func NewGetServiceInstancesParamsWithContext(ctx context.Context) *GetServiceInstancesParams
- func NewGetServiceInstancesParamsWithHTTPClient(client *http.Client) *GetServiceInstancesParams
- func NewGetServiceInstancesParamsWithTimeout(timeout time.Duration) *GetServiceInstancesParams
- func (o *GetServiceInstancesParams) SetContext(ctx context.Context)
- func (o *GetServiceInstancesParams) SetHTTPClient(client *http.Client)
- func (o *GetServiceInstancesParams) SetServiceclass(serviceclass *string)
- func (o *GetServiceInstancesParams) SetTags(tags []string)
- func (o *GetServiceInstancesParams) SetTimeout(timeout time.Duration)
- func (o *GetServiceInstancesParams) WithContext(ctx context.Context) *GetServiceInstancesParams
- func (o *GetServiceInstancesParams) WithHTTPClient(client *http.Client) *GetServiceInstancesParams
- func (o *GetServiceInstancesParams) WithServiceclass(serviceclass *string) *GetServiceInstancesParams
- func (o *GetServiceInstancesParams) WithTags(tags []string) *GetServiceInstancesParams
- func (o *GetServiceInstancesParams) WithTimeout(timeout time.Duration) *GetServiceInstancesParams
- func (o *GetServiceInstancesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetServiceInstancesReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddServiceInstanceBadRequest ¶
AddServiceInstanceBadRequest handles this case with default header values.
Invalid input
func NewAddServiceInstanceBadRequest ¶
func NewAddServiceInstanceBadRequest() *AddServiceInstanceBadRequest
NewAddServiceInstanceBadRequest creates a AddServiceInstanceBadRequest with default headers values
func (*AddServiceInstanceBadRequest) Error ¶
func (o *AddServiceInstanceBadRequest) Error() string
type AddServiceInstanceConflict ¶
AddServiceInstanceConflict handles this case with default header values.
Already Exists
func NewAddServiceInstanceConflict ¶
func NewAddServiceInstanceConflict() *AddServiceInstanceConflict
NewAddServiceInstanceConflict creates a AddServiceInstanceConflict with default headers values
func (*AddServiceInstanceConflict) Error ¶
func (o *AddServiceInstanceConflict) Error() string
type AddServiceInstanceCreated ¶
type AddServiceInstanceCreated struct {
Payload *v1.ServiceInstance
}
AddServiceInstanceCreated handles this case with default header values.
created
func NewAddServiceInstanceCreated ¶
func NewAddServiceInstanceCreated() *AddServiceInstanceCreated
NewAddServiceInstanceCreated creates a AddServiceInstanceCreated with default headers values
func (*AddServiceInstanceCreated) Error ¶
func (o *AddServiceInstanceCreated) Error() string
type AddServiceInstanceDefault ¶
type AddServiceInstanceDefault struct { Payload *v1.Error // contains filtered or unexported fields }
AddServiceInstanceDefault handles this case with default header values.
Generic error response
func NewAddServiceInstanceDefault ¶
func NewAddServiceInstanceDefault(code int) *AddServiceInstanceDefault
NewAddServiceInstanceDefault creates a AddServiceInstanceDefault with default headers values
func (*AddServiceInstanceDefault) Code ¶
func (o *AddServiceInstanceDefault) Code() int
Code gets the status code for the add service instance default response
func (*AddServiceInstanceDefault) Error ¶
func (o *AddServiceInstanceDefault) Error() string
type AddServiceInstanceParams ¶
type AddServiceInstanceParams struct { /*Body Service instance object */ Body *v1.ServiceInstance Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddServiceInstanceParams contains all the parameters to send to the API endpoint for the add service instance operation typically these are written to a http.Request
func NewAddServiceInstanceParams ¶
func NewAddServiceInstanceParams() *AddServiceInstanceParams
NewAddServiceInstanceParams creates a new AddServiceInstanceParams object with the default values initialized.
func NewAddServiceInstanceParamsWithContext ¶
func NewAddServiceInstanceParamsWithContext(ctx context.Context) *AddServiceInstanceParams
NewAddServiceInstanceParamsWithContext creates a new AddServiceInstanceParams object with the default values initialized, and the ability to set a context for a request
func NewAddServiceInstanceParamsWithHTTPClient ¶
func NewAddServiceInstanceParamsWithHTTPClient(client *http.Client) *AddServiceInstanceParams
NewAddServiceInstanceParamsWithHTTPClient creates a new AddServiceInstanceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAddServiceInstanceParamsWithTimeout ¶
func NewAddServiceInstanceParamsWithTimeout(timeout time.Duration) *AddServiceInstanceParams
NewAddServiceInstanceParamsWithTimeout creates a new AddServiceInstanceParams object with the default values initialized, and the ability to set a timeout on a request
func (*AddServiceInstanceParams) SetBody ¶
func (o *AddServiceInstanceParams) SetBody(body *v1.ServiceInstance)
SetBody adds the body to the add service instance params
func (*AddServiceInstanceParams) SetContext ¶
func (o *AddServiceInstanceParams) SetContext(ctx context.Context)
SetContext adds the context to the add service instance params
func (*AddServiceInstanceParams) SetHTTPClient ¶
func (o *AddServiceInstanceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add service instance params
func (*AddServiceInstanceParams) SetTimeout ¶
func (o *AddServiceInstanceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add service instance params
func (*AddServiceInstanceParams) WithBody ¶
func (o *AddServiceInstanceParams) WithBody(body *v1.ServiceInstance) *AddServiceInstanceParams
WithBody adds the body to the add service instance params
func (*AddServiceInstanceParams) WithContext ¶
func (o *AddServiceInstanceParams) WithContext(ctx context.Context) *AddServiceInstanceParams
WithContext adds the context to the add service instance params
func (*AddServiceInstanceParams) WithHTTPClient ¶
func (o *AddServiceInstanceParams) WithHTTPClient(client *http.Client) *AddServiceInstanceParams
WithHTTPClient adds the HTTPClient to the add service instance params
func (*AddServiceInstanceParams) WithTimeout ¶
func (o *AddServiceInstanceParams) WithTimeout(timeout time.Duration) *AddServiceInstanceParams
WithTimeout adds the timeout to the add service instance params
func (*AddServiceInstanceParams) WriteToRequest ¶
func (o *AddServiceInstanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddServiceInstanceReader ¶
type AddServiceInstanceReader struct {
// contains filtered or unexported fields
}
AddServiceInstanceReader is a Reader for the AddServiceInstance structure.
func (*AddServiceInstanceReader) ReadResponse ¶
func (o *AddServiceInstanceReader) 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 service instance API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new service instance API client.
func (*Client) AddServiceInstance ¶
func (a *Client) AddServiceInstance(params *AddServiceInstanceParams, authInfo runtime.ClientAuthInfoWriter) (*AddServiceInstanceCreated, error)
AddServiceInstance adds a new service instance
func (*Client) DeleteServiceInstanceByName ¶
func (a *Client) DeleteServiceInstanceByName(params *DeleteServiceInstanceByNameParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteServiceInstanceByNameOK, error)
DeleteServiceInstanceByName deletes a service instance
func (*Client) GetServiceInstanceByName ¶
func (a *Client) GetServiceInstanceByName(params *GetServiceInstanceByNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetServiceInstanceByNameOK, error)
GetServiceInstanceByName finds service instance by name
Returns a single service instance
func (*Client) GetServiceInstances ¶
func (a *Client) GetServiceInstances(params *GetServiceInstancesParams, authInfo runtime.ClientAuthInfoWriter) (*GetServiceInstancesOK, error)
GetServiceInstances gets all service instances
List all service instances
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type DeleteServiceInstanceByNameBadRequest ¶
DeleteServiceInstanceByNameBadRequest handles this case with default header values.
Invalid name supplied
func NewDeleteServiceInstanceByNameBadRequest ¶
func NewDeleteServiceInstanceByNameBadRequest() *DeleteServiceInstanceByNameBadRequest
NewDeleteServiceInstanceByNameBadRequest creates a DeleteServiceInstanceByNameBadRequest with default headers values
func (*DeleteServiceInstanceByNameBadRequest) Error ¶
func (o *DeleteServiceInstanceByNameBadRequest) Error() string
type DeleteServiceInstanceByNameDefault ¶
type DeleteServiceInstanceByNameDefault struct { Payload *v1.Error // contains filtered or unexported fields }
DeleteServiceInstanceByNameDefault handles this case with default header values.
Generic error response
func NewDeleteServiceInstanceByNameDefault ¶
func NewDeleteServiceInstanceByNameDefault(code int) *DeleteServiceInstanceByNameDefault
NewDeleteServiceInstanceByNameDefault creates a DeleteServiceInstanceByNameDefault with default headers values
func (*DeleteServiceInstanceByNameDefault) Code ¶
func (o *DeleteServiceInstanceByNameDefault) Code() int
Code gets the status code for the delete service instance by name default response
func (*DeleteServiceInstanceByNameDefault) Error ¶
func (o *DeleteServiceInstanceByNameDefault) Error() string
type DeleteServiceInstanceByNameNotFound ¶
DeleteServiceInstanceByNameNotFound handles this case with default header values.
Service instance not found
func NewDeleteServiceInstanceByNameNotFound ¶
func NewDeleteServiceInstanceByNameNotFound() *DeleteServiceInstanceByNameNotFound
NewDeleteServiceInstanceByNameNotFound creates a DeleteServiceInstanceByNameNotFound with default headers values
func (*DeleteServiceInstanceByNameNotFound) Error ¶
func (o *DeleteServiceInstanceByNameNotFound) Error() string
type DeleteServiceInstanceByNameOK ¶
type DeleteServiceInstanceByNameOK struct {
Payload *v1.ServiceInstance
}
DeleteServiceInstanceByNameOK handles this case with default header values.
successful operation
func NewDeleteServiceInstanceByNameOK ¶
func NewDeleteServiceInstanceByNameOK() *DeleteServiceInstanceByNameOK
NewDeleteServiceInstanceByNameOK creates a DeleteServiceInstanceByNameOK with default headers values
func (*DeleteServiceInstanceByNameOK) Error ¶
func (o *DeleteServiceInstanceByNameOK) Error() string
type DeleteServiceInstanceByNameParams ¶
type DeleteServiceInstanceByNameParams struct { /*ServiceInstanceName Name of service instance to return */ ServiceInstanceName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteServiceInstanceByNameParams contains all the parameters to send to the API endpoint for the delete service instance by name operation typically these are written to a http.Request
func NewDeleteServiceInstanceByNameParams ¶
func NewDeleteServiceInstanceByNameParams() *DeleteServiceInstanceByNameParams
NewDeleteServiceInstanceByNameParams creates a new DeleteServiceInstanceByNameParams object with the default values initialized.
func NewDeleteServiceInstanceByNameParamsWithContext ¶
func NewDeleteServiceInstanceByNameParamsWithContext(ctx context.Context) *DeleteServiceInstanceByNameParams
NewDeleteServiceInstanceByNameParamsWithContext creates a new DeleteServiceInstanceByNameParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteServiceInstanceByNameParamsWithHTTPClient ¶
func NewDeleteServiceInstanceByNameParamsWithHTTPClient(client *http.Client) *DeleteServiceInstanceByNameParams
NewDeleteServiceInstanceByNameParamsWithHTTPClient creates a new DeleteServiceInstanceByNameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteServiceInstanceByNameParamsWithTimeout ¶
func NewDeleteServiceInstanceByNameParamsWithTimeout(timeout time.Duration) *DeleteServiceInstanceByNameParams
NewDeleteServiceInstanceByNameParamsWithTimeout creates a new DeleteServiceInstanceByNameParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteServiceInstanceByNameParams) SetContext ¶
func (o *DeleteServiceInstanceByNameParams) SetContext(ctx context.Context)
SetContext adds the context to the delete service instance by name params
func (*DeleteServiceInstanceByNameParams) SetHTTPClient ¶
func (o *DeleteServiceInstanceByNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete service instance by name params
func (*DeleteServiceInstanceByNameParams) SetServiceInstanceName ¶
func (o *DeleteServiceInstanceByNameParams) SetServiceInstanceName(serviceInstanceName string)
SetServiceInstanceName adds the serviceInstanceName to the delete service instance by name params
func (*DeleteServiceInstanceByNameParams) SetTimeout ¶
func (o *DeleteServiceInstanceByNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete service instance by name params
func (*DeleteServiceInstanceByNameParams) WithContext ¶
func (o *DeleteServiceInstanceByNameParams) WithContext(ctx context.Context) *DeleteServiceInstanceByNameParams
WithContext adds the context to the delete service instance by name params
func (*DeleteServiceInstanceByNameParams) WithHTTPClient ¶
func (o *DeleteServiceInstanceByNameParams) WithHTTPClient(client *http.Client) *DeleteServiceInstanceByNameParams
WithHTTPClient adds the HTTPClient to the delete service instance by name params
func (*DeleteServiceInstanceByNameParams) WithServiceInstanceName ¶
func (o *DeleteServiceInstanceByNameParams) WithServiceInstanceName(serviceInstanceName string) *DeleteServiceInstanceByNameParams
WithServiceInstanceName adds the serviceInstanceName to the delete service instance by name params
func (*DeleteServiceInstanceByNameParams) WithTimeout ¶
func (o *DeleteServiceInstanceByNameParams) WithTimeout(timeout time.Duration) *DeleteServiceInstanceByNameParams
WithTimeout adds the timeout to the delete service instance by name params
func (*DeleteServiceInstanceByNameParams) WriteToRequest ¶
func (o *DeleteServiceInstanceByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteServiceInstanceByNameReader ¶
type DeleteServiceInstanceByNameReader struct {
// contains filtered or unexported fields
}
DeleteServiceInstanceByNameReader is a Reader for the DeleteServiceInstanceByName structure.
func (*DeleteServiceInstanceByNameReader) ReadResponse ¶
func (o *DeleteServiceInstanceByNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetServiceInstanceByNameBadRequest ¶
GetServiceInstanceByNameBadRequest handles this case with default header values.
Invalid ID supplied
func NewGetServiceInstanceByNameBadRequest ¶
func NewGetServiceInstanceByNameBadRequest() *GetServiceInstanceByNameBadRequest
NewGetServiceInstanceByNameBadRequest creates a GetServiceInstanceByNameBadRequest with default headers values
func (*GetServiceInstanceByNameBadRequest) Error ¶
func (o *GetServiceInstanceByNameBadRequest) Error() string
type GetServiceInstanceByNameDefault ¶
type GetServiceInstanceByNameDefault struct { Payload *v1.Error // contains filtered or unexported fields }
GetServiceInstanceByNameDefault handles this case with default header values.
Generic error response
func NewGetServiceInstanceByNameDefault ¶
func NewGetServiceInstanceByNameDefault(code int) *GetServiceInstanceByNameDefault
NewGetServiceInstanceByNameDefault creates a GetServiceInstanceByNameDefault with default headers values
func (*GetServiceInstanceByNameDefault) Code ¶
func (o *GetServiceInstanceByNameDefault) Code() int
Code gets the status code for the get service instance by name default response
func (*GetServiceInstanceByNameDefault) Error ¶
func (o *GetServiceInstanceByNameDefault) Error() string
type GetServiceInstanceByNameNotFound ¶
GetServiceInstanceByNameNotFound handles this case with default header values.
Service instance not found
func NewGetServiceInstanceByNameNotFound ¶
func NewGetServiceInstanceByNameNotFound() *GetServiceInstanceByNameNotFound
NewGetServiceInstanceByNameNotFound creates a GetServiceInstanceByNameNotFound with default headers values
func (*GetServiceInstanceByNameNotFound) Error ¶
func (o *GetServiceInstanceByNameNotFound) Error() string
type GetServiceInstanceByNameOK ¶
type GetServiceInstanceByNameOK struct {
Payload *v1.ServiceInstance
}
GetServiceInstanceByNameOK handles this case with default header values.
successful operation
func NewGetServiceInstanceByNameOK ¶
func NewGetServiceInstanceByNameOK() *GetServiceInstanceByNameOK
NewGetServiceInstanceByNameOK creates a GetServiceInstanceByNameOK with default headers values
func (*GetServiceInstanceByNameOK) Error ¶
func (o *GetServiceInstanceByNameOK) Error() string
type GetServiceInstanceByNameParams ¶
type GetServiceInstanceByNameParams struct { /*ServiceInstanceName Name of service instance to return */ ServiceInstanceName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetServiceInstanceByNameParams contains all the parameters to send to the API endpoint for the get service instance by name operation typically these are written to a http.Request
func NewGetServiceInstanceByNameParams ¶
func NewGetServiceInstanceByNameParams() *GetServiceInstanceByNameParams
NewGetServiceInstanceByNameParams creates a new GetServiceInstanceByNameParams object with the default values initialized.
func NewGetServiceInstanceByNameParamsWithContext ¶
func NewGetServiceInstanceByNameParamsWithContext(ctx context.Context) *GetServiceInstanceByNameParams
NewGetServiceInstanceByNameParamsWithContext creates a new GetServiceInstanceByNameParams object with the default values initialized, and the ability to set a context for a request
func NewGetServiceInstanceByNameParamsWithHTTPClient ¶
func NewGetServiceInstanceByNameParamsWithHTTPClient(client *http.Client) *GetServiceInstanceByNameParams
NewGetServiceInstanceByNameParamsWithHTTPClient creates a new GetServiceInstanceByNameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetServiceInstanceByNameParamsWithTimeout ¶
func NewGetServiceInstanceByNameParamsWithTimeout(timeout time.Duration) *GetServiceInstanceByNameParams
NewGetServiceInstanceByNameParamsWithTimeout creates a new GetServiceInstanceByNameParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetServiceInstanceByNameParams) SetContext ¶
func (o *GetServiceInstanceByNameParams) SetContext(ctx context.Context)
SetContext adds the context to the get service instance by name params
func (*GetServiceInstanceByNameParams) SetHTTPClient ¶
func (o *GetServiceInstanceByNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get service instance by name params
func (*GetServiceInstanceByNameParams) SetServiceInstanceName ¶
func (o *GetServiceInstanceByNameParams) SetServiceInstanceName(serviceInstanceName string)
SetServiceInstanceName adds the serviceInstanceName to the get service instance by name params
func (*GetServiceInstanceByNameParams) SetTimeout ¶
func (o *GetServiceInstanceByNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get service instance by name params
func (*GetServiceInstanceByNameParams) WithContext ¶
func (o *GetServiceInstanceByNameParams) WithContext(ctx context.Context) *GetServiceInstanceByNameParams
WithContext adds the context to the get service instance by name params
func (*GetServiceInstanceByNameParams) WithHTTPClient ¶
func (o *GetServiceInstanceByNameParams) WithHTTPClient(client *http.Client) *GetServiceInstanceByNameParams
WithHTTPClient adds the HTTPClient to the get service instance by name params
func (*GetServiceInstanceByNameParams) WithServiceInstanceName ¶
func (o *GetServiceInstanceByNameParams) WithServiceInstanceName(serviceInstanceName string) *GetServiceInstanceByNameParams
WithServiceInstanceName adds the serviceInstanceName to the get service instance by name params
func (*GetServiceInstanceByNameParams) WithTimeout ¶
func (o *GetServiceInstanceByNameParams) WithTimeout(timeout time.Duration) *GetServiceInstanceByNameParams
WithTimeout adds the timeout to the get service instance by name params
func (*GetServiceInstanceByNameParams) WriteToRequest ¶
func (o *GetServiceInstanceByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetServiceInstanceByNameReader ¶
type GetServiceInstanceByNameReader struct {
// contains filtered or unexported fields
}
GetServiceInstanceByNameReader is a Reader for the GetServiceInstanceByName structure.
func (*GetServiceInstanceByNameReader) ReadResponse ¶
func (o *GetServiceInstanceByNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetServiceInstancesBadRequest ¶
GetServiceInstancesBadRequest handles this case with default header values.
Invalid input
func NewGetServiceInstancesBadRequest ¶
func NewGetServiceInstancesBadRequest() *GetServiceInstancesBadRequest
NewGetServiceInstancesBadRequest creates a GetServiceInstancesBadRequest with default headers values
func (*GetServiceInstancesBadRequest) Error ¶
func (o *GetServiceInstancesBadRequest) Error() string
type GetServiceInstancesDefault ¶
type GetServiceInstancesDefault struct { Payload *v1.Error // contains filtered or unexported fields }
GetServiceInstancesDefault handles this case with default header values.
Generic error response
func NewGetServiceInstancesDefault ¶
func NewGetServiceInstancesDefault(code int) *GetServiceInstancesDefault
NewGetServiceInstancesDefault creates a GetServiceInstancesDefault with default headers values
func (*GetServiceInstancesDefault) Code ¶
func (o *GetServiceInstancesDefault) Code() int
Code gets the status code for the get service instances default response
func (*GetServiceInstancesDefault) Error ¶
func (o *GetServiceInstancesDefault) Error() string
type GetServiceInstancesOK ¶
type GetServiceInstancesOK struct {
Payload []*v1.ServiceInstance
}
GetServiceInstancesOK handles this case with default header values.
successful operation
func NewGetServiceInstancesOK ¶
func NewGetServiceInstancesOK() *GetServiceInstancesOK
NewGetServiceInstancesOK creates a GetServiceInstancesOK with default headers values
func (*GetServiceInstancesOK) Error ¶
func (o *GetServiceInstancesOK) Error() string
type GetServiceInstancesParams ¶
type GetServiceInstancesParams struct { /*Serviceclass service class name */ Serviceclass *string /*Tags Filter on service instance tags */ Tags []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetServiceInstancesParams contains all the parameters to send to the API endpoint for the get service instances operation typically these are written to a http.Request
func NewGetServiceInstancesParams ¶
func NewGetServiceInstancesParams() *GetServiceInstancesParams
NewGetServiceInstancesParams creates a new GetServiceInstancesParams object with the default values initialized.
func NewGetServiceInstancesParamsWithContext ¶
func NewGetServiceInstancesParamsWithContext(ctx context.Context) *GetServiceInstancesParams
NewGetServiceInstancesParamsWithContext creates a new GetServiceInstancesParams object with the default values initialized, and the ability to set a context for a request
func NewGetServiceInstancesParamsWithHTTPClient ¶
func NewGetServiceInstancesParamsWithHTTPClient(client *http.Client) *GetServiceInstancesParams
NewGetServiceInstancesParamsWithHTTPClient creates a new GetServiceInstancesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetServiceInstancesParamsWithTimeout ¶
func NewGetServiceInstancesParamsWithTimeout(timeout time.Duration) *GetServiceInstancesParams
NewGetServiceInstancesParamsWithTimeout creates a new GetServiceInstancesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetServiceInstancesParams) SetContext ¶
func (o *GetServiceInstancesParams) SetContext(ctx context.Context)
SetContext adds the context to the get service instances params
func (*GetServiceInstancesParams) SetHTTPClient ¶
func (o *GetServiceInstancesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get service instances params
func (*GetServiceInstancesParams) SetServiceclass ¶
func (o *GetServiceInstancesParams) SetServiceclass(serviceclass *string)
SetServiceclass adds the serviceclass to the get service instances params
func (*GetServiceInstancesParams) SetTags ¶
func (o *GetServiceInstancesParams) SetTags(tags []string)
SetTags adds the tags to the get service instances params
func (*GetServiceInstancesParams) SetTimeout ¶
func (o *GetServiceInstancesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get service instances params
func (*GetServiceInstancesParams) WithContext ¶
func (o *GetServiceInstancesParams) WithContext(ctx context.Context) *GetServiceInstancesParams
WithContext adds the context to the get service instances params
func (*GetServiceInstancesParams) WithHTTPClient ¶
func (o *GetServiceInstancesParams) WithHTTPClient(client *http.Client) *GetServiceInstancesParams
WithHTTPClient adds the HTTPClient to the get service instances params
func (*GetServiceInstancesParams) WithServiceclass ¶
func (o *GetServiceInstancesParams) WithServiceclass(serviceclass *string) *GetServiceInstancesParams
WithServiceclass adds the serviceclass to the get service instances params
func (*GetServiceInstancesParams) WithTags ¶
func (o *GetServiceInstancesParams) WithTags(tags []string) *GetServiceInstancesParams
WithTags adds the tags to the get service instances params
func (*GetServiceInstancesParams) WithTimeout ¶
func (o *GetServiceInstancesParams) WithTimeout(timeout time.Duration) *GetServiceInstancesParams
WithTimeout adds the timeout to the get service instances params
func (*GetServiceInstancesParams) WriteToRequest ¶
func (o *GetServiceInstancesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetServiceInstancesReader ¶
type GetServiceInstancesReader struct {
// contains filtered or unexported fields
}
GetServiceInstancesReader is a Reader for the GetServiceInstances structure.
func (*GetServiceInstancesReader) ReadResponse ¶
func (o *GetServiceInstancesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- add_service_instance_parameters.go
- add_service_instance_responses.go
- delete_service_instance_by_name_parameters.go
- delete_service_instance_by_name_responses.go
- get_service_instance_by_name_parameters.go
- get_service_instance_by_name_responses.go
- get_service_instances_parameters.go
- get_service_instances_responses.go
- service_instance_client.go