Documentation
¶
Index ¶
- func AreDependenciesReady(ctx handlerspi.HandlerContext, depModulesNames []string) (res result.Result, deps []string)
- func CheckDependencies(ctx handlerspi.HandlerContext, action string, ...) result.Result
- func GetComponentAndContext(ctx handlerspi.HandlerContext, operation string) (spi.ComponentContext, spi.Component, error)
- func GetVerrazzanoCR(ctx handlerspi.HandlerContext) (*vzapi.Verrazzano, error)
- func GetVerrazzanoNSN(ctx handlerspi.HandlerContext) (*types.NamespacedName, error)
- func UpdateVerrazzanoComponentStatus(ctx handlerspi.HandlerContext, sd StatusData) result.Result
- func UpdateVerrazzanoComponentStatusToDisabled(ctx handlerspi.HandlerContext, Vznsn types.NamespacedName, compName string) result.Result
- type StatusData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AreDependenciesReady ¶
func AreDependenciesReady(ctx handlerspi.HandlerContext, depModulesNames []string) (res result.Result, deps []string)
AreDependenciesReady check if dependencies are ready using the Module condition
func CheckDependencies ¶
func CheckDependencies(ctx handlerspi.HandlerContext, action string, reason moduleapi.ModuleConditionReason) result.Result
CheckDependencies checks if the dependencies are ready
func GetComponentAndContext ¶
func GetComponentAndContext(ctx handlerspi.HandlerContext, operation string) (spi.ComponentContext, spi.Component, error)
func GetVerrazzanoCR ¶
func GetVerrazzanoCR(ctx handlerspi.HandlerContext) (*vzapi.Verrazzano, error)
func GetVerrazzanoNSN ¶
func GetVerrazzanoNSN(ctx handlerspi.HandlerContext) (*types.NamespacedName, error)
func UpdateVerrazzanoComponentStatus ¶
func UpdateVerrazzanoComponentStatus(ctx handlerspi.HandlerContext, sd StatusData) result.Result
UpdateVerrazzanoComponentStatus updates the Verrazzano component status
func UpdateVerrazzanoComponentStatusToDisabled ¶
func UpdateVerrazzanoComponentStatusToDisabled(ctx handlerspi.HandlerContext, Vznsn types.NamespacedName, compName string) result.Result
UpdateVerrazzanoComponentStatusToDisabled updates the component status to disabled
Types ¶
type StatusData ¶
type StatusData struct { Vznsn types.NamespacedName CondType vzapi.ConditionType CompName string CompVersion string Msg string Ready bool }
StatusData contains the data for the component status field
Click to show internal directories.
Click to hide internal directories.