cmd

package
v1.1.184 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 43 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Types

type AgentConfig

type AgentConfig struct {
	KubernetesMasterURL   string `mapstructure:"kubernetes_master_url" yaml:"kubernetes_master_url" json:"kubernetes_master_url"`
	KubernetesConfigPath  string `mapstructure:"kubernetes_config_path" yaml:"kubernetes_config_path" json:"kubernetes_config_path"`
	ClientConfigNamespace string `mapstructure:"client_config_namespace" yaml:"client_config_namespace" json:"client_config_namespace"`
	ClientConfigName      string `mapstructure:"client_config_name" yaml:"client_config_name" json:"client_config_name"`
	SecretBasePath        string `mapstructure:"secret_base_path" yaml:"secret_base_path" json:"secret_base_path"`
	Address               string `mapstructure:"address" yaml:"address" json:"address"`
}

type HeistConfig

type HeistConfig struct {
	Vault    *VaultConfig    `mapstructure:"vault" yaml:"vault" json:"vault"`
	Agent    *AgentConfig    `mapstructure:"agent" yaml:"agent" json:"agent"`
	Operator *OperatorConfig `mapstructure:"operator" yaml:"operator" json:"operator"`
	Setup    *SetupConfig    `mapstructure:"setup" yaml:"setup" json:"setup"`
}

type OperatorConfig

type OperatorConfig struct {
	MetricsBindAddress           string   `mapstructure:"metrics_bind_address" yaml:"metrics_bind_address" json:"metrics_bind_address"`
	HealthProbeBindAddress       string   `mapstructure:"health_probe_bind_address" yaml:"health_probe_bind" json:"health_probe_bind"`
	WebhookPort                  int      `mapstructure:"webhook_port" yaml:"webhook_port" json:"webhook_port"`
	LeaderElect                  bool     `mapstructure:"leader_elect" yaml:"leader_elect" json:"leader_elect"`
	LeaderElectionID             string   `mapstructure:"leader_election_id" yaml:"leader_election_id" json:"leader_election_id"`
	AgentImage                   string   `mapstructure:"agent_image" yaml:"agent_image" json:"agent_image"`
	SyncSecretNamespaceAllowList []string `` /* 127-byte string literal not displayed */
}

type SetupConfig

type SetupConfig struct {
	VaultNamespace       string   `mapstructure:"vault_namespace" yaml:"vault_namespace" json:"vault_namespace"`
	VaultServiceName     string   `mapstructure:"vault_service_name" yaml:"vault_service_name" json:"vault_service_name"`
	VaultPort            string   `mapstructure:"vault_port" yaml:"vault_port" json:"vault_port"`
	VaultCACerts         []string `mapstructure:"vault_ca_certs" yaml:"vault_ca_certs" json:"vault_ca_certs"`
	VaultScheme          string   `mapstructure:"vault_scheme" yaml:"vault_scheme" json:"vault_scheme"`
	VaultToken           string   `mapstructure:"vault_token" yaml:"vault_token" json:"vault_token"`
	VaultURL             string   `mapstructure:"vault_url" yaml:"vault_url" json:"vault_url"`
	PolicyName           string   `mapstructure:"policy_name" yaml:"policy_name" json:"policy_name"`
	RoleName             string   `mapstructure:"role_name" yaml:"role_name" json:"role_name"`
	HeistNamespace       string   `mapstructure:"heist_namespace" yaml:"heist_namespace" json:"heist_namespace"`
	HeistServiceAccount  string   `mapstructure:"heist_service_account" yaml:"heist_service_account" json:"heist_service_account"`
	KubernetesHost       string   `mapstructure:"kubernetes_host" yaml:"kubernetes_host" json:"kubernetes_host"`
	KubernetesJWTIssuer  string   `mapstructure:"kubernetes_jwt_issuer" yaml:"kubernetes_jwt_issuer" json:"kubernetes_jwt_issuer"`
	KubernetesJWTCACert  string   `mapstructure:"kubernetes_jwt_ca_cert" yaml:"kubernetes_jwt_ca_cert" json:"kubernetes_jwt_ca_cert"`
	KubernetesJWTPemKeys []string `mapstructure:"kubernetes_jwt_pem_keys" yaml:"kubernetes_jwt_pem_keys" json:"kubernetes_jwt_pem_keys"`
}

type VaultConfig

type VaultConfig struct {
	Address                 string   `mapstructure:"address" yaml:"address" json:"address"`
	CACerts                 []string `mapstructure:"ca_certs" yaml:"ca_certs" json:"ca_certs"`
	Role                    string   `mapstructure:"role" yaml:"role" json:"role"`
	Token                   string   `mapstructure:"token" yaml:"token" json:"token"`
	KubernetesAuthMountPath string   `mapstructure:"kubernetes_auth_mount_path" yaml:"kubernetes_auth_mount_path" json:"kubernetes_auth_mount_path"`
	JWTPath                 string   `mapstructure:"jwt_path" yaml:"jwt_path" json:"jwt_path"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL