Documentation
¶
Index ¶
- type Client
- type GetV1AuthOK
- type GetV1AuthParams
- func (o *GetV1AuthParams) SetContext(ctx context.Context)
- func (o *GetV1AuthParams) SetTimeout(timeout time.Duration)
- func (o *GetV1AuthParams) WithContext(ctx context.Context) *GetV1AuthParams
- func (o *GetV1AuthParams) WithTimeout(timeout time.Duration) *GetV1AuthParams
- func (o *GetV1AuthParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1AuthReader
- type GetV1AuthUnauthorized
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 auth API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new auth API client.
func (*Client) GetV1Auth ¶
func (a *Client) GetV1Auth(params *GetV1AuthParams, authInfo runtime.ClientAuthInfoWriter) (*GetV1AuthOK, error)
GetV1Auth authentications
Returns information about authentication
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetV1AuthOK ¶
GetV1AuthOK handles this case with default header values.
Authenticated
func NewGetV1AuthOK ¶
func NewGetV1AuthOK() *GetV1AuthOK
NewGetV1AuthOK creates a GetV1AuthOK with default headers values
func (*GetV1AuthOK) Error ¶
func (o *GetV1AuthOK) Error() string
type GetV1AuthParams ¶
GetV1AuthParams contains all the parameters to send to the API endpoint for the get v1 auth operation typically these are written to a http.Request
func NewGetV1AuthParams ¶
func NewGetV1AuthParams() *GetV1AuthParams
NewGetV1AuthParams creates a new GetV1AuthParams object with the default values initialized.
func NewGetV1AuthParamsWithContext ¶
func NewGetV1AuthParamsWithContext(ctx context.Context) *GetV1AuthParams
NewGetV1AuthParamsWithContext creates a new GetV1AuthParams object with the default values initialized, and the ability to set a context for a request
func NewGetV1AuthParamsWithTimeout ¶
func NewGetV1AuthParamsWithTimeout(timeout time.Duration) *GetV1AuthParams
NewGetV1AuthParamsWithTimeout creates a new GetV1AuthParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetV1AuthParams) SetContext ¶
func (o *GetV1AuthParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 auth params
func (*GetV1AuthParams) SetTimeout ¶
func (o *GetV1AuthParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 auth params
func (*GetV1AuthParams) WithContext ¶
func (o *GetV1AuthParams) WithContext(ctx context.Context) *GetV1AuthParams
WithContext adds the context to the get v1 auth params
func (*GetV1AuthParams) WithTimeout ¶
func (o *GetV1AuthParams) WithTimeout(timeout time.Duration) *GetV1AuthParams
WithTimeout adds the timeout to the get v1 auth params
func (*GetV1AuthParams) WriteToRequest ¶
func (o *GetV1AuthParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1AuthReader ¶
type GetV1AuthReader struct {
// contains filtered or unexported fields
}
GetV1AuthReader is a Reader for the GetV1Auth structure.
func (*GetV1AuthReader) ReadResponse ¶
func (o *GetV1AuthReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV1AuthUnauthorized ¶
type GetV1AuthUnauthorized struct { }
GetV1AuthUnauthorized handles this case with default header values.
Unauthenticated
func NewGetV1AuthUnauthorized ¶
func NewGetV1AuthUnauthorized() *GetV1AuthUnauthorized
NewGetV1AuthUnauthorized creates a GetV1AuthUnauthorized with default headers values
func (*GetV1AuthUnauthorized) Error ¶
func (o *GetV1AuthUnauthorized) Error() string