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, mq querier.AgentMulticastInfoQuerier, seipq querier.ServiceExternalIPStatusQuerier, secureServing *genericoptions.SecureServingOptionsWithLoopback, authentication *genericoptions.DelegatingAuthenticationOptions, authorization *genericoptions.DelegatingAuthorizationOptions, enableMetrics bool, kubeconfig string, v4Enabled, v6Enabled bool, ) (*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.