dvcore

package
v3.13.2 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2023 License: Apache-2.0, MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AirtableInfo

func AirtableInfo(opts AirtableOpts) error

func AirtableSync

func AirtableSync(db *cayley.Handle, opts AirtableOpts) error

func Fetch

func Fetch(h *cayley.Handle, args []string, opts FetchOpts) error

func Gen

func Gen(h *cayley.Handle, args []string, opts GenOpts) error

func GetStoreDump

func GetStoreDump(ctx context.Context, h *cayley.Handle, schema *schema.Config) (*dvmodel.Batch, error)

func PullAndSave

func PullAndSave(targets []multipmuri.Entity, h *cayley.Handle, schema *schema.Config, githubToken string, resync bool, logger *zap.Logger) (bool, error)

func StoreDumpQuads

func StoreDumpQuads(h *cayley.Handle) error

func StoreInfo

func StoreInfo(h *cayley.Handle) error

Types

type AirtableOpts

type AirtableOpts struct {
	Token     string
	BaseID    string
	OwnersTab string
	TasksTab  string
	TopicsTab string
}

type FetchOpts

type FetchOpts struct {
	Logger *zap.Logger
	Schema *schema.Config

	GitHubToken string
	Resync      bool
}

type GenOpts

type GenOpts struct {
	NoGraph bool
	Logger  *zap.Logger
	Schema  *schema.Config

	Format           string
	Vertical         bool
	NoPert           bool
	ShowClosed       bool
	HideIsolated     bool
	HidePRs          bool
	HideExternalDeps bool
}

Jump to

Keyboard shortcuts

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