Documentation ¶
Overview ¶
Copyright (c) Microsoft Corporation. Licensed under the MIT license.
Copyright (c) Microsoft Corporation. Licensed under the MIT license.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMainCNINotFound error = errors.New("no existing cni plugin configuration file found")
Functions ¶
This section is empty.
Types ¶
type CNIConfig ¶
type CNIConfig struct { types.NetConf ExcludedCIDRs []string `json:"excludedCIDRs"` SocketPath string `json:"socketPath"` }
func ParseCNIConfig ¶
type K8sConfig ¶
type K8sConfig struct { types.CommonArgs K8S_POD_NAME types.UnmarshallableString K8S_POD_NAMESPACE types.UnmarshallableString K8S_POD_INFRA_CONTAINER_ID types.UnmarshallableString }
func LoadK8sInfo ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewCNIConfManager ¶
Click to show internal directories.
Click to hide internal directories.