Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // generic Cluster string InMemberCluster bool IsWritable bool LocalClusterKubeConfig string PivotClusterKubeConfig string KlogLevel string // report PivotKubeHost string PeriodSecond int WaitSecond int RetryCounts int // api server JwtSecret string Addr string Port int TlsCert string TlsKey string // local manager AllowPrivileged bool LeaderElect bool WebhookCert string WebhookServerPort int EnableControllers string // nginx ingress controller param NginxNamespace string NginxTcpServiceConfigMap string NginxUdpServiceConfigMap string }
type Warden ¶
type Warden struct { *Config SyncCtrl *syncmgr.SyncManager Server *server.Server Reporter *reporter.Reporter LocalCtrl *localmgr.LocalManager }
Warden has two shapes: 1. Running in pivot cluster as a independent process. 2. Running in member cluster as a independent process.
func NewWardenWithOpts ¶
func (Warden) Initialize ¶
Directories ¶
Path | Synopsis |
---|---|
authproxy/proxy
Package proxy provides transport and upgrade support for proxies.
|
Package proxy provides transport and upgrade support for proxies. |
Click to show internal directories.
Click to hide internal directories.