25 lines
854 B
Go
25 lines
854 B
Go
/* Copyright © INFINI Ltd. All rights reserved.
|
|
* Web: https://infinilabs.com
|
|
* Email: hello#infini.ltd */
|
|
|
|
package model
|
|
|
|
type AgentConfig struct {
|
|
Enabled bool `config:"enabled"`
|
|
StateManager struct {
|
|
Enabled bool `config:"enabled"`
|
|
} `config:"state_manager"`
|
|
Setup *SetupConfig `config:"setup"`
|
|
}
|
|
|
|
type SetupConfig struct {
|
|
DownloadURL string `config:"download_url"`
|
|
Version string `config:"version"`
|
|
CACertFile string `config:"ca_cert"`
|
|
CAKeyFile string `config:"ca_key"`
|
|
ConsoleEndpoint string `config:"console_endpoint"`
|
|
IngestClusterEndpoint interface{} `config:"ingest_cluster_endpoint"`
|
|
IngestClusterCredentialID string `config:"ingest_cluster_credential_id"`
|
|
Port string `config:"port"`
|
|
}
|