endpointutils

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EndpointSet

func EndpointSet(endpointIDs []portainer.EndpointID) map[portainer.EndpointID]bool

EndpointSet receives an environment(endpoint) array and returns a set

func FilterByExcludeIDs

func FilterByExcludeIDs(endpoints []portainer.Endpoint, excludeIds []portainer.EndpointID) []portainer.Endpoint

FilterByExcludeIDs receives an environment(endpoint) array and returns a filtered array using an excludeIds param

func InitialIngressClassDetection

func InitialIngressClassDetection(endpoint *portainer.Endpoint, endpointService dataservices.EndpointService, factory *cli.ClientFactory)

func InitialMetricsDetection

func InitialMetricsDetection(endpoint *portainer.Endpoint, endpointService dataservices.EndpointService, factory *cli.ClientFactory)

func InitialStorageDetection

func InitialStorageDetection(endpoint *portainer.Endpoint, endpointService dataservices.EndpointService, factory *cli.ClientFactory)

func IsAgentEndpoint

func IsAgentEndpoint(endpoint *portainer.Endpoint) bool

IsAgentEndpoint returns true if this is an Agent endpoint

func IsDockerEndpoint

func IsDockerEndpoint(endpoint *portainer.Endpoint) bool

IsDockerEndpoint returns true if this is a docker environment(endpoint)

func IsEdgeEndpoint

func IsEdgeEndpoint(endpoint *portainer.Endpoint) bool

IsEdgeEndpoint returns true if this is an Edge endpoint

func IsKubernetesEndpoint

func IsKubernetesEndpoint(endpoint *portainer.Endpoint) bool

IsKubernetesEndpoint returns true if this is a kubernetes environment(endpoint)

func IsLocalEndpoint

func IsLocalEndpoint(endpoint *portainer.Endpoint) bool

IsLocalEndpoint returns true if this is a local environment(endpoint)

Types

This section is empty.

Jump to

Keyboard shortcuts

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