Documentation
¶
Index ¶
- func SetupAllocator(conf conf.PoolConf)
- type Allocator
- func (a *Allocator) AllocHostNic(args *rpc.PodInfo) (*rpc.HostNic, error)
- func (a *Allocator) FreeHostNic(args *rpc.PodInfo, peek bool) (*rpc.HostNic, error)
- func (a *Allocator) SetCachedVxnet(vxnet string) error
- func (a *Allocator) Start(stopCh <-chan struct{}) error
- func (a *Allocator) SyncHostNic(node bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupAllocator ¶
Types ¶
type Allocator ¶
type Allocator struct {
// contains filtered or unexported fields
}
var (
Alloc *Allocator
)
func (*Allocator) AllocHostNic ¶
func (*Allocator) FreeHostNic ¶
func (*Allocator) SetCachedVxnet ¶
func (*Allocator) SyncHostNic ¶
Click to show internal directories.
Click to hide internal directories.