activities

package
v0.21.1 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const PrLabel = "tekton.dev/pipeline"

Variables

View Source
var (
	PipelineResource = schema.GroupVersionResource{
		Group:    "tekton.dev",
		Version:  "v1beta1",
		Resource: "PipelineRun",
	}
)

Functions

func LazyCreateLHClient added in v0.2.92

func LazyCreateLHClient(client lhclient.Interface) (lhclient.Interface, error)

LazyCreateLHClient lazy creates the lighthouse client if its not defined

Types

type Options

type Options struct {
	DryRun                  bool
	ReleaseHistoryLimit     int
	PullRequestHistoryLimit int
	ReleaseAgeLimit         time.Duration
	PullRequestAgeLimit     time.Duration
	PipelineRunAgeLimit     time.Duration
	ProwJobAgeLimit         time.Duration
	Namespace               string
	JXClient                jxc.Interface
	LHClient                lhclient.Interface
	DynamicClient           dynamic.Interface
}

Options command line arguments and flags

func NewCmdGCActivities

func NewCmdGCActivities() (*cobra.Command, *Options)

NewCmd s a command object for the "step" command

func (*Options) Run

func (o *Options) Run() error

Run implements this command

Jump to

Keyboard shortcuts

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