breakpoint

package
v0.7.6 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToBreakpointFilter

func ToBreakpointFilter(a *v1.PipelineActivity) *v1alpha1.LighthousePipelineFilter

ToBreakpointFilter converts the PipelineActivity to a filter for breakpoints

Types

type Options

type Options struct {
	options.BaseOptions

	BreakpointNames []string
	KubeClient      kubernetes.Interface
	JXClient        versioned.Interface
	LHClient        lhclient.Interface
	Namespace       string
	Input           input.Interface
	Breakpoints     []*v1alpha1.LighthouseBreakpoint
}

Options 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 NewCmdPipelineBreakpoint

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

NewCmdPipelineBreakpoint creates the command

func (*Options) Run

func (o *Options) Run() error

Run implements this command

func (*Options) ToLabel

func (o *Options) ToLabel(a *v1.PipelineActivity) string

func (*Options) Validate

func (o *Options) Validate() error

Validate verifies things are setup correctly

Jump to

Keyboard shortcuts

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