Documentation
¶
Index ¶
Constants ¶
View Source
const ( UI = Source("UI") SCAN = Source("SCAN") )
Source constants
View Source
const ( SSH = Scheme("SSH") RDP = Scheme("RDP") VNC = Scheme("VNC") HTTP = Scheme("HTTP") HTTPS = Scheme("HTTPS") )
Scheme constants, all supported protocols
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address string
Address is fully qualified domain names, IPv4 or IPv6 addresses of the host
type Host ¶
type Host struct {
ID string `json:"id,omitempty"`
Name string `json:"common_name,omitempty"`
Addresses []Address `json:"addresses,omitempty"`
Services []Service `json:"services,omitempty"`
Principals []Principal `json:"principals,omitempty"`
}
Host defines PrivX target
type HostStore ¶
type HostStore struct {
// contains filtered or unexported fields
}
HostStore is a role-store client instance.
func New ¶
New creates a new host-store client instance See http://apispecs.ssh.com/#swagger-ui-4 for details about api
type Principal ¶
type Principal struct {
ID string `json:"principal"`
Roles []rolestore.RoleRef `json:"roles"`
Source Source `json:"source"`
}
Principal of the target host
Click to show internal directories.
Click to hide internal directories.