Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ManagementClient ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager handles expose session lifecycle via the management client.
func NewManager ¶
func NewManager(ctx context.Context, mgmClient ManagementClient) *Manager
NewManager creates a new expose Manager using the given management client.
type Request ¶
type Request struct {
NamePrefix string
Domain string
Port uint16
Protocol int
Pin string
Password string
UserGroups []string
}
func NewRequest ¶
func NewRequest(req *daemonProto.ExposeServiceRequest) *Request
NewRequest converts a daemon ExposeServiceRequest to a management ExposeServiceRequest.
Click to show internal directories.
Click to hide internal directories.