cspicontroller

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCSPICondition

GetCSPICondition returns the condition with the provided type.

func NewCSPICondition

func NewCSPICondition(condType cstor.CStorPoolInstanceConditionType, status corev1.ConditionStatus, reason, message string) *cstor.CStorPoolInstanceCondition

NewCSPICondition creates a new cspi condition.

func RemoveCSPICondition

func RemoveCSPICondition(status *cstor.CStorPoolInstanceStatus, condType cstor.CStorPoolInstanceConditionType)

RemoveCSPICondition removes the cspi condition with the provided type.

func SetCSPICondition

func SetCSPICondition(status *cstor.CStorPoolInstanceStatus, condition cstor.CStorPoolInstanceCondition)

SetCSPICondition updates the cspi to include the provided condition. If the condition that we are about to add already exists and has the same status and reason then we are not going to update.

Types

This section is empty.

Jump to

Keyboard shortcuts

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