Documentation ¶
Index ¶
Constants ¶
View Source
const File = "agent-config.json"
View Source
const Platform = "linux"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { AgentConfiguration *pb.AgentConfiguration ConfigDir string DeviceAgentHelperAddress string GoogleAuthServerAddress string GrpcAddress string Interface string LogFilePath string LogLevel string AzureOAuth2Config oauth2.Config GoogleOAuth2Config oauth2.Config Platform string PrivateKeyPath string WireGuardConfigPath string EnrollProjectID string EnrollTopicName string }
func DefaultConfig ¶
func (*Config) OAuth2Config ¶
func (c *Config) OAuth2Config(provider pb.AuthProvider) oauth2.Config
func (*Config) PersistAgentConfiguration ¶
func (*Config) PopulateAgentConfiguration ¶
func (*Config) SetDefaults ¶
func (c *Config) SetDefaults()
Click to show internal directories.
Click to hide internal directories.