app

package
v0.0.0-...-7aea6f4 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Context context.Context

	DefaultTenant  string
	DefaultCluster string
	// contains filtered or unexported fields
}

func MustApp

func MustApp(ctx context.Context, cmd *cli.Command) *App

func (*App) ClusterConfig

func (a *App) ClusterConfig() ([]byte, error)

func (*App) ListClusters

func (a *App) ListClusters() ([]model.Cluster, error)

func (*App) MustCluster

func (a *App) MustCluster() model.Cluster

func (*App) MustClusterConfig

func (a *App) MustClusterConfig() []byte

func (*App) SelectCluster

func (a *App) SelectCluster() (*model.Cluster, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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