warnings

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteWarningsByLocalNodeAndProjectAndTypeAndEntity

func DeleteWarningsByLocalNodeAndProjectAndTypeAndEntity(dbCluster *db.Cluster, projectName string, typeCode warningtype.Type, entityTypeCode int, entityID int) error

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

func DeleteWarningsByNodeAndProjectAndTypeAndEntity

func DeleteWarningsByNodeAndProjectAndTypeAndEntity(dbCluster *db.Cluster, nodeName string, projectName string, typeCode warningtype.Type, entityTypeCode int, entityID int) error

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

func ResolveWarningsByLocalNodeAndProjectAndType

func ResolveWarningsByLocalNodeAndProjectAndType(dbCluster *db.Cluster, projectName string, typeCode warningtype.Type) error

ResolveWarningsByLocalNodeAndProjectAndType resolves warnings with the given project and type code.

func ResolveWarningsByLocalNodeAndProjectAndTypeAndEntity

func ResolveWarningsByLocalNodeAndProjectAndTypeAndEntity(dbCluster *db.Cluster, projectName string, typeCode warningtype.Type, entityTypeCode int, entityID int) error

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

func ResolveWarningsByLocalNodeAndType

func ResolveWarningsByLocalNodeAndType(dbCluster *db.Cluster, typeCode warningtype.Type) error

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

func ResolveWarningsByLocalNodeOlderThan

func ResolveWarningsByLocalNodeOlderThan(dbCluster *db.Cluster, date time.Time) error

ResolveWarningsByLocalNodeOlderThan resolves all warnings which are older than the provided time.

func ResolveWarningsByNodeAndProjectAndType

func ResolveWarningsByNodeAndProjectAndType(dbCluster *db.Cluster, nodeName string, projectName string, typeCode warningtype.Type) error

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

func ResolveWarningsByNodeAndProjectAndTypeAndEntity

func ResolveWarningsByNodeAndProjectAndTypeAndEntity(dbCluster *db.Cluster, nodeName string, projectName string, typeCode warningtype.Type, entityTypeCode int, entityID int) error

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

func ResolveWarningsByNodeAndType

func ResolveWarningsByNodeAndType(dbCluster *db.Cluster, nodeName string, typeCode warningtype.Type) 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