swagger_spec

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2020 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 Client

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

Client for swagger spec API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new swagger spec API client.

func (*Client) ServiceBrokerSwaggerspec

func (a *Client) ServiceBrokerSwaggerspec(params *ServiceBrokerSwaggerspecParams) (*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 ServiceBrokerSwaggerspecOK

type ServiceBrokerSwaggerspecOK struct {
	Payload models.Object
}

ServiceBrokerSwaggerspecOK handles this case with default header values.

OK

func NewServiceBrokerSwaggerspecOK

func NewServiceBrokerSwaggerspecOK() *ServiceBrokerSwaggerspecOK

NewServiceBrokerSwaggerspecOK creates a ServiceBrokerSwaggerspecOK with default headers values

func (*ServiceBrokerSwaggerspecOK) Error

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 values initialized.

func NewServiceBrokerSwaggerspecParamsWithContext

func NewServiceBrokerSwaggerspecParamsWithContext(ctx context.Context) *ServiceBrokerSwaggerspecParams

NewServiceBrokerSwaggerspecParamsWithContext creates a new ServiceBrokerSwaggerspecParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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

WithContext adds the context to the service broker swaggerspec params

func (*ServiceBrokerSwaggerspecParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the service broker swaggerspec params

func (*ServiceBrokerSwaggerspecParams) WithTimeout

WithTimeout adds the timeout to the service broker swaggerspec params

func (*ServiceBrokerSwaggerspecParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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