config

package
v0.0.0-...-1aaef2a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2024 License: Apache-2.0, BSD-3-Clause, CC-BY-3.0, + 1 more Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config interface {
	GetConfig() *InteroperatorConfig
	UpdateConfig(*InteroperatorConfig) error
}

Config fetches the runtime configs from the configmap

func New

func New(kubeConfig *rest.Config, scheme *runtime.Scheme, mapper meta.RESTMapper) (Config, error)

New returns a new Config using the kubernetes client

type InteroperatorConfig

type InteroperatorConfig struct {
	InstanceWorkerCount      int    `yaml:"instanceWorkerCount,omitempty"`
	BindingWorkerCount       int    `yaml:"bindingWorkerCount,omitempty"`
	SchedulerWorkerCount     int    `yaml:"schedulerWorkerCount,omitempty"`
	ProvisionerWorkerCount   int    `yaml:"provisionerWorkerCount,omitempty"`
	PrimaryClusterID         string `yaml:"primaryClusterId,omitempty"`
	ClusterReconcileInterval string `yaml:"clusterReconcileInterval,omitempty"`

	InstanceContollerWatchList []osbv1alpha1.APIVersionKind `yaml:"instanceContollerWatchList,omitempty"`
	BindingContollerWatchList  []osbv1alpha1.APIVersionKind `yaml:"bindingContollerWatchList,omitempty"`
}

InteroperatorConfig contains tuneable configs used by interoperator

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL