value_descriptor

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetValueDescriptorsExecutor

type GetValueDescriptorsExecutor interface {
	Execute() ([]contract.ValueDescriptor, error)
}

GetValueDescriptorsExecutor retrieves one or more value descriptors.

func NewGetValueDescriptorsExecutor

func NewGetValueDescriptorsExecutor(loader Loader, logger logger.LoggingClient, config bootstrapConfig.ServiceInfo) GetValueDescriptorsExecutor

NewGetValueDescriptorsExecutor creates a GetValueDescriptorsExecutor which will get all value descriptors.

func NewGetValueDescriptorsNameExecutor

func NewGetValueDescriptorsNameExecutor(names []string, loader Loader, logger logger.LoggingClient, config bootstrapConfig.ServiceInfo) GetValueDescriptorsExecutor

NewGetValueDescriptorsNameExecutor creates a GetValueDescriptorsExecutor which will get value descriptors matching the provided names.

type Loader

type Loader interface {
	ValueDescriptors() ([]contract.ValueDescriptor, error)
	ValueDescriptorsByName(names []string) ([]contract.ValueDescriptor, error)
}

Loader provides functionality for loading ValueDescriptors.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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