warnings

package
v0.0.0-...-c012b7a Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteWarningsByLocalNodeAndProjectAndEntity

func DeleteWarningsByLocalNodeAndProjectAndEntity(cluster *db.Cluster, projectName string, entityTypeCode int, entityID int) error

DeleteWarningsByLocalNodeAndProjectAndEntity deletes warnings with the given project, and entity.

func DeleteWarningsByLocalNodeAndProjectAndTypeAndEntity

func DeleteWarningsByLocalNodeAndProjectAndTypeAndEntity(cluster *db.Cluster, projectName string, typeCode db.WarningType, entityTypeCode int, entityID int) error

DeleteWarningsByLocalNodeAndProjectAndTypeAndEntity resolves warnings with the given project, type code, and entity.

func DeleteWarningsByNodeAndProjectAndEntity

func DeleteWarningsByNodeAndProjectAndEntity(cluster *db.Cluster, nodeName string, projectName string, entityTypeCode int, entityID int) error

DeleteWarningsByNodeAndProjectAndEntity deletes warnings with the given node, project, and entity.

func DeleteWarningsByNodeAndProjectAndTypeAndEntity

func DeleteWarningsByNodeAndProjectAndTypeAndEntity(cluster *db.Cluster, nodeName string, projectName string, typeCode db.WarningType, entityTypeCode int, entityID int) error

DeleteWarningsByNodeAndProjectAndTypeAndEntity deletes warnings with the given node, project, type code, and entity.

func ResolveWarningsByLocalNodeAndProjectAndType

func ResolveWarningsByLocalNodeAndProjectAndType(cluster *db.Cluster, projectName string, typeCode db.WarningType) error

ResolveWarningsByLocalNodeAndProjectAndType resolves warnings with the given project and type code.

func ResolveWarningsByLocalNodeAndProjectAndTypeAndEntity

func ResolveWarningsByLocalNodeAndProjectAndTypeAndEntity(cluster *db.Cluster, projectName string, typeCode db.WarningType, entityTypeCode int, entityID int) error

ResolveWarningsByLocalNodeAndProjectAndTypeAndEntity resolves warnings with the given project, type code, and entity.

func ResolveWarningsByLocalNodeAndType

func ResolveWarningsByLocalNodeAndType(cluster *db.Cluster, typeCode db.WarningType) error

ResolveWarningsByLocalNodeAndType resolves warnings with the local node and type code. Returns error if no local node name.

func ResolveWarningsByNodeAndProjectAndType

func ResolveWarningsByNodeAndProjectAndType(cluster *db.Cluster, nodeName string, projectName string, typeCode db.WarningType) error

ResolveWarningsByNodeAndProjectAndType resolves warnings with the given node, project and type code.

func ResolveWarningsByNodeAndProjectAndTypeAndEntity

func ResolveWarningsByNodeAndProjectAndTypeAndEntity(cluster *db.Cluster, nodeName string, projectName string, typeCode db.WarningType, entityTypeCode int, entityID int) error

ResolveWarningsByNodeAndProjectAndTypeAndEntity resolves warnings with the given node, project, type code, and entity.

func ResolveWarningsByNodeAndType

func ResolveWarningsByNodeAndType(cluster *db.Cluster, nodeName string, typeCode db.WarningType) error

ResolveWarningsByNodeAndType resolves warnings with the given node and type code.

Types

This section is empty.

Jump to

Keyboard shortcuts

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