options

package
v0.11.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DNSOptions added in v0.10.0

type DNSOptions struct {
	ConfigMapName string
}

func NewDNSOptions added in v0.10.0

func NewDNSOptions() *DNSOptions

func (*DNSOptions) AddFlags added in v0.10.0

func (options *DNSOptions) AddFlags(fs *pflag.FlagSet)

func (*DNSOptions) Complete added in v0.10.0

func (options *DNSOptions) Complete() error

func (*DNSOptions) Validate added in v0.10.0

func (options *DNSOptions) Validate() error

type Options

type Options struct {
	QPS                           float32
	Burst                         int
	FromKubeconfig                string
	FromContext                   string
	FromClusterPath               string
	ToKubeconfig                  string
	ToContext                     string
	SyncTargetName                string
	SyncTargetUID                 string
	Logs                          *logs.Options
	SyncedResourceTypes           []string
	DNSImage                      string
	DownstreamNamespaceCleanDelay time.Duration

	APIImportPollInterval time.Duration
}

func NewOptions

func NewOptions() *Options

func (*Options) AddFlags

func (options *Options) AddFlags(fs *pflag.FlagSet)

func (*Options) Complete

func (options *Options) Complete() error

func (*Options) Validate

func (options *Options) Validate() error

Jump to

Keyboard shortcuts

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