Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VxlanPolicyAgent ¶
type VxlanPolicyAgent struct { PollInterval int `json:"poll_interval" validate:"nonzero"` Datastore string `json:"cni_datastore_path" validate:"nonzero"` PolicyServerURL string `json:"policy_server_url" validate:"min=1"` VNI int `json:"vni" validate:"nonzero"` FlannelSubnetFile string `json:"flannel_subnet_file" validate:"nonzero"` MetronAddress string `json:"metron_address" validate:"nonzero"` ServerCACertFile string `json:"ca_cert_file" validate:"nonzero"` ClientCertFile string `json:"client_cert_file" validate:"nonzero"` ClientKeyFile string `json:"client_key_file" validate:"nonzero"` IPTablesLockFile string `json:"iptables_lock_file" validate:"nonzero"` }
func New ¶
func New(configFilePath string) (*VxlanPolicyAgent, error)
func (*VxlanPolicyAgent) Validate ¶
func (c *VxlanPolicyAgent) Validate() error
Click to show internal directories.
Click to hide internal directories.