assisted_installer_controller

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 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" `
	URL                  string `envconfig:"INVENTORY_URL" required:"true"`
	PullSecretToken      string `envconfig:"PULL_SECRET_TOKEN" required:"true"`
	SkipCertVerification bool   `envconfig:"SKIP_CERT_VERIFICATION" required:"false" default:"false"`
	CACertPath           string `envconfig:"CA_CERT_PATH" required:"false" default:""`
}

Jump to

Keyboard shortcuts

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