get

package
v2.1.67 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2020 License: Apache-2.0 Imports: 60 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GetIssueLong = templates.LongDesc(`
		Display the status of an issue for a project.

`)

	GetIssueExample = templates.Examples(`
		# Get the status of an issue for a project
		jx get issue --id ISSUE_ID
	`)
)
View Source
var (
	GetIssuesLong = templates.LongDesc(`
		Display one or more issues for a project.

`)

	GetIssuesExample = templates.Examples(`
		# List open issues on the current project
		jx get issues
	`)
)

Functions

func NewCmdGet

func NewCmdGet(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdGet creates a command object for the generic "get" action, which retrieves one or more resources from a server.

func NewCmdGetActivity

func NewCmdGetActivity(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdGetActivity creates the new command for: jx get version

func NewCmdGetAddon

func NewCmdGetAddon(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdGetAddon creates the command

func NewCmdGetApplications

func NewCmdGetApplications(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdGetApplications creates the new command for: jx get version

func NewCmdGetApps

func NewCmdGetApps(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdGetApps creates the new command for: jx get version

func NewCmdGetBranchPattern

func NewCmdGetBranchPattern(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdGetBranchPattern creates the new command for: jx get env

func NewCmdGetBuild

func NewCmdGetBuild(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdGetBuild creates the command object

func NewCmdGetBuildLogs

func NewCmdGetBuildLogs(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdGetBuildLogs creates the command

func NewCmdGetBuildPack

func NewCmdGetBuildPack(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdGetBuildPack creates the new command for: jx get env

func NewCmdGetBuildPods

func NewCmdGetBuildPods(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdGetBuildPods creates the command

func NewCmdGetCRDCount

func NewCmdGetCRDCount(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdGetCRDCount creates the command object

func NewCmdGetCVE

func NewCmdGetCVE(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdGetCVE creates the command

func NewCmdGetChat

func NewCmdGetChat(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdGetChat creates the command

func NewCmdGetConfig

func NewCmdGetConfig(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdGetConfig creates the command

func NewCmdGetDevPod

func NewCmdGetDevPod(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdGetDevPod creates the command

func NewCmdGetEnv

func NewCmdGetEnv(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdGetEnv creates the new command for: jx get env

func NewCmdGetGit

func NewCmdGetGit(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdGetGit creates the command

func NewCmdGetHelmBin

func NewCmdGetHelmBin(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdGetHelmBin creates the new command for: jx get env

func NewCmdGetIssue

func NewCmdGetIssue(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdGetIssue creates the command

func NewCmdGetIssues

func NewCmdGetIssues(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdGetIssues creates the command

func NewCmdGetLang

func NewCmdGetLang(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdGetLang creates the new command for: jx get env

func NewCmdGetLimits

func NewCmdGetLimits(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdGetLimits creates the command

func NewCmdGetPipeline

func NewCmdGetPipeline(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdGetPipeline creates the command

func NewCmdGetPlugins

func NewCmdGetPlugins(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdGetPlugins provides a way to list all plugin executables visible to jx

func NewCmdGetPostPreviewJob

func NewCmdGetPostPreviewJob(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdGetPostPreviewJob creates a command object for the "create" command

func NewCmdGetPreview

func NewCmdGetPreview(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdGetPreview creates the new command for: jx get env

func NewCmdGetQuickstartLocation

func NewCmdGetQuickstartLocation(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdGetQuickstartLocation creates the new command for: jx get env

func NewCmdGetQuickstarts

func NewCmdGetQuickstarts(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdGetQuickstarts creates the command

func NewCmdGetRelease

func NewCmdGetRelease(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdGetRelease creates the new command for: jx get env

func NewCmdGetStorage

func NewCmdGetStorage(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdGetStorage creates the new command for: jx get env

func NewCmdGetStream

func NewCmdGetStream(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdGetStream creates the command

func NewCmdGetTeam

func NewCmdGetTeam(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdGetTeam creates the new command for: jx get env

func NewCmdGetTeamRole

func NewCmdGetTeamRole(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdGetTeamRole creates the new command for: jx get env

func NewCmdGetToken

func NewCmdGetToken(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdGetToken creates the command

func NewCmdGetTokenAddon

func NewCmdGetTokenAddon(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdGetTokenAddon creates the command

func NewCmdGetTracker

func NewCmdGetTracker(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdGetTracker creates the command

func NewCmdGetURL

func NewCmdGetURL(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdGetURL creates the command

func NewCmdGetUser

func NewCmdGetUser(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdGetUser creates the new command for: jx get env

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 CLILogWriter

type CLILogWriter struct {
	*opts.CommonOptions
}

CLILogWriter is an implementation of logs.LogWriter that will show logs in the standard output

func (*CLILogWriter) BytesLimit

func (o *CLILogWriter) BytesLimit() int

BytesLimit defines the limit of bytes to be used to fetch the logs from the kube API defaulted to 0 for this implementation

func (*CLILogWriter) StreamLog

func (o *CLILogWriter) StreamLog(lch <-chan logs.LogLine, ech <-chan error) error

StreamLog implementation of LogWriter.StreamLog for CLILogWriter, this implementation will tail logs for the provided pod /container through the defined logger

func (*CLILogWriter) WriteLog

func (o *CLILogWriter) WriteLog(logLine logs.LogLine, lch chan<- logs.LogLine) error

WriteLog implementation of LogWriter.WriteLog for CLILogWriter, this implementation will write the provided log line through the defined logger

type CRDCountOptions

type CRDCountOptions struct {
	*opts.CommonOptions
}

CRDCountOptions the command line options

func (*CRDCountOptions) Run

func (o *CRDCountOptions) Run() error

Run implements this command

type EnvApps

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

EnvApps contains data about app deployments in an environment

type GetActivityOptions

type GetActivityOptions struct {
	*opts.CommonOptions

	Filter      string
	BuildNumber string
	Watch       bool
	Sort        bool
}

GetActivityOptions containers the CLI options

func (*GetActivityOptions) Run

func (o *GetActivityOptions) Run() error

Run implements this command

func (*GetActivityOptions) WatchActivities

func (o *GetActivityOptions) WatchActivities(table *tbl.Table, jxClient versioned.Interface, ns string) error

type GetAddonOptions

type GetAddonOptions struct {
	GetOptions
}

GetAddonOptions the command line options

func (*GetAddonOptions) Run

func (o *GetAddonOptions) Run() error

Run implements this command

type GetApplicationsOptions

type GetApplicationsOptions struct {
	*opts.CommonOptions

	Namespace   string
	Environment string
	HideUrl     bool
	HidePod     bool
	Previews    bool
}

GetApplicationsOptions containers the CLI options

func (*GetApplicationsOptions) Run

func (o *GetApplicationsOptions) Run() error

Run implements this command

type GetAppsOptions

type GetAppsOptions struct {
	GetOptions
	Namespace  string
	ShowStatus bool
	GitOps     bool
	DevEnv     *v1.Environment
}

GetAppsOptions containers the CLI options

func (*GetAppsOptions) Run

func (o *GetAppsOptions) Run() error

Run implements this command

type GetBranchPatternOptions

type GetBranchPatternOptions struct {
	GetOptions
}

GetBranchPatternOptions containers the CLI options

func (*GetBranchPatternOptions) Run

func (o *GetBranchPatternOptions) Run() error

Run implements this command

type GetBuildLogsOptions

type GetBuildLogsOptions struct {
	GetOptions

	Tail                    bool
	Wait                    bool
	BuildFilter             builds.BuildPodInfoFilter
	CurrentFolder           bool
	WaitForPipelineDuration time.Duration
	TektonLogger            *logs.TektonLogger
	FailIfPodFails          bool
}

GetBuildLogsOptions the command line options

func (*GetBuildLogsOptions) Run

func (o *GetBuildLogsOptions) Run() error

Run implements this command

type GetBuildOptions

type GetBuildOptions struct {
	*opts.CommonOptions

	Output string
}

GetBuildOptions the command line options

func (*GetBuildOptions) Run

func (o *GetBuildOptions) Run() error

Run implements this command

type GetBuildPackOptions

type GetBuildPackOptions struct {
	GetOptions

	All bool
}

GetBuildPackOptions containers the CLI options

func (*GetBuildPackOptions) Run

func (o *GetBuildPackOptions) Run() error

Run implements this command

type GetBuildPodsOptions

type GetBuildPodsOptions struct {
	GetOptions

	Namespace   string
	BuildFilter builds.BuildPodInfoFilter
}

GetBuildPodsOptions the command line options

func (*GetBuildPodsOptions) Run

func (o *GetBuildPodsOptions) Run() error

Run implements this command

type GetCVEOptions

type GetCVEOptions struct {
	GetOptions
	ImageName         string
	ImageID           string
	Version           string
	Env               string
	VulnerabilityType string
}

GetGitOptions the command line options

func (*GetCVEOptions) Run

func (o *GetCVEOptions) Run() error

Run implements this command

type GetChatOptions

type GetChatOptions struct {
	GetOptions

	Kind string
	Dir  string
}

GetChatOptions the command line options

func (*GetChatOptions) Run

func (o *GetChatOptions) Run() error

Run implements this command

type GetConfigOptions

type GetConfigOptions struct {
	GetOptions

	Dir string
}

GetConfigOptions the command line options

func (*GetConfigOptions) Run

func (o *GetConfigOptions) Run() error

Run implements this command

type GetDevPodOptions

type GetDevPodOptions struct {
	GetOptions
	opts.CommonDevPodOptions

	AllUsernames bool
}

GetDevPodOptions the command line options

func (*GetDevPodOptions) Run

func (o *GetDevPodOptions) Run() error

Run implements this command

type GetEnvOptions

type GetEnvOptions struct {
	GetOptions

	PromotionStrategy string
	PreviewOnly       bool
}

GetEnvOptions containers the CLI options

func (*GetEnvOptions) Run

func (o *GetEnvOptions) Run() error

Run implements this command

type GetGitOptions

type GetGitOptions struct {
	GetOptions
}

GetGitOptions the command line options

func (*GetGitOptions) Run

func (o *GetGitOptions) Run() error

Run implements this command

type GetHelmBinOptions

type GetHelmBinOptions struct {
	GetOptions
}

GetHelmBinOptions containers the CLI options

func (*GetHelmBinOptions) Run

func (o *GetHelmBinOptions) Run() error

Run implements this command

type GetIssueOptions

type GetIssueOptions struct {
	GetOptions

	Dir string
	Id  string
}

GetIssueOptions contains the command line options

func (*GetIssueOptions) Run

func (o *GetIssueOptions) Run() error

Run implements this command

type GetIssuesOptions

type GetIssuesOptions struct {
	GetOptions
	Dir    string
	Filter string
}

GetIssuesOptions contains the command line options

func (*GetIssuesOptions) Run

func (o *GetIssuesOptions) Run() error

Run implements this command

type GetLangOptions

type GetLangOptions struct {
	GetOptions
	StepOptions step.StepOptions

	Pending bool
}

GetLangOptions containers the CLI options

func (*GetLangOptions) Run

func (o *GetLangOptions) Run() error

Run implements this command

type GetLimitsOptions

type GetLimitsOptions struct {
	GetOptions
}

GetAddonOptions the command line options

func (*GetLimitsOptions) GetLimits

func (o *GetLimitsOptions) GetLimits(server string, username string, apitoken string) (RateLimits, error)

func (*GetLimitsOptions) Run

func (o *GetLimitsOptions) Run() error

Run implements this command

type GetOptions

type GetOptions struct {
	*opts.CommonOptions

	Output string
}

GetOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()

func (*GetOptions) AddGetFlags

func (o *GetOptions) AddGetFlags(cmd *cobra.Command)

func (*GetOptions) Run

func (o *GetOptions) Run() error

Run implements this command

type GetPipelineOptions

type GetPipelineOptions struct {
	GetOptions

	JenkinsSelector opts.JenkinsSelectorOptions

	ProwOptions prow.Options
}

GetPipelineOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()

func (*GetPipelineOptions) Run

func (o *GetPipelineOptions) Run() error

Run implements this command

type GetPluginsOptions

type GetPluginsOptions struct {
	*opts.CommonOptions
	Verifier extensions.PathVerifier
}

func (*GetPluginsOptions) Complete

func (o *GetPluginsOptions) Complete() error

func (*GetPluginsOptions) Run

func (o *GetPluginsOptions) Run() error

Run implements the get plugins command

type GetPostPreviewJobOptions

type GetPostPreviewJobOptions struct {
	options.CreateOptions
}

GetPostPreviewJobOptions the options for the create spring command

func (*GetPostPreviewJobOptions) Run

Run implements the command

type GetPreviewOptions

type GetPreviewOptions struct {
	GetEnvOptions

	Current bool
}

GetPreviewOptions containers the CLI options

func (*GetPreviewOptions) CurrentPreviewUrl

func (o *GetPreviewOptions) CurrentPreviewUrl() error

func (*GetPreviewOptions) Run

func (o *GetPreviewOptions) Run() error

Run implements this command

type GetQuickstartLocationOptions

type GetQuickstartLocationOptions struct {
	GetOptions
}

GetQuickstartLocationOptions containers the CLI options

func (*GetQuickstartLocationOptions) Run

Run implements this command

type GetQuickstartsOptions

type GetQuickstartsOptions struct {
	GetOptions
	GitHubOrganisations []string
	Filter              quickstarts.QuickstartFilter
	ShortFormat         bool
	IgnoreTeam          bool
}

GetQuickstartsOptions - the command line options

func (*GetQuickstartsOptions) Run

func (o *GetQuickstartsOptions) Run() error

Run implements this command

type GetReleaseOptions

type GetReleaseOptions struct {
	GetOptions

	Filter    string
	Namespace string
}

GetReleaseOptions containers the CLI options

func (*GetReleaseOptions) Run

func (o *GetReleaseOptions) Run() error

Run implements this command

type GetStorageOptions

type GetStorageOptions struct {
	GetOptions
}

GetStorageOptions contains the CLI options

func (*GetStorageOptions) Run

func (o *GetStorageOptions) Run() error

Run implements this command

type GetStreamOptions

type GetStreamOptions struct {
	GetOptions

	Kind               string
	VersionsRepository string
	VersionsGitRef     string
}

GetStreamOptions the command line options

func (*GetStreamOptions) Run

func (o *GetStreamOptions) Run() error

Run implements this command

type GetTeamOptions

type GetTeamOptions struct {
	GetOptions

	Pending bool
}

GetTeamOptions containers the CLI options

func (*GetTeamOptions) Run

func (o *GetTeamOptions) Run() error

Run implements this command

type GetTeamRoleOptions

type GetTeamRoleOptions struct {
	GetOptions
}

GetTeamRoleOptions containers the CLI options

func (*GetTeamRoleOptions) Run

func (o *GetTeamRoleOptions) Run() error

Run implements this command

type GetTokenAddonOptions

type GetTokenAddonOptions struct {
	GetTokenOptions
}

GetTokenAddonOptions the command line options

func (*GetTokenAddonOptions) Run

func (o *GetTokenAddonOptions) Run() error

Run implements this command

type GetTokenOptions

type GetTokenOptions struct {
	GetOptions

	Kind string
	Name string
}

GetTokenOptions the command line options

func (*GetTokenOptions) Run

func (o *GetTokenOptions) Run() error

Run implements this command

type GetTrackerOptions

type GetTrackerOptions struct {
	GetOptions

	Kind string
	Dir  string
}

GetTrackerOptions the command line options

func (*GetTrackerOptions) Run

func (o *GetTrackerOptions) Run() error

Run implements this command

type GetURLOptions

type GetURLOptions struct {
	GetOptions

	Namespace    string
	Environment  string
	OnlyViewHost bool
}

GetURLOptions the command line options

func (*GetURLOptions) AddGetUrlFlags

func (o *GetURLOptions) AddGetUrlFlags(cmd *cobra.Command)

func (*GetURLOptions) Run

func (o *GetURLOptions) Run() error

Run implements this command

type GetUserOptions

type GetUserOptions struct {
	GetOptions

	Pending bool
}

GetUserOptions containers the CLI options

func (*GetUserOptions) Run

func (o *GetUserOptions) Run() error

Run implements this command

type HelmOutput

type HelmOutput struct {
	// contains filtered or unexported fields
}

HelmOutput is the representation of the Helm status command

type Rate

type Rate struct {
	Limit     int `json:"limit"`
	Remaining int `json:"remaining"`
	Reset     int `json:"reset"`
}

type RateLimits

type RateLimits struct {
	Resources RateResources `json:"resources"`
}

type RateResources

type RateResources struct {
	Core    Rate `json:"core"`
	Search  Rate `json:"search"`
	GraphQL Rate `json:"graphql"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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