Documentation ¶
Overview ¶
package epsagon installs epsagon operator.
Index ¶
Constants ¶
View Source
const ( DefaultMinimumNodes int = 1 DefaultHelmChartRepoURL = "https://github.com/epsagon/helm-charts/releases/download/cluster-agent-0.1.16/cluster-agent-0.1.16.tgz" )
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(cfg *Config) k8s_tester.Tester
Types ¶
type Config ¶
type Config struct { Enable bool `json:"enable"` Prompt bool `json:"-"` Stopc chan struct{} `json:"-"` Logger *zap.Logger `json:"-"` LogWriter io.Writer `json:"-"` Client client.Client `json:"-"` // MinimumNodes is the minimum number of Kubernetes nodes required for installing this addon. MinimumNodes int `json:"minimum_nodes"` // HelmChartRepoURL is the helm chart repo URL. HelmChartRepoURL string `json:"helm_chart_repo_url"` // Namespace to create test resources. Namespace string `json:"namespace"` // Collector Endpoint is the url for your specfic epsagon collector to be pointed at CollectorEndpoint string `json:"collector_endpoint"` // Epsagon API key for the agent APIToken string `json:"api_token"` // Epsagon specific clustername from helm install command ex: epsagon-application-cluster ClusterName string `json:"cluster_name"` }
func NewDefault ¶
func NewDefault() *Config
func (*Config) ValidateAndSetDefaults ¶
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
k8s-tester-epsagon
k8s-tester-epsagon installs epsagon using kubectl, and tests that it's able to function correctly.
|
k8s-tester-epsagon installs epsagon using kubectl, and tests that it's able to function correctly. |
Click to show internal directories.
Click to hide internal directories.