graphkb

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2020 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 importers.Importer, options ImporterOptions) error

Start the importer 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 Graph

type Graph = knowledge.Graph

type GraphAPI

type GraphAPI = knowledge.GraphAPI

type GraphImporter

type GraphImporter = knowledge.GraphImporter

type ImporterOptions

type ImporterOptions struct {
	URL        string
	AuthToken  string
	SkipVerify bool
}

ImporterOptions options for configuring importer

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