Documentation ¶
Index ¶
- func ApplyDesiredState(client client.Client, desiredState nmstatev1alpha1.State) (string, error)
- func CreateOrUpdateNodeNetworkState(client client.Client, node *corev1.Node, namespace client.ObjectKey) error
- func EventIsForThisNode(meta v1.Object) bool
- func GetNodeNetworkState(client client.Client, nodeName string) (nmstatev1alpha1.NodeNetworkState, error)
- func InitializeNodeNetworkState(client client.Client, node *corev1.Node) error
- func UpdateCurrentState(client client.Client, nodeNetworkState *nmstatev1alpha1.NodeNetworkState) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyDesiredState ¶
func CreateOrUpdateNodeNetworkState ¶ added in v0.22.0
func EventIsForThisNode ¶
Return true if the event name is the name of the pods's node (reading the env var NODE_NAME)
func GetNodeNetworkState ¶
func GetNodeNetworkState(client client.Client, nodeName string) (nmstatev1alpha1.NodeNetworkState, error)
func InitializeNodeNetworkState ¶ added in v0.22.0
func UpdateCurrentState ¶
func UpdateCurrentState(client client.Client, nodeNetworkState *nmstatev1alpha1.NodeNetworkState) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.