ignite

package
v0.0.0-0.15.3 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2021 License: BSD-3-Clause Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IgniteRuntime

type IgniteRuntime struct {
	Mgmt *types.MgmtNet
	// contains filtered or unexported fields
}

func (*IgniteRuntime) Config

func (c *IgniteRuntime) Config() runtime.RuntimeConfig

func (*IgniteRuntime) CreateContainer

func (c *IgniteRuntime) CreateContainer(ctx context.Context, node *types.NodeConfig) (interface{}, error)

func (*IgniteRuntime) CreateNet

func (c *IgniteRuntime) CreateNet(ctx context.Context) error

func (*IgniteRuntime) DeleteContainer

func (c *IgniteRuntime) DeleteContainer(ctx context.Context, containerID string) error

func (*IgniteRuntime) DeleteNet

func (c *IgniteRuntime) DeleteNet(ctx context.Context) error

func (*IgniteRuntime) Exec

func (c *IgniteRuntime) Exec(context.Context, string, []string) ([]byte, []byte, error)

func (*IgniteRuntime) ExecNotWait

func (c *IgniteRuntime) ExecNotWait(context.Context, string, []string) error

func (*IgniteRuntime) GetContainer

func (c *IgniteRuntime) GetContainer(ctx context.Context, containerID string) (*types.GenericContainer, error)

func (*IgniteRuntime) GetNSPath

func (c *IgniteRuntime) GetNSPath(ctx context.Context, ctrId string) (string, error)

func (*IgniteRuntime) GetName

func (c *IgniteRuntime) GetName() string

func (*IgniteRuntime) Init

func (c *IgniteRuntime) Init(opts ...runtime.RuntimeOption) error

func (*IgniteRuntime) ListContainers

func (c *IgniteRuntime) ListContainers(ctx context.Context, gfilters []*types.GenericFilter) ([]types.GenericContainer, error)

func (*IgniteRuntime) PullImageIfRequired

func (c *IgniteRuntime) PullImageIfRequired(ctx context.Context, imageName string) error

func (*IgniteRuntime) StartContainer

func (c *IgniteRuntime) StartContainer(ctx context.Context, _ string) error

func (*IgniteRuntime) StopContainer

func (c *IgniteRuntime) StopContainer(ctx context.Context, name string) error

func (*IgniteRuntime) WithConfig

func (c *IgniteRuntime) WithConfig(cfg *runtime.RuntimeConfig)

func (*IgniteRuntime) WithKeepMgmtNet

func (c *IgniteRuntime) WithKeepMgmtNet()

func (*IgniteRuntime) WithMgmtNet

func (c *IgniteRuntime) WithMgmtNet(n *types.MgmtNet)

Jump to

Keyboard shortcuts

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