Documentation
¶
Index ¶
Constants ¶
View Source
const GroupName = "minersetcontroller.config.onex.io"
GroupName is the group name used in this package.
Variables ¶
View Source
var ( // SchemeBuilder is the scheme builder with scheme init functions to run for this API package. SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is a global function that registers this API group & version to a scheme. AddToScheme = SchemeBuilder.AddToScheme )
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
SchemeGroupVersion is group version used to register these objects.
Functions ¶
This section is empty.
Types ¶
type MinerSetControllerConfiguration ¶
type MinerSetControllerConfiguration struct {
// TypeMeta contains the API version and kind.
metav1.TypeMeta
// FeatureGates is a map of feature names to bools that enable or disable alpha/experimental features.
FeatureGates map[string]bool
// Parallelism defines the amount of parallelism to process minersets. Must be greater than 0. Defaults to 16
Parallelism int32
// SyncPeriod determines the minimum frequency at which watched resources are
// reconciled. A lower period will correct entropy more quickly, but reduce
// responsiveness to change if there are many watched resources. Change this
// value only if you know what you are doing. Defaults to 10 hours if unset.
SyncPeriod metav1.Duration
// Label value that the controller watches to reconcile cloud minerset objects.
// Label key is always %s. If unspecified, the controller watches for allcluster-api objects.
WatchFilterValue string
// leaderElection defines the configuration of leader election client.
LeaderElection componentbaseconfig.LeaderElectionConfiguration
// Namespace that the controller watches to reconcile onex-apiserver objects.
// If unspecified, the controller watches for onex-apiserver objects across all namespaces
Namespace string
// MetricsBindAddress is the IP address and port for the metrics server to serve on,
// defaulting to 127.0.0.1:20249 (set to 0.0.0.0 for all interfaces)
MetricsBindAddress string
// HealthzBindAddress is the IP address and port for the health check server to serve on,
// defaulting to 0.0.0.0:20250
HealthzBindAddress string
}
MinerSetControllerConfiguration configures a scheduler.
func (*MinerSetControllerConfiguration) DeepCopy ¶
func (in *MinerSetControllerConfiguration) DeepCopy() *MinerSetControllerConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MinerSetControllerConfiguration.
func (*MinerSetControllerConfiguration) DeepCopyInto ¶
func (in *MinerSetControllerConfiguration) DeepCopyInto(out *MinerSetControllerConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MinerSetControllerConfiguration) DeepCopyObject ¶
func (in *MinerSetControllerConfiguration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
Click to show internal directories.
Click to hide internal directories.