Documentation ¶
Index ¶
- func NewBridgeConfigurator(cacheCreator cacheCreator, launcherPID string, advertisingIfaceName string, ...) *configurator
- func NewMasqueradeConfigurator(advertisingIfaceName string, handler netdriver.NetworkHandler, ...) *configurator
- type BridgeConfigGenerator
- type ConfigGenerator
- type Configurator
- type MasqueradeConfigGenerator
- type MockConfigGenerator
- type MockConfigurator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBridgeConfigurator ¶ added in v0.44.1
Types ¶
type BridgeConfigGenerator ¶ added in v0.44.1
type BridgeConfigGenerator struct {
// contains filtered or unexported fields
}
func (*BridgeConfigGenerator) Generate ¶ added in v0.44.1
func (d *BridgeConfigGenerator) Generate() (*cache.DHCPConfig, error)
type ConfigGenerator ¶ added in v0.44.1
type ConfigGenerator interface {
Generate() (*cache.DHCPConfig, error)
}
type Configurator ¶
type Configurator interface { EnsureDHCPServerStarted(podInterfaceName string, dhcpConfig cache.DHCPConfig, dhcpOptions *v1.DHCPOptions) error Generate() (*cache.DHCPConfig, error) }
type MasqueradeConfigGenerator ¶ added in v0.44.1
type MasqueradeConfigGenerator struct {
// contains filtered or unexported fields
}
func (*MasqueradeConfigGenerator) Generate ¶ added in v0.44.1
func (d *MasqueradeConfigGenerator) Generate() (*cache.DHCPConfig, error)
type MockConfigGenerator ¶ added in v0.44.1
type MockConfigGenerator struct {
// contains filtered or unexported fields
}
Mock of ConfigGenerator interface
func NewMockConfigGenerator ¶ added in v0.44.1
func NewMockConfigGenerator(ctrl *gomock.Controller) *MockConfigGenerator
func (*MockConfigGenerator) EXPECT ¶ added in v0.44.1
func (_m *MockConfigGenerator) EXPECT() *_MockConfigGeneratorRecorder
func (*MockConfigGenerator) Generate ¶ added in v0.44.1
func (_m *MockConfigGenerator) Generate() (*cache.DHCPConfig, error)
type MockConfigurator ¶ added in v0.44.1
type MockConfigurator struct {
// contains filtered or unexported fields
}
Mock of Configurator interface
func NewMockConfigurator ¶ added in v0.44.1
func NewMockConfigurator(ctrl *gomock.Controller) *MockConfigurator
func (*MockConfigurator) EXPECT ¶ added in v0.44.1
func (_m *MockConfigurator) EXPECT() *_MockConfiguratorRecorder
func (*MockConfigurator) EnsureDHCPServerStarted ¶ added in v0.44.1
func (_m *MockConfigurator) EnsureDHCPServerStarted(podInterfaceName string, dhcpConfig cache.DHCPConfig, dhcpOptions *v1.DHCPOptions) error
func (*MockConfigurator) Generate ¶ added in v0.44.1
func (_m *MockConfigurator) Generate() (*cache.DHCPConfig, error)
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
* This file is part of the KubeVirt project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
|
* This file is part of the KubeVirt project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. |
* This file is part of the KubeVirt project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
|
* This file is part of the KubeVirt project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. |
Click to show internal directories.
Click to hide internal directories.