Documentation ¶
Index ¶
- type Client
- func (a *Client) GetLDAPStatus(opts ...ClientOption) (*GetLDAPStatusOK, error)
- func (a *Client) GetLDAPStatusWithParams(params *GetLDAPStatusParams, opts ...ClientOption) (*GetLDAPStatusOK, error)
- func (a *Client) GetUserFromLDAP(userName string, opts ...ClientOption) (*GetUserFromLDAPOK, error)
- func (a *Client) GetUserFromLDAPWithParams(params *GetUserFromLDAPParams, opts ...ClientOption) (*GetUserFromLDAPOK, error)
- func (a *Client) PostSyncUserWithLDAP(userID int64, opts ...ClientOption) (*PostSyncUserWithLDAPOK, error)
- func (a *Client) PostSyncUserWithLDAPWithParams(params *PostSyncUserWithLDAPParams, opts ...ClientOption) (*PostSyncUserWithLDAPOK, error)
- func (a *Client) ReloadLDAPCfg(opts ...ClientOption) (*ReloadLDAPCfgOK, error)
- func (a *Client) ReloadLDAPCfgWithParams(params *ReloadLDAPCfgParams, opts ...ClientOption) (*ReloadLDAPCfgOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetLDAPStatusForbidden
- func (o *GetLDAPStatusForbidden) Code() int
- func (o *GetLDAPStatusForbidden) Error() string
- func (o *GetLDAPStatusForbidden) GetPayload() *models.ErrorResponseBody
- func (o *GetLDAPStatusForbidden) IsClientError() bool
- func (o *GetLDAPStatusForbidden) IsCode(code int) bool
- func (o *GetLDAPStatusForbidden) IsRedirect() bool
- func (o *GetLDAPStatusForbidden) IsServerError() bool
- func (o *GetLDAPStatusForbidden) IsSuccess() bool
- func (o *GetLDAPStatusForbidden) String() string
- type GetLDAPStatusInternalServerError
- func (o *GetLDAPStatusInternalServerError) Code() int
- func (o *GetLDAPStatusInternalServerError) Error() string
- func (o *GetLDAPStatusInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *GetLDAPStatusInternalServerError) IsClientError() bool
- func (o *GetLDAPStatusInternalServerError) IsCode(code int) bool
- func (o *GetLDAPStatusInternalServerError) IsRedirect() bool
- func (o *GetLDAPStatusInternalServerError) IsServerError() bool
- func (o *GetLDAPStatusInternalServerError) IsSuccess() bool
- func (o *GetLDAPStatusInternalServerError) String() string
- type GetLDAPStatusOK
- func (o *GetLDAPStatusOK) Code() int
- func (o *GetLDAPStatusOK) Error() string
- func (o *GetLDAPStatusOK) GetPayload() *models.SuccessResponseBody
- func (o *GetLDAPStatusOK) IsClientError() bool
- func (o *GetLDAPStatusOK) IsCode(code int) bool
- func (o *GetLDAPStatusOK) IsRedirect() bool
- func (o *GetLDAPStatusOK) IsServerError() bool
- func (o *GetLDAPStatusOK) IsSuccess() bool
- func (o *GetLDAPStatusOK) String() string
- type GetLDAPStatusParams
- func (o *GetLDAPStatusParams) SetContext(ctx context.Context)
- func (o *GetLDAPStatusParams) SetDefaults()
- func (o *GetLDAPStatusParams) SetHTTPClient(client *http.Client)
- func (o *GetLDAPStatusParams) SetTimeout(timeout time.Duration)
- func (o *GetLDAPStatusParams) WithContext(ctx context.Context) *GetLDAPStatusParams
- func (o *GetLDAPStatusParams) WithDefaults() *GetLDAPStatusParams
- func (o *GetLDAPStatusParams) WithHTTPClient(client *http.Client) *GetLDAPStatusParams
- func (o *GetLDAPStatusParams) WithTimeout(timeout time.Duration) *GetLDAPStatusParams
- func (o *GetLDAPStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLDAPStatusReader
- type GetLDAPStatusUnauthorized
- func (o *GetLDAPStatusUnauthorized) Code() int
- func (o *GetLDAPStatusUnauthorized) Error() string
- func (o *GetLDAPStatusUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *GetLDAPStatusUnauthorized) IsClientError() bool
- func (o *GetLDAPStatusUnauthorized) IsCode(code int) bool
- func (o *GetLDAPStatusUnauthorized) IsRedirect() bool
- func (o *GetLDAPStatusUnauthorized) IsServerError() bool
- func (o *GetLDAPStatusUnauthorized) IsSuccess() bool
- func (o *GetLDAPStatusUnauthorized) String() string
- type GetUserFromLDAPForbidden
- func (o *GetUserFromLDAPForbidden) Code() int
- func (o *GetUserFromLDAPForbidden) Error() string
- func (o *GetUserFromLDAPForbidden) GetPayload() *models.ErrorResponseBody
- func (o *GetUserFromLDAPForbidden) IsClientError() bool
- func (o *GetUserFromLDAPForbidden) IsCode(code int) bool
- func (o *GetUserFromLDAPForbidden) IsRedirect() bool
- func (o *GetUserFromLDAPForbidden) IsServerError() bool
- func (o *GetUserFromLDAPForbidden) IsSuccess() bool
- func (o *GetUserFromLDAPForbidden) String() string
- type GetUserFromLDAPInternalServerError
- func (o *GetUserFromLDAPInternalServerError) Code() int
- func (o *GetUserFromLDAPInternalServerError) Error() string
- func (o *GetUserFromLDAPInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *GetUserFromLDAPInternalServerError) IsClientError() bool
- func (o *GetUserFromLDAPInternalServerError) IsCode(code int) bool
- func (o *GetUserFromLDAPInternalServerError) IsRedirect() bool
- func (o *GetUserFromLDAPInternalServerError) IsServerError() bool
- func (o *GetUserFromLDAPInternalServerError) IsSuccess() bool
- func (o *GetUserFromLDAPInternalServerError) String() string
- type GetUserFromLDAPOK
- func (o *GetUserFromLDAPOK) Code() int
- func (o *GetUserFromLDAPOK) Error() string
- func (o *GetUserFromLDAPOK) GetPayload() *models.SuccessResponseBody
- func (o *GetUserFromLDAPOK) IsClientError() bool
- func (o *GetUserFromLDAPOK) IsCode(code int) bool
- func (o *GetUserFromLDAPOK) IsRedirect() bool
- func (o *GetUserFromLDAPOK) IsServerError() bool
- func (o *GetUserFromLDAPOK) IsSuccess() bool
- func (o *GetUserFromLDAPOK) String() string
- type GetUserFromLDAPParams
- func NewGetUserFromLDAPParams() *GetUserFromLDAPParams
- func NewGetUserFromLDAPParamsWithContext(ctx context.Context) *GetUserFromLDAPParams
- func NewGetUserFromLDAPParamsWithHTTPClient(client *http.Client) *GetUserFromLDAPParams
- func NewGetUserFromLDAPParamsWithTimeout(timeout time.Duration) *GetUserFromLDAPParams
- func (o *GetUserFromLDAPParams) SetContext(ctx context.Context)
- func (o *GetUserFromLDAPParams) SetDefaults()
- func (o *GetUserFromLDAPParams) SetHTTPClient(client *http.Client)
- func (o *GetUserFromLDAPParams) SetTimeout(timeout time.Duration)
- func (o *GetUserFromLDAPParams) SetUserName(userName string)
- func (o *GetUserFromLDAPParams) WithContext(ctx context.Context) *GetUserFromLDAPParams
- func (o *GetUserFromLDAPParams) WithDefaults() *GetUserFromLDAPParams
- func (o *GetUserFromLDAPParams) WithHTTPClient(client *http.Client) *GetUserFromLDAPParams
- func (o *GetUserFromLDAPParams) WithTimeout(timeout time.Duration) *GetUserFromLDAPParams
- func (o *GetUserFromLDAPParams) WithUserName(userName string) *GetUserFromLDAPParams
- func (o *GetUserFromLDAPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserFromLDAPReader
- type GetUserFromLDAPUnauthorized
- func (o *GetUserFromLDAPUnauthorized) Code() int
- func (o *GetUserFromLDAPUnauthorized) Error() string
- func (o *GetUserFromLDAPUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *GetUserFromLDAPUnauthorized) IsClientError() bool
- func (o *GetUserFromLDAPUnauthorized) IsCode(code int) bool
- func (o *GetUserFromLDAPUnauthorized) IsRedirect() bool
- func (o *GetUserFromLDAPUnauthorized) IsServerError() bool
- func (o *GetUserFromLDAPUnauthorized) IsSuccess() bool
- func (o *GetUserFromLDAPUnauthorized) String() string
- type PostSyncUserWithLDAPForbidden
- func (o *PostSyncUserWithLDAPForbidden) Code() int
- func (o *PostSyncUserWithLDAPForbidden) Error() string
- func (o *PostSyncUserWithLDAPForbidden) GetPayload() *models.ErrorResponseBody
- func (o *PostSyncUserWithLDAPForbidden) IsClientError() bool
- func (o *PostSyncUserWithLDAPForbidden) IsCode(code int) bool
- func (o *PostSyncUserWithLDAPForbidden) IsRedirect() bool
- func (o *PostSyncUserWithLDAPForbidden) IsServerError() bool
- func (o *PostSyncUserWithLDAPForbidden) IsSuccess() bool
- func (o *PostSyncUserWithLDAPForbidden) String() string
- type PostSyncUserWithLDAPInternalServerError
- func (o *PostSyncUserWithLDAPInternalServerError) Code() int
- func (o *PostSyncUserWithLDAPInternalServerError) Error() string
- func (o *PostSyncUserWithLDAPInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *PostSyncUserWithLDAPInternalServerError) IsClientError() bool
- func (o *PostSyncUserWithLDAPInternalServerError) IsCode(code int) bool
- func (o *PostSyncUserWithLDAPInternalServerError) IsRedirect() bool
- func (o *PostSyncUserWithLDAPInternalServerError) IsServerError() bool
- func (o *PostSyncUserWithLDAPInternalServerError) IsSuccess() bool
- func (o *PostSyncUserWithLDAPInternalServerError) String() string
- type PostSyncUserWithLDAPOK
- func (o *PostSyncUserWithLDAPOK) Code() int
- func (o *PostSyncUserWithLDAPOK) Error() string
- func (o *PostSyncUserWithLDAPOK) GetPayload() *models.SuccessResponseBody
- func (o *PostSyncUserWithLDAPOK) IsClientError() bool
- func (o *PostSyncUserWithLDAPOK) IsCode(code int) bool
- func (o *PostSyncUserWithLDAPOK) IsRedirect() bool
- func (o *PostSyncUserWithLDAPOK) IsServerError() bool
- func (o *PostSyncUserWithLDAPOK) IsSuccess() bool
- func (o *PostSyncUserWithLDAPOK) String() string
- type PostSyncUserWithLDAPParams
- func NewPostSyncUserWithLDAPParams() *PostSyncUserWithLDAPParams
- func NewPostSyncUserWithLDAPParamsWithContext(ctx context.Context) *PostSyncUserWithLDAPParams
- func NewPostSyncUserWithLDAPParamsWithHTTPClient(client *http.Client) *PostSyncUserWithLDAPParams
- func NewPostSyncUserWithLDAPParamsWithTimeout(timeout time.Duration) *PostSyncUserWithLDAPParams
- func (o *PostSyncUserWithLDAPParams) SetContext(ctx context.Context)
- func (o *PostSyncUserWithLDAPParams) SetDefaults()
- func (o *PostSyncUserWithLDAPParams) SetHTTPClient(client *http.Client)
- func (o *PostSyncUserWithLDAPParams) SetTimeout(timeout time.Duration)
- func (o *PostSyncUserWithLDAPParams) SetUserID(userID int64)
- func (o *PostSyncUserWithLDAPParams) WithContext(ctx context.Context) *PostSyncUserWithLDAPParams
- func (o *PostSyncUserWithLDAPParams) WithDefaults() *PostSyncUserWithLDAPParams
- func (o *PostSyncUserWithLDAPParams) WithHTTPClient(client *http.Client) *PostSyncUserWithLDAPParams
- func (o *PostSyncUserWithLDAPParams) WithTimeout(timeout time.Duration) *PostSyncUserWithLDAPParams
- func (o *PostSyncUserWithLDAPParams) WithUserID(userID int64) *PostSyncUserWithLDAPParams
- func (o *PostSyncUserWithLDAPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostSyncUserWithLDAPReader
- type PostSyncUserWithLDAPUnauthorized
- func (o *PostSyncUserWithLDAPUnauthorized) Code() int
- func (o *PostSyncUserWithLDAPUnauthorized) Error() string
- func (o *PostSyncUserWithLDAPUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *PostSyncUserWithLDAPUnauthorized) IsClientError() bool
- func (o *PostSyncUserWithLDAPUnauthorized) IsCode(code int) bool
- func (o *PostSyncUserWithLDAPUnauthorized) IsRedirect() bool
- func (o *PostSyncUserWithLDAPUnauthorized) IsServerError() bool
- func (o *PostSyncUserWithLDAPUnauthorized) IsSuccess() bool
- func (o *PostSyncUserWithLDAPUnauthorized) String() string
- type ReloadLDAPCfgForbidden
- func (o *ReloadLDAPCfgForbidden) Code() int
- func (o *ReloadLDAPCfgForbidden) Error() string
- func (o *ReloadLDAPCfgForbidden) GetPayload() *models.ErrorResponseBody
- func (o *ReloadLDAPCfgForbidden) IsClientError() bool
- func (o *ReloadLDAPCfgForbidden) IsCode(code int) bool
- func (o *ReloadLDAPCfgForbidden) IsRedirect() bool
- func (o *ReloadLDAPCfgForbidden) IsServerError() bool
- func (o *ReloadLDAPCfgForbidden) IsSuccess() bool
- func (o *ReloadLDAPCfgForbidden) String() string
- type ReloadLDAPCfgInternalServerError
- func (o *ReloadLDAPCfgInternalServerError) Code() int
- func (o *ReloadLDAPCfgInternalServerError) Error() string
- func (o *ReloadLDAPCfgInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *ReloadLDAPCfgInternalServerError) IsClientError() bool
- func (o *ReloadLDAPCfgInternalServerError) IsCode(code int) bool
- func (o *ReloadLDAPCfgInternalServerError) IsRedirect() bool
- func (o *ReloadLDAPCfgInternalServerError) IsServerError() bool
- func (o *ReloadLDAPCfgInternalServerError) IsSuccess() bool
- func (o *ReloadLDAPCfgInternalServerError) String() string
- type ReloadLDAPCfgOK
- func (o *ReloadLDAPCfgOK) Code() int
- func (o *ReloadLDAPCfgOK) Error() string
- func (o *ReloadLDAPCfgOK) GetPayload() *models.SuccessResponseBody
- func (o *ReloadLDAPCfgOK) IsClientError() bool
- func (o *ReloadLDAPCfgOK) IsCode(code int) bool
- func (o *ReloadLDAPCfgOK) IsRedirect() bool
- func (o *ReloadLDAPCfgOK) IsServerError() bool
- func (o *ReloadLDAPCfgOK) IsSuccess() bool
- func (o *ReloadLDAPCfgOK) String() string
- type ReloadLDAPCfgParams
- func (o *ReloadLDAPCfgParams) SetContext(ctx context.Context)
- func (o *ReloadLDAPCfgParams) SetDefaults()
- func (o *ReloadLDAPCfgParams) SetHTTPClient(client *http.Client)
- func (o *ReloadLDAPCfgParams) SetTimeout(timeout time.Duration)
- func (o *ReloadLDAPCfgParams) WithContext(ctx context.Context) *ReloadLDAPCfgParams
- func (o *ReloadLDAPCfgParams) WithDefaults() *ReloadLDAPCfgParams
- func (o *ReloadLDAPCfgParams) WithHTTPClient(client *http.Client) *ReloadLDAPCfgParams
- func (o *ReloadLDAPCfgParams) WithTimeout(timeout time.Duration) *ReloadLDAPCfgParams
- func (o *ReloadLDAPCfgParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReloadLDAPCfgReader
- type ReloadLDAPCfgUnauthorized
- func (o *ReloadLDAPCfgUnauthorized) Code() int
- func (o *ReloadLDAPCfgUnauthorized) Error() string
- func (o *ReloadLDAPCfgUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *ReloadLDAPCfgUnauthorized) IsClientError() bool
- func (o *ReloadLDAPCfgUnauthorized) IsCode(code int) bool
- func (o *ReloadLDAPCfgUnauthorized) IsRedirect() bool
- func (o *ReloadLDAPCfgUnauthorized) IsServerError() bool
- func (o *ReloadLDAPCfgUnauthorized) IsSuccess() bool
- func (o *ReloadLDAPCfgUnauthorized) 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 admin ldap API
func (*Client) GetLDAPStatus ¶
func (a *Client) GetLDAPStatus(opts ...ClientOption) (*GetLDAPStatusOK, error)
GetLDAPStatus attempts to connect to all the configured LDAP servers and returns information on whenever they re available or not
If you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action `ldap.status:read`.
func (*Client) GetLDAPStatusWithParams ¶
func (a *Client) GetLDAPStatusWithParams(params *GetLDAPStatusParams, opts ...ClientOption) (*GetLDAPStatusOK, error)
func (*Client) GetUserFromLDAP ¶
func (a *Client) GetUserFromLDAP(userName string, opts ...ClientOption) (*GetUserFromLDAPOK, error)
GetUserFromLDAP finds an user based on a username in LDAP this helps illustrate how would the particular user be mapped in grafana when synced
If you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action `ldap.user:read`.
func (*Client) GetUserFromLDAPWithParams ¶
func (a *Client) GetUserFromLDAPWithParams(params *GetUserFromLDAPParams, opts ...ClientOption) (*GetUserFromLDAPOK, error)
func (*Client) PostSyncUserWithLDAP ¶
func (a *Client) PostSyncUserWithLDAP(userID int64, opts ...ClientOption) (*PostSyncUserWithLDAPOK, error)
PostSyncUserWithLDAP enables a single grafana user to be synchronized against LDAP
If you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action `ldap.user:sync`.
func (*Client) PostSyncUserWithLDAPWithParams ¶
func (a *Client) PostSyncUserWithLDAPWithParams(params *PostSyncUserWithLDAPParams, opts ...ClientOption) (*PostSyncUserWithLDAPOK, error)
func (*Client) ReloadLDAPCfg ¶
func (a *Client) ReloadLDAPCfg(opts ...ClientOption) (*ReloadLDAPCfgOK, error)
ReloadLDAPCfg reloads the LDAP configuration
If you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action `ldap.config:reload`.
func (*Client) ReloadLDAPCfgWithParams ¶
func (a *Client) ReloadLDAPCfgWithParams(params *ReloadLDAPCfgParams, opts ...ClientOption) (*ReloadLDAPCfgOK, 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 { GetLDAPStatus(opts ...ClientOption) (*GetLDAPStatusOK, error) GetLDAPStatusWithParams(params *GetLDAPStatusParams, opts ...ClientOption) (*GetLDAPStatusOK, error) GetUserFromLDAP(userName string, opts ...ClientOption) (*GetUserFromLDAPOK, error) GetUserFromLDAPWithParams(params *GetUserFromLDAPParams, opts ...ClientOption) (*GetUserFromLDAPOK, error) PostSyncUserWithLDAP(userID int64, opts ...ClientOption) (*PostSyncUserWithLDAPOK, error) PostSyncUserWithLDAPWithParams(params *PostSyncUserWithLDAPParams, opts ...ClientOption) (*PostSyncUserWithLDAPOK, error) ReloadLDAPCfg(opts ...ClientOption) (*ReloadLDAPCfgOK, error) ReloadLDAPCfgWithParams(params *ReloadLDAPCfgParams, opts ...ClientOption) (*ReloadLDAPCfgOK, 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 admin ldap API client.
type GetLDAPStatusForbidden ¶
type GetLDAPStatusForbidden struct {
Payload *models.ErrorResponseBody
}
GetLDAPStatusForbidden 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 NewGetLDAPStatusForbidden ¶
func NewGetLDAPStatusForbidden() *GetLDAPStatusForbidden
NewGetLDAPStatusForbidden creates a GetLDAPStatusForbidden with default headers values
func (*GetLDAPStatusForbidden) Code ¶
func (o *GetLDAPStatusForbidden) Code() int
Code gets the status code for the get Ldap status forbidden response
func (*GetLDAPStatusForbidden) Error ¶
func (o *GetLDAPStatusForbidden) Error() string
func (*GetLDAPStatusForbidden) GetPayload ¶
func (o *GetLDAPStatusForbidden) GetPayload() *models.ErrorResponseBody
func (*GetLDAPStatusForbidden) IsClientError ¶
func (o *GetLDAPStatusForbidden) IsClientError() bool
IsClientError returns true when this get Ldap status forbidden response has a 4xx status code
func (*GetLDAPStatusForbidden) IsCode ¶
func (o *GetLDAPStatusForbidden) IsCode(code int) bool
IsCode returns true when this get Ldap status forbidden response a status code equal to that given
func (*GetLDAPStatusForbidden) IsRedirect ¶
func (o *GetLDAPStatusForbidden) IsRedirect() bool
IsRedirect returns true when this get Ldap status forbidden response has a 3xx status code
func (*GetLDAPStatusForbidden) IsServerError ¶
func (o *GetLDAPStatusForbidden) IsServerError() bool
IsServerError returns true when this get Ldap status forbidden response has a 5xx status code
func (*GetLDAPStatusForbidden) IsSuccess ¶
func (o *GetLDAPStatusForbidden) IsSuccess() bool
IsSuccess returns true when this get Ldap status forbidden response has a 2xx status code
func (*GetLDAPStatusForbidden) String ¶
func (o *GetLDAPStatusForbidden) String() string
type GetLDAPStatusInternalServerError ¶
type GetLDAPStatusInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetLDAPStatusInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetLDAPStatusInternalServerError ¶
func NewGetLDAPStatusInternalServerError() *GetLDAPStatusInternalServerError
NewGetLDAPStatusInternalServerError creates a GetLDAPStatusInternalServerError with default headers values
func (*GetLDAPStatusInternalServerError) Code ¶
func (o *GetLDAPStatusInternalServerError) Code() int
Code gets the status code for the get Ldap status internal server error response
func (*GetLDAPStatusInternalServerError) Error ¶
func (o *GetLDAPStatusInternalServerError) Error() string
func (*GetLDAPStatusInternalServerError) GetPayload ¶
func (o *GetLDAPStatusInternalServerError) GetPayload() *models.ErrorResponseBody
func (*GetLDAPStatusInternalServerError) IsClientError ¶
func (o *GetLDAPStatusInternalServerError) IsClientError() bool
IsClientError returns true when this get Ldap status internal server error response has a 4xx status code
func (*GetLDAPStatusInternalServerError) IsCode ¶
func (o *GetLDAPStatusInternalServerError) IsCode(code int) bool
IsCode returns true when this get Ldap status internal server error response a status code equal to that given
func (*GetLDAPStatusInternalServerError) IsRedirect ¶
func (o *GetLDAPStatusInternalServerError) IsRedirect() bool
IsRedirect returns true when this get Ldap status internal server error response has a 3xx status code
func (*GetLDAPStatusInternalServerError) IsServerError ¶
func (o *GetLDAPStatusInternalServerError) IsServerError() bool
IsServerError returns true when this get Ldap status internal server error response has a 5xx status code
func (*GetLDAPStatusInternalServerError) IsSuccess ¶
func (o *GetLDAPStatusInternalServerError) IsSuccess() bool
IsSuccess returns true when this get Ldap status internal server error response has a 2xx status code
func (*GetLDAPStatusInternalServerError) String ¶
func (o *GetLDAPStatusInternalServerError) String() string
type GetLDAPStatusOK ¶
type GetLDAPStatusOK struct {
Payload *models.SuccessResponseBody
}
GetLDAPStatusOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewGetLDAPStatusOK ¶
func NewGetLDAPStatusOK() *GetLDAPStatusOK
NewGetLDAPStatusOK creates a GetLDAPStatusOK with default headers values
func (*GetLDAPStatusOK) Code ¶
func (o *GetLDAPStatusOK) Code() int
Code gets the status code for the get Ldap status Ok response
func (*GetLDAPStatusOK) Error ¶
func (o *GetLDAPStatusOK) Error() string
func (*GetLDAPStatusOK) GetPayload ¶
func (o *GetLDAPStatusOK) GetPayload() *models.SuccessResponseBody
func (*GetLDAPStatusOK) IsClientError ¶
func (o *GetLDAPStatusOK) IsClientError() bool
IsClientError returns true when this get Ldap status Ok response has a 4xx status code
func (*GetLDAPStatusOK) IsCode ¶
func (o *GetLDAPStatusOK) IsCode(code int) bool
IsCode returns true when this get Ldap status Ok response a status code equal to that given
func (*GetLDAPStatusOK) IsRedirect ¶
func (o *GetLDAPStatusOK) IsRedirect() bool
IsRedirect returns true when this get Ldap status Ok response has a 3xx status code
func (*GetLDAPStatusOK) IsServerError ¶
func (o *GetLDAPStatusOK) IsServerError() bool
IsServerError returns true when this get Ldap status Ok response has a 5xx status code
func (*GetLDAPStatusOK) IsSuccess ¶
func (o *GetLDAPStatusOK) IsSuccess() bool
IsSuccess returns true when this get Ldap status Ok response has a 2xx status code
func (*GetLDAPStatusOK) String ¶
func (o *GetLDAPStatusOK) String() string
type GetLDAPStatusParams ¶
type GetLDAPStatusParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLDAPStatusParams contains all the parameters to send to the API endpoint
for the get LDAP status operation. Typically these are written to a http.Request.
func NewGetLDAPStatusParams ¶
func NewGetLDAPStatusParams() *GetLDAPStatusParams
NewGetLDAPStatusParams creates a new GetLDAPStatusParams 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 NewGetLDAPStatusParamsWithContext ¶
func NewGetLDAPStatusParamsWithContext(ctx context.Context) *GetLDAPStatusParams
NewGetLDAPStatusParamsWithContext creates a new GetLDAPStatusParams object with the ability to set a context for a request.
func NewGetLDAPStatusParamsWithHTTPClient ¶
func NewGetLDAPStatusParamsWithHTTPClient(client *http.Client) *GetLDAPStatusParams
NewGetLDAPStatusParamsWithHTTPClient creates a new GetLDAPStatusParams object with the ability to set a custom HTTPClient for a request.
func NewGetLDAPStatusParamsWithTimeout ¶
func NewGetLDAPStatusParamsWithTimeout(timeout time.Duration) *GetLDAPStatusParams
NewGetLDAPStatusParamsWithTimeout creates a new GetLDAPStatusParams object with the ability to set a timeout on a request.
func (*GetLDAPStatusParams) SetContext ¶
func (o *GetLDAPStatusParams) SetContext(ctx context.Context)
SetContext adds the context to the get LDAP status params
func (*GetLDAPStatusParams) SetDefaults ¶
func (o *GetLDAPStatusParams) SetDefaults()
SetDefaults hydrates default values in the get LDAP status params (not the query body).
All values with no default are reset to their zero value.
func (*GetLDAPStatusParams) SetHTTPClient ¶
func (o *GetLDAPStatusParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get LDAP status params
func (*GetLDAPStatusParams) SetTimeout ¶
func (o *GetLDAPStatusParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get LDAP status params
func (*GetLDAPStatusParams) WithContext ¶
func (o *GetLDAPStatusParams) WithContext(ctx context.Context) *GetLDAPStatusParams
WithContext adds the context to the get LDAP status params
func (*GetLDAPStatusParams) WithDefaults ¶
func (o *GetLDAPStatusParams) WithDefaults() *GetLDAPStatusParams
WithDefaults hydrates default values in the get LDAP status params (not the query body).
All values with no default are reset to their zero value.
func (*GetLDAPStatusParams) WithHTTPClient ¶
func (o *GetLDAPStatusParams) WithHTTPClient(client *http.Client) *GetLDAPStatusParams
WithHTTPClient adds the HTTPClient to the get LDAP status params
func (*GetLDAPStatusParams) WithTimeout ¶
func (o *GetLDAPStatusParams) WithTimeout(timeout time.Duration) *GetLDAPStatusParams
WithTimeout adds the timeout to the get LDAP status params
func (*GetLDAPStatusParams) WriteToRequest ¶
func (o *GetLDAPStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLDAPStatusReader ¶
type GetLDAPStatusReader struct {
// contains filtered or unexported fields
}
GetLDAPStatusReader is a Reader for the GetLDAPStatus structure.
func (*GetLDAPStatusReader) ReadResponse ¶
func (o *GetLDAPStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLDAPStatusUnauthorized ¶
type GetLDAPStatusUnauthorized struct {
}GetLDAPStatusUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewGetLDAPStatusUnauthorized ¶
func NewGetLDAPStatusUnauthorized() *GetLDAPStatusUnauthorized
NewGetLDAPStatusUnauthorized creates a GetLDAPStatusUnauthorized with default headers values
func (*GetLDAPStatusUnauthorized) Code ¶
func (o *GetLDAPStatusUnauthorized) Code() int
Code gets the status code for the get Ldap status unauthorized response
func (*GetLDAPStatusUnauthorized) Error ¶
func (o *GetLDAPStatusUnauthorized) Error() string
func (*GetLDAPStatusUnauthorized) GetPayload ¶
func (o *GetLDAPStatusUnauthorized) GetPayload() *models.ErrorResponseBody
func (*GetLDAPStatusUnauthorized) IsClientError ¶
func (o *GetLDAPStatusUnauthorized) IsClientError() bool
IsClientError returns true when this get Ldap status unauthorized response has a 4xx status code
func (*GetLDAPStatusUnauthorized) IsCode ¶
func (o *GetLDAPStatusUnauthorized) IsCode(code int) bool
IsCode returns true when this get Ldap status unauthorized response a status code equal to that given
func (*GetLDAPStatusUnauthorized) IsRedirect ¶
func (o *GetLDAPStatusUnauthorized) IsRedirect() bool
IsRedirect returns true when this get Ldap status unauthorized response has a 3xx status code
func (*GetLDAPStatusUnauthorized) IsServerError ¶
func (o *GetLDAPStatusUnauthorized) IsServerError() bool
IsServerError returns true when this get Ldap status unauthorized response has a 5xx status code
func (*GetLDAPStatusUnauthorized) IsSuccess ¶
func (o *GetLDAPStatusUnauthorized) IsSuccess() bool
IsSuccess returns true when this get Ldap status unauthorized response has a 2xx status code
func (*GetLDAPStatusUnauthorized) String ¶
func (o *GetLDAPStatusUnauthorized) String() string
type GetUserFromLDAPForbidden ¶
type GetUserFromLDAPForbidden struct {
Payload *models.ErrorResponseBody
}
GetUserFromLDAPForbidden 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 NewGetUserFromLDAPForbidden ¶
func NewGetUserFromLDAPForbidden() *GetUserFromLDAPForbidden
NewGetUserFromLDAPForbidden creates a GetUserFromLDAPForbidden with default headers values
func (*GetUserFromLDAPForbidden) Code ¶
func (o *GetUserFromLDAPForbidden) Code() int
Code gets the status code for the get user from Ldap forbidden response
func (*GetUserFromLDAPForbidden) Error ¶
func (o *GetUserFromLDAPForbidden) Error() string
func (*GetUserFromLDAPForbidden) GetPayload ¶
func (o *GetUserFromLDAPForbidden) GetPayload() *models.ErrorResponseBody
func (*GetUserFromLDAPForbidden) IsClientError ¶
func (o *GetUserFromLDAPForbidden) IsClientError() bool
IsClientError returns true when this get user from Ldap forbidden response has a 4xx status code
func (*GetUserFromLDAPForbidden) IsCode ¶
func (o *GetUserFromLDAPForbidden) IsCode(code int) bool
IsCode returns true when this get user from Ldap forbidden response a status code equal to that given
func (*GetUserFromLDAPForbidden) IsRedirect ¶
func (o *GetUserFromLDAPForbidden) IsRedirect() bool
IsRedirect returns true when this get user from Ldap forbidden response has a 3xx status code
func (*GetUserFromLDAPForbidden) IsServerError ¶
func (o *GetUserFromLDAPForbidden) IsServerError() bool
IsServerError returns true when this get user from Ldap forbidden response has a 5xx status code
func (*GetUserFromLDAPForbidden) IsSuccess ¶
func (o *GetUserFromLDAPForbidden) IsSuccess() bool
IsSuccess returns true when this get user from Ldap forbidden response has a 2xx status code
func (*GetUserFromLDAPForbidden) String ¶
func (o *GetUserFromLDAPForbidden) String() string
type GetUserFromLDAPInternalServerError ¶
type GetUserFromLDAPInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetUserFromLDAPInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetUserFromLDAPInternalServerError ¶
func NewGetUserFromLDAPInternalServerError() *GetUserFromLDAPInternalServerError
NewGetUserFromLDAPInternalServerError creates a GetUserFromLDAPInternalServerError with default headers values
func (*GetUserFromLDAPInternalServerError) Code ¶
func (o *GetUserFromLDAPInternalServerError) Code() int
Code gets the status code for the get user from Ldap internal server error response
func (*GetUserFromLDAPInternalServerError) Error ¶
func (o *GetUserFromLDAPInternalServerError) Error() string
func (*GetUserFromLDAPInternalServerError) GetPayload ¶
func (o *GetUserFromLDAPInternalServerError) GetPayload() *models.ErrorResponseBody
func (*GetUserFromLDAPInternalServerError) IsClientError ¶
func (o *GetUserFromLDAPInternalServerError) IsClientError() bool
IsClientError returns true when this get user from Ldap internal server error response has a 4xx status code
func (*GetUserFromLDAPInternalServerError) IsCode ¶
func (o *GetUserFromLDAPInternalServerError) IsCode(code int) bool
IsCode returns true when this get user from Ldap internal server error response a status code equal to that given
func (*GetUserFromLDAPInternalServerError) IsRedirect ¶
func (o *GetUserFromLDAPInternalServerError) IsRedirect() bool
IsRedirect returns true when this get user from Ldap internal server error response has a 3xx status code
func (*GetUserFromLDAPInternalServerError) IsServerError ¶
func (o *GetUserFromLDAPInternalServerError) IsServerError() bool
IsServerError returns true when this get user from Ldap internal server error response has a 5xx status code
func (*GetUserFromLDAPInternalServerError) IsSuccess ¶
func (o *GetUserFromLDAPInternalServerError) IsSuccess() bool
IsSuccess returns true when this get user from Ldap internal server error response has a 2xx status code
func (*GetUserFromLDAPInternalServerError) String ¶
func (o *GetUserFromLDAPInternalServerError) String() string
type GetUserFromLDAPOK ¶
type GetUserFromLDAPOK struct {
Payload *models.SuccessResponseBody
}
GetUserFromLDAPOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewGetUserFromLDAPOK ¶
func NewGetUserFromLDAPOK() *GetUserFromLDAPOK
NewGetUserFromLDAPOK creates a GetUserFromLDAPOK with default headers values
func (*GetUserFromLDAPOK) Code ¶
func (o *GetUserFromLDAPOK) Code() int
Code gets the status code for the get user from Ldap Ok response
func (*GetUserFromLDAPOK) Error ¶
func (o *GetUserFromLDAPOK) Error() string
func (*GetUserFromLDAPOK) GetPayload ¶
func (o *GetUserFromLDAPOK) GetPayload() *models.SuccessResponseBody
func (*GetUserFromLDAPOK) IsClientError ¶
func (o *GetUserFromLDAPOK) IsClientError() bool
IsClientError returns true when this get user from Ldap Ok response has a 4xx status code
func (*GetUserFromLDAPOK) IsCode ¶
func (o *GetUserFromLDAPOK) IsCode(code int) bool
IsCode returns true when this get user from Ldap Ok response a status code equal to that given
func (*GetUserFromLDAPOK) IsRedirect ¶
func (o *GetUserFromLDAPOK) IsRedirect() bool
IsRedirect returns true when this get user from Ldap Ok response has a 3xx status code
func (*GetUserFromLDAPOK) IsServerError ¶
func (o *GetUserFromLDAPOK) IsServerError() bool
IsServerError returns true when this get user from Ldap Ok response has a 5xx status code
func (*GetUserFromLDAPOK) IsSuccess ¶
func (o *GetUserFromLDAPOK) IsSuccess() bool
IsSuccess returns true when this get user from Ldap Ok response has a 2xx status code
func (*GetUserFromLDAPOK) String ¶
func (o *GetUserFromLDAPOK) String() string
type GetUserFromLDAPParams ¶
type GetUserFromLDAPParams struct { // UserName. UserName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUserFromLDAPParams contains all the parameters to send to the API endpoint
for the get user from LDAP operation. Typically these are written to a http.Request.
func NewGetUserFromLDAPParams ¶
func NewGetUserFromLDAPParams() *GetUserFromLDAPParams
NewGetUserFromLDAPParams creates a new GetUserFromLDAPParams 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 NewGetUserFromLDAPParamsWithContext ¶
func NewGetUserFromLDAPParamsWithContext(ctx context.Context) *GetUserFromLDAPParams
NewGetUserFromLDAPParamsWithContext creates a new GetUserFromLDAPParams object with the ability to set a context for a request.
func NewGetUserFromLDAPParamsWithHTTPClient ¶
func NewGetUserFromLDAPParamsWithHTTPClient(client *http.Client) *GetUserFromLDAPParams
NewGetUserFromLDAPParamsWithHTTPClient creates a new GetUserFromLDAPParams object with the ability to set a custom HTTPClient for a request.
func NewGetUserFromLDAPParamsWithTimeout ¶
func NewGetUserFromLDAPParamsWithTimeout(timeout time.Duration) *GetUserFromLDAPParams
NewGetUserFromLDAPParamsWithTimeout creates a new GetUserFromLDAPParams object with the ability to set a timeout on a request.
func (*GetUserFromLDAPParams) SetContext ¶
func (o *GetUserFromLDAPParams) SetContext(ctx context.Context)
SetContext adds the context to the get user from LDAP params
func (*GetUserFromLDAPParams) SetDefaults ¶
func (o *GetUserFromLDAPParams) SetDefaults()
SetDefaults hydrates default values in the get user from LDAP params (not the query body).
All values with no default are reset to their zero value.
func (*GetUserFromLDAPParams) SetHTTPClient ¶
func (o *GetUserFromLDAPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user from LDAP params
func (*GetUserFromLDAPParams) SetTimeout ¶
func (o *GetUserFromLDAPParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user from LDAP params
func (*GetUserFromLDAPParams) SetUserName ¶
func (o *GetUserFromLDAPParams) SetUserName(userName string)
SetUserName adds the userName to the get user from LDAP params
func (*GetUserFromLDAPParams) WithContext ¶
func (o *GetUserFromLDAPParams) WithContext(ctx context.Context) *GetUserFromLDAPParams
WithContext adds the context to the get user from LDAP params
func (*GetUserFromLDAPParams) WithDefaults ¶
func (o *GetUserFromLDAPParams) WithDefaults() *GetUserFromLDAPParams
WithDefaults hydrates default values in the get user from LDAP params (not the query body).
All values with no default are reset to their zero value.
func (*GetUserFromLDAPParams) WithHTTPClient ¶
func (o *GetUserFromLDAPParams) WithHTTPClient(client *http.Client) *GetUserFromLDAPParams
WithHTTPClient adds the HTTPClient to the get user from LDAP params
func (*GetUserFromLDAPParams) WithTimeout ¶
func (o *GetUserFromLDAPParams) WithTimeout(timeout time.Duration) *GetUserFromLDAPParams
WithTimeout adds the timeout to the get user from LDAP params
func (*GetUserFromLDAPParams) WithUserName ¶
func (o *GetUserFromLDAPParams) WithUserName(userName string) *GetUserFromLDAPParams
WithUserName adds the userName to the get user from LDAP params
func (*GetUserFromLDAPParams) WriteToRequest ¶
func (o *GetUserFromLDAPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserFromLDAPReader ¶
type GetUserFromLDAPReader struct {
// contains filtered or unexported fields
}
GetUserFromLDAPReader is a Reader for the GetUserFromLDAP structure.
func (*GetUserFromLDAPReader) ReadResponse ¶
func (o *GetUserFromLDAPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserFromLDAPUnauthorized ¶
type GetUserFromLDAPUnauthorized struct {
}GetUserFromLDAPUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewGetUserFromLDAPUnauthorized ¶
func NewGetUserFromLDAPUnauthorized() *GetUserFromLDAPUnauthorized
NewGetUserFromLDAPUnauthorized creates a GetUserFromLDAPUnauthorized with default headers values
func (*GetUserFromLDAPUnauthorized) Code ¶
func (o *GetUserFromLDAPUnauthorized) Code() int
Code gets the status code for the get user from Ldap unauthorized response
func (*GetUserFromLDAPUnauthorized) Error ¶
func (o *GetUserFromLDAPUnauthorized) Error() string
func (*GetUserFromLDAPUnauthorized) GetPayload ¶
func (o *GetUserFromLDAPUnauthorized) GetPayload() *models.ErrorResponseBody
func (*GetUserFromLDAPUnauthorized) IsClientError ¶
func (o *GetUserFromLDAPUnauthorized) IsClientError() bool
IsClientError returns true when this get user from Ldap unauthorized response has a 4xx status code
func (*GetUserFromLDAPUnauthorized) IsCode ¶
func (o *GetUserFromLDAPUnauthorized) IsCode(code int) bool
IsCode returns true when this get user from Ldap unauthorized response a status code equal to that given
func (*GetUserFromLDAPUnauthorized) IsRedirect ¶
func (o *GetUserFromLDAPUnauthorized) IsRedirect() bool
IsRedirect returns true when this get user from Ldap unauthorized response has a 3xx status code
func (*GetUserFromLDAPUnauthorized) IsServerError ¶
func (o *GetUserFromLDAPUnauthorized) IsServerError() bool
IsServerError returns true when this get user from Ldap unauthorized response has a 5xx status code
func (*GetUserFromLDAPUnauthorized) IsSuccess ¶
func (o *GetUserFromLDAPUnauthorized) IsSuccess() bool
IsSuccess returns true when this get user from Ldap unauthorized response has a 2xx status code
func (*GetUserFromLDAPUnauthorized) String ¶
func (o *GetUserFromLDAPUnauthorized) String() string
type PostSyncUserWithLDAPForbidden ¶
type PostSyncUserWithLDAPForbidden struct {
Payload *models.ErrorResponseBody
}
PostSyncUserWithLDAPForbidden 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 NewPostSyncUserWithLDAPForbidden ¶
func NewPostSyncUserWithLDAPForbidden() *PostSyncUserWithLDAPForbidden
NewPostSyncUserWithLDAPForbidden creates a PostSyncUserWithLDAPForbidden with default headers values
func (*PostSyncUserWithLDAPForbidden) Code ¶
func (o *PostSyncUserWithLDAPForbidden) Code() int
Code gets the status code for the post sync user with Ldap forbidden response
func (*PostSyncUserWithLDAPForbidden) Error ¶
func (o *PostSyncUserWithLDAPForbidden) Error() string
func (*PostSyncUserWithLDAPForbidden) GetPayload ¶
func (o *PostSyncUserWithLDAPForbidden) GetPayload() *models.ErrorResponseBody
func (*PostSyncUserWithLDAPForbidden) IsClientError ¶
func (o *PostSyncUserWithLDAPForbidden) IsClientError() bool
IsClientError returns true when this post sync user with Ldap forbidden response has a 4xx status code
func (*PostSyncUserWithLDAPForbidden) IsCode ¶
func (o *PostSyncUserWithLDAPForbidden) IsCode(code int) bool
IsCode returns true when this post sync user with Ldap forbidden response a status code equal to that given
func (*PostSyncUserWithLDAPForbidden) IsRedirect ¶
func (o *PostSyncUserWithLDAPForbidden) IsRedirect() bool
IsRedirect returns true when this post sync user with Ldap forbidden response has a 3xx status code
func (*PostSyncUserWithLDAPForbidden) IsServerError ¶
func (o *PostSyncUserWithLDAPForbidden) IsServerError() bool
IsServerError returns true when this post sync user with Ldap forbidden response has a 5xx status code
func (*PostSyncUserWithLDAPForbidden) IsSuccess ¶
func (o *PostSyncUserWithLDAPForbidden) IsSuccess() bool
IsSuccess returns true when this post sync user with Ldap forbidden response has a 2xx status code
func (*PostSyncUserWithLDAPForbidden) String ¶
func (o *PostSyncUserWithLDAPForbidden) String() string
type PostSyncUserWithLDAPInternalServerError ¶
type PostSyncUserWithLDAPInternalServerError struct {
Payload *models.ErrorResponseBody
}
PostSyncUserWithLDAPInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewPostSyncUserWithLDAPInternalServerError ¶
func NewPostSyncUserWithLDAPInternalServerError() *PostSyncUserWithLDAPInternalServerError
NewPostSyncUserWithLDAPInternalServerError creates a PostSyncUserWithLDAPInternalServerError with default headers values
func (*PostSyncUserWithLDAPInternalServerError) Code ¶
func (o *PostSyncUserWithLDAPInternalServerError) Code() int
Code gets the status code for the post sync user with Ldap internal server error response
func (*PostSyncUserWithLDAPInternalServerError) Error ¶
func (o *PostSyncUserWithLDAPInternalServerError) Error() string
func (*PostSyncUserWithLDAPInternalServerError) GetPayload ¶
func (o *PostSyncUserWithLDAPInternalServerError) GetPayload() *models.ErrorResponseBody
func (*PostSyncUserWithLDAPInternalServerError) IsClientError ¶
func (o *PostSyncUserWithLDAPInternalServerError) IsClientError() bool
IsClientError returns true when this post sync user with Ldap internal server error response has a 4xx status code
func (*PostSyncUserWithLDAPInternalServerError) IsCode ¶
func (o *PostSyncUserWithLDAPInternalServerError) IsCode(code int) bool
IsCode returns true when this post sync user with Ldap internal server error response a status code equal to that given
func (*PostSyncUserWithLDAPInternalServerError) IsRedirect ¶
func (o *PostSyncUserWithLDAPInternalServerError) IsRedirect() bool
IsRedirect returns true when this post sync user with Ldap internal server error response has a 3xx status code
func (*PostSyncUserWithLDAPInternalServerError) IsServerError ¶
func (o *PostSyncUserWithLDAPInternalServerError) IsServerError() bool
IsServerError returns true when this post sync user with Ldap internal server error response has a 5xx status code
func (*PostSyncUserWithLDAPInternalServerError) IsSuccess ¶
func (o *PostSyncUserWithLDAPInternalServerError) IsSuccess() bool
IsSuccess returns true when this post sync user with Ldap internal server error response has a 2xx status code
func (*PostSyncUserWithLDAPInternalServerError) String ¶
func (o *PostSyncUserWithLDAPInternalServerError) String() string
type PostSyncUserWithLDAPOK ¶
type PostSyncUserWithLDAPOK struct {
Payload *models.SuccessResponseBody
}
PostSyncUserWithLDAPOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewPostSyncUserWithLDAPOK ¶
func NewPostSyncUserWithLDAPOK() *PostSyncUserWithLDAPOK
NewPostSyncUserWithLDAPOK creates a PostSyncUserWithLDAPOK with default headers values
func (*PostSyncUserWithLDAPOK) Code ¶
func (o *PostSyncUserWithLDAPOK) Code() int
Code gets the status code for the post sync user with Ldap Ok response
func (*PostSyncUserWithLDAPOK) Error ¶
func (o *PostSyncUserWithLDAPOK) Error() string
func (*PostSyncUserWithLDAPOK) GetPayload ¶
func (o *PostSyncUserWithLDAPOK) GetPayload() *models.SuccessResponseBody
func (*PostSyncUserWithLDAPOK) IsClientError ¶
func (o *PostSyncUserWithLDAPOK) IsClientError() bool
IsClientError returns true when this post sync user with Ldap Ok response has a 4xx status code
func (*PostSyncUserWithLDAPOK) IsCode ¶
func (o *PostSyncUserWithLDAPOK) IsCode(code int) bool
IsCode returns true when this post sync user with Ldap Ok response a status code equal to that given
func (*PostSyncUserWithLDAPOK) IsRedirect ¶
func (o *PostSyncUserWithLDAPOK) IsRedirect() bool
IsRedirect returns true when this post sync user with Ldap Ok response has a 3xx status code
func (*PostSyncUserWithLDAPOK) IsServerError ¶
func (o *PostSyncUserWithLDAPOK) IsServerError() bool
IsServerError returns true when this post sync user with Ldap Ok response has a 5xx status code
func (*PostSyncUserWithLDAPOK) IsSuccess ¶
func (o *PostSyncUserWithLDAPOK) IsSuccess() bool
IsSuccess returns true when this post sync user with Ldap Ok response has a 2xx status code
func (*PostSyncUserWithLDAPOK) String ¶
func (o *PostSyncUserWithLDAPOK) String() string
type PostSyncUserWithLDAPParams ¶
type PostSyncUserWithLDAPParams struct { // UserID. // // Format: int64 UserID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostSyncUserWithLDAPParams contains all the parameters to send to the API endpoint
for the post sync user with LDAP operation. Typically these are written to a http.Request.
func NewPostSyncUserWithLDAPParams ¶
func NewPostSyncUserWithLDAPParams() *PostSyncUserWithLDAPParams
NewPostSyncUserWithLDAPParams creates a new PostSyncUserWithLDAPParams 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 NewPostSyncUserWithLDAPParamsWithContext ¶
func NewPostSyncUserWithLDAPParamsWithContext(ctx context.Context) *PostSyncUserWithLDAPParams
NewPostSyncUserWithLDAPParamsWithContext creates a new PostSyncUserWithLDAPParams object with the ability to set a context for a request.
func NewPostSyncUserWithLDAPParamsWithHTTPClient ¶
func NewPostSyncUserWithLDAPParamsWithHTTPClient(client *http.Client) *PostSyncUserWithLDAPParams
NewPostSyncUserWithLDAPParamsWithHTTPClient creates a new PostSyncUserWithLDAPParams object with the ability to set a custom HTTPClient for a request.
func NewPostSyncUserWithLDAPParamsWithTimeout ¶
func NewPostSyncUserWithLDAPParamsWithTimeout(timeout time.Duration) *PostSyncUserWithLDAPParams
NewPostSyncUserWithLDAPParamsWithTimeout creates a new PostSyncUserWithLDAPParams object with the ability to set a timeout on a request.
func (*PostSyncUserWithLDAPParams) SetContext ¶
func (o *PostSyncUserWithLDAPParams) SetContext(ctx context.Context)
SetContext adds the context to the post sync user with LDAP params
func (*PostSyncUserWithLDAPParams) SetDefaults ¶
func (o *PostSyncUserWithLDAPParams) SetDefaults()
SetDefaults hydrates default values in the post sync user with LDAP params (not the query body).
All values with no default are reset to their zero value.
func (*PostSyncUserWithLDAPParams) SetHTTPClient ¶
func (o *PostSyncUserWithLDAPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post sync user with LDAP params
func (*PostSyncUserWithLDAPParams) SetTimeout ¶
func (o *PostSyncUserWithLDAPParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post sync user with LDAP params
func (*PostSyncUserWithLDAPParams) SetUserID ¶
func (o *PostSyncUserWithLDAPParams) SetUserID(userID int64)
SetUserID adds the userId to the post sync user with LDAP params
func (*PostSyncUserWithLDAPParams) WithContext ¶
func (o *PostSyncUserWithLDAPParams) WithContext(ctx context.Context) *PostSyncUserWithLDAPParams
WithContext adds the context to the post sync user with LDAP params
func (*PostSyncUserWithLDAPParams) WithDefaults ¶
func (o *PostSyncUserWithLDAPParams) WithDefaults() *PostSyncUserWithLDAPParams
WithDefaults hydrates default values in the post sync user with LDAP params (not the query body).
All values with no default are reset to their zero value.
func (*PostSyncUserWithLDAPParams) WithHTTPClient ¶
func (o *PostSyncUserWithLDAPParams) WithHTTPClient(client *http.Client) *PostSyncUserWithLDAPParams
WithHTTPClient adds the HTTPClient to the post sync user with LDAP params
func (*PostSyncUserWithLDAPParams) WithTimeout ¶
func (o *PostSyncUserWithLDAPParams) WithTimeout(timeout time.Duration) *PostSyncUserWithLDAPParams
WithTimeout adds the timeout to the post sync user with LDAP params
func (*PostSyncUserWithLDAPParams) WithUserID ¶
func (o *PostSyncUserWithLDAPParams) WithUserID(userID int64) *PostSyncUserWithLDAPParams
WithUserID adds the userID to the post sync user with LDAP params
func (*PostSyncUserWithLDAPParams) WriteToRequest ¶
func (o *PostSyncUserWithLDAPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostSyncUserWithLDAPReader ¶
type PostSyncUserWithLDAPReader struct {
// contains filtered or unexported fields
}
PostSyncUserWithLDAPReader is a Reader for the PostSyncUserWithLDAP structure.
func (*PostSyncUserWithLDAPReader) ReadResponse ¶
func (o *PostSyncUserWithLDAPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostSyncUserWithLDAPUnauthorized ¶
type PostSyncUserWithLDAPUnauthorized struct {
}PostSyncUserWithLDAPUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewPostSyncUserWithLDAPUnauthorized ¶
func NewPostSyncUserWithLDAPUnauthorized() *PostSyncUserWithLDAPUnauthorized
NewPostSyncUserWithLDAPUnauthorized creates a PostSyncUserWithLDAPUnauthorized with default headers values
func (*PostSyncUserWithLDAPUnauthorized) Code ¶
func (o *PostSyncUserWithLDAPUnauthorized) Code() int
Code gets the status code for the post sync user with Ldap unauthorized response
func (*PostSyncUserWithLDAPUnauthorized) Error ¶
func (o *PostSyncUserWithLDAPUnauthorized) Error() string
func (*PostSyncUserWithLDAPUnauthorized) GetPayload ¶
func (o *PostSyncUserWithLDAPUnauthorized) GetPayload() *models.ErrorResponseBody
func (*PostSyncUserWithLDAPUnauthorized) IsClientError ¶
func (o *PostSyncUserWithLDAPUnauthorized) IsClientError() bool
IsClientError returns true when this post sync user with Ldap unauthorized response has a 4xx status code
func (*PostSyncUserWithLDAPUnauthorized) IsCode ¶
func (o *PostSyncUserWithLDAPUnauthorized) IsCode(code int) bool
IsCode returns true when this post sync user with Ldap unauthorized response a status code equal to that given
func (*PostSyncUserWithLDAPUnauthorized) IsRedirect ¶
func (o *PostSyncUserWithLDAPUnauthorized) IsRedirect() bool
IsRedirect returns true when this post sync user with Ldap unauthorized response has a 3xx status code
func (*PostSyncUserWithLDAPUnauthorized) IsServerError ¶
func (o *PostSyncUserWithLDAPUnauthorized) IsServerError() bool
IsServerError returns true when this post sync user with Ldap unauthorized response has a 5xx status code
func (*PostSyncUserWithLDAPUnauthorized) IsSuccess ¶
func (o *PostSyncUserWithLDAPUnauthorized) IsSuccess() bool
IsSuccess returns true when this post sync user with Ldap unauthorized response has a 2xx status code
func (*PostSyncUserWithLDAPUnauthorized) String ¶
func (o *PostSyncUserWithLDAPUnauthorized) String() string
type ReloadLDAPCfgForbidden ¶
type ReloadLDAPCfgForbidden struct {
Payload *models.ErrorResponseBody
}
ReloadLDAPCfgForbidden 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 NewReloadLDAPCfgForbidden ¶
func NewReloadLDAPCfgForbidden() *ReloadLDAPCfgForbidden
NewReloadLDAPCfgForbidden creates a ReloadLDAPCfgForbidden with default headers values
func (*ReloadLDAPCfgForbidden) Code ¶
func (o *ReloadLDAPCfgForbidden) Code() int
Code gets the status code for the reload Ldap cfg forbidden response
func (*ReloadLDAPCfgForbidden) Error ¶
func (o *ReloadLDAPCfgForbidden) Error() string
func (*ReloadLDAPCfgForbidden) GetPayload ¶
func (o *ReloadLDAPCfgForbidden) GetPayload() *models.ErrorResponseBody
func (*ReloadLDAPCfgForbidden) IsClientError ¶
func (o *ReloadLDAPCfgForbidden) IsClientError() bool
IsClientError returns true when this reload Ldap cfg forbidden response has a 4xx status code
func (*ReloadLDAPCfgForbidden) IsCode ¶
func (o *ReloadLDAPCfgForbidden) IsCode(code int) bool
IsCode returns true when this reload Ldap cfg forbidden response a status code equal to that given
func (*ReloadLDAPCfgForbidden) IsRedirect ¶
func (o *ReloadLDAPCfgForbidden) IsRedirect() bool
IsRedirect returns true when this reload Ldap cfg forbidden response has a 3xx status code
func (*ReloadLDAPCfgForbidden) IsServerError ¶
func (o *ReloadLDAPCfgForbidden) IsServerError() bool
IsServerError returns true when this reload Ldap cfg forbidden response has a 5xx status code
func (*ReloadLDAPCfgForbidden) IsSuccess ¶
func (o *ReloadLDAPCfgForbidden) IsSuccess() bool
IsSuccess returns true when this reload Ldap cfg forbidden response has a 2xx status code
func (*ReloadLDAPCfgForbidden) String ¶
func (o *ReloadLDAPCfgForbidden) String() string
type ReloadLDAPCfgInternalServerError ¶
type ReloadLDAPCfgInternalServerError struct {
Payload *models.ErrorResponseBody
}
ReloadLDAPCfgInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewReloadLDAPCfgInternalServerError ¶
func NewReloadLDAPCfgInternalServerError() *ReloadLDAPCfgInternalServerError
NewReloadLDAPCfgInternalServerError creates a ReloadLDAPCfgInternalServerError with default headers values
func (*ReloadLDAPCfgInternalServerError) Code ¶
func (o *ReloadLDAPCfgInternalServerError) Code() int
Code gets the status code for the reload Ldap cfg internal server error response
func (*ReloadLDAPCfgInternalServerError) Error ¶
func (o *ReloadLDAPCfgInternalServerError) Error() string
func (*ReloadLDAPCfgInternalServerError) GetPayload ¶
func (o *ReloadLDAPCfgInternalServerError) GetPayload() *models.ErrorResponseBody
func (*ReloadLDAPCfgInternalServerError) IsClientError ¶
func (o *ReloadLDAPCfgInternalServerError) IsClientError() bool
IsClientError returns true when this reload Ldap cfg internal server error response has a 4xx status code
func (*ReloadLDAPCfgInternalServerError) IsCode ¶
func (o *ReloadLDAPCfgInternalServerError) IsCode(code int) bool
IsCode returns true when this reload Ldap cfg internal server error response a status code equal to that given
func (*ReloadLDAPCfgInternalServerError) IsRedirect ¶
func (o *ReloadLDAPCfgInternalServerError) IsRedirect() bool
IsRedirect returns true when this reload Ldap cfg internal server error response has a 3xx status code
func (*ReloadLDAPCfgInternalServerError) IsServerError ¶
func (o *ReloadLDAPCfgInternalServerError) IsServerError() bool
IsServerError returns true when this reload Ldap cfg internal server error response has a 5xx status code
func (*ReloadLDAPCfgInternalServerError) IsSuccess ¶
func (o *ReloadLDAPCfgInternalServerError) IsSuccess() bool
IsSuccess returns true when this reload Ldap cfg internal server error response has a 2xx status code
func (*ReloadLDAPCfgInternalServerError) String ¶
func (o *ReloadLDAPCfgInternalServerError) String() string
type ReloadLDAPCfgOK ¶
type ReloadLDAPCfgOK struct {
Payload *models.SuccessResponseBody
}
ReloadLDAPCfgOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewReloadLDAPCfgOK ¶
func NewReloadLDAPCfgOK() *ReloadLDAPCfgOK
NewReloadLDAPCfgOK creates a ReloadLDAPCfgOK with default headers values
func (*ReloadLDAPCfgOK) Code ¶
func (o *ReloadLDAPCfgOK) Code() int
Code gets the status code for the reload Ldap cfg Ok response
func (*ReloadLDAPCfgOK) Error ¶
func (o *ReloadLDAPCfgOK) Error() string
func (*ReloadLDAPCfgOK) GetPayload ¶
func (o *ReloadLDAPCfgOK) GetPayload() *models.SuccessResponseBody
func (*ReloadLDAPCfgOK) IsClientError ¶
func (o *ReloadLDAPCfgOK) IsClientError() bool
IsClientError returns true when this reload Ldap cfg Ok response has a 4xx status code
func (*ReloadLDAPCfgOK) IsCode ¶
func (o *ReloadLDAPCfgOK) IsCode(code int) bool
IsCode returns true when this reload Ldap cfg Ok response a status code equal to that given
func (*ReloadLDAPCfgOK) IsRedirect ¶
func (o *ReloadLDAPCfgOK) IsRedirect() bool
IsRedirect returns true when this reload Ldap cfg Ok response has a 3xx status code
func (*ReloadLDAPCfgOK) IsServerError ¶
func (o *ReloadLDAPCfgOK) IsServerError() bool
IsServerError returns true when this reload Ldap cfg Ok response has a 5xx status code
func (*ReloadLDAPCfgOK) IsSuccess ¶
func (o *ReloadLDAPCfgOK) IsSuccess() bool
IsSuccess returns true when this reload Ldap cfg Ok response has a 2xx status code
func (*ReloadLDAPCfgOK) String ¶
func (o *ReloadLDAPCfgOK) String() string
type ReloadLDAPCfgParams ¶
type ReloadLDAPCfgParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReloadLDAPCfgParams contains all the parameters to send to the API endpoint
for the reload LDAP cfg operation. Typically these are written to a http.Request.
func NewReloadLDAPCfgParams ¶
func NewReloadLDAPCfgParams() *ReloadLDAPCfgParams
NewReloadLDAPCfgParams creates a new ReloadLDAPCfgParams 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 NewReloadLDAPCfgParamsWithContext ¶
func NewReloadLDAPCfgParamsWithContext(ctx context.Context) *ReloadLDAPCfgParams
NewReloadLDAPCfgParamsWithContext creates a new ReloadLDAPCfgParams object with the ability to set a context for a request.
func NewReloadLDAPCfgParamsWithHTTPClient ¶
func NewReloadLDAPCfgParamsWithHTTPClient(client *http.Client) *ReloadLDAPCfgParams
NewReloadLDAPCfgParamsWithHTTPClient creates a new ReloadLDAPCfgParams object with the ability to set a custom HTTPClient for a request.
func NewReloadLDAPCfgParamsWithTimeout ¶
func NewReloadLDAPCfgParamsWithTimeout(timeout time.Duration) *ReloadLDAPCfgParams
NewReloadLDAPCfgParamsWithTimeout creates a new ReloadLDAPCfgParams object with the ability to set a timeout on a request.
func (*ReloadLDAPCfgParams) SetContext ¶
func (o *ReloadLDAPCfgParams) SetContext(ctx context.Context)
SetContext adds the context to the reload LDAP cfg params
func (*ReloadLDAPCfgParams) SetDefaults ¶
func (o *ReloadLDAPCfgParams) SetDefaults()
SetDefaults hydrates default values in the reload LDAP cfg params (not the query body).
All values with no default are reset to their zero value.
func (*ReloadLDAPCfgParams) SetHTTPClient ¶
func (o *ReloadLDAPCfgParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the reload LDAP cfg params
func (*ReloadLDAPCfgParams) SetTimeout ¶
func (o *ReloadLDAPCfgParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the reload LDAP cfg params
func (*ReloadLDAPCfgParams) WithContext ¶
func (o *ReloadLDAPCfgParams) WithContext(ctx context.Context) *ReloadLDAPCfgParams
WithContext adds the context to the reload LDAP cfg params
func (*ReloadLDAPCfgParams) WithDefaults ¶
func (o *ReloadLDAPCfgParams) WithDefaults() *ReloadLDAPCfgParams
WithDefaults hydrates default values in the reload LDAP cfg params (not the query body).
All values with no default are reset to their zero value.
func (*ReloadLDAPCfgParams) WithHTTPClient ¶
func (o *ReloadLDAPCfgParams) WithHTTPClient(client *http.Client) *ReloadLDAPCfgParams
WithHTTPClient adds the HTTPClient to the reload LDAP cfg params
func (*ReloadLDAPCfgParams) WithTimeout ¶
func (o *ReloadLDAPCfgParams) WithTimeout(timeout time.Duration) *ReloadLDAPCfgParams
WithTimeout adds the timeout to the reload LDAP cfg params
func (*ReloadLDAPCfgParams) WriteToRequest ¶
func (o *ReloadLDAPCfgParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReloadLDAPCfgReader ¶
type ReloadLDAPCfgReader struct {
// contains filtered or unexported fields
}
ReloadLDAPCfgReader is a Reader for the ReloadLDAPCfg structure.
func (*ReloadLDAPCfgReader) ReadResponse ¶
func (o *ReloadLDAPCfgReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReloadLDAPCfgUnauthorized ¶
type ReloadLDAPCfgUnauthorized struct {
}ReloadLDAPCfgUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewReloadLDAPCfgUnauthorized ¶
func NewReloadLDAPCfgUnauthorized() *ReloadLDAPCfgUnauthorized
NewReloadLDAPCfgUnauthorized creates a ReloadLDAPCfgUnauthorized with default headers values
func (*ReloadLDAPCfgUnauthorized) Code ¶
func (o *ReloadLDAPCfgUnauthorized) Code() int
Code gets the status code for the reload Ldap cfg unauthorized response
func (*ReloadLDAPCfgUnauthorized) Error ¶
func (o *ReloadLDAPCfgUnauthorized) Error() string
func (*ReloadLDAPCfgUnauthorized) GetPayload ¶
func (o *ReloadLDAPCfgUnauthorized) GetPayload() *models.ErrorResponseBody
func (*ReloadLDAPCfgUnauthorized) IsClientError ¶
func (o *ReloadLDAPCfgUnauthorized) IsClientError() bool
IsClientError returns true when this reload Ldap cfg unauthorized response has a 4xx status code
func (*ReloadLDAPCfgUnauthorized) IsCode ¶
func (o *ReloadLDAPCfgUnauthorized) IsCode(code int) bool
IsCode returns true when this reload Ldap cfg unauthorized response a status code equal to that given
func (*ReloadLDAPCfgUnauthorized) IsRedirect ¶
func (o *ReloadLDAPCfgUnauthorized) IsRedirect() bool
IsRedirect returns true when this reload Ldap cfg unauthorized response has a 3xx status code
func (*ReloadLDAPCfgUnauthorized) IsServerError ¶
func (o *ReloadLDAPCfgUnauthorized) IsServerError() bool
IsServerError returns true when this reload Ldap cfg unauthorized response has a 5xx status code
func (*ReloadLDAPCfgUnauthorized) IsSuccess ¶
func (o *ReloadLDAPCfgUnauthorized) IsSuccess() bool
IsSuccess returns true when this reload Ldap cfg unauthorized response has a 2xx status code
func (*ReloadLDAPCfgUnauthorized) String ¶
func (o *ReloadLDAPCfgUnauthorized) String() string