rhos

package
v0.12.4 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package rhos provides common functionality to run cloud prepare/cleanup on RHOS Clusters.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRHOSFlags

func AddRHOSFlags(command *cobra.Command)

AddRHOSFlags adds basic flags needed by RHOS.

func RunOnRHOS

func RunOnRHOS(restConfigProducer restconfig.Producer, gwInstanceType string, dedicatedGWNodes bool,
	function func(cloud api.Cloud, gwDeployer api.GatewayDeployer,
		reporter api.Reporter) error) error

RunOnRHOS runs the given function on RHOS, supplying it with a cloud instance connected to RHOS and a reporter that writes to CLI. The functions makes sure that infraID and region are specified, and extracts the credentials from a secret in order to connect to RHOS.

Types

This section is empty.

Jump to

Keyboard shortcuts

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