Documentation
¶
Index ¶
- type Client
- type ClientService
- type GetLicenseBadRequest
- type GetLicenseConflict
- type GetLicenseForbidden
- type GetLicenseInternalServerError
- type GetLicenseNotFound
- type GetLicenseOK
- type GetLicenseParams
- func (o *GetLicenseParams) SetContext(ctx context.Context)
- func (o *GetLicenseParams) SetHTTPClient(client *http.Client)
- func (o *GetLicenseParams) SetTimeout(timeout time.Duration)
- func (o *GetLicenseParams) WithContext(ctx context.Context) *GetLicenseParams
- func (o *GetLicenseParams) WithHTTPClient(client *http.Client) *GetLicenseParams
- func (o *GetLicenseParams) WithTimeout(timeout time.Duration) *GetLicenseParams
- func (o *GetLicenseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLicenseReader
- type GetLicenseUnauthorized
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 license controller API
func (*Client) GetLicense ¶
func (a *Client) GetLicense(params *GetLicenseParams, authInfo runtime.ClientAuthInfoWriter) (*GetLicenseOK, error)
GetLicense gets
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetLicense(params *GetLicenseParams, authInfo runtime.ClientAuthInfoWriter) (*GetLicenseOK, 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 license controller API client.
type GetLicenseBadRequest ¶
GetLicenseBadRequest handles this case with default header values.
Bad Request
func NewGetLicenseBadRequest ¶
func NewGetLicenseBadRequest() *GetLicenseBadRequest
NewGetLicenseBadRequest creates a GetLicenseBadRequest with default headers values
func (*GetLicenseBadRequest) Error ¶
func (o *GetLicenseBadRequest) Error() string
func (*GetLicenseBadRequest) GetPayload ¶
func (o *GetLicenseBadRequest) GetPayload() *models.APIResult
type GetLicenseConflict ¶
GetLicenseConflict handles this case with default header values.
Conflict
func NewGetLicenseConflict ¶
func NewGetLicenseConflict() *GetLicenseConflict
NewGetLicenseConflict creates a GetLicenseConflict with default headers values
func (*GetLicenseConflict) Error ¶
func (o *GetLicenseConflict) Error() string
func (*GetLicenseConflict) GetPayload ¶
func (o *GetLicenseConflict) GetPayload() *models.APIResult
type GetLicenseForbidden ¶
GetLicenseForbidden handles this case with default header values.
Forbidden
func NewGetLicenseForbidden ¶
func NewGetLicenseForbidden() *GetLicenseForbidden
NewGetLicenseForbidden creates a GetLicenseForbidden with default headers values
func (*GetLicenseForbidden) Error ¶
func (o *GetLicenseForbidden) Error() string
func (*GetLicenseForbidden) GetPayload ¶
func (o *GetLicenseForbidden) GetPayload() *models.APIResult
type GetLicenseInternalServerError ¶
GetLicenseInternalServerError handles this case with default header values.
Internal Server Error
func NewGetLicenseInternalServerError ¶
func NewGetLicenseInternalServerError() *GetLicenseInternalServerError
NewGetLicenseInternalServerError creates a GetLicenseInternalServerError with default headers values
func (*GetLicenseInternalServerError) Error ¶
func (o *GetLicenseInternalServerError) Error() string
func (*GetLicenseInternalServerError) GetPayload ¶
func (o *GetLicenseInternalServerError) GetPayload() *models.APIResult
type GetLicenseNotFound ¶
GetLicenseNotFound handles this case with default header values.
Not Found
func NewGetLicenseNotFound ¶
func NewGetLicenseNotFound() *GetLicenseNotFound
NewGetLicenseNotFound creates a GetLicenseNotFound with default headers values
func (*GetLicenseNotFound) Error ¶
func (o *GetLicenseNotFound) Error() string
func (*GetLicenseNotFound) GetPayload ¶
func (o *GetLicenseNotFound) GetPayload() *models.APIResult
type GetLicenseOK ¶
type GetLicenseOK struct {
Payload *models.APIResultLicense
}
GetLicenseOK handles this case with default header values.
OK
func NewGetLicenseOK ¶
func NewGetLicenseOK() *GetLicenseOK
NewGetLicenseOK creates a GetLicenseOK with default headers values
func (*GetLicenseOK) Error ¶
func (o *GetLicenseOK) Error() string
func (*GetLicenseOK) GetPayload ¶
func (o *GetLicenseOK) GetPayload() *models.APIResultLicense
type GetLicenseParams ¶
type GetLicenseParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLicenseParams contains all the parameters to send to the API endpoint for the get license operation typically these are written to a http.Request
func NewGetLicenseParams ¶
func NewGetLicenseParams() *GetLicenseParams
NewGetLicenseParams creates a new GetLicenseParams object with the default values initialized.
func NewGetLicenseParamsWithContext ¶
func NewGetLicenseParamsWithContext(ctx context.Context) *GetLicenseParams
NewGetLicenseParamsWithContext creates a new GetLicenseParams object with the default values initialized, and the ability to set a context for a request
func NewGetLicenseParamsWithHTTPClient ¶
func NewGetLicenseParamsWithHTTPClient(client *http.Client) *GetLicenseParams
NewGetLicenseParamsWithHTTPClient creates a new GetLicenseParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetLicenseParamsWithTimeout ¶
func NewGetLicenseParamsWithTimeout(timeout time.Duration) *GetLicenseParams
NewGetLicenseParamsWithTimeout creates a new GetLicenseParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetLicenseParams) SetContext ¶
func (o *GetLicenseParams) SetContext(ctx context.Context)
SetContext adds the context to the get license params
func (*GetLicenseParams) SetHTTPClient ¶
func (o *GetLicenseParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get license params
func (*GetLicenseParams) SetTimeout ¶
func (o *GetLicenseParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get license params
func (*GetLicenseParams) WithContext ¶
func (o *GetLicenseParams) WithContext(ctx context.Context) *GetLicenseParams
WithContext adds the context to the get license params
func (*GetLicenseParams) WithHTTPClient ¶
func (o *GetLicenseParams) WithHTTPClient(client *http.Client) *GetLicenseParams
WithHTTPClient adds the HTTPClient to the get license params
func (*GetLicenseParams) WithTimeout ¶
func (o *GetLicenseParams) WithTimeout(timeout time.Duration) *GetLicenseParams
WithTimeout adds the timeout to the get license params
func (*GetLicenseParams) WriteToRequest ¶
func (o *GetLicenseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLicenseReader ¶
type GetLicenseReader struct {
// contains filtered or unexported fields
}
GetLicenseReader is a Reader for the GetLicense structure.
func (*GetLicenseReader) ReadResponse ¶
func (o *GetLicenseReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLicenseUnauthorized ¶
type GetLicenseUnauthorized struct {
}GetLicenseUnauthorized handles this case with default header values.
Unauthorized
func NewGetLicenseUnauthorized ¶
func NewGetLicenseUnauthorized() *GetLicenseUnauthorized
NewGetLicenseUnauthorized creates a GetLicenseUnauthorized with default headers values
func (*GetLicenseUnauthorized) Error ¶
func (o *GetLicenseUnauthorized) Error() string
func (*GetLicenseUnauthorized) GetPayload ¶
func (o *GetLicenseUnauthorized) GetPayload() *models.APIResult