Documentation ¶
Index ¶
- type MetaData
- type MultipleEngineMetaData
- func (m *MultipleEngineMetaData) GetById(containerId string) types.Container
- func (m *MultipleEngineMetaData) GetByMntNs(mntNs int64) types.Container
- func (m *MultipleEngineMetaData) GetByName(name string) []types.Container
- func (m *MultipleEngineMetaData) GetByNetNs(netNs int64) types.Container
- func (m *MultipleEngineMetaData) GetByPid(pid int) types.Container
- func (m *MultipleEngineMetaData) GetByPod(name, namespace string) []types.Container
- func (m *MultipleEngineMetaData) Start(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetaData ¶
type MetaData interface { Start(ctx context.Context) error GetById(containerId string) types.Container GetByMntNs(mntNs int64) types.Container GetByNetNs(netNs int64) types.Container GetByPid(pid int) types.Container GetByName(name string) []types.Container GetByPod(name, namespace string) []types.Container }
type MultipleEngineMetaData ¶
type MultipleEngineMetaData struct {
// contains filtered or unexported fields
}
func NewMultipleEngineMetaData ¶
func NewMultipleEngineMetaData(dockerEndpoint, containerdEndpoint string) *MultipleEngineMetaData
func (*MultipleEngineMetaData) GetById ¶
func (m *MultipleEngineMetaData) GetById(containerId string) types.Container
func (*MultipleEngineMetaData) GetByMntNs ¶
func (m *MultipleEngineMetaData) GetByMntNs(mntNs int64) types.Container
func (*MultipleEngineMetaData) GetByName ¶ added in v0.13.0
func (m *MultipleEngineMetaData) GetByName(name string) []types.Container
func (*MultipleEngineMetaData) GetByNetNs ¶
func (m *MultipleEngineMetaData) GetByNetNs(netNs int64) types.Container
func (*MultipleEngineMetaData) GetByPid ¶
func (m *MultipleEngineMetaData) GetByPid(pid int) types.Container
Click to show internal directories.
Click to hide internal directories.