objects

package
v0.0.0-...-55a407e Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authorization

type Authorization struct {
	Actions       []string
	UrlRegex      string
	ServerIDRegex string
	GroupRegex    string
}

type Job

type Job struct {
	Server    Server
	WorkerID  string
	JobID     string
	Timestamp time.Time
}

type KeyValue

type KeyValue struct {
	Key   string
	Value string
}

type Overwrite

type Overwrite struct {
	ServerIDRegexp   string
	GroupRegexp      string
	PropertiesRegexp KeyValue
	Groups           []string
	Properties       map[string]string
}

type Script

type Script struct {
	Description string
	Path        string
	Timeout     int
}

type Server

type Server struct {
	ServerID   string
	IP         string
	LastSeen   string
	NewServer  bool `json:"NewServer,omitempty"`
	Groups     []string
	Properties map[string]string
}

type User

type User struct {
	Password       string
	Encrypted      bool
	Authorizations []Authorization
}

Jump to

Keyboard shortcuts

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