flags

package
v0.0.0-...-30c5474 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2026 License: Apache-2.0 Imports: 11 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientSets

type ClientSets struct {
	Core coreclientset.Interface
}

type KubeClientConfig

type KubeClientConfig struct {
	KubeConfig   string
	KubeAPIQPS   float64
	KubeAPIBurst int
}

func (*KubeClientConfig) Flags

func (k *KubeClientConfig) Flags() []cli.Flag

func (*KubeClientConfig) NewClientSetConfig

func (k *KubeClientConfig) NewClientSetConfig() (*rest.Config, error)

func (*KubeClientConfig) NewClientSets

func (k *KubeClientConfig) NewClientSets() (ClientSets, error)

type LoggingConfig

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

func NewLoggingConfig

func NewLoggingConfig() *LoggingConfig

func (*LoggingConfig) Apply

func (l *LoggingConfig) Apply() error

Apply should be called in a cli.App.Before directly after parsing command line flags and before running any code which emits log entries.

func (*LoggingConfig) Flags

func (l *LoggingConfig) Flags() []cli.Flag

Flags returns the flags for the configuration.

Jump to

Keyboard shortcuts

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