Documentation ¶
Index ¶
- Constants
- type Client
- type ClientV1
- func (a *ClientV1) GetAdvancedUserInfo(userId string, sdkConfig *config.SdkConfig) (*GetAdvancedUserInfoResponse, error)
- func (a *ClientV1) GetConfig(params *GetConfigParams) (*GetConfigOK, error)
- func (a *ClientV1) GetDomainName(sdkConfig *config.SdkConfig) (*GetDomainNameResponse, error)
- func (a *ClientV1) ListNonTechnicalRoles(teams bool, sdkConfig *config.SdkConfig) (map[string]*NonTechRole, error)
- func (a *ClientV1) ListP8GlobalMeta(sdkConfig *config.SdkConfig) (P8GlobalMeta, error)
- type GetAdvancedUserInfoResponse
- type GetConfigOK
- type GetConfigParams
- type GetConfigReader
- type GetDomainNameResponse
- type GetPeopleOK
- type GetPeopleParams
- type GetPeopleReader
- type GetRolesOK
- type GetRolesReader
- type NonTechRole
- type P8GlobalMeta
- type P8GlobalMetaNode
- type P8GlobalMetaNodes
- type P8GlobalMetaUsers
- type Pydio8Store
- func (s *Pydio8Store) CrossLoadShare(ctx context.Context, syncShare *models.SyncShare, target models.ReadableStore, ...) error
- func (s *Pydio8Store) GetAPIV1Client() *ClientV1
- func (s *Pydio8Store) GetGroupInfo(ctx context.Context, groupPath string, params map[string]interface{}) (u *idm.User, e error)
- func (s *Pydio8Store) GetLdapDomainName() (string, error)
- func (s *Pydio8Store) GetUserInfo(c context.Context, userName string, params map[string]interface{}) (u *idm.User, aclCtxt context.Context, e error)
- func (s *Pydio8Store) ListACLs(ctx context.Context, params map[string]interface{}) ([]*idm.ACL, error)
- func (s *Pydio8Store) ListConfig(ctx context.Context, params map[string]interface{}) (*source.ChangeSet, error)
- func (s *Pydio8Store) ListGroups(ctx context.Context, params map[string]interface{}) ([]*idm.User, error)
- func (s *Pydio8Store) ListRoles(ctx context.Context, userStore models.ReadableStore, ...) ([]*idm.Role, error)
- func (s *Pydio8Store) ListShares(ctx context.Context, params map[string]interface{}) (res []*models.SyncShare, e error)
- func (s *Pydio8Store) ListUsers(ctx context.Context, params map[string]interface{}, progress chan float32) (map[string]*idm.User, error)
- func (s *Pydio8Store) ReadNode(c context.Context, wsUuid string, wsPath string) (*tree.Node, error)
Constants ¶
const ( P8GlobalMetaWatchRead = "META_WATCH_READ" P8GlobalMetaWatchChange = "META_WATCH_CHANGE" P8GlobalMetaWatchBoth = "META_WATCH_BOTH" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetPeople ¶
func (a *Client) GetPeople(params *GetPeopleParams) (*GetPeopleOK, error)
User Client Rewrite
func (*Client) GetRoles ¶
func (a *Client) GetRoles(params *provisioning.GetRolesParams) (*GetRolesOK, error)
ROLE client rewrite
type ClientV1 ¶
type ClientV1 struct {
// contains filtered or unexported fields
}
func (*ClientV1) GetAdvancedUserInfo ¶
func (*ClientV1) GetConfig ¶
func (a *ClientV1) GetConfig(params *GetConfigParams) (*GetConfigOK, error)
func (*ClientV1) GetDomainName ¶
func (a *ClientV1) GetDomainName(sdkConfig *config.SdkConfig) (*GetDomainNameResponse, error)
func (*ClientV1) ListNonTechnicalRoles ¶
func (*ClientV1) ListP8GlobalMeta ¶
func (a *ClientV1) ListP8GlobalMeta(sdkConfig *config.SdkConfig) (P8GlobalMeta, error)
type GetConfigOK ¶
type GetConfigOK struct {
PluginSettingsValues *frontend.Cplugin_settings_values
}
GetConfigOK handles this case with default header values.
A list of roles represented as standard nodes
func NewGetConfigOK ¶
func NewGetConfigOK() *GetConfigOK
NewGetConfigOK creates a GetConfigOK with default headers values
func (*GetConfigOK) Error ¶
func (o *GetConfigOK) Error() string
type GetConfigParams ¶
type GetConfigParams struct { Format *string Plugin string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetConfigParams contains all the parameters to send to the API endpoint for the get people operation typically these are written to a http.Request
func (*GetConfigParams) WriteToRequest ¶
func (o *GetConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetConfigReader ¶
type GetConfigReader struct {
// contains filtered or unexported fields
}
GetConfigReader is a Reader for the GetConfig structure.
func (*GetConfigReader) ReadResponse ¶
func (o *GetConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDomainNameResponse ¶
type GetDomainNameResponse struct {
DomainName string `json:"domainname"`
}
type GetPeopleOK ¶
GetRolesOK handles this case with default header values.
A list of roles represented as standard nodes
func NewGetPeopleOK ¶
func NewGetPeopleOK() *GetPeopleOK
NewGetRolesOK creates a GetRolesOK with default headers values
func (*GetPeopleOK) Error ¶
func (o *GetPeopleOK) Error() string
type GetPeopleParams ¶
type GetPeopleParams struct { /*Format Format produced in output (defaults to xml) */ Format *string /*List list children of the current resource */ List *bool /*Path User or group identifier, including full group path (optional) */ Path string Page int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPeopleParams contains all the parameters to send to the API endpoint for the get people operation typically these are written to a http.Request
func (*GetPeopleParams) WriteToRequest ¶
func (o *GetPeopleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPeopleReader ¶
type GetPeopleReader struct {
// contains filtered or unexported fields
}
GetRolesReader is a Reader for the GetRoles structure.
func (*GetPeopleReader) ReadResponse ¶
func (o *GetPeopleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRolesOK ¶
GetRolesOK handles this case with default header values.
A list of roles represented as standard nodes
func NewGetRolesOK ¶
func NewGetRolesOK() *GetRolesOK
NewGetRolesOK creates a GetRolesOK with default headers values
func (*GetRolesOK) Error ¶
func (o *GetRolesOK) Error() string
type GetRolesReader ¶
type GetRolesReader struct {
// contains filtered or unexported fields
}
GetRolesReader is a Reader for the GetRoles structure.
func (*GetRolesReader) ReadResponse ¶
func (o *GetRolesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type NonTechRole ¶
type P8GlobalMeta ¶
type P8GlobalMeta map[string]P8GlobalMetaUsers
type P8GlobalMetaNode ¶
type P8GlobalMetaNodes ¶
type P8GlobalMetaNodes map[string]P8GlobalMetaNode
type P8GlobalMetaUsers ¶
type P8GlobalMetaUsers map[string]P8GlobalMetaNodes
type Pydio8Store ¶
Pydio8Store implements what it takes to communicate with a Pydio8 entity
func NewPydio8UserStore ¶
func NewPydio8UserStore(c *sdkconfig.SdkConfig) *Pydio8Store
func (*Pydio8Store) CrossLoadShare ¶
func (s *Pydio8Store) CrossLoadShare(ctx context.Context, syncShare *models.SyncShare, target models.ReadableStore, params map[string]interface{}) error
func (*Pydio8Store) GetAPIV1Client ¶
func (s *Pydio8Store) GetAPIV1Client() *ClientV1
func (*Pydio8Store) GetGroupInfo ¶
func (*Pydio8Store) GetLdapDomainName ¶
func (s *Pydio8Store) GetLdapDomainName() (string, error)
func (*Pydio8Store) GetUserInfo ¶
func (*Pydio8Store) ListACLs ¶
func (s *Pydio8Store) ListACLs(ctx context.Context, params map[string]interface{}) ([]*idm.ACL, error)
ListACLs returns acls from the pydio api
func (*Pydio8Store) ListConfig ¶
func (s *Pydio8Store) ListConfig(ctx context.Context, params map[string]interface{}) (*source.ChangeSet, error)
ListUsers from the pydio 8 api
func (*Pydio8Store) ListGroups ¶
func (s *Pydio8Store) ListGroups(ctx context.Context, params map[string]interface{}) ([]*idm.User, error)
ListGroups from the pydio 8 api
func (*Pydio8Store) ListRoles ¶
func (s *Pydio8Store) ListRoles(ctx context.Context, userStore models.ReadableStore, params map[string]interface{}) ([]*idm.Role, error)
Return a list of user with