Documentation ¶
Index ¶
- func SetFailed(conditions *nmstatev1alpha1.ConditionList, ...)
- func SetFailedToConfigure(conditions *nmstatev1alpha1.ConditionList, message string)
- func SetMatching(conditions *nmstatev1alpha1.ConditionList, message string)
- func SetNodeSelectorNotMatching(conditions *nmstatev1alpha1.ConditionList, message string)
- func SetNotMatching(conditions *nmstatev1alpha1.ConditionList, ...)
- func SetProgressing(conditions *nmstatev1alpha1.ConditionList, message string)
- func SetSuccess(conditions *nmstatev1alpha1.ConditionList, message string)
- type CountByConditionType
- type EnactmentConditions
- func (ec *EnactmentConditions) NotifyFailedToConfigure(failedErr error)
- func (ec *EnactmentConditions) NotifyMatching()
- func (ec *EnactmentConditions) NotifyNodeSelectorFailure(err error)
- func (ec *EnactmentConditions) NotifyNodeSelectorNotMatching(unmatchingLabels map[string]string)
- func (ec *EnactmentConditions) NotifyProgressing()
- func (ec *EnactmentConditions) NotifySuccess()
- func (ec *EnactmentConditions) Reset()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetFailed ¶
func SetFailed(conditions *nmstatev1alpha1.ConditionList, reason nmstatev1alpha1.ConditionReason, message string)
func SetFailedToConfigure ¶
func SetFailedToConfigure(conditions *nmstatev1alpha1.ConditionList, message string)
func SetMatching ¶
func SetMatching(conditions *nmstatev1alpha1.ConditionList, message string)
func SetNodeSelectorNotMatching ¶
func SetNodeSelectorNotMatching(conditions *nmstatev1alpha1.ConditionList, message string)
func SetNotMatching ¶
func SetNotMatching(conditions *nmstatev1alpha1.ConditionList, reason nmstatev1alpha1.ConditionReason, message string)
func SetProgressing ¶
func SetProgressing(conditions *nmstatev1alpha1.ConditionList, message string)
func SetSuccess ¶
func SetSuccess(conditions *nmstatev1alpha1.ConditionList, message string)
Types ¶
type CountByConditionType ¶
type CountByConditionType map[nmstatev1alpha1.ConditionType]int
func Count ¶
func Count(enactments nmstatev1alpha1.NodeNetworkConfigurationEnactmentList) CountByConditionType
func (CountByConditionType) Available ¶
func (c CountByConditionType) Available() int
func (CountByConditionType) Failed ¶
func (c CountByConditionType) Failed() int
func (CountByConditionType) Progressing ¶
func (c CountByConditionType) Progressing() int
func (CountByConditionType) String ¶
func (c CountByConditionType) String() string
type EnactmentConditions ¶
type EnactmentConditions struct {
// contains filtered or unexported fields
}
func New ¶
func New(client client.Client, enactmentKey types.NamespacedName) EnactmentConditions
func (*EnactmentConditions) NotifyFailedToConfigure ¶
func (ec *EnactmentConditions) NotifyFailedToConfigure(failedErr error)
func (*EnactmentConditions) NotifyMatching ¶
func (ec *EnactmentConditions) NotifyMatching()
func (*EnactmentConditions) NotifyNodeSelectorFailure ¶
func (ec *EnactmentConditions) NotifyNodeSelectorFailure(err error)
func (*EnactmentConditions) NotifyNodeSelectorNotMatching ¶
func (ec *EnactmentConditions) NotifyNodeSelectorNotMatching(unmatchingLabels map[string]string)
func (*EnactmentConditions) NotifyProgressing ¶
func (ec *EnactmentConditions) NotifyProgressing()
func (*EnactmentConditions) NotifySuccess ¶
func (ec *EnactmentConditions) NotifySuccess()
func (*EnactmentConditions) Reset ¶
func (ec *EnactmentConditions) Reset()
Click to show internal directories.
Click to hide internal directories.