Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type GetSyncStatusForbidden
- func (o *GetSyncStatusForbidden) Code() int
- func (o *GetSyncStatusForbidden) Error() string
- func (o *GetSyncStatusForbidden) GetPayload() *models.ErrorResponseBody
- func (o *GetSyncStatusForbidden) IsClientError() bool
- func (o *GetSyncStatusForbidden) IsCode(code int) bool
- func (o *GetSyncStatusForbidden) IsRedirect() bool
- func (o *GetSyncStatusForbidden) IsServerError() bool
- func (o *GetSyncStatusForbidden) IsSuccess() bool
- func (o *GetSyncStatusForbidden) String() string
- type GetSyncStatusInternalServerError
- func (o *GetSyncStatusInternalServerError) Code() int
- func (o *GetSyncStatusInternalServerError) Error() string
- func (o *GetSyncStatusInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *GetSyncStatusInternalServerError) IsClientError() bool
- func (o *GetSyncStatusInternalServerError) IsCode(code int) bool
- func (o *GetSyncStatusInternalServerError) IsRedirect() bool
- func (o *GetSyncStatusInternalServerError) IsServerError() bool
- func (o *GetSyncStatusInternalServerError) IsSuccess() bool
- func (o *GetSyncStatusInternalServerError) String() string
- type GetSyncStatusOK
- func (o *GetSyncStatusOK) Code() int
- func (o *GetSyncStatusOK) Error() string
- func (o *GetSyncStatusOK) GetPayload() *models.ActiveSyncStatusDTO
- func (o *GetSyncStatusOK) IsClientError() bool
- func (o *GetSyncStatusOK) IsCode(code int) bool
- func (o *GetSyncStatusOK) IsRedirect() bool
- func (o *GetSyncStatusOK) IsServerError() bool
- func (o *GetSyncStatusOK) IsSuccess() bool
- func (o *GetSyncStatusOK) String() string
- type GetSyncStatusParams
- func (o *GetSyncStatusParams) SetContext(ctx context.Context)
- func (o *GetSyncStatusParams) SetDefaults()
- func (o *GetSyncStatusParams) SetHTTPClient(client *http.Client)
- func (o *GetSyncStatusParams) SetTimeout(timeout time.Duration)
- func (o *GetSyncStatusParams) WithContext(ctx context.Context) *GetSyncStatusParams
- func (o *GetSyncStatusParams) WithDefaults() *GetSyncStatusParams
- func (o *GetSyncStatusParams) WithHTTPClient(client *http.Client) *GetSyncStatusParams
- func (o *GetSyncStatusParams) WithTimeout(timeout time.Duration) *GetSyncStatusParams
- func (o *GetSyncStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSyncStatusReader
- type GetSyncStatusUnauthorized
- func (o *GetSyncStatusUnauthorized) Code() int
- func (o *GetSyncStatusUnauthorized) Error() string
- func (o *GetSyncStatusUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *GetSyncStatusUnauthorized) IsClientError() bool
- func (o *GetSyncStatusUnauthorized) IsCode(code int) bool
- func (o *GetSyncStatusUnauthorized) IsRedirect() bool
- func (o *GetSyncStatusUnauthorized) IsServerError() bool
- func (o *GetSyncStatusUnauthorized) IsSuccess() bool
- func (o *GetSyncStatusUnauthorized) String() string
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 ldap debug API
func (*Client) GetSyncStatus ¶
func (a *Client) GetSyncStatus(opts ...ClientOption) (*GetSyncStatusOK, error)
GetSyncStatus returns the current state of the LDAP background sync integration
You need to have a permission with action `ldap.status:read`.
func (*Client) GetSyncStatusWithParams ¶
func (a *Client) GetSyncStatusWithParams(params *GetSyncStatusParams, opts ...ClientOption) (*GetSyncStatusOK, error)
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
func WithAuthInfo ¶
func WithAuthInfo(authInfo runtime.ClientAuthInfoWriter) ClientOption
WithAuthInfo changes the transport on the client
type ClientService ¶
type ClientService interface { GetSyncStatus(opts ...ClientOption) (*GetSyncStatusOK, error) GetSyncStatusWithParams(params *GetSyncStatusParams, opts ...ClientOption) (*GetSyncStatusOK, 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 ldap debug API client.
type GetSyncStatusForbidden ¶
type GetSyncStatusForbidden struct {
Payload *models.ErrorResponseBody
}
GetSyncStatusForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewGetSyncStatusForbidden ¶
func NewGetSyncStatusForbidden() *GetSyncStatusForbidden
NewGetSyncStatusForbidden creates a GetSyncStatusForbidden with default headers values
func (*GetSyncStatusForbidden) Code ¶
func (o *GetSyncStatusForbidden) Code() int
Code gets the status code for the get sync status forbidden response
func (*GetSyncStatusForbidden) Error ¶
func (o *GetSyncStatusForbidden) Error() string
func (*GetSyncStatusForbidden) GetPayload ¶
func (o *GetSyncStatusForbidden) GetPayload() *models.ErrorResponseBody
func (*GetSyncStatusForbidden) IsClientError ¶
func (o *GetSyncStatusForbidden) IsClientError() bool
IsClientError returns true when this get sync status forbidden response has a 4xx status code
func (*GetSyncStatusForbidden) IsCode ¶
func (o *GetSyncStatusForbidden) IsCode(code int) bool
IsCode returns true when this get sync status forbidden response a status code equal to that given
func (*GetSyncStatusForbidden) IsRedirect ¶
func (o *GetSyncStatusForbidden) IsRedirect() bool
IsRedirect returns true when this get sync status forbidden response has a 3xx status code
func (*GetSyncStatusForbidden) IsServerError ¶
func (o *GetSyncStatusForbidden) IsServerError() bool
IsServerError returns true when this get sync status forbidden response has a 5xx status code
func (*GetSyncStatusForbidden) IsSuccess ¶
func (o *GetSyncStatusForbidden) IsSuccess() bool
IsSuccess returns true when this get sync status forbidden response has a 2xx status code
func (*GetSyncStatusForbidden) String ¶
func (o *GetSyncStatusForbidden) String() string
type GetSyncStatusInternalServerError ¶
type GetSyncStatusInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetSyncStatusInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetSyncStatusInternalServerError ¶
func NewGetSyncStatusInternalServerError() *GetSyncStatusInternalServerError
NewGetSyncStatusInternalServerError creates a GetSyncStatusInternalServerError with default headers values
func (*GetSyncStatusInternalServerError) Code ¶
func (o *GetSyncStatusInternalServerError) Code() int
Code gets the status code for the get sync status internal server error response
func (*GetSyncStatusInternalServerError) Error ¶
func (o *GetSyncStatusInternalServerError) Error() string
func (*GetSyncStatusInternalServerError) GetPayload ¶
func (o *GetSyncStatusInternalServerError) GetPayload() *models.ErrorResponseBody
func (*GetSyncStatusInternalServerError) IsClientError ¶
func (o *GetSyncStatusInternalServerError) IsClientError() bool
IsClientError returns true when this get sync status internal server error response has a 4xx status code
func (*GetSyncStatusInternalServerError) IsCode ¶
func (o *GetSyncStatusInternalServerError) IsCode(code int) bool
IsCode returns true when this get sync status internal server error response a status code equal to that given
func (*GetSyncStatusInternalServerError) IsRedirect ¶
func (o *GetSyncStatusInternalServerError) IsRedirect() bool
IsRedirect returns true when this get sync status internal server error response has a 3xx status code
func (*GetSyncStatusInternalServerError) IsServerError ¶
func (o *GetSyncStatusInternalServerError) IsServerError() bool
IsServerError returns true when this get sync status internal server error response has a 5xx status code
func (*GetSyncStatusInternalServerError) IsSuccess ¶
func (o *GetSyncStatusInternalServerError) IsSuccess() bool
IsSuccess returns true when this get sync status internal server error response has a 2xx status code
func (*GetSyncStatusInternalServerError) String ¶
func (o *GetSyncStatusInternalServerError) String() string
type GetSyncStatusOK ¶
type GetSyncStatusOK struct {
Payload *models.ActiveSyncStatusDTO
}
GetSyncStatusOK describes a response with status code 200, with default header values.
(empty)
func NewGetSyncStatusOK ¶
func NewGetSyncStatusOK() *GetSyncStatusOK
NewGetSyncStatusOK creates a GetSyncStatusOK with default headers values
func (*GetSyncStatusOK) Code ¶
func (o *GetSyncStatusOK) Code() int
Code gets the status code for the get sync status Ok response
func (*GetSyncStatusOK) Error ¶
func (o *GetSyncStatusOK) Error() string
func (*GetSyncStatusOK) GetPayload ¶
func (o *GetSyncStatusOK) GetPayload() *models.ActiveSyncStatusDTO
func (*GetSyncStatusOK) IsClientError ¶
func (o *GetSyncStatusOK) IsClientError() bool
IsClientError returns true when this get sync status Ok response has a 4xx status code
func (*GetSyncStatusOK) IsCode ¶
func (o *GetSyncStatusOK) IsCode(code int) bool
IsCode returns true when this get sync status Ok response a status code equal to that given
func (*GetSyncStatusOK) IsRedirect ¶
func (o *GetSyncStatusOK) IsRedirect() bool
IsRedirect returns true when this get sync status Ok response has a 3xx status code
func (*GetSyncStatusOK) IsServerError ¶
func (o *GetSyncStatusOK) IsServerError() bool
IsServerError returns true when this get sync status Ok response has a 5xx status code
func (*GetSyncStatusOK) IsSuccess ¶
func (o *GetSyncStatusOK) IsSuccess() bool
IsSuccess returns true when this get sync status Ok response has a 2xx status code
func (*GetSyncStatusOK) String ¶
func (o *GetSyncStatusOK) String() string
type GetSyncStatusParams ¶
type GetSyncStatusParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSyncStatusParams contains all the parameters to send to the API endpoint
for the get sync status operation. Typically these are written to a http.Request.
func NewGetSyncStatusParams ¶
func NewGetSyncStatusParams() *GetSyncStatusParams
NewGetSyncStatusParams creates a new GetSyncStatusParams 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 NewGetSyncStatusParamsWithContext ¶
func NewGetSyncStatusParamsWithContext(ctx context.Context) *GetSyncStatusParams
NewGetSyncStatusParamsWithContext creates a new GetSyncStatusParams object with the ability to set a context for a request.
func NewGetSyncStatusParamsWithHTTPClient ¶
func NewGetSyncStatusParamsWithHTTPClient(client *http.Client) *GetSyncStatusParams
NewGetSyncStatusParamsWithHTTPClient creates a new GetSyncStatusParams object with the ability to set a custom HTTPClient for a request.
func NewGetSyncStatusParamsWithTimeout ¶
func NewGetSyncStatusParamsWithTimeout(timeout time.Duration) *GetSyncStatusParams
NewGetSyncStatusParamsWithTimeout creates a new GetSyncStatusParams object with the ability to set a timeout on a request.
func (*GetSyncStatusParams) SetContext ¶
func (o *GetSyncStatusParams) SetContext(ctx context.Context)
SetContext adds the context to the get sync status params
func (*GetSyncStatusParams) SetDefaults ¶
func (o *GetSyncStatusParams) SetDefaults()
SetDefaults hydrates default values in the get sync status params (not the query body).
All values with no default are reset to their zero value.
func (*GetSyncStatusParams) SetHTTPClient ¶
func (o *GetSyncStatusParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get sync status params
func (*GetSyncStatusParams) SetTimeout ¶
func (o *GetSyncStatusParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get sync status params
func (*GetSyncStatusParams) WithContext ¶
func (o *GetSyncStatusParams) WithContext(ctx context.Context) *GetSyncStatusParams
WithContext adds the context to the get sync status params
func (*GetSyncStatusParams) WithDefaults ¶
func (o *GetSyncStatusParams) WithDefaults() *GetSyncStatusParams
WithDefaults hydrates default values in the get sync status params (not the query body).
All values with no default are reset to their zero value.
func (*GetSyncStatusParams) WithHTTPClient ¶
func (o *GetSyncStatusParams) WithHTTPClient(client *http.Client) *GetSyncStatusParams
WithHTTPClient adds the HTTPClient to the get sync status params
func (*GetSyncStatusParams) WithTimeout ¶
func (o *GetSyncStatusParams) WithTimeout(timeout time.Duration) *GetSyncStatusParams
WithTimeout adds the timeout to the get sync status params
func (*GetSyncStatusParams) WriteToRequest ¶
func (o *GetSyncStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSyncStatusReader ¶
type GetSyncStatusReader struct {
// contains filtered or unexported fields
}
GetSyncStatusReader is a Reader for the GetSyncStatus structure.
func (*GetSyncStatusReader) ReadResponse ¶
func (o *GetSyncStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSyncStatusUnauthorized ¶
type GetSyncStatusUnauthorized struct {
}GetSyncStatusUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewGetSyncStatusUnauthorized ¶
func NewGetSyncStatusUnauthorized() *GetSyncStatusUnauthorized
NewGetSyncStatusUnauthorized creates a GetSyncStatusUnauthorized with default headers values
func (*GetSyncStatusUnauthorized) Code ¶
func (o *GetSyncStatusUnauthorized) Code() int
Code gets the status code for the get sync status unauthorized response
func (*GetSyncStatusUnauthorized) Error ¶
func (o *GetSyncStatusUnauthorized) Error() string
func (*GetSyncStatusUnauthorized) GetPayload ¶
func (o *GetSyncStatusUnauthorized) GetPayload() *models.ErrorResponseBody
func (*GetSyncStatusUnauthorized) IsClientError ¶
func (o *GetSyncStatusUnauthorized) IsClientError() bool
IsClientError returns true when this get sync status unauthorized response has a 4xx status code
func (*GetSyncStatusUnauthorized) IsCode ¶
func (o *GetSyncStatusUnauthorized) IsCode(code int) bool
IsCode returns true when this get sync status unauthorized response a status code equal to that given
func (*GetSyncStatusUnauthorized) IsRedirect ¶
func (o *GetSyncStatusUnauthorized) IsRedirect() bool
IsRedirect returns true when this get sync status unauthorized response has a 3xx status code
func (*GetSyncStatusUnauthorized) IsServerError ¶
func (o *GetSyncStatusUnauthorized) IsServerError() bool
IsServerError returns true when this get sync status unauthorized response has a 5xx status code
func (*GetSyncStatusUnauthorized) IsSuccess ¶
func (o *GetSyncStatusUnauthorized) IsSuccess() bool
IsSuccess returns true when this get sync status unauthorized response has a 2xx status code
func (*GetSyncStatusUnauthorized) String ¶
func (o *GetSyncStatusUnauthorized) String() string