Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterController ¶
type ClusterValidatorWebhook ¶ added in v0.2.0
type ClusterValidatorWebhook struct {
// Enabled is the indicator to determine whether the webhook is enabled.
Enabled bool `mapstructure:"enabled" json:"enabled,omitempty"`
// Certificate directory is the directory where the cluster CR validator webhook stores its certificates locally.
CertificateDirectory string `mapstructure:"certificate-directory" json:"certificateDirectory,omitempty"`
// Name is the name of the cluster CR validator webhook resource.
Name string `mapstructure:"name" json:"name,omitempty"`
// Port is the port the cluster CR validator webhook serves on.
Port uint `mapstructure:"port" json:"port,omitempty"`
}
ClusterValidatorWebhook describes the configuration options for the cluster CR validator webhook.
type Configuration ¶
type Configuration struct {
MetricsAddr string `mapstructure:"metrics-addr" json:"metricsAddr,omitempty"`
LeaderElection LeaderElection `mapstructure:"leader-election" json:"leaderElection,omitempty"`
Logging Logging `mapstructure:"log" json:"logging,omitempty"`
ClusterController ClusterController `mapstructure:"clusterController" json:"clusterController,omitempty"`
SyncController SyncController `mapstructure:"syncController" json:"syncController,omitempty"`
Namespace string `mapstructure:"namespace" json:"namespace,omitempty"`
ProvisionLocalCluster string `mapstructure:"provision-local-cluster" json:"provisionLocalCluster,omitempty"`
ManageLocalClusterSecret bool `mapstructure:"manage-local-cluster-secret" json:"manageLocalClusterSecret,omitempty"`
ReaderServiceAccountName string `mapstructure:"reader-service-account-name" json:"readerServiceAccountName,omitempty"`
NetworkName string `mapstructure:"network-name" json:"networkName,omitempty"`
APIServerEndpointAddress string `mapstructure:"apiserver-endpoint-address" json:"apiServerEndpointAddress,omitempty"`
CoreResourcesSourceEnabled bool `mapstructure:"core-resources-source-enabled" json:"coreResourcesSourceEnabled,omitempty"`
// ClusterValidatorWebhook configures the cluster CR validator webhook for
// the operator.
ClusterValidatorWebhook ClusterValidatorWebhook `mapstructure:"cluster-validator-webhook" json:"clusterValidatorWebhook"`
}
type LeaderElection ¶
type SyncController ¶
type SyncController struct {
WorkerCount int `mapstructure:"workerCount" json:"workerCount,omitempty"`
RateLimit SyncControllerRateLimit `mapstructure:"rateLimit" json:"rateLimit,omitempty"`
}
type SyncControllerRateLimit ¶
Click to show internal directories.
Click to hide internal directories.