client

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: EPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAgentConfig

func GetAgentConfig(agentName, namespace string) (agentConfig rsc.AgentConfiguration, tags *[]string, err error)

func GetBackendAgents

func GetBackendAgents(namespace string) ([]client.AgentInfo, error)

GetBackendAgents will return cached list of agents or create new list and cache it

func GetMicroserviceName

func GetMicroserviceName(namespace, uuid string) (name string, err error)

func GetMicroserviceUUID

func GetMicroserviceUUID(namespace, appName, name string) (uuid string, err error)

func InvalidateCache

func InvalidateCache()

InvalidateCache will clear the cache

func IsEdgeResourceCapable

func IsEdgeResourceCapable(namespace string) error

func NewControllerClient

func NewControllerClient(namespace string) (*client.Client, error)

NewControllerClient will return cached client or create new client and cache it

func ParseFQName

func ParseFQName(fqName, resourceType string) (appName, name string, err error)

func SyncAgentInfo

func SyncAgentInfo(namespace string) error

SyncAgentInfo will synchronize local Agent info with backend Agent info

Types

This section is empty.

Jump to

Keyboard shortcuts

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