resource

package
v1.25.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPDriver

type IPDriver interface {
	GetIPAddr(host, containerID, requestIP string) (*types.IPInfo, error)      //GetIPAddr get available ip resource for contaienr
	ReleaseIPAddr(host string, containerID string, ipInfo *types.IPInfo) error //ReleaseIPAddr release ip address for container
	GetHostInfo(host string) (*types.HostInfo, error)                          //Get host info from driver
}

IPDriver driver for applying/releasing ip source

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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