Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` // ingress host IP string `json:"ip,omitempty"` // ip to bind on for k3s cluster Proxy ProxyConfig `json:"proxy,omitempty"` TLS TLSConfig `json:"tls,omitempty"` SMTP SMTPConfig `json:"smtp,omitempty"` RetentionDays RetentionConfig `json:"retentionDays,omitempty"` Forwarding ForwardingConfig `json:"forwarding,omitempty"` Autoscaling *bool `json:"autoscaling,omitempty"` // enable services autoscaling WekaNodesServed int `json:"wekaNodesMonitored,omitempty"` // number of weka nodes to monitor, controls load preset HelmOverrides map[string]any `json:"helmOverrides,omitempty"` // additional overrides for helm chart K3SArgs []string `json:"k3sArgs,omitempty"` // k3s args overrides during install }
Configuration flat options for the chart, pointers are used to distinguish between empty and unset values
func (Configuration) LoggingSafe ¶
func (c Configuration) LoggingSafe() Configuration
func (Configuration) Validate ¶
func (c Configuration) Validate() error
type ForwardingConfig ¶
type ForwardingConfig struct { Enabled *bool `json:"enabled,omitempty"` // forwarding enabled Url string `json:"url,omitempty"` // forwarding url override EnableEvents bool `json:"enableEvents,omitempty"` // forwarding enable events EnableUsageReports bool `json:"enableUsageReports,omitempty"` // forwarding enable usage reports EnableAnalytics bool `json:"enableAnalytics,omitempty"` // forwarding enable analytics EnableDiagnostics bool `json:"enableDiagnostics,omitempty"` // forwarding enable diagnostics EnableStats bool `json:"enableStats,omitempty"` // forwarding enable stats EnableClusterRegistration bool `json:"enableClusterRegistration,omitempty"` // forwarding enable cluster registration }
type ProxyConfig ¶
type ProxyConfig struct { URL string `json:"url,omitempty"` NoProxy []string `json:"noProxy,omitempty"` }
func (ProxyConfig) NoProxyWithDefaults ¶ added in v0.4.5
func (p ProxyConfig) NoProxyWithDefaults() []string
type RetentionConfig ¶
type SMTPConfig ¶
type SMTPConfig struct { Host string `json:"host,omitempty"` // smtp server host Port int `json:"port,omitempty"` // smtp server port User string `json:"user,omitempty"` // smtp server user Password string `json:"password,omitempty"` // smtp server password Insecure *bool `json:"insecure,omitempty"` // smtp insecure connection Sender string `json:"sender,omitempty"` // smtp sender name SenderEmail string `json:"senderEmail,omitempty"` // smtp sender email }
Click to show internal directories.
Click to hide internal directories.