Documentation ¶
Overview ¶
Package agent contains the libraries that drive the antrea-agent binary. antrea-agent is responsible for the Pod networking and policy implementation on a Kubernetes Node.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAntreaClientProvider ¶ added in v0.7.0
func NewAntreaClientProvider(config config.ClientConnectionConfiguration, kubeClient kubernetes.Interface) *antreaClientProvider
Types ¶
type AntreaClientProvider ¶ added in v0.7.0
AntreaClientProvider provides a method to get Antrea client.
type Initializer ¶
type Initializer struct {
// contains filtered or unexported fields
}
Initializer knows how to setup host networking, OpenVSwitch, and Openflow.
func NewInitializer ¶
func NewInitializer( k8sClient clientset.Interface, ovsBridgeClient ovsconfig.OVSBridgeClient, ofClient openflow.Client, routeClient route.Interface, ifaceStore interfacestore.InterfaceStore, ovsBridge string, hostGateway string, mtu int, serviceCIDR *net.IPNet, networkConfig *config.NetworkConfig, networkReadyCh chan<- struct{}, enableProxy bool) *Initializer
func (*Initializer) FlowRestoreComplete ¶ added in v0.6.0
func (i *Initializer) FlowRestoreComplete() error
func (*Initializer) GetNodeConfig ¶
func (i *Initializer) GetNodeConfig() *config.NodeConfig
GetNodeConfig returns the NodeConfig.
func (*Initializer) Initialize ¶
func (i *Initializer) Initialize() error
Initialize sets up agent initial configurations.
Directories ¶
Path | Synopsis |
---|---|
ipam/testing
Package testing is a generated GoMock package.
|
Package testing is a generated GoMock package. |
controller
|
|
connections/testing
Package testing is a generated GoMock package.
|
Package testing is a generated GoMock package. |
ipfix/testing
Package testing is a generated GoMock package.
|
Package testing is a generated GoMock package. |
testing
Package testing is a generated GoMock package.
|
Package testing is a generated GoMock package. |
cookie
Package cookie implements a cookie allocator.
|
Package cookie implements a cookie allocator. |
testing
Package testing is a generated GoMock package.
|
Package testing is a generated GoMock package. |
testing
Package testing is a generated GoMock package.
|
Package testing is a generated GoMock package. |
testing
Package testing is a generated GoMock package.
|
Package testing is a generated GoMock package. |
testing
Package testing is a generated GoMock package.
|
Package testing is a generated GoMock package. |
Package util contains utility functions which are used in the agent implementation.
|
Package util contains utility functions which are used in the agent implementation. |
ethtool
Package ethtool provides Go wrappers for ioctl ethtool system calls on Linux
|
Package ethtool provides Go wrappers for ioctl ethtool system calls on Linux |
sysctl
Package systcl contains utility functions to read and write sysctl configuration on Linux.
|
Package systcl contains utility functions to read and write sysctl configuration on Linux. |
winfirewall
Package winfirewall contains utility functions to configure the Windows firewall.
|
Package winfirewall contains utility functions to configure the Windows firewall. |
Click to show internal directories.
Click to hide internal directories.