environment

package
v0.0.0-...-3bfe646 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClusterOperator

func ClusterOperator() (*client.Client, error)

ClusterOperator returns the enterprise cluster operator client

Types

type Local

type Local struct {
	*localenv.LocalEnvironment
}

Local extends the LocalEnvironment from open-source

func (*Local) ClusterOperator

func (l *Local) ClusterOperator() (*client.Client, error)

ClusterOperator returns the enterprise cluster operator client

type Remote

type Remote struct {
	// RemoteEnvironment is the wrapped open-source remote env
	*localenv.RemoteEnvironment
	// Operator is the enterprise ops web client
	Operator *client.Client
}

Remote extends the RemoteEnvironment from open-source

func LoginRemote

func LoginRemote(url, token string) (*Remote, error)

LoginRemote creates new remote environment

Jump to

Keyboard shortcuts

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