endpoints

package
v0.0.0-...-270f78c Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: Zlib Imports: 38 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EdgeDeviceIntervalMultiplier = 2
	EdgeDeviceIntervalAdd        = 20
)

Variables

This section is empty.

Functions

func BoolAddr

func BoolAddr(b bool) *bool

Types

type EndpointsByGroup

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

func (EndpointsByGroup) Len

func (e EndpointsByGroup) Len() int

func (EndpointsByGroup) Less

func (e EndpointsByGroup) Less(i, j int) bool

func (EndpointsByGroup) Swap

func (e EndpointsByGroup) Swap(i, j int)

type EndpointsByName

type EndpointsByName []portainer.Endpoint

func (EndpointsByName) Len

func (e EndpointsByName) Len() int

func (EndpointsByName) Less

func (e EndpointsByName) Less(i, j int) bool

func (EndpointsByName) Swap

func (e EndpointsByName) Swap(i, j int)

type EnvironmentsQuery

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

type Handler

type Handler struct {
	*mux.Router

	DataStore            dataservices.DataStore
	FileService          portainer.FileService
	ProxyManager         *proxy.Manager
	ReverseTunnelService portainer.ReverseTunnelService
	SnapshotService      portainer.SnapshotService
	K8sClientFactory     *cli.ClientFactory
	ComposeStackManager  portainer.ComposeStackManager
	AuthorizationService *authorization.Service
	BindAddress          string
	BindAddressHTTPS     string
	// contains filtered or unexported fields
}

Handler is the HTTP handler used to handle environment(endpoint) operations.

func NewHandler

func NewHandler(bouncer requestBouncer, demoService *demo.Service) *Handler

NewHandler creates a handler to manage environment(endpoint) operations.

Jump to

Keyboard shortcuts

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