Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteAgentAuthDetails ¶
DeleteAgentAuthDetails deletes auth information.
func GetAgentsAlias ¶
GetAgentsAlias all available agents aliases.
func SetAgentAuthDetails ¶
SetAgentAuthDetails persists auth information for related Agent.
func SetDefaultContext ¶
SetDefaultContext updates context.
Types ¶
type Agent ¶
type Agent struct { // Alias specifies Agent's alias. Necessary for storing configuration for the same Agent's server URL multiple times. Alias string // ServerURL specifies Agent's server URL. ServerURL string // AgentCAFilePath specifies CA file path. It is used to validate if we can trust Agent's server. AgentCAFilePath string // ClientAuth holds client configuration for authorization. ClientAuth ClientAuth }
func GetAgentAuthDetails ¶
GetAgentAuthDetails returns information about Agent's auth method.
type ClientAuth ¶
type ClientAuth struct { // ClientCertAuth holds client certs configuration ClientCertAuth }
type ClientCertAuth ¶
Click to show internal directories.
Click to hide internal directories.