Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultTrustDomain = "camblet" DefaultCertTTLDuration = time.Hour * 24 )
Variables ¶
View Source
var (
DefaultConfigLocations = []string{".", "/.config"}
)
View Source
var (
DefaultLocalAddress = ":50600"
)
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct {
LocalAddress string `json:"localAddress,omitempty"`
KernelModuleDevice string `json:"kernelModuleDevice,omitempty"`
MetadataCollectors collectors.Config `json:"metadataCollectors,omitempty"`
TrustDomain string `json:"trustDomain,omitempty"`
DefaultCertTTL string `json:"defaultCertTTL,omitempty"`
DefaultCertTTLDuration time.Duration `json:"-"`
CAPemPath string `json:"caPEMPath,omitempty"`
PoliciesPath []string `json:"policiesPath,omitempty"`
ServicesPath []string `json:"servicesPath,omitempty"`
}
type Config ¶
type Config struct {
Agent Agent `json:"agent,omitemtpy"`
}
Config holds any kind of configuration that comes from the outside world and is necessary for running the application
type KernelModuleConfig ¶
type KernelModuleConfig struct {
TrustDomain string `json:"trust_domain"`
}
KernelModuleConfig holds configuration for the kernel module
Click to show internal directories.
Click to hide internal directories.