Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type NoOpDefault
- type NoOpForbidden
- type NoOpNoContent
- type NoOpNotFound
- type NoOpOK
- type NoOpParams
- func (o *NoOpParams) SetContext(ctx context.Context)
- func (o *NoOpParams) SetDefaults()
- func (o *NoOpParams) SetHTTPClient(client *http.Client)
- func (o *NoOpParams) SetTimeout(timeout time.Duration)
- func (o *NoOpParams) WithContext(ctx context.Context) *NoOpParams
- func (o *NoOpParams) WithDefaults() *NoOpParams
- func (o *NoOpParams) WithHTTPClient(client *http.Client) *NoOpParams
- func (o *NoOpParams) WithTimeout(timeout time.Duration) *NoOpParams
- func (o *NoOpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type NoOpReader
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 schemas v1 API
func (*Client) NoOp ¶
func (a *Client) NoOp(params *NoOpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NoOpOK, *NoOpNoContent, error)
NoOp nos op
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { NoOp(params *NoOpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NoOpOK, *NoOpNoContent, 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 schemas v1 API client.
type NoOpDefault ¶
type NoOpDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
NoOpDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewNoOpDefault ¶
func NewNoOpDefault(code int) *NoOpDefault
NewNoOpDefault creates a NoOpDefault with default headers values
func (*NoOpDefault) Code ¶
func (o *NoOpDefault) Code() int
Code gets the status code for the no op default response
func (*NoOpDefault) Error ¶
func (o *NoOpDefault) Error() string
func (*NoOpDefault) GetPayload ¶
func (o *NoOpDefault) GetPayload() *service_model.RuntimeError
type NoOpForbidden ¶
type NoOpForbidden struct {
Payload interface{}
}
NoOpForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewNoOpForbidden ¶
func NewNoOpForbidden() *NoOpForbidden
NewNoOpForbidden creates a NoOpForbidden with default headers values
func (*NoOpForbidden) Error ¶
func (o *NoOpForbidden) Error() string
func (*NoOpForbidden) GetPayload ¶
func (o *NoOpForbidden) GetPayload() interface{}
type NoOpNoContent ¶
type NoOpNoContent struct {
Payload interface{}
}
NoOpNoContent describes a response with status code 204, with default header values.
No content.
func NewNoOpNoContent ¶
func NewNoOpNoContent() *NoOpNoContent
NewNoOpNoContent creates a NoOpNoContent with default headers values
func (*NoOpNoContent) Error ¶
func (o *NoOpNoContent) Error() string
func (*NoOpNoContent) GetPayload ¶
func (o *NoOpNoContent) GetPayload() interface{}
type NoOpNotFound ¶
type NoOpNotFound struct {
Payload interface{}
}
NoOpNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewNoOpNotFound ¶
func NewNoOpNotFound() *NoOpNotFound
NewNoOpNotFound creates a NoOpNotFound with default headers values
func (*NoOpNotFound) Error ¶
func (o *NoOpNotFound) Error() string
func (*NoOpNotFound) GetPayload ¶
func (o *NoOpNotFound) GetPayload() interface{}
type NoOpOK ¶
type NoOpOK struct {
Payload *service_model.V1Schemas
}
NoOpOK describes a response with status code 200, with default header values.
A successful response.
func (*NoOpOK) GetPayload ¶
func (o *NoOpOK) GetPayload() *service_model.V1Schemas
type NoOpParams ¶
type NoOpParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
NoOpParams contains all the parameters to send to the API endpoint
for the no op operation. Typically these are written to a http.Request.
func NewNoOpParams ¶
func NewNoOpParams() *NoOpParams
NewNoOpParams creates a new NoOpParams 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 NewNoOpParamsWithContext ¶
func NewNoOpParamsWithContext(ctx context.Context) *NoOpParams
NewNoOpParamsWithContext creates a new NoOpParams object with the ability to set a context for a request.
func NewNoOpParamsWithHTTPClient ¶
func NewNoOpParamsWithHTTPClient(client *http.Client) *NoOpParams
NewNoOpParamsWithHTTPClient creates a new NoOpParams object with the ability to set a custom HTTPClient for a request.
func NewNoOpParamsWithTimeout ¶
func NewNoOpParamsWithTimeout(timeout time.Duration) *NoOpParams
NewNoOpParamsWithTimeout creates a new NoOpParams object with the ability to set a timeout on a request.
func (*NoOpParams) SetContext ¶
func (o *NoOpParams) SetContext(ctx context.Context)
SetContext adds the context to the no op params
func (*NoOpParams) SetDefaults ¶
func (o *NoOpParams) SetDefaults()
SetDefaults hydrates default values in the no op params (not the query body).
All values with no default are reset to their zero value.
func (*NoOpParams) SetHTTPClient ¶
func (o *NoOpParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the no op params
func (*NoOpParams) SetTimeout ¶
func (o *NoOpParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the no op params
func (*NoOpParams) WithContext ¶
func (o *NoOpParams) WithContext(ctx context.Context) *NoOpParams
WithContext adds the context to the no op params
func (*NoOpParams) WithDefaults ¶
func (o *NoOpParams) WithDefaults() *NoOpParams
WithDefaults hydrates default values in the no op params (not the query body).
All values with no default are reset to their zero value.
func (*NoOpParams) WithHTTPClient ¶
func (o *NoOpParams) WithHTTPClient(client *http.Client) *NoOpParams
WithHTTPClient adds the HTTPClient to the no op params
func (*NoOpParams) WithTimeout ¶
func (o *NoOpParams) WithTimeout(timeout time.Duration) *NoOpParams
WithTimeout adds the timeout to the no op params
func (*NoOpParams) WriteToRequest ¶
func (o *NoOpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type NoOpReader ¶
type NoOpReader struct {
// contains filtered or unexported fields
}
NoOpReader is a Reader for the NoOp structure.
func (*NoOpReader) ReadResponse ¶
func (o *NoOpReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.