Documentation ¶
Index ¶
- func NewService(tailnetGws map[string]gateway.Tailnet, providerGws map[string]gateway.Platform, ...) service.Activity
- type Service
- func (s *Service) CloseExecution(ctx context.Context, exId workflow.ExecutionIdentifier, status workflow.Status, ...) error
- func (s *Service) CreateNode(ctx context.Context, provider provider.Identifier, tcs tailnet.ControlServer, ...) (node.PlatformIdentifier, error)
- func (s *Service) CreateNodeRecord(ctx context.Context, nid node.Identifier, pid node.PlatformIdentifier, ...) error
- func (s *Service) CreatePreauthKey(ctx context.Context, tailnet tailnet.Identifier, ephemeral bool) (tailnet.PreauthKey, error)
- func (s *Service) DeleteNode(ctx context.Context, id node.Identifier) error
- func (s *Service) DeleteNodeRecord(ctx context.Context, id node.Identifier) error
- func (s *Service) EnableExitNode(ctx context.Context, tailnet tailnet.Identifier, ...) error
- func (s *Service) GetDeviceId(ctx context.Context, tailnet tailnet.Identifier, ...) (tailnet.DeviceIdentifier, error)
- func (s *Service) RemoveTailnetDevice(ctx context.Context, tailnet tailnet.Identifier, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewService ¶
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) CloseExecution ¶
func (s *Service) CloseExecution(ctx context.Context, exId workflow.ExecutionIdentifier, status workflow.Status, results workflow.ExecutionResult) error
func (*Service) CreateNode ¶
func (s *Service) CreateNode(ctx context.Context, provider provider.Identifier, tcs tailnet.ControlServer, node node.Identifier, tailName tailnet.DeviceName, location provider.Location, key tailnet.PreauthKey) (node.PlatformIdentifier, error)
func (*Service) CreateNodeRecord ¶
func (s *Service) CreateNodeRecord(ctx context.Context, nid node.Identifier, pid node.PlatformIdentifier, p provider.Identifier, l provider.Location, pk tailnet.PreauthKey, t tailnet.Identifier, tid tailnet.DeviceIdentifier, tn tailnet.DeviceName, e bool) error
func (*Service) CreatePreauthKey ¶
func (s *Service) CreatePreauthKey(ctx context.Context, tailnet tailnet.Identifier, ephemeral bool) (tailnet.PreauthKey, error)
func (*Service) DeleteNode ¶
func (*Service) DeleteNodeRecord ¶
func (*Service) EnableExitNode ¶
func (s *Service) EnableExitNode(ctx context.Context, tailnet tailnet.Identifier, tailDeviceID tailnet.DeviceIdentifier) error
func (*Service) GetDeviceId ¶
func (s *Service) GetDeviceId(ctx context.Context, tailnet tailnet.Identifier, tailnetName tailnet.DeviceName) (tailnet.DeviceIdentifier, error)
func (*Service) RemoveTailnetDevice ¶
func (s *Service) RemoveTailnetDevice(ctx context.Context, tailnet tailnet.Identifier, tailDeviceId tailnet.DeviceIdentifier) error
Click to show internal directories.
Click to hide internal directories.