Documentation
¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type GetPublicKeyUsingGETBadRequest
- type GetPublicKeyUsingGETNotFound
- type GetPublicKeyUsingGETOK
- type GetPublicKeyUsingGETParams
- func NewGetPublicKeyUsingGETParams() *GetPublicKeyUsingGETParams
- func NewGetPublicKeyUsingGETParamsWithContext(ctx context.Context) *GetPublicKeyUsingGETParams
- func NewGetPublicKeyUsingGETParamsWithHTTPClient(client *http.Client) *GetPublicKeyUsingGETParams
- func NewGetPublicKeyUsingGETParamsWithTimeout(timeout time.Duration) *GetPublicKeyUsingGETParams
- func (o *GetPublicKeyUsingGETParams) SetContext(ctx context.Context)
- func (o *GetPublicKeyUsingGETParams) SetDefaults()
- func (o *GetPublicKeyUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicKeyUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicKeyUsingGETParams) WithContext(ctx context.Context) *GetPublicKeyUsingGETParams
- func (o *GetPublicKeyUsingGETParams) WithDefaults() *GetPublicKeyUsingGETParams
- func (o *GetPublicKeyUsingGETParams) WithHTTPClient(client *http.Client) *GetPublicKeyUsingGETParams
- func (o *GetPublicKeyUsingGETParams) WithTimeout(timeout time.Duration) *GetPublicKeyUsingGETParams
- func (o *GetPublicKeyUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicKeyUsingGETReader
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 active directory public key API
func (*Client) GetPublicKeyUsingGET ¶
func (a *Client) GetPublicKeyUsingGET(params *GetPublicKeyUsingGETParams, opts ...ClientOption) (*GetPublicKeyUsingGETOK, error)
GetPublicKeyUsingGET gets public key
Get Public Key
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v1.2.4
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetPublicKeyUsingGET(params *GetPublicKeyUsingGETParams, opts ...ClientOption) (*GetPublicKeyUsingGETOK, 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 active directory public key API client.
type GetPublicKeyUsingGETBadRequest ¶
type GetPublicKeyUsingGETBadRequest struct { }
GetPublicKeyUsingGETBadRequest describes a response with status code 400, with default header values.
Bad request, error occurred. For more details see log messages.
func NewGetPublicKeyUsingGETBadRequest ¶
func NewGetPublicKeyUsingGETBadRequest() *GetPublicKeyUsingGETBadRequest
NewGetPublicKeyUsingGETBadRequest creates a GetPublicKeyUsingGETBadRequest with default headers values
func (*GetPublicKeyUsingGETBadRequest) Error ¶
func (o *GetPublicKeyUsingGETBadRequest) Error() string
type GetPublicKeyUsingGETNotFound ¶
type GetPublicKeyUsingGETNotFound struct { }
GetPublicKeyUsingGETNotFound describes a response with status code 404, with default header values.
Entity not found.
func NewGetPublicKeyUsingGETNotFound ¶
func NewGetPublicKeyUsingGETNotFound() *GetPublicKeyUsingGETNotFound
NewGetPublicKeyUsingGETNotFound creates a GetPublicKeyUsingGETNotFound with default headers values
func (*GetPublicKeyUsingGETNotFound) Error ¶
func (o *GetPublicKeyUsingGETNotFound) Error() string
type GetPublicKeyUsingGETOK ¶
type GetPublicKeyUsingGETOK struct {
Payload *models.PublicKeyInstanceGetResponse
}
GetPublicKeyUsingGETOK describes a response with status code 200, with default header values.
OK
func NewGetPublicKeyUsingGETOK ¶
func NewGetPublicKeyUsingGETOK() *GetPublicKeyUsingGETOK
NewGetPublicKeyUsingGETOK creates a GetPublicKeyUsingGETOK with default headers values
func (*GetPublicKeyUsingGETOK) Error ¶
func (o *GetPublicKeyUsingGETOK) Error() string
func (*GetPublicKeyUsingGETOK) GetPayload ¶
func (o *GetPublicKeyUsingGETOK) GetPayload() *models.PublicKeyInstanceGetResponse
type GetPublicKeyUsingGETParams ¶
type GetPublicKeyUsingGETParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPublicKeyUsingGETParams contains all the parameters to send to the API endpoint
for the get public key using g e t operation. Typically these are written to a http.Request.
func NewGetPublicKeyUsingGETParams ¶
func NewGetPublicKeyUsingGETParams() *GetPublicKeyUsingGETParams
NewGetPublicKeyUsingGETParams creates a new GetPublicKeyUsingGETParams 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 NewGetPublicKeyUsingGETParamsWithContext ¶
func NewGetPublicKeyUsingGETParamsWithContext(ctx context.Context) *GetPublicKeyUsingGETParams
NewGetPublicKeyUsingGETParamsWithContext creates a new GetPublicKeyUsingGETParams object with the ability to set a context for a request.
func NewGetPublicKeyUsingGETParamsWithHTTPClient ¶
func NewGetPublicKeyUsingGETParamsWithHTTPClient(client *http.Client) *GetPublicKeyUsingGETParams
NewGetPublicKeyUsingGETParamsWithHTTPClient creates a new GetPublicKeyUsingGETParams object with the ability to set a custom HTTPClient for a request.
func NewGetPublicKeyUsingGETParamsWithTimeout ¶
func NewGetPublicKeyUsingGETParamsWithTimeout(timeout time.Duration) *GetPublicKeyUsingGETParams
NewGetPublicKeyUsingGETParamsWithTimeout creates a new GetPublicKeyUsingGETParams object with the ability to set a timeout on a request.
func (*GetPublicKeyUsingGETParams) SetContext ¶
func (o *GetPublicKeyUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get public key using g e t params
func (*GetPublicKeyUsingGETParams) SetDefaults ¶ added in v1.2.4
func (o *GetPublicKeyUsingGETParams) SetDefaults()
SetDefaults hydrates default values in the get public key using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*GetPublicKeyUsingGETParams) SetHTTPClient ¶
func (o *GetPublicKeyUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get public key using g e t params
func (*GetPublicKeyUsingGETParams) SetTimeout ¶
func (o *GetPublicKeyUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get public key using g e t params
func (*GetPublicKeyUsingGETParams) WithContext ¶
func (o *GetPublicKeyUsingGETParams) WithContext(ctx context.Context) *GetPublicKeyUsingGETParams
WithContext adds the context to the get public key using g e t params
func (*GetPublicKeyUsingGETParams) WithDefaults ¶ added in v1.2.4
func (o *GetPublicKeyUsingGETParams) WithDefaults() *GetPublicKeyUsingGETParams
WithDefaults hydrates default values in the get public key using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*GetPublicKeyUsingGETParams) WithHTTPClient ¶
func (o *GetPublicKeyUsingGETParams) WithHTTPClient(client *http.Client) *GetPublicKeyUsingGETParams
WithHTTPClient adds the HTTPClient to the get public key using g e t params
func (*GetPublicKeyUsingGETParams) WithTimeout ¶
func (o *GetPublicKeyUsingGETParams) WithTimeout(timeout time.Duration) *GetPublicKeyUsingGETParams
WithTimeout adds the timeout to the get public key using g e t params
func (*GetPublicKeyUsingGETParams) WriteToRequest ¶
func (o *GetPublicKeyUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPublicKeyUsingGETReader ¶
type GetPublicKeyUsingGETReader struct {
// contains filtered or unexported fields
}
GetPublicKeyUsingGETReader is a Reader for the GetPublicKeyUsingGET structure.
func (*GetPublicKeyUsingGETReader) ReadResponse ¶
func (o *GetPublicKeyUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.