get

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationEnvironmentInfo

type ApplicationEnvironmentInfo struct {
	Deployment  *appsV1.Deployment
	Environment *v1.Environment
	Version     string
	URL         string
}

ApplicationEnvironmentInfo contains the results of an app for an environment

type ApplicationsOptions

type ApplicationsOptions struct {
	options.BaseOptions

	KubeClient kubernetes.Interface
	JXClient   jxc.Interface

	CurrentNamespace string
	Namespace        string
	Environment      string
	HideURL          bool
	HidePod          bool
	GitClient        gitclient.Interface
	CommandRunner    cmdrunner.CommandRunner
}

ApplicationsOptions containers the CLI options

func NewCmdGetApplications

func NewCmdGetApplications() (*cobra.Command, *ApplicationsOptions)

NewCmdGetApplications creates the new command for: jx get version

func (*ApplicationsOptions) Run

func (o *ApplicationsOptions) Run() error

Run implements this command

func (*ApplicationsOptions) Validate

func (o *ApplicationsOptions) Validate() error

Validate verifies settings

type EnvApps

type EnvApps struct {
	Environment v1.Environment
	Apps        map[string]appsV1.Deployment
}

EnvApps contains data about app deployments in an environment

Jump to

Keyboard shortcuts

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