Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CNIManager ¶
type CNIManager struct {
// contains filtered or unexported fields
}
func (*CNIManager) AddWatcher ¶
func (c *CNIManager) AddWatcher() chan bool
Add watcher creates a new watcher for the CNI manager said watcher will send a `true` value if the CNI plugin was successfully ready or `false` if the server shutdown first
func (*CNIManager) Plugin ¶
func (c *CNIManager) Plugin() ocicni.CNIPlugin
Plugin returns the CNI plugin
func (*CNIManager) ReadyOrError ¶
func (c *CNIManager) ReadyOrError() error
ReadyOrError returns nil if the plugin is ready, or the last error that was received in checking.
func (*CNIManager) Shutdown ¶ added in v1.22.2
func (c *CNIManager) Shutdown()
Shutdown shuts down the CNI manager, and notifies the watcher that the CNI manager is not ready
Click to show internal directories.
Click to hide internal directories.