Documentation
¶
Index ¶
- type Client
- func (a *Client) LDAPAdminGroups(params *LDAPAdminGroupsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*LDAPAdminGroupsOK, error)
- func (a *Client) LDAPCheck(params *LDAPCheckParams, authInfo runtime.ClientAuthInfoWriter, ...) (*LDAPCheckNoContent, error)
- func (a *Client) LDAPGroups(params *LDAPGroupsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*LDAPGroupsOK, error)
- func (a *Client) LDAPTestLogin(params *LDAPTestLoginParams, authInfo runtime.ClientAuthInfoWriter, ...) (*LDAPTestLoginOK, error)
- func (a *Client) LDAPUsers(params *LDAPUsersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*LDAPUsersOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type LDAPAdminGroupsBadRequest
- func (o *LDAPAdminGroupsBadRequest) Code() int
- func (o *LDAPAdminGroupsBadRequest) Error() string
- func (o *LDAPAdminGroupsBadRequest) IsClientError() bool
- func (o *LDAPAdminGroupsBadRequest) IsCode(code int) bool
- func (o *LDAPAdminGroupsBadRequest) IsRedirect() bool
- func (o *LDAPAdminGroupsBadRequest) IsServerError() bool
- func (o *LDAPAdminGroupsBadRequest) IsSuccess() bool
- func (o *LDAPAdminGroupsBadRequest) String() string
- type LDAPAdminGroupsInternalServerError
- func (o *LDAPAdminGroupsInternalServerError) Code() int
- func (o *LDAPAdminGroupsInternalServerError) Error() string
- func (o *LDAPAdminGroupsInternalServerError) IsClientError() bool
- func (o *LDAPAdminGroupsInternalServerError) IsCode(code int) bool
- func (o *LDAPAdminGroupsInternalServerError) IsRedirect() bool
- func (o *LDAPAdminGroupsInternalServerError) IsServerError() bool
- func (o *LDAPAdminGroupsInternalServerError) IsSuccess() bool
- func (o *LDAPAdminGroupsInternalServerError) String() string
- type LDAPAdminGroupsOK
- func (o *LDAPAdminGroupsOK) Code() int
- func (o *LDAPAdminGroupsOK) Error() string
- func (o *LDAPAdminGroupsOK) GetPayload() []string
- func (o *LDAPAdminGroupsOK) IsClientError() bool
- func (o *LDAPAdminGroupsOK) IsCode(code int) bool
- func (o *LDAPAdminGroupsOK) IsRedirect() bool
- func (o *LDAPAdminGroupsOK) IsServerError() bool
- func (o *LDAPAdminGroupsOK) IsSuccess() bool
- func (o *LDAPAdminGroupsOK) String() string
- type LDAPAdminGroupsParams
- func NewLDAPAdminGroupsParams() *LDAPAdminGroupsParams
- func NewLDAPAdminGroupsParamsWithContext(ctx context.Context) *LDAPAdminGroupsParams
- func NewLDAPAdminGroupsParamsWithHTTPClient(client *http.Client) *LDAPAdminGroupsParams
- func NewLDAPAdminGroupsParamsWithTimeout(timeout time.Duration) *LDAPAdminGroupsParams
- func (o *LDAPAdminGroupsParams) SetBody(body *models.LdapAdminGroupsPayload)
- func (o *LDAPAdminGroupsParams) SetContext(ctx context.Context)
- func (o *LDAPAdminGroupsParams) SetDefaults()
- func (o *LDAPAdminGroupsParams) SetHTTPClient(client *http.Client)
- func (o *LDAPAdminGroupsParams) SetTimeout(timeout time.Duration)
- func (o *LDAPAdminGroupsParams) WithBody(body *models.LdapAdminGroupsPayload) *LDAPAdminGroupsParams
- func (o *LDAPAdminGroupsParams) WithContext(ctx context.Context) *LDAPAdminGroupsParams
- func (o *LDAPAdminGroupsParams) WithDefaults() *LDAPAdminGroupsParams
- func (o *LDAPAdminGroupsParams) WithHTTPClient(client *http.Client) *LDAPAdminGroupsParams
- func (o *LDAPAdminGroupsParams) WithTimeout(timeout time.Duration) *LDAPAdminGroupsParams
- func (o *LDAPAdminGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LDAPAdminGroupsReader
- type LDAPCheckBadRequest
- func (o *LDAPCheckBadRequest) Code() int
- func (o *LDAPCheckBadRequest) Error() string
- func (o *LDAPCheckBadRequest) IsClientError() bool
- func (o *LDAPCheckBadRequest) IsCode(code int) bool
- func (o *LDAPCheckBadRequest) IsRedirect() bool
- func (o *LDAPCheckBadRequest) IsServerError() bool
- func (o *LDAPCheckBadRequest) IsSuccess() bool
- func (o *LDAPCheckBadRequest) String() string
- type LDAPCheckInternalServerError
- func (o *LDAPCheckInternalServerError) Code() int
- func (o *LDAPCheckInternalServerError) Error() string
- func (o *LDAPCheckInternalServerError) IsClientError() bool
- func (o *LDAPCheckInternalServerError) IsCode(code int) bool
- func (o *LDAPCheckInternalServerError) IsRedirect() bool
- func (o *LDAPCheckInternalServerError) IsServerError() bool
- func (o *LDAPCheckInternalServerError) IsSuccess() bool
- func (o *LDAPCheckInternalServerError) String() string
- type LDAPCheckNoContent
- func (o *LDAPCheckNoContent) Code() int
- func (o *LDAPCheckNoContent) Error() string
- func (o *LDAPCheckNoContent) IsClientError() bool
- func (o *LDAPCheckNoContent) IsCode(code int) bool
- func (o *LDAPCheckNoContent) IsRedirect() bool
- func (o *LDAPCheckNoContent) IsServerError() bool
- func (o *LDAPCheckNoContent) IsSuccess() bool
- func (o *LDAPCheckNoContent) String() string
- type LDAPCheckParams
- func (o *LDAPCheckParams) SetBody(body *models.LdapCheckPayload)
- func (o *LDAPCheckParams) SetContext(ctx context.Context)
- func (o *LDAPCheckParams) SetDefaults()
- func (o *LDAPCheckParams) SetHTTPClient(client *http.Client)
- func (o *LDAPCheckParams) SetTimeout(timeout time.Duration)
- func (o *LDAPCheckParams) WithBody(body *models.LdapCheckPayload) *LDAPCheckParams
- func (o *LDAPCheckParams) WithContext(ctx context.Context) *LDAPCheckParams
- func (o *LDAPCheckParams) WithDefaults() *LDAPCheckParams
- func (o *LDAPCheckParams) WithHTTPClient(client *http.Client) *LDAPCheckParams
- func (o *LDAPCheckParams) WithTimeout(timeout time.Duration) *LDAPCheckParams
- func (o *LDAPCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LDAPCheckReader
- type LDAPGroupsBadRequest
- func (o *LDAPGroupsBadRequest) Code() int
- func (o *LDAPGroupsBadRequest) Error() string
- func (o *LDAPGroupsBadRequest) IsClientError() bool
- func (o *LDAPGroupsBadRequest) IsCode(code int) bool
- func (o *LDAPGroupsBadRequest) IsRedirect() bool
- func (o *LDAPGroupsBadRequest) IsServerError() bool
- func (o *LDAPGroupsBadRequest) IsSuccess() bool
- func (o *LDAPGroupsBadRequest) String() string
- type LDAPGroupsInternalServerError
- func (o *LDAPGroupsInternalServerError) Code() int
- func (o *LDAPGroupsInternalServerError) Error() string
- func (o *LDAPGroupsInternalServerError) IsClientError() bool
- func (o *LDAPGroupsInternalServerError) IsCode(code int) bool
- func (o *LDAPGroupsInternalServerError) IsRedirect() bool
- func (o *LDAPGroupsInternalServerError) IsServerError() bool
- func (o *LDAPGroupsInternalServerError) IsSuccess() bool
- func (o *LDAPGroupsInternalServerError) String() string
- type LDAPGroupsOK
- func (o *LDAPGroupsOK) Code() int
- func (o *LDAPGroupsOK) Error() string
- func (o *LDAPGroupsOK) GetPayload() []*models.PortainerLDAPUser
- func (o *LDAPGroupsOK) IsClientError() bool
- func (o *LDAPGroupsOK) IsCode(code int) bool
- func (o *LDAPGroupsOK) IsRedirect() bool
- func (o *LDAPGroupsOK) IsServerError() bool
- func (o *LDAPGroupsOK) IsSuccess() bool
- func (o *LDAPGroupsOK) String() string
- type LDAPGroupsParams
- func (o *LDAPGroupsParams) SetBody(body *models.LdapGroupsPayload)
- func (o *LDAPGroupsParams) SetContext(ctx context.Context)
- func (o *LDAPGroupsParams) SetDefaults()
- func (o *LDAPGroupsParams) SetHTTPClient(client *http.Client)
- func (o *LDAPGroupsParams) SetTimeout(timeout time.Duration)
- func (o *LDAPGroupsParams) WithBody(body *models.LdapGroupsPayload) *LDAPGroupsParams
- func (o *LDAPGroupsParams) WithContext(ctx context.Context) *LDAPGroupsParams
- func (o *LDAPGroupsParams) WithDefaults() *LDAPGroupsParams
- func (o *LDAPGroupsParams) WithHTTPClient(client *http.Client) *LDAPGroupsParams
- func (o *LDAPGroupsParams) WithTimeout(timeout time.Duration) *LDAPGroupsParams
- func (o *LDAPGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LDAPGroupsReader
- type LDAPTestLoginBadRequest
- func (o *LDAPTestLoginBadRequest) Code() int
- func (o *LDAPTestLoginBadRequest) Error() string
- func (o *LDAPTestLoginBadRequest) IsClientError() bool
- func (o *LDAPTestLoginBadRequest) IsCode(code int) bool
- func (o *LDAPTestLoginBadRequest) IsRedirect() bool
- func (o *LDAPTestLoginBadRequest) IsServerError() bool
- func (o *LDAPTestLoginBadRequest) IsSuccess() bool
- func (o *LDAPTestLoginBadRequest) String() string
- type LDAPTestLoginInternalServerError
- func (o *LDAPTestLoginInternalServerError) Code() int
- func (o *LDAPTestLoginInternalServerError) Error() string
- func (o *LDAPTestLoginInternalServerError) IsClientError() bool
- func (o *LDAPTestLoginInternalServerError) IsCode(code int) bool
- func (o *LDAPTestLoginInternalServerError) IsRedirect() bool
- func (o *LDAPTestLoginInternalServerError) IsServerError() bool
- func (o *LDAPTestLoginInternalServerError) IsSuccess() bool
- func (o *LDAPTestLoginInternalServerError) String() string
- type LDAPTestLoginOK
- func (o *LDAPTestLoginOK) Code() int
- func (o *LDAPTestLoginOK) Error() string
- func (o *LDAPTestLoginOK) GetPayload() *models.LdapTestLoginResponse
- func (o *LDAPTestLoginOK) IsClientError() bool
- func (o *LDAPTestLoginOK) IsCode(code int) bool
- func (o *LDAPTestLoginOK) IsRedirect() bool
- func (o *LDAPTestLoginOK) IsServerError() bool
- func (o *LDAPTestLoginOK) IsSuccess() bool
- func (o *LDAPTestLoginOK) String() string
- type LDAPTestLoginParams
- func (o *LDAPTestLoginParams) SetBody(body *models.LdapTestLoginPayload)
- func (o *LDAPTestLoginParams) SetContext(ctx context.Context)
- func (o *LDAPTestLoginParams) SetDefaults()
- func (o *LDAPTestLoginParams) SetHTTPClient(client *http.Client)
- func (o *LDAPTestLoginParams) SetTimeout(timeout time.Duration)
- func (o *LDAPTestLoginParams) WithBody(body *models.LdapTestLoginPayload) *LDAPTestLoginParams
- func (o *LDAPTestLoginParams) WithContext(ctx context.Context) *LDAPTestLoginParams
- func (o *LDAPTestLoginParams) WithDefaults() *LDAPTestLoginParams
- func (o *LDAPTestLoginParams) WithHTTPClient(client *http.Client) *LDAPTestLoginParams
- func (o *LDAPTestLoginParams) WithTimeout(timeout time.Duration) *LDAPTestLoginParams
- func (o *LDAPTestLoginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LDAPTestLoginReader
- type LDAPUsersBadRequest
- func (o *LDAPUsersBadRequest) Code() int
- func (o *LDAPUsersBadRequest) Error() string
- func (o *LDAPUsersBadRequest) IsClientError() bool
- func (o *LDAPUsersBadRequest) IsCode(code int) bool
- func (o *LDAPUsersBadRequest) IsRedirect() bool
- func (o *LDAPUsersBadRequest) IsServerError() bool
- func (o *LDAPUsersBadRequest) IsSuccess() bool
- func (o *LDAPUsersBadRequest) String() string
- type LDAPUsersInternalServerError
- func (o *LDAPUsersInternalServerError) Code() int
- func (o *LDAPUsersInternalServerError) Error() string
- func (o *LDAPUsersInternalServerError) IsClientError() bool
- func (o *LDAPUsersInternalServerError) IsCode(code int) bool
- func (o *LDAPUsersInternalServerError) IsRedirect() bool
- func (o *LDAPUsersInternalServerError) IsServerError() bool
- func (o *LDAPUsersInternalServerError) IsSuccess() bool
- func (o *LDAPUsersInternalServerError) String() string
- type LDAPUsersOK
- func (o *LDAPUsersOK) Code() int
- func (o *LDAPUsersOK) Error() string
- func (o *LDAPUsersOK) GetPayload() []*models.PortainerLDAPUser
- func (o *LDAPUsersOK) IsClientError() bool
- func (o *LDAPUsersOK) IsCode(code int) bool
- func (o *LDAPUsersOK) IsRedirect() bool
- func (o *LDAPUsersOK) IsServerError() bool
- func (o *LDAPUsersOK) IsSuccess() bool
- func (o *LDAPUsersOK) String() string
- type LDAPUsersParams
- func (o *LDAPUsersParams) SetBody(body *models.LdapUsersPayload)
- func (o *LDAPUsersParams) SetContext(ctx context.Context)
- func (o *LDAPUsersParams) SetDefaults()
- func (o *LDAPUsersParams) SetHTTPClient(client *http.Client)
- func (o *LDAPUsersParams) SetTimeout(timeout time.Duration)
- func (o *LDAPUsersParams) WithBody(body *models.LdapUsersPayload) *LDAPUsersParams
- func (o *LDAPUsersParams) WithContext(ctx context.Context) *LDAPUsersParams
- func (o *LDAPUsersParams) WithDefaults() *LDAPUsersParams
- func (o *LDAPUsersParams) WithHTTPClient(client *http.Client) *LDAPUsersParams
- func (o *LDAPUsersParams) WithTimeout(timeout time.Duration) *LDAPUsersParams
- func (o *LDAPUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LDAPUsersReader
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 API
func (*Client) LDAPAdminGroups ¶
func (a *Client) LDAPAdminGroups(params *LDAPAdminGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LDAPAdminGroupsOK, error)
LDAPAdminGroups fetches l d a p admin groups Fetch LDAP admin groups from LDAP server based on AdminGroupSearchSettings
**Access policy**: administrator
func (*Client) LDAPCheck ¶
func (a *Client) LDAPCheck(params *LDAPCheckParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LDAPCheckNoContent, error)
LDAPCheck tests l d a p connectivity Test LDAP connectivity using LDAP details
**Access policy**: administrator
func (*Client) LDAPGroups ¶
func (a *Client) LDAPGroups(params *LDAPGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LDAPGroupsOK, error)
LDAPGroups searches l d a p groups
**Access policy**: administrator
func (*Client) LDAPTestLogin ¶
func (a *Client) LDAPTestLogin(params *LDAPTestLoginParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LDAPTestLoginOK, error)
LDAPTestLogin tests login to ldap server
**Access policy**: administrator
func (*Client) LDAPUsers ¶
func (a *Client) LDAPUsers(params *LDAPUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LDAPUsersOK, error)
LDAPUsers searches l d a p users
**Access policy**: administrator
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 may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface {
LDAPAdminGroups(params *LDAPAdminGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LDAPAdminGroupsOK, error)
LDAPCheck(params *LDAPCheckParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LDAPCheckNoContent, error)
LDAPGroups(params *LDAPGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LDAPGroupsOK, error)
LDAPTestLogin(params *LDAPTestLoginParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LDAPTestLoginOK, error)
LDAPUsers(params *LDAPUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LDAPUsersOK, 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 API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new ldap API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new ldap API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type LDAPAdminGroupsBadRequest ¶
type LDAPAdminGroupsBadRequest struct {
}
LDAPAdminGroupsBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewLDAPAdminGroupsBadRequest ¶
func NewLDAPAdminGroupsBadRequest() *LDAPAdminGroupsBadRequest
NewLDAPAdminGroupsBadRequest creates a LDAPAdminGroupsBadRequest with default headers values
func (*LDAPAdminGroupsBadRequest) Code ¶
func (o *LDAPAdminGroupsBadRequest) Code() int
Code gets the status code for the l d a p admin groups bad request response
func (*LDAPAdminGroupsBadRequest) Error ¶
func (o *LDAPAdminGroupsBadRequest) Error() string
func (*LDAPAdminGroupsBadRequest) IsClientError ¶
func (o *LDAPAdminGroupsBadRequest) IsClientError() bool
IsClientError returns true when this l d a p admin groups bad request response has a 4xx status code
func (*LDAPAdminGroupsBadRequest) IsCode ¶
func (o *LDAPAdminGroupsBadRequest) IsCode(code int) bool
IsCode returns true when this l d a p admin groups bad request response a status code equal to that given
func (*LDAPAdminGroupsBadRequest) IsRedirect ¶
func (o *LDAPAdminGroupsBadRequest) IsRedirect() bool
IsRedirect returns true when this l d a p admin groups bad request response has a 3xx status code
func (*LDAPAdminGroupsBadRequest) IsServerError ¶
func (o *LDAPAdminGroupsBadRequest) IsServerError() bool
IsServerError returns true when this l d a p admin groups bad request response has a 5xx status code
func (*LDAPAdminGroupsBadRequest) IsSuccess ¶
func (o *LDAPAdminGroupsBadRequest) IsSuccess() bool
IsSuccess returns true when this l d a p admin groups bad request response has a 2xx status code
func (*LDAPAdminGroupsBadRequest) String ¶
func (o *LDAPAdminGroupsBadRequest) String() string
type LDAPAdminGroupsInternalServerError ¶
type LDAPAdminGroupsInternalServerError struct {
}
LDAPAdminGroupsInternalServerError describes a response with status code 500, with default header values.
Server error
func NewLDAPAdminGroupsInternalServerError ¶
func NewLDAPAdminGroupsInternalServerError() *LDAPAdminGroupsInternalServerError
NewLDAPAdminGroupsInternalServerError creates a LDAPAdminGroupsInternalServerError with default headers values
func (*LDAPAdminGroupsInternalServerError) Code ¶
func (o *LDAPAdminGroupsInternalServerError) Code() int
Code gets the status code for the l d a p admin groups internal server error response
func (*LDAPAdminGroupsInternalServerError) Error ¶
func (o *LDAPAdminGroupsInternalServerError) Error() string
func (*LDAPAdminGroupsInternalServerError) IsClientError ¶
func (o *LDAPAdminGroupsInternalServerError) IsClientError() bool
IsClientError returns true when this l d a p admin groups internal server error response has a 4xx status code
func (*LDAPAdminGroupsInternalServerError) IsCode ¶
func (o *LDAPAdminGroupsInternalServerError) IsCode(code int) bool
IsCode returns true when this l d a p admin groups internal server error response a status code equal to that given
func (*LDAPAdminGroupsInternalServerError) IsRedirect ¶
func (o *LDAPAdminGroupsInternalServerError) IsRedirect() bool
IsRedirect returns true when this l d a p admin groups internal server error response has a 3xx status code
func (*LDAPAdminGroupsInternalServerError) IsServerError ¶
func (o *LDAPAdminGroupsInternalServerError) IsServerError() bool
IsServerError returns true when this l d a p admin groups internal server error response has a 5xx status code
func (*LDAPAdminGroupsInternalServerError) IsSuccess ¶
func (o *LDAPAdminGroupsInternalServerError) IsSuccess() bool
IsSuccess returns true when this l d a p admin groups internal server error response has a 2xx status code
func (*LDAPAdminGroupsInternalServerError) String ¶
func (o *LDAPAdminGroupsInternalServerError) String() string
type LDAPAdminGroupsOK ¶
type LDAPAdminGroupsOK struct {
Payload []string
}
LDAPAdminGroupsOK describes a response with status code 200, with default header values.
Success
func NewLDAPAdminGroupsOK ¶
func NewLDAPAdminGroupsOK() *LDAPAdminGroupsOK
NewLDAPAdminGroupsOK creates a LDAPAdminGroupsOK with default headers values
func (*LDAPAdminGroupsOK) Code ¶
func (o *LDAPAdminGroupsOK) Code() int
Code gets the status code for the l d a p admin groups o k response
func (*LDAPAdminGroupsOK) Error ¶
func (o *LDAPAdminGroupsOK) Error() string
func (*LDAPAdminGroupsOK) GetPayload ¶
func (o *LDAPAdminGroupsOK) GetPayload() []string
func (*LDAPAdminGroupsOK) IsClientError ¶
func (o *LDAPAdminGroupsOK) IsClientError() bool
IsClientError returns true when this l d a p admin groups o k response has a 4xx status code
func (*LDAPAdminGroupsOK) IsCode ¶
func (o *LDAPAdminGroupsOK) IsCode(code int) bool
IsCode returns true when this l d a p admin groups o k response a status code equal to that given
func (*LDAPAdminGroupsOK) IsRedirect ¶
func (o *LDAPAdminGroupsOK) IsRedirect() bool
IsRedirect returns true when this l d a p admin groups o k response has a 3xx status code
func (*LDAPAdminGroupsOK) IsServerError ¶
func (o *LDAPAdminGroupsOK) IsServerError() bool
IsServerError returns true when this l d a p admin groups o k response has a 5xx status code
func (*LDAPAdminGroupsOK) IsSuccess ¶
func (o *LDAPAdminGroupsOK) IsSuccess() bool
IsSuccess returns true when this l d a p admin groups o k response has a 2xx status code
func (*LDAPAdminGroupsOK) String ¶
func (o *LDAPAdminGroupsOK) String() string
type LDAPAdminGroupsParams ¶
type LDAPAdminGroupsParams struct {
/* Body.
LDAPSettings
*/
Body *models.LdapAdminGroupsPayload
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
LDAPAdminGroupsParams contains all the parameters to send to the API endpoint
for the l d a p admin groups operation. Typically these are written to a http.Request.
func NewLDAPAdminGroupsParams ¶
func NewLDAPAdminGroupsParams() *LDAPAdminGroupsParams
NewLDAPAdminGroupsParams creates a new LDAPAdminGroupsParams 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 NewLDAPAdminGroupsParamsWithContext ¶
func NewLDAPAdminGroupsParamsWithContext(ctx context.Context) *LDAPAdminGroupsParams
NewLDAPAdminGroupsParamsWithContext creates a new LDAPAdminGroupsParams object with the ability to set a context for a request.
func NewLDAPAdminGroupsParamsWithHTTPClient ¶
func NewLDAPAdminGroupsParamsWithHTTPClient(client *http.Client) *LDAPAdminGroupsParams
NewLDAPAdminGroupsParamsWithHTTPClient creates a new LDAPAdminGroupsParams object with the ability to set a custom HTTPClient for a request.
func NewLDAPAdminGroupsParamsWithTimeout ¶
func NewLDAPAdminGroupsParamsWithTimeout(timeout time.Duration) *LDAPAdminGroupsParams
NewLDAPAdminGroupsParamsWithTimeout creates a new LDAPAdminGroupsParams object with the ability to set a timeout on a request.
func (*LDAPAdminGroupsParams) SetBody ¶
func (o *LDAPAdminGroupsParams) SetBody(body *models.LdapAdminGroupsPayload)
SetBody adds the body to the l d a p admin groups params
func (*LDAPAdminGroupsParams) SetContext ¶
func (o *LDAPAdminGroupsParams) SetContext(ctx context.Context)
SetContext adds the context to the l d a p admin groups params
func (*LDAPAdminGroupsParams) SetDefaults ¶
func (o *LDAPAdminGroupsParams) SetDefaults()
SetDefaults hydrates default values in the l d a p admin groups params (not the query body).
All values with no default are reset to their zero value.
func (*LDAPAdminGroupsParams) SetHTTPClient ¶
func (o *LDAPAdminGroupsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the l d a p admin groups params
func (*LDAPAdminGroupsParams) SetTimeout ¶
func (o *LDAPAdminGroupsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the l d a p admin groups params
func (*LDAPAdminGroupsParams) WithBody ¶
func (o *LDAPAdminGroupsParams) WithBody(body *models.LdapAdminGroupsPayload) *LDAPAdminGroupsParams
WithBody adds the body to the l d a p admin groups params
func (*LDAPAdminGroupsParams) WithContext ¶
func (o *LDAPAdminGroupsParams) WithContext(ctx context.Context) *LDAPAdminGroupsParams
WithContext adds the context to the l d a p admin groups params
func (*LDAPAdminGroupsParams) WithDefaults ¶
func (o *LDAPAdminGroupsParams) WithDefaults() *LDAPAdminGroupsParams
WithDefaults hydrates default values in the l d a p admin groups params (not the query body).
All values with no default are reset to their zero value.
func (*LDAPAdminGroupsParams) WithHTTPClient ¶
func (o *LDAPAdminGroupsParams) WithHTTPClient(client *http.Client) *LDAPAdminGroupsParams
WithHTTPClient adds the HTTPClient to the l d a p admin groups params
func (*LDAPAdminGroupsParams) WithTimeout ¶
func (o *LDAPAdminGroupsParams) WithTimeout(timeout time.Duration) *LDAPAdminGroupsParams
WithTimeout adds the timeout to the l d a p admin groups params
func (*LDAPAdminGroupsParams) WriteToRequest ¶
func (o *LDAPAdminGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LDAPAdminGroupsReader ¶
type LDAPAdminGroupsReader struct {
// contains filtered or unexported fields
}
LDAPAdminGroupsReader is a Reader for the LDAPAdminGroups structure.
func (*LDAPAdminGroupsReader) ReadResponse ¶
func (o *LDAPAdminGroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LDAPCheckBadRequest ¶
type LDAPCheckBadRequest struct {
}
LDAPCheckBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewLDAPCheckBadRequest ¶
func NewLDAPCheckBadRequest() *LDAPCheckBadRequest
NewLDAPCheckBadRequest creates a LDAPCheckBadRequest with default headers values
func (*LDAPCheckBadRequest) Code ¶
func (o *LDAPCheckBadRequest) Code() int
Code gets the status code for the l d a p check bad request response
func (*LDAPCheckBadRequest) Error ¶
func (o *LDAPCheckBadRequest) Error() string
func (*LDAPCheckBadRequest) IsClientError ¶
func (o *LDAPCheckBadRequest) IsClientError() bool
IsClientError returns true when this l d a p check bad request response has a 4xx status code
func (*LDAPCheckBadRequest) IsCode ¶
func (o *LDAPCheckBadRequest) IsCode(code int) bool
IsCode returns true when this l d a p check bad request response a status code equal to that given
func (*LDAPCheckBadRequest) IsRedirect ¶
func (o *LDAPCheckBadRequest) IsRedirect() bool
IsRedirect returns true when this l d a p check bad request response has a 3xx status code
func (*LDAPCheckBadRequest) IsServerError ¶
func (o *LDAPCheckBadRequest) IsServerError() bool
IsServerError returns true when this l d a p check bad request response has a 5xx status code
func (*LDAPCheckBadRequest) IsSuccess ¶
func (o *LDAPCheckBadRequest) IsSuccess() bool
IsSuccess returns true when this l d a p check bad request response has a 2xx status code
func (*LDAPCheckBadRequest) String ¶
func (o *LDAPCheckBadRequest) String() string
type LDAPCheckInternalServerError ¶
type LDAPCheckInternalServerError struct {
}
LDAPCheckInternalServerError describes a response with status code 500, with default header values.
Server error
func NewLDAPCheckInternalServerError ¶
func NewLDAPCheckInternalServerError() *LDAPCheckInternalServerError
NewLDAPCheckInternalServerError creates a LDAPCheckInternalServerError with default headers values
func (*LDAPCheckInternalServerError) Code ¶
func (o *LDAPCheckInternalServerError) Code() int
Code gets the status code for the l d a p check internal server error response
func (*LDAPCheckInternalServerError) Error ¶
func (o *LDAPCheckInternalServerError) Error() string
func (*LDAPCheckInternalServerError) IsClientError ¶
func (o *LDAPCheckInternalServerError) IsClientError() bool
IsClientError returns true when this l d a p check internal server error response has a 4xx status code
func (*LDAPCheckInternalServerError) IsCode ¶
func (o *LDAPCheckInternalServerError) IsCode(code int) bool
IsCode returns true when this l d a p check internal server error response a status code equal to that given
func (*LDAPCheckInternalServerError) IsRedirect ¶
func (o *LDAPCheckInternalServerError) IsRedirect() bool
IsRedirect returns true when this l d a p check internal server error response has a 3xx status code
func (*LDAPCheckInternalServerError) IsServerError ¶
func (o *LDAPCheckInternalServerError) IsServerError() bool
IsServerError returns true when this l d a p check internal server error response has a 5xx status code
func (*LDAPCheckInternalServerError) IsSuccess ¶
func (o *LDAPCheckInternalServerError) IsSuccess() bool
IsSuccess returns true when this l d a p check internal server error response has a 2xx status code
func (*LDAPCheckInternalServerError) String ¶
func (o *LDAPCheckInternalServerError) String() string
type LDAPCheckNoContent ¶
type LDAPCheckNoContent struct {
}
LDAPCheckNoContent describes a response with status code 204, with default header values.
Success
func NewLDAPCheckNoContent ¶
func NewLDAPCheckNoContent() *LDAPCheckNoContent
NewLDAPCheckNoContent creates a LDAPCheckNoContent with default headers values
func (*LDAPCheckNoContent) Code ¶
func (o *LDAPCheckNoContent) Code() int
Code gets the status code for the l d a p check no content response
func (*LDAPCheckNoContent) Error ¶
func (o *LDAPCheckNoContent) Error() string
func (*LDAPCheckNoContent) IsClientError ¶
func (o *LDAPCheckNoContent) IsClientError() bool
IsClientError returns true when this l d a p check no content response has a 4xx status code
func (*LDAPCheckNoContent) IsCode ¶
func (o *LDAPCheckNoContent) IsCode(code int) bool
IsCode returns true when this l d a p check no content response a status code equal to that given
func (*LDAPCheckNoContent) IsRedirect ¶
func (o *LDAPCheckNoContent) IsRedirect() bool
IsRedirect returns true when this l d a p check no content response has a 3xx status code
func (*LDAPCheckNoContent) IsServerError ¶
func (o *LDAPCheckNoContent) IsServerError() bool
IsServerError returns true when this l d a p check no content response has a 5xx status code
func (*LDAPCheckNoContent) IsSuccess ¶
func (o *LDAPCheckNoContent) IsSuccess() bool
IsSuccess returns true when this l d a p check no content response has a 2xx status code
func (*LDAPCheckNoContent) String ¶
func (o *LDAPCheckNoContent) String() string
type LDAPCheckParams ¶
type LDAPCheckParams struct {
/* Body.
details
*/
Body *models.LdapCheckPayload
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
LDAPCheckParams contains all the parameters to send to the API endpoint
for the l d a p check operation. Typically these are written to a http.Request.
func NewLDAPCheckParams ¶
func NewLDAPCheckParams() *LDAPCheckParams
NewLDAPCheckParams creates a new LDAPCheckParams 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 NewLDAPCheckParamsWithContext ¶
func NewLDAPCheckParamsWithContext(ctx context.Context) *LDAPCheckParams
NewLDAPCheckParamsWithContext creates a new LDAPCheckParams object with the ability to set a context for a request.
func NewLDAPCheckParamsWithHTTPClient ¶
func NewLDAPCheckParamsWithHTTPClient(client *http.Client) *LDAPCheckParams
NewLDAPCheckParamsWithHTTPClient creates a new LDAPCheckParams object with the ability to set a custom HTTPClient for a request.
func NewLDAPCheckParamsWithTimeout ¶
func NewLDAPCheckParamsWithTimeout(timeout time.Duration) *LDAPCheckParams
NewLDAPCheckParamsWithTimeout creates a new LDAPCheckParams object with the ability to set a timeout on a request.
func (*LDAPCheckParams) SetBody ¶
func (o *LDAPCheckParams) SetBody(body *models.LdapCheckPayload)
SetBody adds the body to the l d a p check params
func (*LDAPCheckParams) SetContext ¶
func (o *LDAPCheckParams) SetContext(ctx context.Context)
SetContext adds the context to the l d a p check params
func (*LDAPCheckParams) SetDefaults ¶
func (o *LDAPCheckParams) SetDefaults()
SetDefaults hydrates default values in the l d a p check params (not the query body).
All values with no default are reset to their zero value.
func (*LDAPCheckParams) SetHTTPClient ¶
func (o *LDAPCheckParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the l d a p check params
func (*LDAPCheckParams) SetTimeout ¶
func (o *LDAPCheckParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the l d a p check params
func (*LDAPCheckParams) WithBody ¶
func (o *LDAPCheckParams) WithBody(body *models.LdapCheckPayload) *LDAPCheckParams
WithBody adds the body to the l d a p check params
func (*LDAPCheckParams) WithContext ¶
func (o *LDAPCheckParams) WithContext(ctx context.Context) *LDAPCheckParams
WithContext adds the context to the l d a p check params
func (*LDAPCheckParams) WithDefaults ¶
func (o *LDAPCheckParams) WithDefaults() *LDAPCheckParams
WithDefaults hydrates default values in the l d a p check params (not the query body).
All values with no default are reset to their zero value.
func (*LDAPCheckParams) WithHTTPClient ¶
func (o *LDAPCheckParams) WithHTTPClient(client *http.Client) *LDAPCheckParams
WithHTTPClient adds the HTTPClient to the l d a p check params
func (*LDAPCheckParams) WithTimeout ¶
func (o *LDAPCheckParams) WithTimeout(timeout time.Duration) *LDAPCheckParams
WithTimeout adds the timeout to the l d a p check params
func (*LDAPCheckParams) WriteToRequest ¶
func (o *LDAPCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LDAPCheckReader ¶
type LDAPCheckReader struct {
// contains filtered or unexported fields
}
LDAPCheckReader is a Reader for the LDAPCheck structure.
func (*LDAPCheckReader) ReadResponse ¶
func (o *LDAPCheckReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LDAPGroupsBadRequest ¶
type LDAPGroupsBadRequest struct {
}
LDAPGroupsBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewLDAPGroupsBadRequest ¶
func NewLDAPGroupsBadRequest() *LDAPGroupsBadRequest
NewLDAPGroupsBadRequest creates a LDAPGroupsBadRequest with default headers values
func (*LDAPGroupsBadRequest) Code ¶
func (o *LDAPGroupsBadRequest) Code() int
Code gets the status code for the l d a p groups bad request response
func (*LDAPGroupsBadRequest) Error ¶
func (o *LDAPGroupsBadRequest) Error() string
func (*LDAPGroupsBadRequest) IsClientError ¶
func (o *LDAPGroupsBadRequest) IsClientError() bool
IsClientError returns true when this l d a p groups bad request response has a 4xx status code
func (*LDAPGroupsBadRequest) IsCode ¶
func (o *LDAPGroupsBadRequest) IsCode(code int) bool
IsCode returns true when this l d a p groups bad request response a status code equal to that given
func (*LDAPGroupsBadRequest) IsRedirect ¶
func (o *LDAPGroupsBadRequest) IsRedirect() bool
IsRedirect returns true when this l d a p groups bad request response has a 3xx status code
func (*LDAPGroupsBadRequest) IsServerError ¶
func (o *LDAPGroupsBadRequest) IsServerError() bool
IsServerError returns true when this l d a p groups bad request response has a 5xx status code
func (*LDAPGroupsBadRequest) IsSuccess ¶
func (o *LDAPGroupsBadRequest) IsSuccess() bool
IsSuccess returns true when this l d a p groups bad request response has a 2xx status code
func (*LDAPGroupsBadRequest) String ¶
func (o *LDAPGroupsBadRequest) String() string
type LDAPGroupsInternalServerError ¶
type LDAPGroupsInternalServerError struct {
}
LDAPGroupsInternalServerError describes a response with status code 500, with default header values.
Server error
func NewLDAPGroupsInternalServerError ¶
func NewLDAPGroupsInternalServerError() *LDAPGroupsInternalServerError
NewLDAPGroupsInternalServerError creates a LDAPGroupsInternalServerError with default headers values
func (*LDAPGroupsInternalServerError) Code ¶
func (o *LDAPGroupsInternalServerError) Code() int
Code gets the status code for the l d a p groups internal server error response
func (*LDAPGroupsInternalServerError) Error ¶
func (o *LDAPGroupsInternalServerError) Error() string
func (*LDAPGroupsInternalServerError) IsClientError ¶
func (o *LDAPGroupsInternalServerError) IsClientError() bool
IsClientError returns true when this l d a p groups internal server error response has a 4xx status code
func (*LDAPGroupsInternalServerError) IsCode ¶
func (o *LDAPGroupsInternalServerError) IsCode(code int) bool
IsCode returns true when this l d a p groups internal server error response a status code equal to that given
func (*LDAPGroupsInternalServerError) IsRedirect ¶
func (o *LDAPGroupsInternalServerError) IsRedirect() bool
IsRedirect returns true when this l d a p groups internal server error response has a 3xx status code
func (*LDAPGroupsInternalServerError) IsServerError ¶
func (o *LDAPGroupsInternalServerError) IsServerError() bool
IsServerError returns true when this l d a p groups internal server error response has a 5xx status code
func (*LDAPGroupsInternalServerError) IsSuccess ¶
func (o *LDAPGroupsInternalServerError) IsSuccess() bool
IsSuccess returns true when this l d a p groups internal server error response has a 2xx status code
func (*LDAPGroupsInternalServerError) String ¶
func (o *LDAPGroupsInternalServerError) String() string
type LDAPGroupsOK ¶
type LDAPGroupsOK struct {
Payload []*models.PortainerLDAPUser
}
LDAPGroupsOK describes a response with status code 200, with default header values.
Success
func NewLDAPGroupsOK ¶
func NewLDAPGroupsOK() *LDAPGroupsOK
NewLDAPGroupsOK creates a LDAPGroupsOK with default headers values
func (*LDAPGroupsOK) Code ¶
func (o *LDAPGroupsOK) Code() int
Code gets the status code for the l d a p groups o k response
func (*LDAPGroupsOK) Error ¶
func (o *LDAPGroupsOK) Error() string
func (*LDAPGroupsOK) GetPayload ¶
func (o *LDAPGroupsOK) GetPayload() []*models.PortainerLDAPUser
func (*LDAPGroupsOK) IsClientError ¶
func (o *LDAPGroupsOK) IsClientError() bool
IsClientError returns true when this l d a p groups o k response has a 4xx status code
func (*LDAPGroupsOK) IsCode ¶
func (o *LDAPGroupsOK) IsCode(code int) bool
IsCode returns true when this l d a p groups o k response a status code equal to that given
func (*LDAPGroupsOK) IsRedirect ¶
func (o *LDAPGroupsOK) IsRedirect() bool
IsRedirect returns true when this l d a p groups o k response has a 3xx status code
func (*LDAPGroupsOK) IsServerError ¶
func (o *LDAPGroupsOK) IsServerError() bool
IsServerError returns true when this l d a p groups o k response has a 5xx status code
func (*LDAPGroupsOK) IsSuccess ¶
func (o *LDAPGroupsOK) IsSuccess() bool
IsSuccess returns true when this l d a p groups o k response has a 2xx status code
func (*LDAPGroupsOK) String ¶
func (o *LDAPGroupsOK) String() string
type LDAPGroupsParams ¶
type LDAPGroupsParams struct {
/* Body.
details
*/
Body *models.LdapGroupsPayload
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
LDAPGroupsParams contains all the parameters to send to the API endpoint
for the l d a p groups operation. Typically these are written to a http.Request.
func NewLDAPGroupsParams ¶
func NewLDAPGroupsParams() *LDAPGroupsParams
NewLDAPGroupsParams creates a new LDAPGroupsParams 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 NewLDAPGroupsParamsWithContext ¶
func NewLDAPGroupsParamsWithContext(ctx context.Context) *LDAPGroupsParams
NewLDAPGroupsParamsWithContext creates a new LDAPGroupsParams object with the ability to set a context for a request.
func NewLDAPGroupsParamsWithHTTPClient ¶
func NewLDAPGroupsParamsWithHTTPClient(client *http.Client) *LDAPGroupsParams
NewLDAPGroupsParamsWithHTTPClient creates a new LDAPGroupsParams object with the ability to set a custom HTTPClient for a request.
func NewLDAPGroupsParamsWithTimeout ¶
func NewLDAPGroupsParamsWithTimeout(timeout time.Duration) *LDAPGroupsParams
NewLDAPGroupsParamsWithTimeout creates a new LDAPGroupsParams object with the ability to set a timeout on a request.
func (*LDAPGroupsParams) SetBody ¶
func (o *LDAPGroupsParams) SetBody(body *models.LdapGroupsPayload)
SetBody adds the body to the l d a p groups params
func (*LDAPGroupsParams) SetContext ¶
func (o *LDAPGroupsParams) SetContext(ctx context.Context)
SetContext adds the context to the l d a p groups params
func (*LDAPGroupsParams) SetDefaults ¶
func (o *LDAPGroupsParams) SetDefaults()
SetDefaults hydrates default values in the l d a p groups params (not the query body).
All values with no default are reset to their zero value.
func (*LDAPGroupsParams) SetHTTPClient ¶
func (o *LDAPGroupsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the l d a p groups params
func (*LDAPGroupsParams) SetTimeout ¶
func (o *LDAPGroupsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the l d a p groups params
func (*LDAPGroupsParams) WithBody ¶
func (o *LDAPGroupsParams) WithBody(body *models.LdapGroupsPayload) *LDAPGroupsParams
WithBody adds the body to the l d a p groups params
func (*LDAPGroupsParams) WithContext ¶
func (o *LDAPGroupsParams) WithContext(ctx context.Context) *LDAPGroupsParams
WithContext adds the context to the l d a p groups params
func (*LDAPGroupsParams) WithDefaults ¶
func (o *LDAPGroupsParams) WithDefaults() *LDAPGroupsParams
WithDefaults hydrates default values in the l d a p groups params (not the query body).
All values with no default are reset to their zero value.
func (*LDAPGroupsParams) WithHTTPClient ¶
func (o *LDAPGroupsParams) WithHTTPClient(client *http.Client) *LDAPGroupsParams
WithHTTPClient adds the HTTPClient to the l d a p groups params
func (*LDAPGroupsParams) WithTimeout ¶
func (o *LDAPGroupsParams) WithTimeout(timeout time.Duration) *LDAPGroupsParams
WithTimeout adds the timeout to the l d a p groups params
func (*LDAPGroupsParams) WriteToRequest ¶
func (o *LDAPGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LDAPGroupsReader ¶
type LDAPGroupsReader struct {
// contains filtered or unexported fields
}
LDAPGroupsReader is a Reader for the LDAPGroups structure.
func (*LDAPGroupsReader) ReadResponse ¶
func (o *LDAPGroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LDAPTestLoginBadRequest ¶
type LDAPTestLoginBadRequest struct {
}
LDAPTestLoginBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewLDAPTestLoginBadRequest ¶
func NewLDAPTestLoginBadRequest() *LDAPTestLoginBadRequest
NewLDAPTestLoginBadRequest creates a LDAPTestLoginBadRequest with default headers values
func (*LDAPTestLoginBadRequest) Code ¶
func (o *LDAPTestLoginBadRequest) Code() int
Code gets the status code for the l d a p test login bad request response
func (*LDAPTestLoginBadRequest) Error ¶
func (o *LDAPTestLoginBadRequest) Error() string
func (*LDAPTestLoginBadRequest) IsClientError ¶
func (o *LDAPTestLoginBadRequest) IsClientError() bool
IsClientError returns true when this l d a p test login bad request response has a 4xx status code
func (*LDAPTestLoginBadRequest) IsCode ¶
func (o *LDAPTestLoginBadRequest) IsCode(code int) bool
IsCode returns true when this l d a p test login bad request response a status code equal to that given
func (*LDAPTestLoginBadRequest) IsRedirect ¶
func (o *LDAPTestLoginBadRequest) IsRedirect() bool
IsRedirect returns true when this l d a p test login bad request response has a 3xx status code
func (*LDAPTestLoginBadRequest) IsServerError ¶
func (o *LDAPTestLoginBadRequest) IsServerError() bool
IsServerError returns true when this l d a p test login bad request response has a 5xx status code
func (*LDAPTestLoginBadRequest) IsSuccess ¶
func (o *LDAPTestLoginBadRequest) IsSuccess() bool
IsSuccess returns true when this l d a p test login bad request response has a 2xx status code
func (*LDAPTestLoginBadRequest) String ¶
func (o *LDAPTestLoginBadRequest) String() string
type LDAPTestLoginInternalServerError ¶
type LDAPTestLoginInternalServerError struct {
}
LDAPTestLoginInternalServerError describes a response with status code 500, with default header values.
Server error
func NewLDAPTestLoginInternalServerError ¶
func NewLDAPTestLoginInternalServerError() *LDAPTestLoginInternalServerError
NewLDAPTestLoginInternalServerError creates a LDAPTestLoginInternalServerError with default headers values
func (*LDAPTestLoginInternalServerError) Code ¶
func (o *LDAPTestLoginInternalServerError) Code() int
Code gets the status code for the l d a p test login internal server error response
func (*LDAPTestLoginInternalServerError) Error ¶
func (o *LDAPTestLoginInternalServerError) Error() string
func (*LDAPTestLoginInternalServerError) IsClientError ¶
func (o *LDAPTestLoginInternalServerError) IsClientError() bool
IsClientError returns true when this l d a p test login internal server error response has a 4xx status code
func (*LDAPTestLoginInternalServerError) IsCode ¶
func (o *LDAPTestLoginInternalServerError) IsCode(code int) bool
IsCode returns true when this l d a p test login internal server error response a status code equal to that given
func (*LDAPTestLoginInternalServerError) IsRedirect ¶
func (o *LDAPTestLoginInternalServerError) IsRedirect() bool
IsRedirect returns true when this l d a p test login internal server error response has a 3xx status code
func (*LDAPTestLoginInternalServerError) IsServerError ¶
func (o *LDAPTestLoginInternalServerError) IsServerError() bool
IsServerError returns true when this l d a p test login internal server error response has a 5xx status code
func (*LDAPTestLoginInternalServerError) IsSuccess ¶
func (o *LDAPTestLoginInternalServerError) IsSuccess() bool
IsSuccess returns true when this l d a p test login internal server error response has a 2xx status code
func (*LDAPTestLoginInternalServerError) String ¶
func (o *LDAPTestLoginInternalServerError) String() string
type LDAPTestLoginOK ¶
type LDAPTestLoginOK struct {
Payload *models.LdapTestLoginResponse
}
LDAPTestLoginOK describes a response with status code 200, with default header values.
Success
func NewLDAPTestLoginOK ¶
func NewLDAPTestLoginOK() *LDAPTestLoginOK
NewLDAPTestLoginOK creates a LDAPTestLoginOK with default headers values
func (*LDAPTestLoginOK) Code ¶
func (o *LDAPTestLoginOK) Code() int
Code gets the status code for the l d a p test login o k response
func (*LDAPTestLoginOK) Error ¶
func (o *LDAPTestLoginOK) Error() string
func (*LDAPTestLoginOK) GetPayload ¶
func (o *LDAPTestLoginOK) GetPayload() *models.LdapTestLoginResponse
func (*LDAPTestLoginOK) IsClientError ¶
func (o *LDAPTestLoginOK) IsClientError() bool
IsClientError returns true when this l d a p test login o k response has a 4xx status code
func (*LDAPTestLoginOK) IsCode ¶
func (o *LDAPTestLoginOK) IsCode(code int) bool
IsCode returns true when this l d a p test login o k response a status code equal to that given
func (*LDAPTestLoginOK) IsRedirect ¶
func (o *LDAPTestLoginOK) IsRedirect() bool
IsRedirect returns true when this l d a p test login o k response has a 3xx status code
func (*LDAPTestLoginOK) IsServerError ¶
func (o *LDAPTestLoginOK) IsServerError() bool
IsServerError returns true when this l d a p test login o k response has a 5xx status code
func (*LDAPTestLoginOK) IsSuccess ¶
func (o *LDAPTestLoginOK) IsSuccess() bool
IsSuccess returns true when this l d a p test login o k response has a 2xx status code
func (*LDAPTestLoginOK) String ¶
func (o *LDAPTestLoginOK) String() string
type LDAPTestLoginParams ¶
type LDAPTestLoginParams struct {
/* Body.
details
*/
Body *models.LdapTestLoginPayload
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
LDAPTestLoginParams contains all the parameters to send to the API endpoint
for the l d a p test login operation. Typically these are written to a http.Request.
func NewLDAPTestLoginParams ¶
func NewLDAPTestLoginParams() *LDAPTestLoginParams
NewLDAPTestLoginParams creates a new LDAPTestLoginParams 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 NewLDAPTestLoginParamsWithContext ¶
func NewLDAPTestLoginParamsWithContext(ctx context.Context) *LDAPTestLoginParams
NewLDAPTestLoginParamsWithContext creates a new LDAPTestLoginParams object with the ability to set a context for a request.
func NewLDAPTestLoginParamsWithHTTPClient ¶
func NewLDAPTestLoginParamsWithHTTPClient(client *http.Client) *LDAPTestLoginParams
NewLDAPTestLoginParamsWithHTTPClient creates a new LDAPTestLoginParams object with the ability to set a custom HTTPClient for a request.
func NewLDAPTestLoginParamsWithTimeout ¶
func NewLDAPTestLoginParamsWithTimeout(timeout time.Duration) *LDAPTestLoginParams
NewLDAPTestLoginParamsWithTimeout creates a new LDAPTestLoginParams object with the ability to set a timeout on a request.
func (*LDAPTestLoginParams) SetBody ¶
func (o *LDAPTestLoginParams) SetBody(body *models.LdapTestLoginPayload)
SetBody adds the body to the l d a p test login params
func (*LDAPTestLoginParams) SetContext ¶
func (o *LDAPTestLoginParams) SetContext(ctx context.Context)
SetContext adds the context to the l d a p test login params
func (*LDAPTestLoginParams) SetDefaults ¶
func (o *LDAPTestLoginParams) SetDefaults()
SetDefaults hydrates default values in the l d a p test login params (not the query body).
All values with no default are reset to their zero value.
func (*LDAPTestLoginParams) SetHTTPClient ¶
func (o *LDAPTestLoginParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the l d a p test login params
func (*LDAPTestLoginParams) SetTimeout ¶
func (o *LDAPTestLoginParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the l d a p test login params
func (*LDAPTestLoginParams) WithBody ¶
func (o *LDAPTestLoginParams) WithBody(body *models.LdapTestLoginPayload) *LDAPTestLoginParams
WithBody adds the body to the l d a p test login params
func (*LDAPTestLoginParams) WithContext ¶
func (o *LDAPTestLoginParams) WithContext(ctx context.Context) *LDAPTestLoginParams
WithContext adds the context to the l d a p test login params
func (*LDAPTestLoginParams) WithDefaults ¶
func (o *LDAPTestLoginParams) WithDefaults() *LDAPTestLoginParams
WithDefaults hydrates default values in the l d a p test login params (not the query body).
All values with no default are reset to their zero value.
func (*LDAPTestLoginParams) WithHTTPClient ¶
func (o *LDAPTestLoginParams) WithHTTPClient(client *http.Client) *LDAPTestLoginParams
WithHTTPClient adds the HTTPClient to the l d a p test login params
func (*LDAPTestLoginParams) WithTimeout ¶
func (o *LDAPTestLoginParams) WithTimeout(timeout time.Duration) *LDAPTestLoginParams
WithTimeout adds the timeout to the l d a p test login params
func (*LDAPTestLoginParams) WriteToRequest ¶
func (o *LDAPTestLoginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LDAPTestLoginReader ¶
type LDAPTestLoginReader struct {
// contains filtered or unexported fields
}
LDAPTestLoginReader is a Reader for the LDAPTestLogin structure.
func (*LDAPTestLoginReader) ReadResponse ¶
func (o *LDAPTestLoginReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LDAPUsersBadRequest ¶
type LDAPUsersBadRequest struct {
}
LDAPUsersBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewLDAPUsersBadRequest ¶
func NewLDAPUsersBadRequest() *LDAPUsersBadRequest
NewLDAPUsersBadRequest creates a LDAPUsersBadRequest with default headers values
func (*LDAPUsersBadRequest) Code ¶
func (o *LDAPUsersBadRequest) Code() int
Code gets the status code for the l d a p users bad request response
func (*LDAPUsersBadRequest) Error ¶
func (o *LDAPUsersBadRequest) Error() string
func (*LDAPUsersBadRequest) IsClientError ¶
func (o *LDAPUsersBadRequest) IsClientError() bool
IsClientError returns true when this l d a p users bad request response has a 4xx status code
func (*LDAPUsersBadRequest) IsCode ¶
func (o *LDAPUsersBadRequest) IsCode(code int) bool
IsCode returns true when this l d a p users bad request response a status code equal to that given
func (*LDAPUsersBadRequest) IsRedirect ¶
func (o *LDAPUsersBadRequest) IsRedirect() bool
IsRedirect returns true when this l d a p users bad request response has a 3xx status code
func (*LDAPUsersBadRequest) IsServerError ¶
func (o *LDAPUsersBadRequest) IsServerError() bool
IsServerError returns true when this l d a p users bad request response has a 5xx status code
func (*LDAPUsersBadRequest) IsSuccess ¶
func (o *LDAPUsersBadRequest) IsSuccess() bool
IsSuccess returns true when this l d a p users bad request response has a 2xx status code
func (*LDAPUsersBadRequest) String ¶
func (o *LDAPUsersBadRequest) String() string
type LDAPUsersInternalServerError ¶
type LDAPUsersInternalServerError struct {
}
LDAPUsersInternalServerError describes a response with status code 500, with default header values.
Server error
func NewLDAPUsersInternalServerError ¶
func NewLDAPUsersInternalServerError() *LDAPUsersInternalServerError
NewLDAPUsersInternalServerError creates a LDAPUsersInternalServerError with default headers values
func (*LDAPUsersInternalServerError) Code ¶
func (o *LDAPUsersInternalServerError) Code() int
Code gets the status code for the l d a p users internal server error response
func (*LDAPUsersInternalServerError) Error ¶
func (o *LDAPUsersInternalServerError) Error() string
func (*LDAPUsersInternalServerError) IsClientError ¶
func (o *LDAPUsersInternalServerError) IsClientError() bool
IsClientError returns true when this l d a p users internal server error response has a 4xx status code
func (*LDAPUsersInternalServerError) IsCode ¶
func (o *LDAPUsersInternalServerError) IsCode(code int) bool
IsCode returns true when this l d a p users internal server error response a status code equal to that given
func (*LDAPUsersInternalServerError) IsRedirect ¶
func (o *LDAPUsersInternalServerError) IsRedirect() bool
IsRedirect returns true when this l d a p users internal server error response has a 3xx status code
func (*LDAPUsersInternalServerError) IsServerError ¶
func (o *LDAPUsersInternalServerError) IsServerError() bool
IsServerError returns true when this l d a p users internal server error response has a 5xx status code
func (*LDAPUsersInternalServerError) IsSuccess ¶
func (o *LDAPUsersInternalServerError) IsSuccess() bool
IsSuccess returns true when this l d a p users internal server error response has a 2xx status code
func (*LDAPUsersInternalServerError) String ¶
func (o *LDAPUsersInternalServerError) String() string
type LDAPUsersOK ¶
type LDAPUsersOK struct {
Payload []*models.PortainerLDAPUser
}
LDAPUsersOK describes a response with status code 200, with default header values.
Success
func NewLDAPUsersOK ¶
func NewLDAPUsersOK() *LDAPUsersOK
NewLDAPUsersOK creates a LDAPUsersOK with default headers values
func (*LDAPUsersOK) Code ¶
func (o *LDAPUsersOK) Code() int
Code gets the status code for the l d a p users o k response
func (*LDAPUsersOK) Error ¶
func (o *LDAPUsersOK) Error() string
func (*LDAPUsersOK) GetPayload ¶
func (o *LDAPUsersOK) GetPayload() []*models.PortainerLDAPUser
func (*LDAPUsersOK) IsClientError ¶
func (o *LDAPUsersOK) IsClientError() bool
IsClientError returns true when this l d a p users o k response has a 4xx status code
func (*LDAPUsersOK) IsCode ¶
func (o *LDAPUsersOK) IsCode(code int) bool
IsCode returns true when this l d a p users o k response a status code equal to that given
func (*LDAPUsersOK) IsRedirect ¶
func (o *LDAPUsersOK) IsRedirect() bool
IsRedirect returns true when this l d a p users o k response has a 3xx status code
func (*LDAPUsersOK) IsServerError ¶
func (o *LDAPUsersOK) IsServerError() bool
IsServerError returns true when this l d a p users o k response has a 5xx status code
func (*LDAPUsersOK) IsSuccess ¶
func (o *LDAPUsersOK) IsSuccess() bool
IsSuccess returns true when this l d a p users o k response has a 2xx status code
func (*LDAPUsersOK) String ¶
func (o *LDAPUsersOK) String() string
type LDAPUsersParams ¶
type LDAPUsersParams struct {
/* Body.
details
*/
Body *models.LdapUsersPayload
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
LDAPUsersParams contains all the parameters to send to the API endpoint
for the l d a p users operation. Typically these are written to a http.Request.
func NewLDAPUsersParams ¶
func NewLDAPUsersParams() *LDAPUsersParams
NewLDAPUsersParams creates a new LDAPUsersParams 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 NewLDAPUsersParamsWithContext ¶
func NewLDAPUsersParamsWithContext(ctx context.Context) *LDAPUsersParams
NewLDAPUsersParamsWithContext creates a new LDAPUsersParams object with the ability to set a context for a request.
func NewLDAPUsersParamsWithHTTPClient ¶
func NewLDAPUsersParamsWithHTTPClient(client *http.Client) *LDAPUsersParams
NewLDAPUsersParamsWithHTTPClient creates a new LDAPUsersParams object with the ability to set a custom HTTPClient for a request.
func NewLDAPUsersParamsWithTimeout ¶
func NewLDAPUsersParamsWithTimeout(timeout time.Duration) *LDAPUsersParams
NewLDAPUsersParamsWithTimeout creates a new LDAPUsersParams object with the ability to set a timeout on a request.
func (*LDAPUsersParams) SetBody ¶
func (o *LDAPUsersParams) SetBody(body *models.LdapUsersPayload)
SetBody adds the body to the l d a p users params
func (*LDAPUsersParams) SetContext ¶
func (o *LDAPUsersParams) SetContext(ctx context.Context)
SetContext adds the context to the l d a p users params
func (*LDAPUsersParams) SetDefaults ¶
func (o *LDAPUsersParams) SetDefaults()
SetDefaults hydrates default values in the l d a p users params (not the query body).
All values with no default are reset to their zero value.
func (*LDAPUsersParams) SetHTTPClient ¶
func (o *LDAPUsersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the l d a p users params
func (*LDAPUsersParams) SetTimeout ¶
func (o *LDAPUsersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the l d a p users params
func (*LDAPUsersParams) WithBody ¶
func (o *LDAPUsersParams) WithBody(body *models.LdapUsersPayload) *LDAPUsersParams
WithBody adds the body to the l d a p users params
func (*LDAPUsersParams) WithContext ¶
func (o *LDAPUsersParams) WithContext(ctx context.Context) *LDAPUsersParams
WithContext adds the context to the l d a p users params
func (*LDAPUsersParams) WithDefaults ¶
func (o *LDAPUsersParams) WithDefaults() *LDAPUsersParams
WithDefaults hydrates default values in the l d a p users params (not the query body).
All values with no default are reset to their zero value.
func (*LDAPUsersParams) WithHTTPClient ¶
func (o *LDAPUsersParams) WithHTTPClient(client *http.Client) *LDAPUsersParams
WithHTTPClient adds the HTTPClient to the l d a p users params
func (*LDAPUsersParams) WithTimeout ¶
func (o *LDAPUsersParams) WithTimeout(timeout time.Duration) *LDAPUsersParams
WithTimeout adds the timeout to the l d a p users params
func (*LDAPUsersParams) WriteToRequest ¶
func (o *LDAPUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LDAPUsersReader ¶
type LDAPUsersReader struct {
// contains filtered or unexported fields
}
LDAPUsersReader is a Reader for the LDAPUsers structure.
func (*LDAPUsersReader) ReadResponse ¶
func (o *LDAPUsersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- l_d_a_p_admin_groups_parameters.go
- l_d_a_p_admin_groups_responses.go
- l_d_a_p_check_parameters.go
- l_d_a_p_check_responses.go
- l_d_a_p_groups_parameters.go
- l_d_a_p_groups_responses.go
- l_d_a_p_test_login_parameters.go
- l_d_a_p_test_login_responses.go
- l_d_a_p_users_parameters.go
- l_d_a_p_users_responses.go
- ldap_client.go