targets

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func D2DTargetAgentHandler added in v0.3.2

func D2DTargetAgentHandler(storeInstance *store.Store) func(http.ResponseWriter, *http.Request, map[string]string)

func D2DTargetHandler

func D2DTargetHandler(storeInstance *store.Store) func(http.ResponseWriter, *http.Request, map[string]string)

func ExtJsTargetHandler

func ExtJsTargetHandler(storeInstance *store.Store) func(http.ResponseWriter, *http.Request, map[string]string)

func ExtJsTargetSingleHandler

func ExtJsTargetSingleHandler(storeInstance *store.Store) func(http.ResponseWriter, *http.Request, map[string]string)

Types

type NewAgentHostnameRequest added in v0.3.2

type NewAgentHostnameRequest struct {
	Hostname     string   `json:"hostname"`
	DriveLetters []string `json:"drive_letters"`
}

type NewAgentRequest

type NewAgentRequest struct {
	PublicKey string `json:"public_key"`
	BasePath  string `json:"base_path"`
	Hostname  string `json:"hostname"`
}

type TargetConfigResponse

type TargetConfigResponse struct {
	Errors  map[string]string `json:"errors"`
	Message string            `json:"message"`
	Data    *store.Target     `json:"data"`
	Status  int               `json:"status"`
	Success bool              `json:"success"`
}

type TargetsResponse

type TargetsResponse struct {
	Data   []store.Target `json:"data"`
	Digest string         `json:"digest"`
}

Jump to

Keyboard shortcuts

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