targets

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 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