Documentation ¶
Index ¶
- type ActivityRequest
- type CloseExecutionInput
- type CreateNodeInput
- type CreateNodeRecordInput
- type CreatePreauthKeyInput
- type DeleteNodeInput
- type DeleteNodeRecordInput
- type DeviceNotFoundError
- type EnableExitNodeInput
- type FormIdentifiersInput
- type FormIdentifiersOutput
- type GetDeviceIdInput
- type RemoveTailnetDeviceInput
- type SfnActivityHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivityRequest ¶
type ActivityRequest struct { ActivityName string `json:"activityName"` Input interface{} `json:"input"` }
type CloseExecutionInput ¶
type CreateNodeInput ¶
type CreateNodeRecordInput ¶
type CreateNodeRecordInput struct { NodeId string `json:"nodeId"` PlatformId string `json:"platformId"` ProviderName string `json:"providerName"` Location string `json:"location"` PreauthKey string `json:"preauthKey"` TailnetName string `json:"tailnetName"` TailnetIdentifier string `json:"tailnetDeviceId"` TailnetDeviceName string `json:"tailnetDeviceName"` Ephemeral bool `json:"ephemeral"` }
type CreatePreauthKeyInput ¶
type DeleteNodeInput ¶
type DeleteNodeInput struct {
NodeId string `json:"nodeId"`
}
type DeleteNodeRecordInput ¶
type DeleteNodeRecordInput struct {
NodeId string `json:"nodeId"`
}
type DeviceNotFoundError ¶
type DeviceNotFoundError struct {
Message string
}
func (*DeviceNotFoundError) Error ¶
func (e *DeviceNotFoundError) Error() string
type EnableExitNodeInput ¶
type FormIdentifiersInput ¶
type FormIdentifiersInput struct {
Location string `json:"location"`
}
type FormIdentifiersOutput ¶
type GetDeviceIdInput ¶
type SfnActivityHandler ¶
type SfnActivityHandler struct {
// contains filtered or unexported fields
}
func New ¶
func New(actSvc service.Activity) *SfnActivityHandler
func (*SfnActivityHandler) HandleRequest ¶
func (h *SfnActivityHandler) HandleRequest(ctx context.Context, input ActivityRequest) (interface{}, error)
Click to show internal directories.
Click to hide internal directories.