swagger_spec

package
v1.1.9 Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 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 (*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

type ServiceBrokerSwaggerspecOK struct {
	Payload models.Object
}
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 (*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

WithContext adds the context to the service broker swaggerspec params

func (*ServiceBrokerSwaggerspecParams) WithDefaults added in v1.1.0

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

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