handler

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: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(nodeSvc service.Node, workSvc service.Workflow, provSvc service.Provider, tailSvc service.Tailnet, notSvc service.Notification, metrics observability.Metrics) texit.Handler

Types

type Handler

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

func (*Handler) DeprovisionNode

func (*Handler) DescribeNode

func (*Handler) DescribeProvider

func (*Handler) DescribeTailnet

func (*Handler) GetExecution

func (*Handler) GetNodeStatus

func (*Handler) Health

func (*Handler) ListNodes

func (*Handler) ListNotifiers added in v0.0.10

func (h *Handler) ListNotifiers(ctx context.Context) (*texit.ListNotifiersResponseContent, error)

func (*Handler) ListProviders

func (h *Handler) ListProviders(ctx context.Context) (*texit.ListProvidersResponseContent, error)

func (*Handler) ListTailnets

func (h *Handler) ListTailnets(ctx context.Context) (*texit.ListTailnetsResponseContent, error)

func (*Handler) ProvisionNode

func (*Handler) StartNode

func (h *Handler) StartNode(ctx context.Context, req texit.StartNodeParams) (texit.StartNodeRes, error)

func (*Handler) StopNode

func (h *Handler) StopNode(ctx context.Context, req texit.StopNodeParams) (texit.StopNodeRes, error)

Jump to

Keyboard shortcuts

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