Documentation ¶
Index ¶
- func New(client interfaces.Tailscale) gateway.Tailnet
- type TailscaleGateway
- func (g *TailscaleGateway) CreatePreauthKey(ctx context.Context, ephemeral bool) (tailnet.PreauthKey, error)
- func (g *TailscaleGateway) DeleteDevice(ctx context.Context, tid tailnet.DeviceIdentifier) error
- func (g *TailscaleGateway) DeletePreauthKey(ctx context.Context, key tailnet.PreauthKey) error
- func (g *TailscaleGateway) EnableExitNode(ctx context.Context, tid tailnet.DeviceIdentifier) error
- func (g *TailscaleGateway) GetDeviceId(ctx context.Context, tid tailnet.DeviceName) (tailnet.DeviceIdentifier, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TailscaleGateway ¶
type TailscaleGateway struct {
// contains filtered or unexported fields
}
func (*TailscaleGateway) CreatePreauthKey ¶
func (g *TailscaleGateway) CreatePreauthKey(ctx context.Context, ephemeral bool) (tailnet.PreauthKey, error)
func (*TailscaleGateway) DeleteDevice ¶
func (g *TailscaleGateway) DeleteDevice(ctx context.Context, tid tailnet.DeviceIdentifier) error
func (*TailscaleGateway) DeletePreauthKey ¶
func (g *TailscaleGateway) DeletePreauthKey(ctx context.Context, key tailnet.PreauthKey) error
func (*TailscaleGateway) EnableExitNode ¶
func (g *TailscaleGateway) EnableExitNode(ctx context.Context, tid tailnet.DeviceIdentifier) error
func (*TailscaleGateway) GetDeviceId ¶
func (g *TailscaleGateway) GetDeviceId(ctx context.Context, tid tailnet.DeviceName) (tailnet.DeviceIdentifier, error)
Click to show internal directories.
Click to hide internal directories.