Documentation ¶
Index ¶
Constants ¶
View Source
const Name = "antrea-agent-api"
Variables ¶
View Source
var (
// #nosec G101: false positive triggered by variable name which includes "token"
TokenPath = "/var/run/antrea/apiserver/loopback-client-token"
)
Functions ¶
func New ¶
func New(aq agentquerier.AgentQuerier, npq querier.AgentNetworkPolicyInfoQuerier, seipq querier.ServiceExternalIPStatusQuerier, bindPort int, enableMetrics bool, kubeconfig string, cipherSuites []uint16, tlsMinVersion uint16) (*agentAPIServer, error)
New creates an APIServer for running in antrea agent.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.