discovery

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 18, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudDiscovery

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

CloudDiscovery is the discovery provider type

func (*CloudDiscovery) Close

func (c *CloudDiscovery) Close() error

Close is unused but required to make this work

func (*CloudDiscovery) Deregister

func (c *CloudDiscovery) Deregister() error

Deregister is unused but required to make this work

func (*CloudDiscovery) DiscoverPeers

func (c *CloudDiscovery) DiscoverPeers() ([]string, error)

DiscoverPeers is used in interfacing with Olric

func (*CloudDiscovery) Initialize

func (c *CloudDiscovery) Initialize() error

Initialize is used in interfacing with Olric

func (*CloudDiscovery) Register

func (c *CloudDiscovery) Register() error

Register is unused but required to make this work

func (*CloudDiscovery) SetConfig

func (c *CloudDiscovery) SetConfig(cfg map[string]interface{}) error

SetConfig is used in interfacing with Olric

func (*CloudDiscovery) SetLogger

func (c *CloudDiscovery) SetLogger(l *log.Logger)

SetLogger is used in interfacing with Olric

type Config

type Config struct {
	Provider string
	Args     string
}

Config is the structure of config for the CloudProvider

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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