sfn_activities

package
v0.0.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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 CloseExecutionInput struct {
	WorkflowName string      `json:"workflowName"`
	ExecutionId  string      `json:"executionId"`
	Status       string      `json:"status"`
	Results      interface{} `json:"results"`
	Error        string      `json:"error"`
}

type CreateNodeInput

type CreateNodeInput struct {
	ProviderName         string `json:"providerName"`
	Location             string `json:"location"`
	NodeId               string `json:"nodeId"`
	TailnetDeviceName    string `json:"tailnetDeviceName"`
	TailnetControlServer string `json:"tailnetControlServer"`
	PreauthKey           string `json:"preauthKey"`
	Size                 string `json:"size"`
}

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"`
	Size              string `json:"size"`
	Ephemeral         bool   `json:"ephemeral"`
}

type CreatePreauthKeyInput

type CreatePreauthKeyInput struct {
	TailnetName string `json:"tailnetName"`
	Ephemeral   bool   `json:"ephemeral"`
}

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 EnableExitNodeInput struct {
	TailnetName     string `json:"tailnetName"`
	TailnetDeviceId string `json:"tailnetDeviceId"`
}

type FormIdentifiersInput

type FormIdentifiersInput struct {
	Location string `json:"location"`
}

type FormIdentifiersOutput

type FormIdentifiersOutput struct {
	NodeId            string `json:"nodeId"`
	TailnetDeviceName string `json:"tailnetDeviceName"`
}

type GetDeviceIdInput

type GetDeviceIdInput struct {
	TailnetName       string `json:"tailnetName"`
	TailnetDeviceName string `json:"tailnetDeviceName"`
}

type RemoveTailnetDeviceInput

type RemoveTailnetDeviceInput struct {
	TailnetName     string `json:"tailnetName"`
	TailnetDeviceId string `json:"tailnetDeviceId"`
}

type SfnActivityHandler

type SfnActivityHandler struct {
	// contains filtered or unexported fields
}

func New

func (*SfnActivityHandler) HandleRequest

func (h *SfnActivityHandler) HandleRequest(ctx context.Context, input ActivityRequest) (interface{}, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL