rosa

package
v1.2.23-rc2 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2023 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runtime

type Runtime struct {
	Reporter   *reporter.Object
	Logger     *logrus.Logger
	OCMClient  *ocm.Client
	AWSClient  aws.Client
	Creator    *aws.Creator
	ClusterKey string
	Cluster    *cmv1.Cluster
}

func NewRuntime

func NewRuntime() *Runtime

func (*Runtime) Cleanup

func (r *Runtime) Cleanup()

func (*Runtime) FetchCluster

func (r *Runtime) FetchCluster() *cmv1.Cluster

func (*Runtime) GetClusterKey

func (r *Runtime) GetClusterKey() string

Load the cluster key provided by the user into the runtime and return it

func (*Runtime) WithAWS

func (r *Runtime) WithAWS() *Runtime

Adds an AWS client to the runtime

func (*Runtime) WithOCM

func (r *Runtime) WithOCM() *Runtime

Adds an OCM client to the runtime. Requires a deferred call to `.Cleanup()` to close connections.

Jump to

Keyboard shortcuts

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