Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { InMemberCluster bool // report Cluster string PivotCubeHost string PeriodSecond int WaitSecond int RetryCounts int // sync manager PivotClusterKubeConfig string // api server JwtSecret string Addr string Port int TlsCert string TlsKey string // local manager AllowPrivileged bool LeaderElect bool WebhookCert string WebhookServerPort int }
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 ¶
Click to show internal directories.
Click to hide internal directories.