Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type ServiceBrokerSwaggerspecOK
- type ServiceBrokerSwaggerspecParams
- func NewServiceBrokerSwaggerspecParams() *ServiceBrokerSwaggerspecParams
- func NewServiceBrokerSwaggerspecParamsWithContext(ctx context.Context) *ServiceBrokerSwaggerspecParams
- func NewServiceBrokerSwaggerspecParamsWithHTTPClient(client *http.Client) *ServiceBrokerSwaggerspecParams
- func NewServiceBrokerSwaggerspecParamsWithTimeout(timeout time.Duration) *ServiceBrokerSwaggerspecParams
- func (o *ServiceBrokerSwaggerspecParams) SetContext(ctx context.Context)
- func (o *ServiceBrokerSwaggerspecParams) SetDefaults()
- func (o *ServiceBrokerSwaggerspecParams) SetHTTPClient(client *http.Client)
- func (o *ServiceBrokerSwaggerspecParams) SetTimeout(timeout time.Duration)
- func (o *ServiceBrokerSwaggerspecParams) WithContext(ctx context.Context) *ServiceBrokerSwaggerspecParams
- func (o *ServiceBrokerSwaggerspecParams) WithDefaults() *ServiceBrokerSwaggerspecParams
- func (o *ServiceBrokerSwaggerspecParams) WithHTTPClient(client *http.Client) *ServiceBrokerSwaggerspecParams
- func (o *ServiceBrokerSwaggerspecParams) WithTimeout(timeout time.Duration) *ServiceBrokerSwaggerspecParams
- func (o *ServiceBrokerSwaggerspecParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServiceBrokerSwaggerspecReader
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 swagger spec API
func (*Client) ServiceBrokerSwaggerspec ¶
func (a *Client) ServiceBrokerSwaggerspec(params *ServiceBrokerSwaggerspecParams, opts ...ClientOption) (*ServiceBrokerSwaggerspecOK, error)
ServiceBrokerSwaggerspec gets swagger json spec
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 { ServiceBrokerSwaggerspec(params *ServiceBrokerSwaggerspecParams, opts ...ClientOption) (*ServiceBrokerSwaggerspecOK, 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 swagger spec API client.
type ServiceBrokerSwaggerspecOK ¶
ServiceBrokerSwaggerspecOK describes a response with status code 200, with default header values.
OK
func NewServiceBrokerSwaggerspecOK ¶
func NewServiceBrokerSwaggerspecOK() *ServiceBrokerSwaggerspecOK
NewServiceBrokerSwaggerspecOK creates a ServiceBrokerSwaggerspecOK with default headers values
func (*ServiceBrokerSwaggerspecOK) Error ¶
func (o *ServiceBrokerSwaggerspecOK) Error() string
func (*ServiceBrokerSwaggerspecOK) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerSwaggerspecOK) GetPayload() models.Object
type ServiceBrokerSwaggerspecParams ¶
type ServiceBrokerSwaggerspecParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ServiceBrokerSwaggerspecParams contains all the parameters to send to the API endpoint
for the service broker swaggerspec operation. Typically these are written to a http.Request.
func NewServiceBrokerSwaggerspecParams ¶
func NewServiceBrokerSwaggerspecParams() *ServiceBrokerSwaggerspecParams
NewServiceBrokerSwaggerspecParams creates a new ServiceBrokerSwaggerspecParams 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 NewServiceBrokerSwaggerspecParamsWithContext ¶
func NewServiceBrokerSwaggerspecParamsWithContext(ctx context.Context) *ServiceBrokerSwaggerspecParams
NewServiceBrokerSwaggerspecParamsWithContext creates a new ServiceBrokerSwaggerspecParams object with the ability to set a context for a request.
func NewServiceBrokerSwaggerspecParamsWithHTTPClient ¶
func NewServiceBrokerSwaggerspecParamsWithHTTPClient(client *http.Client) *ServiceBrokerSwaggerspecParams
NewServiceBrokerSwaggerspecParamsWithHTTPClient creates a new ServiceBrokerSwaggerspecParams object with the ability to set a custom HTTPClient for a request.
func NewServiceBrokerSwaggerspecParamsWithTimeout ¶
func NewServiceBrokerSwaggerspecParamsWithTimeout(timeout time.Duration) *ServiceBrokerSwaggerspecParams
NewServiceBrokerSwaggerspecParamsWithTimeout creates a new ServiceBrokerSwaggerspecParams object with the ability to set a timeout on a request.
func (*ServiceBrokerSwaggerspecParams) SetContext ¶
func (o *ServiceBrokerSwaggerspecParams) SetContext(ctx context.Context)
SetContext adds the context to the service broker swaggerspec params
func (*ServiceBrokerSwaggerspecParams) SetDefaults ¶ added in v1.1.0
func (o *ServiceBrokerSwaggerspecParams) SetDefaults()
SetDefaults hydrates default values in the service broker swaggerspec params (not the query body).
All values with no default are reset to their zero value.
func (*ServiceBrokerSwaggerspecParams) SetHTTPClient ¶
func (o *ServiceBrokerSwaggerspecParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the service broker swaggerspec params
func (*ServiceBrokerSwaggerspecParams) SetTimeout ¶
func (o *ServiceBrokerSwaggerspecParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the service broker swaggerspec params
func (*ServiceBrokerSwaggerspecParams) WithContext ¶
func (o *ServiceBrokerSwaggerspecParams) WithContext(ctx context.Context) *ServiceBrokerSwaggerspecParams
WithContext adds the context to the service broker swaggerspec params
func (*ServiceBrokerSwaggerspecParams) WithDefaults ¶ added in v1.1.0
func (o *ServiceBrokerSwaggerspecParams) WithDefaults() *ServiceBrokerSwaggerspecParams
WithDefaults hydrates default values in the service broker swaggerspec params (not the query body).
All values with no default are reset to their zero value.
func (*ServiceBrokerSwaggerspecParams) WithHTTPClient ¶
func (o *ServiceBrokerSwaggerspecParams) WithHTTPClient(client *http.Client) *ServiceBrokerSwaggerspecParams
WithHTTPClient adds the HTTPClient to the service broker swaggerspec params
func (*ServiceBrokerSwaggerspecParams) WithTimeout ¶
func (o *ServiceBrokerSwaggerspecParams) WithTimeout(timeout time.Duration) *ServiceBrokerSwaggerspecParams
WithTimeout adds the timeout to the service broker swaggerspec params
func (*ServiceBrokerSwaggerspecParams) WriteToRequest ¶
func (o *ServiceBrokerSwaggerspecParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ServiceBrokerSwaggerspecReader ¶
type ServiceBrokerSwaggerspecReader struct {
// contains filtered or unexported fields
}
ServiceBrokerSwaggerspecReader is a Reader for the ServiceBrokerSwaggerspec structure.
func (*ServiceBrokerSwaggerspecReader) ReadResponse ¶
func (o *ServiceBrokerSwaggerspecReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.