Documentation
¶
Index ¶
- Variables
- func GetAttrDesc(attr string) (string, error)
- func GetAttrList() []string
- func GetMetricDesc(attr string) (string, error)
- func GetMetricList() []string
- func NewNode(dir string, attrs map[string]string) (testbedi.Core, error)
- type DockerIpfs
- func (l *DockerIpfs) APIAddr() (string, error)
- func (l *DockerIpfs) Attr(attr string) (string, error)
- func (l *DockerIpfs) Config() (interface{}, error)
- func (l *DockerIpfs) Connect(ctx context.Context, n testbedi.Core) error
- func (l *DockerIpfs) Deployment() string
- func (l *DockerIpfs) Dir() string
- func (l *DockerIpfs) Events() (io.ReadCloser, error)
- func (l *DockerIpfs) GetAttrDesc(attr string) (string, error)
- func (l *DockerIpfs) GetAttrList() []string
- func (l *DockerIpfs) GetMetricDesc(attr string) (string, error)
- func (l *DockerIpfs) GetMetricList() []string
- func (l *DockerIpfs) Heartbeat() (map[string]string, error)
- func (l *DockerIpfs) Init(ctx context.Context, args ...string) (testbedi.Output, error)
- func (l *DockerIpfs) Logs() (io.ReadCloser, error)
- func (l *DockerIpfs) Metric(metric string) (string, error)
- func (l *DockerIpfs) PeerID() (string, error)
- func (l *DockerIpfs) RunCmd(ctx context.Context, stdin io.Reader, args ...string) (testbedi.Output, error)
- func (l *DockerIpfs) SetAttr(attr string, val string) error
- func (l *DockerIpfs) Shell(ctx context.Context, nodes []testbedi.Core) error
- func (l *DockerIpfs) Start(ctx context.Context, wait bool, args ...string) (testbedi.Output, error)
- func (l *DockerIpfs) StderrReader() (io.ReadCloser, error)
- func (l *DockerIpfs) StdoutReader() (io.ReadCloser, error)
- func (l *DockerIpfs) Stop(ctx context.Context) error
- func (l *DockerIpfs) String() string
- func (l *DockerIpfs) SwarmAddrs() ([]string, error)
- func (l *DockerIpfs) Type() string
- func (l *DockerIpfs) WriteConfig(cfg interface{}) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrTimeout = errors.New("timeout")
View Source
var PluginName = "dockeripfs"
Functions ¶
func GetAttrDesc ¶
func GetAttrList ¶
func GetAttrList() []string
func GetMetricDesc ¶
func GetMetricList ¶
func GetMetricList() []string
Types ¶
type DockerIpfs ¶
type DockerIpfs struct {
// contains filtered or unexported fields
}
func (*DockerIpfs) APIAddr ¶
func (l *DockerIpfs) APIAddr() (string, error)
func (*DockerIpfs) Config ¶
func (l *DockerIpfs) Config() (interface{}, error)
func (*DockerIpfs) Connect ¶
func (l *DockerIpfs) Connect(ctx context.Context, n testbedi.Core) error
func (*DockerIpfs) Deployment ¶
func (l *DockerIpfs) Deployment() string
func (*DockerIpfs) Dir ¶
func (l *DockerIpfs) Dir() string
func (*DockerIpfs) Events ¶
func (l *DockerIpfs) Events() (io.ReadCloser, error)
func (*DockerIpfs) GetAttrDesc ¶
func (l *DockerIpfs) GetAttrDesc(attr string) (string, error)
func (*DockerIpfs) GetAttrList ¶
func (l *DockerIpfs) GetAttrList() []string
func (*DockerIpfs) GetMetricDesc ¶
func (l *DockerIpfs) GetMetricDesc(attr string) (string, error)
func (*DockerIpfs) GetMetricList ¶
func (l *DockerIpfs) GetMetricList() []string
func (*DockerIpfs) Init ¶
func (l *DockerIpfs) Init(ctx context.Context, args ...string) (testbedi.Output, error)
func (*DockerIpfs) Logs ¶
func (l *DockerIpfs) Logs() (io.ReadCloser, error)
func (*DockerIpfs) PeerID ¶
func (l *DockerIpfs) PeerID() (string, error)
func (*DockerIpfs) Shell ¶
func (l *DockerIpfs) Shell(ctx context.Context, nodes []testbedi.Core) error
func (*DockerIpfs) StderrReader ¶
func (l *DockerIpfs) StderrReader() (io.ReadCloser, error)
func (*DockerIpfs) StdoutReader ¶
func (l *DockerIpfs) StdoutReader() (io.ReadCloser, error)
func (*DockerIpfs) String ¶
func (l *DockerIpfs) String() string
func (*DockerIpfs) SwarmAddrs ¶
func (l *DockerIpfs) SwarmAddrs() ([]string, error)
func (*DockerIpfs) Type ¶
func (l *DockerIpfs) Type() string
func (*DockerIpfs) WriteConfig ¶
func (l *DockerIpfs) WriteConfig(cfg interface{}) error
Click to show internal directories.
Click to hide internal directories.