Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CoreOptions ¶
type CoreOptions struct {
UseWebhook bool
CertDir string
WebhookPort int
MetricsAddr string
EnableLeaderElection bool
LeaderElectionNamespace string
LogFilePath string
LogFileMaxSize uint64
LogDebug bool
ControllerArgs *oamcontroller.Args
HealthAddr string
DisableCaps string
StorageDriver string
InformerSyncPeriod time.Duration
QPS float64
Burst int
PprofAddr string
LeaderElectionResourceLock string
LeaseDuration time.Duration
RenewDeadLine time.Duration
RetryPeriod time.Duration
EnableClusterGateway bool
EnableClusterMetrics bool
ClusterMetricsInterval time.Duration
}
CoreOptions contains everything necessary to create and run vela-core
func NewCoreOptions ¶
func NewCoreOptions() *CoreOptions
NewCoreOptions creates a new NewVelaCoreOptions object with default parameters
func (*CoreOptions) Flags ¶
func (s *CoreOptions) Flags() cliflag.NamedFlagSets
Flags returns the complete NamedFlagSets
Click to show internal directories.
Click to hide internal directories.