data_access

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

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

type Rule

type Rule struct {
	Name        string
	Description string
	Id          string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL