Documentation ¶
Index ¶
- type IgniteRuntime
- func (c *IgniteRuntime) Config() runtime.RuntimeConfig
- func (*IgniteRuntime) CreateContainer(_ context.Context, node *types.NodeConfig) (string, error)
- func (c *IgniteRuntime) CreateNet(ctx context.Context) error
- func (c *IgniteRuntime) DeleteContainer(ctx context.Context, containerID string) error
- func (c *IgniteRuntime) DeleteNet(ctx context.Context) error
- func (*IgniteRuntime) Exec(context.Context, string, []string) ([]byte, []byte, error)
- func (*IgniteRuntime) ExecNotWait(context.Context, string, []string) error
- func (c *IgniteRuntime) GetContainer(_ context.Context, containerID string) (*types.GenericContainer, error)
- func (c *IgniteRuntime) GetContainerStatus(_ context.Context, containerID string) runtime.ContainerStatus
- func (c *IgniteRuntime) GetHostsPath(context.Context, string) (string, error)
- func (c *IgniteRuntime) GetNSPath(ctx context.Context, ctrId string) (string, error)
- func (*IgniteRuntime) GetName() string
- func (c *IgniteRuntime) Init(opts ...runtime.RuntimeOption) error
- func (c *IgniteRuntime) ListContainers(_ context.Context, gfilters []*types.GenericFilter) ([]types.GenericContainer, error)
- func (c *IgniteRuntime) Mgmt() *types.MgmtNet
- func (i *IgniteRuntime) PauseContainer(_ context.Context, cID string) error
- func (*IgniteRuntime) PullImageIfRequired(_ context.Context, imageName string) error
- func (c *IgniteRuntime) StartContainer(ctx context.Context, _ string, node *types.NodeConfig) (interface{}, error)
- func (*IgniteRuntime) StopContainer(_ context.Context, _ string) error
- func (i *IgniteRuntime) UnpauseContainer(_ context.Context, cID string) error
- func (c *IgniteRuntime) WithConfig(cfg *runtime.RuntimeConfig)
- func (c *IgniteRuntime) WithKeepMgmtNet()
- func (c *IgniteRuntime) WithMgmtNet(n *types.MgmtNet)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IgniteRuntime ¶
type IgniteRuntime struct {
// contains filtered or unexported fields
}
func (*IgniteRuntime) Config ¶
func (c *IgniteRuntime) Config() runtime.RuntimeConfig
func (*IgniteRuntime) CreateContainer ¶
func (*IgniteRuntime) CreateContainer(_ context.Context, node *types.NodeConfig) (string, error)
func (*IgniteRuntime) DeleteContainer ¶
func (c *IgniteRuntime) DeleteContainer(ctx context.Context, containerID string) error
func (*IgniteRuntime) ExecNotWait ¶
func (*IgniteRuntime) GetContainer ¶
func (c *IgniteRuntime) GetContainer(_ context.Context, containerID string) (*types.GenericContainer, error)
func (*IgniteRuntime) GetContainerStatus ¶ added in v0.32.0
func (c *IgniteRuntime) GetContainerStatus(_ context.Context, containerID string) runtime.ContainerStatus
GetContainerStatus retrieves the ContainerStatus of the named container.
func (*IgniteRuntime) GetHostsPath ¶ added in v0.27.0
GetHostsPath returns fs path to a file which is mounted as /etc/hosts into a given container no-op for ignite.
func (*IgniteRuntime) GetName ¶
func (*IgniteRuntime) GetName() string
func (*IgniteRuntime) Init ¶
func (c *IgniteRuntime) Init(opts ...runtime.RuntimeOption) error
func (*IgniteRuntime) ListContainers ¶
func (c *IgniteRuntime) ListContainers(_ context.Context, gfilters []*types.GenericFilter) ([]types.GenericContainer, error)
func (*IgniteRuntime) Mgmt ¶
func (c *IgniteRuntime) Mgmt() *types.MgmtNet
func (*IgniteRuntime) PauseContainer ¶ added in v0.26.0
func (i *IgniteRuntime) PauseContainer(_ context.Context, cID string) error
func (*IgniteRuntime) PullImageIfRequired ¶
func (*IgniteRuntime) PullImageIfRequired(_ context.Context, imageName string) error
func (*IgniteRuntime) StartContainer ¶
func (c *IgniteRuntime) StartContainer(ctx context.Context, _ string, node *types.NodeConfig) (interface{}, error)
func (*IgniteRuntime) StopContainer ¶
func (*IgniteRuntime) StopContainer(_ context.Context, _ string) error
func (*IgniteRuntime) UnpauseContainer ¶ added in v0.26.0
func (i *IgniteRuntime) UnpauseContainer(_ context.Context, cID 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)
Click to show internal directories.
Click to hide internal directories.