datalayer

package
v0.0.0-...-ab4e8db Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CertExists

func CertExists(name string, id *int) (bool, error)

func DeleteClientCert

func DeleteClientCert(id int) error

func DeleteSystem

func DeleteSystem(id int) (int, error)

func GetAllSystemStatuses

func GetAllSystemStatuses() ([]models.Systemstatus, error)

func GetCertList

func GetCertList() ([]models.ClientCert, error)

func GetClientCert

func GetClientCert(id int) (models.ClientCert, error)

func GetSystemStatus

func GetSystemStatus(id int) (models.Systemstatus, error)

func PerformMigrations

func PerformMigrations() error

func SaveClientCert

func SaveClientCert(c *models.ClientCert) (int, error)

func SaveSystemStatus

func SaveSystemStatus(system *models.Systemstatus) (models.Systemstatus, error)

func UpdateSystem

func UpdateSystem(system *models.Systemstatus) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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