providers

package
v1.5.6 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2022 License: Apache-2.0 Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewExample

func NewExample(logger logging.Logger) (core.Provider, error)

NewExample creates new provider instance

Types

type Example

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

func (*Example) Delete

func (e *Example) Delete(kp core.KeyPath) error

Delete will delete entry

func (*Example) DeleteMapping

func (e *Example) DeleteMapping(kp core.KeyPath) error

DeleteMapping will delete the given path recessively

func (*Example) Get

func (e *Example) Get(p core.KeyPath) (*core.EnvEntry, error)

Get returns a single entry

func (*Example) GetMapping

func (e *Example) GetMapping(p core.KeyPath) ([]core.EnvEntry, error)

GetMapping returns a multiple entries

func (*Example) Name

func (e *Example) Name() string

Name return the provider name

func (*Example) Put

func (e *Example) Put(p core.KeyPath, val string) error

Put will create a new single entry

func (*Example) PutMapping

func (e *Example) PutMapping(p core.KeyPath, m map[string]string) error

PutMapping will create a multiple entries

Jump to

Keyboard shortcuts

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