allow

package
v2.0.30 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2023 License: Apache-2.0 Imports: 13 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 Fragment added in v2.0.19

type Fragment struct {
	Name  string
	Value []byte
}

type Item

type Item struct {
	Namespace  string
	Operation  string
	Name       string
	ActionJSON map[string]json.RawMessage
	Query      []byte
	Fragments  []Fragment
}

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) GetByName

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

func (*List) Set

func (al *List) Set(item Item) error

Jump to

Keyboard shortcuts

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