Documentation
¶
Index ¶
Constants ¶
Variables ¶
View Source
var ( CONTROLLER_OPTIONS = map[string]int{ "groundctl": 10, "launchctl": DEFAULT_WORKERS, "wormholegenerator": DEFAULT_WORKERS, } )
Functions ¶
Types ¶
type Base ¶
type Base struct {
Clients
Controller BaseController
// contains filtered or unexported fields
}
func NewBaseController ¶
func NewBaseController(clients Clients, informer cache.SharedIndexInformer) Base
type BaseController ¶
type BaseController interface {
config.Controller
// contains filtered or unexported methods
}
type Clients ¶
type Clients struct {
Kubernikus kubernikus_clientset.Interface
Kubernetes kubernetes_clientset.Interface
Satellites *kube.SharedClientFactory
Openstack openstack.Client
Helm *helm.Client
}
type Factories ¶
type Factories struct {
Kubernikus kubernikus_informers.SharedInformerFactory
Kubernetes kubernetes_informers.SharedInformerFactory
}
type GroundControl ¶
type GroundControl struct {
Clients
Factories
config.Config
// contains filtered or unexported fields
}
func NewGroundController ¶
func NewGroundController(factories Factories, clients Clients, config config.Config) *GroundControl
func (*GroundControl) Run ¶
func (op *GroundControl) Run(threadiness int, stopCh <-chan struct{}, wg *sync.WaitGroup)
type KubernikusOperator ¶
func NewKubernikusOperator ¶
func NewKubernikusOperator(options *KubernikusOperatorOptions) *KubernikusOperator
func (*KubernikusOperator) Run ¶
func (o *KubernikusOperator) Run(stopCh <-chan struct{}, wg *sync.WaitGroup)
type KubernikusOperatorOptions ¶
type KubernikusOperatorOptions struct {
KubeConfig string
Context string
ChartDirectory string
AuthURL string
AuthUsername string
AuthPassword string
AuthDomain string
AuthProject string
AuthProjectDomain string
KubernikusDomain string
KubernikusProjectID string
KubernikusNetworkID string
Namespace string
Controllers []string
}
type LaunchControl ¶
func NewLaunchController ¶
func NewLaunchController(factories Factories, clients Clients) *LaunchControl
func (*LaunchControl) Run ¶
func (launchctl *LaunchControl) Run(threadiness int, stopCh <-chan struct{}, wg *sync.WaitGroup)
Source Files
¶
- base.go
- ground.go
- launch.go
- operator.go
Click to show internal directories.
Click to hide internal directories.