Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataAccess ¶
type DataAccess struct { Id string DataObject *DataObject `yaml:"dataObject"` Permissions []string Users []string Rule *Rule }
func (*DataAccess) CalculateHash ¶
func (d *DataAccess) CalculateHash() string
func (*DataAccess) Merge ¶
func (d *DataAccess) Merge(input []*DataAccess) *DataAccess
type DataAccessResult ¶
type DataAccessResult struct { LastCalculated int64 `yaml:"lastCalculated"` AccessRights []*DataAccess `yaml:"accessRights"` }
type DataAccessSyncConfig ¶
type DataAccessSyncConfig struct { base.BaseTargetConfig DataAccess *DataAccessResult }
type DataAccessSyncer ¶
type DataAccessSyncer interface {
SyncDataAccess(config *DataAccessSyncConfig) (string, error)
}
type DataAccessSyncerPlugin ¶
type DataAccessSyncerPlugin struct {
Impl DataAccessSyncer
}
func (DataAccessSyncerPlugin) Client ¶
func (DataAccessSyncerPlugin) Client(b *plugin.MuxBroker, c *rpc.Client) (interface{}, error)
func (*DataAccessSyncerPlugin) Server ¶
func (p *DataAccessSyncerPlugin) Server(*plugin.MuxBroker) (interface{}, error)
type DataAccessSyncerRPC ¶
type DataAccessSyncerRPC struct {
// contains filtered or unexported fields
}
func (*DataAccessSyncerRPC) SyncDataAccess ¶
func (g *DataAccessSyncerRPC) SyncDataAccess(config *DataAccessSyncConfig) (string, error)
type DataAccessSyncerRPCServer ¶
type DataAccessSyncerRPCServer struct {
Impl DataAccessSyncer
}
func (*DataAccessSyncerRPCServer) SyncDataAccess ¶
func (s *DataAccessSyncerRPCServer) SyncDataAccess(config *DataAccessSyncConfig, resp *string) error
type DataObject ¶
type DataObject struct { Type string Name string Parent *DataObject Path string `yaml:"-"` // contains filtered or unexported fields }
func (*DataObject) BuildPath ¶
func (d *DataObject) BuildPath(sep string) string
Click to show internal directories.
Click to hide internal directories.