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
DeviceHelperAddress string
GoogleAuthServerAddress string
GrpcAddress string
Interface string // TODO(sechmann): remove, let helper decide
LogFilePath string
LogLevel string
AzureOAuth2Config oauth2.Config
GoogleOAuth2Config oauth2.Config
JitaOAuth2Config oauth2.Config
Platform string
PrivateKeyPath string
WireGuardConfigPath string // TODO(sechmann):remove this as well
EnrollProjectID string
EnrollTopicName string
LocalAPIServer bool
CustomEnrollURL string
NoHelper bool
}
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.