allow

package
v2.0.13 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUnknownGraphQLQuery = errors.New("unknown graphql query")

Functions

This section is empty.

Types

type Frag

type Frag struct {
	Name  string
	Value string
}

type Item

type Item struct {
	Namespace string
	Name      string
	Operation string
	Query     string
	Vars      string
	// contains filtered or unexported fields
}

type List

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

func New

func New(log *_log.Logger, fs plugin.FS, readOnly bool) (al *List, err error)

func (*List) Get

func (al *List) Get(filePath string) (item Item, err error)

func (*List) GetByName

func (al *List) GetByName(name string, useCache bool) (item Item, err error)

func (*List) Set

func (al *List) Set(vars json.RawMessage, query string, namespace string) error

func (*List) Upgrade

func (al *List) Upgrade() (err error)

Jump to

Keyboard shortcuts

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