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:""`
}
Click to show internal directories.
Click to hide internal directories.