Documentation
¶
Index ¶
- func ExecuteWithAuthRetry(namespace string, operation func(*client.Client) error) error
- func GetAgentConfig(agentName, namespace string) (agentConfig rsc.AgentConfiguration, tags *[]string, ...)
- func GetBackendAgents(namespace string) ([]client.AgentInfo, error)
- func GetMicroserviceName(namespace, appName, msvcName string) (name string, err error)
- func GetMicroserviceUUID(namespace, appName, name string) (uuid string, err error)
- func InvalidateCache()
- func IsEdgeResourceCapable(namespace string) error
- func NewControllerClient(namespace string) (*client.Client, error)
- func ParseFQName(fqName, resourceType string) (appName, name string, err error)
- func SyncAgentInfo(namespace string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteWithAuthRetry ¶ added in v1.4.7
ExecuteWithAuthRetry executes a function that uses a client, and retries with refreshed auth if auth error occurs
func GetAgentConfig ¶
func GetAgentConfig(agentName, namespace string) (agentConfig rsc.AgentConfiguration, tags *[]string, agentStatus rsc.AgentStatus, err error)
func GetBackendAgents ¶
GetBackendAgents will return cached list of agents or create new list and cache it
func GetMicroserviceName ¶
func GetMicroserviceUUID ¶
func IsEdgeResourceCapable ¶
func NewControllerClient ¶
NewControllerClient will return cached client or create new client and cache it
func ParseFQName ¶
func SyncAgentInfo ¶
SyncAgentInfo will synchronize local Agent info with backend Agent info
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.