assisted_installer_controller

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GeneralWaitTimeout = generalWaitTimeoutInt * time.Second

Functions

func NewController

func NewController(log *logrus.Logger, cfg ControllerConfig, ops ops.Ops, ic inventory_client.InventoryClient, kc k8s_client.K8SClient) *controller

Types

type Controller

type Controller interface {
	WaitAndUpdateNodesStatus()
}

type ControllerConfig

type ControllerConfig struct {
	ClusterID string `envconfig:"CLUSTER_ID" required:"true" `
	Host      string `envconfig:"INVENTORY_HOST" required:"true"`
	Port      int    `envconfig:"INVENTORY_PORT" required:"true"`
}

Jump to

Keyboard shortcuts

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