Documentation ¶
Index ¶
Constants ¶
const GroupName = "onexcontrollermanager.config.onex.io"
GroupName is the group name used in this package.
Variables ¶
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 )
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 ChainControllerConfiguration ¶
type ChainControllerConfiguration struct { // Image specify the blockchain node image. Image string }
func (*ChainControllerConfiguration) DeepCopy ¶
func (in *ChainControllerConfiguration) DeepCopy() *ChainControllerConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChainControllerConfiguration.
func (*ChainControllerConfiguration) DeepCopyInto ¶
func (in *ChainControllerConfiguration) DeepCopyInto(out *ChainControllerConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GarbageCollectorControllerConfiguration ¶
type GarbageCollectorControllerConfiguration struct { // enables the generic garbage collector. MUST be synced with the // corresponding flag of the kube-apiserver. WARNING: the generic garbage // collector is an alpha feature. EnableGarbageCollector bool // concurrentGCSyncs is the number of garbage collector workers that are // allowed to sync concurrently. ConcurrentGCSyncs int32 // gcIgnoredResources is the list of GroupResources that garbage collection should ignore. GCIgnoredResources []GroupResource }
GarbageCollectorControllerConfiguration contains elements describing GarbageCollectorController.
func (*GarbageCollectorControllerConfiguration) DeepCopy ¶
func (in *GarbageCollectorControllerConfiguration) DeepCopy() *GarbageCollectorControllerConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GarbageCollectorControllerConfiguration.
func (*GarbageCollectorControllerConfiguration) DeepCopyInto ¶
func (in *GarbageCollectorControllerConfiguration) DeepCopyInto(out *GarbageCollectorControllerConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GenericControllerManagerConfiguration ¶
type GenericControllerManagerConfiguration struct { // MySQL defines the configuration of mysql client. MySQL genericconfig.MySQLConfiguration // leaderElection defines the configuration of leader election client. LeaderElection componentbaseconfig.LeaderElectionConfiguration // Namespace that the controller watches to reconcile onex-apiserver objects. Namespace string // bindAddress is the IP address for the proxy server to serve on (set to 0.0.0.0 // for all interfaces) BindAddress 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 // PprofBindAddress is the TCP address that the controller should bind to // for serving pprof. // It can be set to "" or "0" to disable the pprof serving. // Since pprof may contain sensitive information, make sure to protect it // before exposing it to public. PprofBindAddress string // Parallelism defines the amount of parallelism to process miners. 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 miner objects WatchFilterValue string // Controllers is the list of controllers to enable or disable // '*' means "all enabled by default controllers" // 'foo' means "enable 'foo'" // '-foo' means "disable 'foo'" // first item for a particular name wins Controllers []string }
GenericControllerManagerConfiguration holds configuration for a generic controller-manager.
func (*GenericControllerManagerConfiguration) DeepCopy ¶
func (in *GenericControllerManagerConfiguration) DeepCopy() *GenericControllerManagerConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericControllerManagerConfiguration.
func (*GenericControllerManagerConfiguration) DeepCopyInto ¶
func (in *GenericControllerManagerConfiguration) DeepCopyInto(out *GenericControllerManagerConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GroupResource ¶
type GroupResource struct { // group is the group portion of the GroupResource. Group string // resource is the resource portion of the GroupResource. Resource string }
GroupResource describes an group resource.
func (*GroupResource) DeepCopy ¶
func (in *GroupResource) DeepCopy() *GroupResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupResource.
func (*GroupResource) DeepCopyInto ¶
func (in *GroupResource) DeepCopyInto(out *GroupResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OneXControllerManagerConfiguration ¶
type OneXControllerManagerConfiguration struct { metav1.TypeMeta // Generic holds configuration for a generic controller-manager Generic GenericControllerManagerConfiguration // GarbageCollectorControllerConfiguration holds configuration for // GarbageCollectorController related features. GarbageCollectorController GarbageCollectorControllerConfiguration // ChainControllerConfiguration holds configuration for ChainController related features. ChainController ChainControllerConfiguration }
OneXControllerManagerConfiguration contains elements describing onex-controller manager.
func (*OneXControllerManagerConfiguration) DeepCopy ¶
func (in *OneXControllerManagerConfiguration) DeepCopy() *OneXControllerManagerConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OneXControllerManagerConfiguration.
func (*OneXControllerManagerConfiguration) DeepCopyInto ¶
func (in *OneXControllerManagerConfiguration) DeepCopyInto(out *OneXControllerManagerConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OneXControllerManagerConfiguration) DeepCopyObject ¶
func (in *OneXControllerManagerConfiguration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.