discovery

package
v0.0.0-...-59647e1 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const API_IMAGE = "francisbouvier/pipes_api"
View Source
const IMAGE = "francisbouvier/wampace"

Variables

This section is empty.

Functions

func GetStore

func GetStore(c *cli.Context) (st store.Store, err error)

func Initialize

func Initialize(c *cli.Context) (err error)

Types

type Conf

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

func (*Conf) DeletePool

func (c *Conf) DeletePool(name string)

func (*Conf) GetMainPool

func (c *Conf) GetMainPool() (name string, value string, err error)

func (*Conf) GetPool

func (c *Conf) GetPool(name string) (p string, err error)

func (*Conf) Save

func (c *Conf) Save() error

func (*Conf) SetMainPool

func (c *Conf) SetMainPool(name string)

func (*Conf) SetPool

func (c *Conf) SetPool(name, value string)

type Discovery

type Discovery interface {
	Connect(string) ([]byte, error)
	Save(string, []byte) error
}

type Local

type Local struct {
}

func (Local) Connect

func (l Local) Connect(p string) (data []byte, err error)

func (Local) Save

func (l Local) Save(p string, data []byte) (err error)

Jump to

Keyboard shortcuts

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