Documentation ¶
Overview ¶
Copyright 2019 Cohesity Inc.
Copyright 2019 Cohesity Inc.
Index ¶
- type LDAPPROVIDER
- type LDAPPROVIDER_IMPL
- func (me *LDAPPROVIDER_IMPL) CreateLdapProvider(body *models.LdapProvider) (*models.LdapProviderResponse, error)
- func (me *LDAPPROVIDER_IMPL) DeleteLdapProvider(id int64) error
- func (me *LDAPPROVIDER_IMPL) GetLdapProvider(ids []int64, tenantIds []string, allUnderHierarchy *bool) ([]*models.LdapProviderResponse, error)
- func (me *LDAPPROVIDER_IMPL) GetLdapProviderStatus(id int64) error
- func (me *LDAPPROVIDER_IMPL) UpdateLdapProvider(body *models.UpdateLdapProviderParam) (*models.LdapProviderResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LDAPPROVIDER ¶
type LDAPPROVIDER interface { GetLdapProvider([]int64, []string, *bool) ([]*models.LdapProviderResponse, error) CreateLdapProvider(*models.LdapProvider) (*models.LdapProviderResponse, error) UpdateLdapProvider(*models.UpdateLdapProviderParam) (*models.LdapProviderResponse, error) DeleteLdapProvider(int64) error GetLdapProviderStatus(int64) error }
* Interface for the LDAPPROVIDER_IMPL
type LDAPPROVIDER_IMPL ¶
type LDAPPROVIDER_IMPL struct {
// contains filtered or unexported fields
}
* Client structure as interface implementation
func NewLDAPPROVIDER ¶
func NewLDAPPROVIDER(config configuration.CONFIGURATION) *LDAPPROVIDER_IMPL
* Factory for the LDAPPROVIDER interaface returning LDAPPROVIDER_IMPL
func (*LDAPPROVIDER_IMPL) CreateLdapProvider ¶
func (me *LDAPPROVIDER_IMPL) CreateLdapProvider( body *models.LdapProvider) (*models.LdapProviderResponse, error)
*
- Returns the created LDAP provider.
- @param *models.LdapProvider body parameter: Required
- @return Returns the *models.LdapProviderResponse response from the API call
func (*LDAPPROVIDER_IMPL) DeleteLdapProvider ¶
func (me *LDAPPROVIDER_IMPL) DeleteLdapProvider( id int64) error
*
- Delete an LDAP provider.
- @param int64 id parameter: Required
- @return Returns the response from the API call
func (*LDAPPROVIDER_IMPL) GetLdapProvider ¶
func (me *LDAPPROVIDER_IMPL) GetLdapProvider( ids []int64, tenantIds []string, allUnderHierarchy *bool) ([]*models.LdapProviderResponse, error)
*
- Lists the LDAP providers.
- @param []int64 ids parameter: Optional
- @param []string tenantIds parameter: Optional
- @param *bool allUnderHierarchy parameter: Optional
- @return Returns the []*models.LdapProviderResponse response from the API call
func (*LDAPPROVIDER_IMPL) GetLdapProviderStatus ¶
func (me *LDAPPROVIDER_IMPL) GetLdapProviderStatus( id int64) error
*
- Get the connection status of an LDAP provider.
- @param int64 id parameter: Required
- @return Returns the response from the API call
func (*LDAPPROVIDER_IMPL) UpdateLdapProvider ¶
func (me *LDAPPROVIDER_IMPL) UpdateLdapProvider( body *models.UpdateLdapProviderParam) (*models.LdapProviderResponse, error)
*
- Returns the updated LDAP provider.
- @param *models.UpdateLdapProviderParam body parameter: Required
- @return Returns the *models.LdapProviderResponse response from the API call
Click to show internal directories.
Click to hide internal directories.