policyconditions

package
v0.52.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2021 License: GPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	StatusUpdateRetry = wait.Backoff{
		Steps:    20,
		Duration: 10 * time.Millisecond,
		Factor:   2.0,
		Jitter:   0.1,
	}
)

Functions

func Reset

func Reset(cli client.Client, policyKey types.NamespacedName) error

func SetPolicyFailedToConfigure added in v0.38.0

func SetPolicyFailedToConfigure(conditions *nmstate.ConditionList, message string)

func SetPolicyNotMatching added in v0.38.0

func SetPolicyNotMatching(conditions *nmstate.ConditionList, message string)

func SetPolicyProgressing added in v0.38.0

func SetPolicyProgressing(conditions *nmstate.ConditionList, message string)

func SetPolicySuccess added in v0.38.0

func SetPolicySuccess(conditions *nmstate.ConditionList, message string)

func Update

func Update(cli client.Client, apiReader client.Reader, policyKey types.NamespacedName) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL