Documentation
¶
Index ¶
- type Client
- type ClientService
- type VersioningListOK
- type VersioningListParams
- func NewVersioningListParams() *VersioningListParams
- func NewVersioningListParamsWithContext(ctx context.Context) *VersioningListParams
- func NewVersioningListParamsWithHTTPClient(client *http.Client) *VersioningListParams
- func NewVersioningListParamsWithTimeout(timeout time.Duration) *VersioningListParams
- func (o *VersioningListParams) SetContext(ctx context.Context)
- func (o *VersioningListParams) SetHTTPClient(client *http.Client)
- func (o *VersioningListParams) SetTimeout(timeout time.Duration)
- func (o *VersioningListParams) WithContext(ctx context.Context) *VersioningListParams
- func (o *VersioningListParams) WithHTTPClient(client *http.Client) *VersioningListParams
- func (o *VersioningListParams) WithTimeout(timeout time.Duration) *VersioningListParams
- func (o *VersioningListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VersioningListReader
- type VersioningReadOK
- type VersioningReadParams
- func NewVersioningReadParams() *VersioningReadParams
- func NewVersioningReadParamsWithContext(ctx context.Context) *VersioningReadParams
- func NewVersioningReadParamsWithHTTPClient(client *http.Client) *VersioningReadParams
- func NewVersioningReadParamsWithTimeout(timeout time.Duration) *VersioningReadParams
- func (o *VersioningReadParams) SetContext(ctx context.Context)
- func (o *VersioningReadParams) SetHTTPClient(client *http.Client)
- func (o *VersioningReadParams) SetTimeout(timeout time.Duration)
- func (o *VersioningReadParams) WithContext(ctx context.Context) *VersioningReadParams
- func (o *VersioningReadParams) WithHTTPClient(client *http.Client) *VersioningReadParams
- func (o *VersioningReadParams) WithTimeout(timeout time.Duration) *VersioningReadParams
- func (o *VersioningReadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VersioningReadReader
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 versioning API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) VersioningList ¶
func (a *Client) VersioningList(params *VersioningListParams) (*VersioningListOK, error)
VersioningList lists supported API versions
func (*Client) VersioningRead ¶
func (a *Client) VersioningRead(params *VersioningReadParams) (*VersioningReadOK, error)
VersioningRead lists top level resources
type ClientService ¶
type ClientService interface { VersioningList(params *VersioningListParams) (*VersioningListOK, error) VersioningRead(params *VersioningReadParams) (*VersioningReadOK, 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 versioning API client.
type VersioningListOK ¶
type VersioningListOK struct { }
VersioningListOK handles this case with default header values.
OK
func NewVersioningListOK ¶
func NewVersioningListOK() *VersioningListOK
NewVersioningListOK creates a VersioningListOK with default headers values
func (*VersioningListOK) Error ¶
func (o *VersioningListOK) Error() string
type VersioningListParams ¶
type VersioningListParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
VersioningListParams contains all the parameters to send to the API endpoint for the versioning list operation typically these are written to a http.Request
func NewVersioningListParams ¶
func NewVersioningListParams() *VersioningListParams
NewVersioningListParams creates a new VersioningListParams object with the default values initialized.
func NewVersioningListParamsWithContext ¶
func NewVersioningListParamsWithContext(ctx context.Context) *VersioningListParams
NewVersioningListParamsWithContext creates a new VersioningListParams object with the default values initialized, and the ability to set a context for a request
func NewVersioningListParamsWithHTTPClient ¶
func NewVersioningListParamsWithHTTPClient(client *http.Client) *VersioningListParams
NewVersioningListParamsWithHTTPClient creates a new VersioningListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewVersioningListParamsWithTimeout ¶
func NewVersioningListParamsWithTimeout(timeout time.Duration) *VersioningListParams
NewVersioningListParamsWithTimeout creates a new VersioningListParams object with the default values initialized, and the ability to set a timeout on a request
func (*VersioningListParams) SetContext ¶
func (o *VersioningListParams) SetContext(ctx context.Context)
SetContext adds the context to the versioning list params
func (*VersioningListParams) SetHTTPClient ¶
func (o *VersioningListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the versioning list params
func (*VersioningListParams) SetTimeout ¶
func (o *VersioningListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the versioning list params
func (*VersioningListParams) WithContext ¶
func (o *VersioningListParams) WithContext(ctx context.Context) *VersioningListParams
WithContext adds the context to the versioning list params
func (*VersioningListParams) WithHTTPClient ¶
func (o *VersioningListParams) WithHTTPClient(client *http.Client) *VersioningListParams
WithHTTPClient adds the HTTPClient to the versioning list params
func (*VersioningListParams) WithTimeout ¶
func (o *VersioningListParams) WithTimeout(timeout time.Duration) *VersioningListParams
WithTimeout adds the timeout to the versioning list params
func (*VersioningListParams) WriteToRequest ¶
func (o *VersioningListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type VersioningListReader ¶
type VersioningListReader struct {
// contains filtered or unexported fields
}
VersioningListReader is a Reader for the VersioningList structure.
func (*VersioningListReader) ReadResponse ¶
func (o *VersioningListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type VersioningReadOK ¶
type VersioningReadOK struct { }
VersioningReadOK handles this case with default header values.
OK
func NewVersioningReadOK ¶
func NewVersioningReadOK() *VersioningReadOK
NewVersioningReadOK creates a VersioningReadOK with default headers values
func (*VersioningReadOK) Error ¶
func (o *VersioningReadOK) Error() string
type VersioningReadParams ¶
type VersioningReadParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
VersioningReadParams contains all the parameters to send to the API endpoint for the versioning read operation typically these are written to a http.Request
func NewVersioningReadParams ¶
func NewVersioningReadParams() *VersioningReadParams
NewVersioningReadParams creates a new VersioningReadParams object with the default values initialized.
func NewVersioningReadParamsWithContext ¶
func NewVersioningReadParamsWithContext(ctx context.Context) *VersioningReadParams
NewVersioningReadParamsWithContext creates a new VersioningReadParams object with the default values initialized, and the ability to set a context for a request
func NewVersioningReadParamsWithHTTPClient ¶
func NewVersioningReadParamsWithHTTPClient(client *http.Client) *VersioningReadParams
NewVersioningReadParamsWithHTTPClient creates a new VersioningReadParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewVersioningReadParamsWithTimeout ¶
func NewVersioningReadParamsWithTimeout(timeout time.Duration) *VersioningReadParams
NewVersioningReadParamsWithTimeout creates a new VersioningReadParams object with the default values initialized, and the ability to set a timeout on a request
func (*VersioningReadParams) SetContext ¶
func (o *VersioningReadParams) SetContext(ctx context.Context)
SetContext adds the context to the versioning read params
func (*VersioningReadParams) SetHTTPClient ¶
func (o *VersioningReadParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the versioning read params
func (*VersioningReadParams) SetTimeout ¶
func (o *VersioningReadParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the versioning read params
func (*VersioningReadParams) WithContext ¶
func (o *VersioningReadParams) WithContext(ctx context.Context) *VersioningReadParams
WithContext adds the context to the versioning read params
func (*VersioningReadParams) WithHTTPClient ¶
func (o *VersioningReadParams) WithHTTPClient(client *http.Client) *VersioningReadParams
WithHTTPClient adds the HTTPClient to the versioning read params
func (*VersioningReadParams) WithTimeout ¶
func (o *VersioningReadParams) WithTimeout(timeout time.Duration) *VersioningReadParams
WithTimeout adds the timeout to the versioning read params
func (*VersioningReadParams) WriteToRequest ¶
func (o *VersioningReadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type VersioningReadReader ¶
type VersioningReadReader struct {
// contains filtered or unexported fields
}
VersioningReadReader is a Reader for the VersioningRead structure.
func (*VersioningReadReader) ReadResponse ¶
func (o *VersioningReadReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.