Documentation ¶
Index ¶
- type CRT
- func (c *CRT) AttachEndpoint(contEpContext *crtclient.ContainerEPContext) error
- func (c *CRT) Deinit()
- func (c *CRT) DetachEndpoint(contEpContext *crtclient.ContainerEPContext) error
- func (c *CRT) GetContainerID(contName string) string
- func (c *CRT) GetContainerName(contID string) (string, error)
- func (c *CRT) Init(configStr string) error
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CRT ¶
type CRT struct {
ContainerIf crtclient.ContainerIf
}
CRT is an abstraction for Container Runtimes.
func (*CRT) AttachEndpoint ¶
func (c *CRT) AttachEndpoint( contEpContext *crtclient.ContainerEPContext) error
AttachEndpoint attaches an endpoint to a container.
func (*CRT) DetachEndpoint ¶
func (c *CRT) DetachEndpoint(contEpContext *crtclient.ContainerEPContext) error
DetachEndpoint detaches an endpoint from a container.
func (*CRT) GetContainerID ¶
GetContainerID obtains the container identifier for the given name.
func (*CRT) GetContainerName ¶
GetContainerName obtains the container name from the identifier.
Click to show internal directories.
Click to hide internal directories.