models

package module
v0.0.0-...-de67466 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2022 License: Apache-2.0 Imports: 0 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {
	Message string `json:"message"`
}

type JWT

type JWT struct {
	Token string `json:"token"`
}

type Meminfo

type Meminfo struct {
	ID             int    `json:"id,omitempty"`
	Machine_ID     string `json:"machine_id,omitempty"`
	Setting        string `json:"setting,omitempty"`
	Unit           int    `json:"unit,omitempty"`
	UnitSymbol     string `json:"unit_symbol,omitempty"`
	Scan_Timestamp string `json:"scan_timestamp,omitempty"`
}

type Mounts

type Mounts struct {
	ID             int    `json:"id,omitempty"`
	Machine_ID     string `json:"machine_id,omitempty"`
	MountPoint     string `json:"mount_point,omitempty"`
	MountSource    string `json:"mount_source,omitempty"`
	FsType         string `json:"fs_type,omitempty"`
	FsMntOpts      string `json:"fs_mntops,omitempty"`
	FsFreq         string `json:"fs_greq,omitempty"`
	FsPassno       string `json:"fs_passno,omitempty"`
	Scan_Timestamp string `json:"scan_timestamp,omitempty"`
}

type SwapFs

type SwapFs struct {
	ID             int    `json:"id,omitempty"`
	Machine_ID     string `json:"machine_id,omitempty"`
	SwapDevice     string `json:"swap_device,omitempty"`
	SwapType       string `json:"swap_type,omitempty"`
	Size           int    `json:"size,omitempty"`
	Used           int    `json:"used,omitempty"`
	Priority       string `json:"priority,omitempty"`
	Scan_Timestamp string `json:"scan_timestamp,omitempty"`
}

type SysCtl

type SysCtl struct {
	ID             int    `json:"id,omitempty"`
	Machine_ID     string `json:"machine_id,omitempty"`
	Setting        string `json:"setting,omitempty"`
	Value          string `json:"value,omitempty"`
	Scan_Timestamp string `json:"scan_timestamp,omitempty"`
}

type Systems

type Systems struct {
	ID             int    `json:"id,omitempty"`
	Hostname       string `json:"hostname,omitempty"`
	Domain         string `json:"domain,omitempty"`
	Device_Type    string `json:"device_type,omitempty"`
	Machine_ID     string `json:"machine_id,omitempty"`
	Device_Status  string `json:"device_status,omitempty"`
	Scan_Timestamp string `json:"scan_timestamp,omitempty"`
}

type Tables

type Tables struct {
	Systems []Systems `json:"systems,omitempty"`
	SysCtl  []SysCtl  `json:"sysctl,omitempty"`
	Meminfo []Meminfo `json:"meminfo,omitempty"`
	Mounts  []Mounts  `json:"mounts,omitempty"`
	SwapFs  []SwapFs  `json:"swapfs,omitempty"`
}

type User

type User struct {
	ID       int    `json:"id"`
	Email    string `json:"email"`
	Password string `json:"password"`
	Level    int    `json:"level"`
	Token    string `json:"token"`
}

Jump to

Keyboard shortcuts

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