dryrun

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2025 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUnsupportedOperatorVersionFmt = "version %q is not supported. Supported versions: %v"

Functions

func Builder

func Builder() *cobra.Command

Builder builds a cobra.Command for the Kubernetes dryrun installation.

Types

type Opts

type Opts struct {
	cli.OrgOpts
	cli.OutputOpts
	// contains filtered or unexported fields
}

func (*Opts) MakeK8SClient

func (opts *Opts) MakeK8SClient() (client.Client, error)

func (*Opts) Run

func (opts *Opts) Run() error

func (*Opts) ValidateOperatorVersion

func (opts *Opts) ValidateOperatorVersion() error

func (*Opts) ValidateTargetNamespace

func (opts *Opts) ValidateTargetNamespace() error

type Worker

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

func NewWorker

func NewWorker() *Worker

func (*Worker) Run

func (r *Worker) Run() error

func (*Worker) WithK8SClient

func (r *Worker) WithK8SClient(k8sClient client.Client) *Worker

func (*Worker) WithOperatorVersion

func (r *Worker) WithOperatorVersion(operatorVersion string) *Worker

func (*Worker) WithTargetNamespace

func (r *Worker) WithTargetNamespace(targetNamespace string) *Worker

func (*Worker) WithWaitForCompletion

func (r *Worker) WithWaitForCompletion(waitForCompletion bool) *Worker

func (*Worker) WithWaitTimeoutSec

func (r *Worker) WithWaitTimeoutSec(waitSec int64) *Worker

func (*Worker) WithWatchNamespaces

func (r *Worker) WithWatchNamespaces(watchNamespaces string) *Worker

Jump to

Keyboard shortcuts

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