{"modulePath":"github.com/PhilipKram/gitlab-cli","version":"v0.7.2","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package cmd\n\n## Functions\n\n```go\nfunc NewAPICmd(f *cmdutil.Factory) *cobra.Command\n```\nNewAPICmd creates the api command.\n\n```go\nfunc NewAuthCmd(f *cmdutil.Factory) *cobra.Command\n```\nNewAuthCmd creates the auth command group.\n\n```go\nfunc NewBranchCmd(f *cmdutil.Factory) *cobra.Command\n```\nNewBranchCmd creates the branch command group.\n\n```go\nfunc NewBrowseCmd(f *cmdutil.Factory) *cobra.Command\n```\nNewBrowseCmd creates the browse command.\n\n```go\nfunc NewCompletionCmd() *cobra.Command\n```\nNewCompletionCmd creates the completion command.\n\n```go\nfunc NewConfigCmd(f *cmdutil.Factory) *cobra.Command\n```\nNewConfigCmd creates the config command group.\n\n```go\nfunc NewDeploymentCmd(f *cmdutil.Factory) *cobra.Command\n```\nNewDeploymentCmd creates the deployment command group.\n\n```go\nfunc NewEnvironmentCmd(f *cmdutil.Factory) *cobra.Command\n```\nNewEnvironmentCmd creates the environment command group.\n\n```go\nfunc NewIssueCmd(f *cmdutil.Factory) *cobra.Command\n```\nNewIssueCmd creates the issue command group.\n\n```go\nfunc NewLabelCmd(f *cmdutil.Factory) *cobra.Command\n```\nNewLabelCmd creates the label command group.\n\n```go\nfunc NewMCPCmd(f *cmdutil.Factory) *cobra.Command\n```\nNewMCPCmd creates the mcp command group.\n\n```go\nfunc NewMRCmd(f *cmdutil.Factory) *cobra.Command\n```\nNewMRCmd creates the merge request command group.\n\n```go\nfunc NewPackageCmd(f *cmdutil.Factory) *cobra.Command\n```\nNewPackageCmd creates the package command group.\n\n```go\nfunc NewPipelineCmd(f *cmdutil.Factory) *cobra.Command\n```\nNewPipelineCmd creates the pipeline command group.\n\n```go\nfunc NewProjectCmd(f *cmdutil.Factory) *cobra.Command\n```\nNewProjectCmd creates the project command group.\n\n```go\nfunc NewRegistryCmd(f *cmdutil.Factory) *cobra.Command\n```\nNewRegistryCmd creates the registry command group.\n\n```go\nfunc NewReleaseCmd(f *cmdutil.Factory) *cobra.Command\n```\nNewReleaseCmd creates the release command group.\n\n```go\nfunc NewRepoCmd(f *cmdutil.Factory) *cobra.Command\n```\nNewRepoCmd creates the repo command group.\n\n```go\nfunc NewRootCmd(version string) *cobra.Command\n```\nNewRootCmd creates the root command for glab.\n\n```go\nfunc NewSnippetCmd(f *cmdutil.Factory) *cobra.Command\n```\nNewSnippetCmd creates the snippet command group.\n\n```go\nfunc NewTagCmd(f *cmdutil.Factory) *cobra.Command\n```\nNewTagCmd creates the tag command group.\n\n```go\nfunc NewUpgradeCmd(f *cmdutil.Factory) *cobra.Command\n```\nNewUpgradeCmd creates the upgrade command.\n\n```go\nfunc NewUserCmd(f *cmdutil.Factory) *cobra.Command\n```\nNewUserCmd creates the user command group.\n\n```go\nfunc NewVariableCmd(f *cmdutil.Factory) *cobra.Command\n```\nNewVariableCmd creates the variable command group.\n\n## Types\n\n```go\ntype FlakyJobStats struct {\n\tJobName       string  `json:\"job_name\"`\n\tStage         string  `json:\"stage\"`\n\tTotalRuns     int     `json:\"total_runs\"`\n\tSuccessCount  int     `json:\"success_count\"`\n\tFailureCount  int     `json:\"failure_count\"`\n\tFlakinessRate float64 `json:\"flakiness_rate\"`\n\tLastFailure   string  `json:\"last_failure,omitempty\"`\n\tLastSuccess   string  `json:\"last_success,omitempty\"`\n}\n```\nFlakyJobStats represents statistics for a potentially flaky job.\n\n```go\ntype FlakyJobsResult struct {\n\tJobs           []FlakyJobStats `json:\"jobs\"`\n\tTotalPipelines int             `json:\"total_pipelines\"`\n\tTotalJobs      int             `json:\"total_jobs\"`\n\tFlakyJobs      int             `json:\"flaky_jobs\"`\n\tTimePeriodDays int             `json:\"time_period_days\"`\n\tBranch         string          `json:\"branch,omitempty\"`\n}\n```\nFlakyJobsResult represents the result of the flaky jobs analysis.\n\n```go\ntype JobDurationStats struct {\n\tJobName         string  `json:\"job_name\"`\n\tStage           string  `json:\"stage\"`\n\tTotalRuns       int     `json:\"total_runs\"`\n\tAverageDuration float64 `json:\"average_duration\"`\n\tMinDuration     float64 `json:\"min_duration\"`\n\tMaxDuration     float64 `json:\"max_duration\"`\n\tTotalDuration   float64 `json:\"total_duration\"`\n}\n```\nJobDurationStats represents aggregated job duration statistics.\n\n```go\ntype PipelineStats struct {\n\tTotalPipelines int     `json:\"total_pipelines\"`\n\tSuccessCount   int     `json:\"success_count\"`\n\tFailedCount    int     `json:\"failed_count\"`\n\tCanceledCount  int     `json:\"canceled_count\"`\n\tSkippedCount   int     `json:\"skipped_count\"`\n\tRunningCount   int     `json:\"running_count\"`\n\tPendingCount   int     `json:\"pending_count\"`\n\tSuccessRate    float64 `json:\"success_rate\"`\n\tFailureRate    float64 `json:\"failure_rate\"`\n\tTimePeriodDays int     `json:\"time_period_days\"`\n\tBranch         string  `json:\"branch,omitempty\"`\n}\n```\nPipelineStats represents pipeline statistics.\n\n```go\ntype PipelineTrends struct {\n\tBuckets         []TrendBucket `json:\"buckets\"`\n\tOverallTrend    string        `json:\"overall_trend\"`\n\tTrendPercentage float64       `json:\"trend_percentage\"`\n\tTotalPipelines  int           `json:\"total_pipelines\"`\n\tTimePeriodDays  int           `json:\"time_period_days\"`\n\tBucketSizeDays  int           `json:\"bucket_size_days\"`\n\tBranch          string        `json:\"branch,omitempty\"`\n}\n```\nPipelineTrends represents pipeline duration trends over time.\n\n```go\ntype SlowestJobsResult struct {\n\tJobs           []JobDurationStats `json:\"jobs\"`\n\tTotalPipelines int                `json:\"total_pipelines\"`\n\tTotalJobs      int                `json:\"total_jobs\"`\n\tTimePeriodDays int                `json:\"time_period_days\"`\n\tBranch         string             `json:\"branch,omitempty\"`\n}\n```\nSlowestJobsResult represents the result of the slowest jobs analysis.\n\n```go\ntype TrendBucket struct {\n\tStartDate       time.Time `json:\"start_date\"`\n\tEndDate         time.Time `json:\"end_date\"`\n\tPipelineCount   int       `json:\"pipeline_count\"`\n\tAverageDuration float64   `json:\"average_duration\"`\n\tMinDuration     float64   `json:\"min_duration\"`\n\tMaxDuration     float64   `json:\"max_duration\"`\n\tTotalDuration   float64   `json:\"total_duration\"`\n}\n```\nTrendBucket represents pipeline durations for a specific time period.\n\n","path":"github.com/PhilipKram/gitlab-cli/cmd","name":"cmd","synopsis":"","isRedistributable":true}
