operation

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v0.1.5

type Config struct {
	Provider          edvprovider.EDVProvider
	AuthService       authService
	AuthEnable        bool
	EnabledExtensions *EnabledExtensions
}

Config defines configuration for vcs operations

type EnabledExtensions added in v0.1.5

type EnabledExtensions struct {
	ReturnFullDocumentsOnQuery bool
	ReadAllDocumentsEndpoint   bool
	Batch                      bool
}

EnabledExtensions indicates which EDV server extensions have been enabled.

type Handler

type Handler interface {
	Path() string
	Method() string
	Handle() http.HandlerFunc
}

Handler represents an HTTP handler for each controller API endpoint.

type Operation

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

Operation defines handler logic for the EDV service.

func New

func New(config *Config) *Operation

New returns a new EDV operations instance.

func (*Operation) GetRESTHandlers

func (c *Operation) GetRESTHandlers() []Handler

GetRESTHandlers gets all controller API handler available for this service.

type VaultCollection

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

VaultCollection represents EDV storage.

Jump to

Keyboard shortcuts

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