sync

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ENTITY_NO_MATCH entityProcessorResult = iota
	ENTITY_UPDATE_OK
	ENTITY_UPDATE_NONE
	ENTITY_UPDATE_ERR
)

Variables

This section is empty.

Functions

This section is empty.

Types

type EntityOutline added in v1.0.0

type EntityOutline struct {
	Guid       common.EntityGUID
	Name       string
	AccountID  int
	EntityType entities.EntityType
	Domain     string
	Type       string
	Tags       []entities.EntityTag
}

type EntityQuery

type EntityQuery struct {
	Type      []string
	Domain    []string
	Name      string
	AccountId int
	Tags      []Tag
	Query     string
}

type Mapping

type Mapping map[string]string

type MappingConfig

type MappingConfig struct {
	ExtEntityQuery map[string]interface{}
	EntityQuery    EntityQuery
	Match          Match
	Mapping        Mapping
}

type Mappings

type Mappings []MappingConfig

type Match

type Match struct {
	ExtEntityKey string
	Operator     string
	EntityKey    string
}

type Syncer added in v1.0.0

type Syncer struct {
	// contains filtered or unexported fields
}

func New added in v1.0.0

func New(i *interop.Interop) (*Syncer, error)

func (*Syncer) Sync added in v1.0.0

func (s *Syncer) Sync() error

type Tag

type Tag struct {
	Key    string
	Values []string
}

Jump to

Keyboard shortcuts

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