Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type ServiceBrokerStoragetypesGetInternalServerError
- type ServiceBrokerStoragetypesGetOK
- type ServiceBrokerStoragetypesGetParams
- func NewServiceBrokerStoragetypesGetParams() *ServiceBrokerStoragetypesGetParams
- func NewServiceBrokerStoragetypesGetParamsWithContext(ctx context.Context) *ServiceBrokerStoragetypesGetParams
- func NewServiceBrokerStoragetypesGetParamsWithHTTPClient(client *http.Client) *ServiceBrokerStoragetypesGetParams
- func NewServiceBrokerStoragetypesGetParamsWithTimeout(timeout time.Duration) *ServiceBrokerStoragetypesGetParams
- func (o *ServiceBrokerStoragetypesGetParams) SetContext(ctx context.Context)
- func (o *ServiceBrokerStoragetypesGetParams) SetDefaults()
- func (o *ServiceBrokerStoragetypesGetParams) SetHTTPClient(client *http.Client)
- func (o *ServiceBrokerStoragetypesGetParams) SetTimeout(timeout time.Duration)
- func (o *ServiceBrokerStoragetypesGetParams) WithContext(ctx context.Context) *ServiceBrokerStoragetypesGetParams
- func (o *ServiceBrokerStoragetypesGetParams) WithDefaults() *ServiceBrokerStoragetypesGetParams
- func (o *ServiceBrokerStoragetypesGetParams) WithHTTPClient(client *http.Client) *ServiceBrokerStoragetypesGetParams
- func (o *ServiceBrokerStoragetypesGetParams) WithTimeout(timeout time.Duration) *ServiceBrokerStoragetypesGetParams
- func (o *ServiceBrokerStoragetypesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServiceBrokerStoragetypesGetReader
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 storage types API
func (*Client) ServiceBrokerStoragetypesGet ¶
func (a *Client) ServiceBrokerStoragetypesGet(params *ServiceBrokerStoragetypesGetParams, opts ...ClientOption) (*ServiceBrokerStoragetypesGetOK, error)
ServiceBrokerStoragetypesGet availables storage types in a region
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v1.1.0
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶ added in v1.1.0
type ClientService interface { ServiceBrokerStoragetypesGet(params *ServiceBrokerStoragetypesGetParams, opts ...ClientOption) (*ServiceBrokerStoragetypesGetOK, 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 storage types API client.
type ServiceBrokerStoragetypesGetInternalServerError ¶
ServiceBrokerStoragetypesGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewServiceBrokerStoragetypesGetInternalServerError ¶
func NewServiceBrokerStoragetypesGetInternalServerError() *ServiceBrokerStoragetypesGetInternalServerError
NewServiceBrokerStoragetypesGetInternalServerError creates a ServiceBrokerStoragetypesGetInternalServerError with default headers values
func (*ServiceBrokerStoragetypesGetInternalServerError) Error ¶
func (o *ServiceBrokerStoragetypesGetInternalServerError) Error() string
func (*ServiceBrokerStoragetypesGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerStoragetypesGetInternalServerError) GetPayload() *models.Error
type ServiceBrokerStoragetypesGetOK ¶
type ServiceBrokerStoragetypesGetOK struct {
Payload models.StorageTypes
}
ServiceBrokerStoragetypesGetOK describes a response with status code 200, with default header values.
OK
func NewServiceBrokerStoragetypesGetOK ¶
func NewServiceBrokerStoragetypesGetOK() *ServiceBrokerStoragetypesGetOK
NewServiceBrokerStoragetypesGetOK creates a ServiceBrokerStoragetypesGetOK with default headers values
func (*ServiceBrokerStoragetypesGetOK) Error ¶
func (o *ServiceBrokerStoragetypesGetOK) Error() string
func (*ServiceBrokerStoragetypesGetOK) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerStoragetypesGetOK) GetPayload() models.StorageTypes
type ServiceBrokerStoragetypesGetParams ¶
type ServiceBrokerStoragetypesGetParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ServiceBrokerStoragetypesGetParams contains all the parameters to send to the API endpoint
for the service broker storagetypes get operation. Typically these are written to a http.Request.
func NewServiceBrokerStoragetypesGetParams ¶
func NewServiceBrokerStoragetypesGetParams() *ServiceBrokerStoragetypesGetParams
NewServiceBrokerStoragetypesGetParams creates a new ServiceBrokerStoragetypesGetParams 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 NewServiceBrokerStoragetypesGetParamsWithContext ¶
func NewServiceBrokerStoragetypesGetParamsWithContext(ctx context.Context) *ServiceBrokerStoragetypesGetParams
NewServiceBrokerStoragetypesGetParamsWithContext creates a new ServiceBrokerStoragetypesGetParams object with the ability to set a context for a request.
func NewServiceBrokerStoragetypesGetParamsWithHTTPClient ¶
func NewServiceBrokerStoragetypesGetParamsWithHTTPClient(client *http.Client) *ServiceBrokerStoragetypesGetParams
NewServiceBrokerStoragetypesGetParamsWithHTTPClient creates a new ServiceBrokerStoragetypesGetParams object with the ability to set a custom HTTPClient for a request.
func NewServiceBrokerStoragetypesGetParamsWithTimeout ¶
func NewServiceBrokerStoragetypesGetParamsWithTimeout(timeout time.Duration) *ServiceBrokerStoragetypesGetParams
NewServiceBrokerStoragetypesGetParamsWithTimeout creates a new ServiceBrokerStoragetypesGetParams object with the ability to set a timeout on a request.
func (*ServiceBrokerStoragetypesGetParams) SetContext ¶
func (o *ServiceBrokerStoragetypesGetParams) SetContext(ctx context.Context)
SetContext adds the context to the service broker storagetypes get params
func (*ServiceBrokerStoragetypesGetParams) SetDefaults ¶ added in v1.1.0
func (o *ServiceBrokerStoragetypesGetParams) SetDefaults()
SetDefaults hydrates default values in the service broker storagetypes get params (not the query body).
All values with no default are reset to their zero value.
func (*ServiceBrokerStoragetypesGetParams) SetHTTPClient ¶
func (o *ServiceBrokerStoragetypesGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the service broker storagetypes get params
func (*ServiceBrokerStoragetypesGetParams) SetTimeout ¶
func (o *ServiceBrokerStoragetypesGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the service broker storagetypes get params
func (*ServiceBrokerStoragetypesGetParams) WithContext ¶
func (o *ServiceBrokerStoragetypesGetParams) WithContext(ctx context.Context) *ServiceBrokerStoragetypesGetParams
WithContext adds the context to the service broker storagetypes get params
func (*ServiceBrokerStoragetypesGetParams) WithDefaults ¶ added in v1.1.0
func (o *ServiceBrokerStoragetypesGetParams) WithDefaults() *ServiceBrokerStoragetypesGetParams
WithDefaults hydrates default values in the service broker storagetypes get params (not the query body).
All values with no default are reset to their zero value.
func (*ServiceBrokerStoragetypesGetParams) WithHTTPClient ¶
func (o *ServiceBrokerStoragetypesGetParams) WithHTTPClient(client *http.Client) *ServiceBrokerStoragetypesGetParams
WithHTTPClient adds the HTTPClient to the service broker storagetypes get params
func (*ServiceBrokerStoragetypesGetParams) WithTimeout ¶
func (o *ServiceBrokerStoragetypesGetParams) WithTimeout(timeout time.Duration) *ServiceBrokerStoragetypesGetParams
WithTimeout adds the timeout to the service broker storagetypes get params
func (*ServiceBrokerStoragetypesGetParams) WriteToRequest ¶
func (o *ServiceBrokerStoragetypesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ServiceBrokerStoragetypesGetReader ¶
type ServiceBrokerStoragetypesGetReader struct {
// contains filtered or unexported fields
}
ServiceBrokerStoragetypesGetReader is a Reader for the ServiceBrokerStoragetypesGet structure.
func (*ServiceBrokerStoragetypesGetReader) ReadResponse ¶
func (o *ServiceBrokerStoragetypesGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.