graphkb

package
v0.0.16 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NewRecurrentTask = utils.NewRecurrentTask

Functions

func Start

func Start(source sources.DataSource, options DataSourceOptions) error

Start the data source with provided options

Types

type AssetType

type AssetType = schema.AssetType

func CreateAsset

func CreateAsset(fromType string) AssetType

CreateAsset helper function for creating an asset

type DataSource added in v0.0.13

type DataSource = knowledge.DataSource

type DataSourceOptions added in v0.0.13

type DataSourceOptions struct {
	URL        string
	AuthToken  string
	SkipVerify bool
}

DataSourceOptions options for configuring the data source

type Graph

type Graph = knowledge.Graph

type GraphAPI

type GraphAPI = knowledge.GraphAPI

type RecurrentTask

type RecurrentTask = utils.RecurrentTask

type RelationKeyType

type RelationKeyType = schema.RelationKeyType

type RelationType

type RelationType = schema.RelationType

func CreateRelation

func CreateRelation(fromType schema.AssetType, relation, toType schema.AssetType) RelationType

CreateRelation helper function for creating a relation

type Transaction

type Transaction = knowledge.Transaction

Jump to

Keyboard shortcuts

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