customlinktools

package
v0.0.0-...-006d43d Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2026 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindOptions

func BindOptions(opts *RawOptions, cmd *cobra.Command) error

keeping these options consistent with the visualize command.

func NewCommand

func NewCommand() (*cobra.Command, error)

func Visualize

func Visualize(ctx context.Context, opts *RawOptions) error

Types

type LinkDetails

type LinkDetails struct {
	DisplayName string
	URL         string
}

type Options

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

func (Options) Run

func (o Options) Run(ctx context.Context) error

type QueryInfo

type QueryInfo struct {
	ResourceGroupName string
	StartTime         string
	EndTime           string
	ClusterName       string
	Database          string
}

type QueryTemplate

type QueryTemplate struct {
	TemplateName   string
	TemplatePath   string
	OutputFileName string
}

type RawOptions

type RawOptions struct {
	TimingInputDir string
	OutputDir      string
}

func DefaultOptions

func DefaultOptions() *RawOptions

func (*RawOptions) Validate

func (o *RawOptions) Validate() (*ValidatedOptions, error)

type TestRow

type TestRow struct {
	TestName          string
	ResourceGroupName string
	Database          string
	Status            string
	Links             []LinkDetails
}

type TimingInfo

type TimingInfo struct {
	StartTime          time.Time
	EndTime            time.Time
	ResourceGroupNames []string
}

type ValidatedOptions

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

func (*ValidatedOptions) Complete

func (o *ValidatedOptions) Complete(logger logr.Logger) (*Options, error)

Jump to

Keyboard shortcuts

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