options

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ClusterSynchroManagerUserAgent = "cluster-synchro-manager"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	LeaderElection   componentbaseconfig.LeaderElectionConfiguration
	ClientConnection componentbaseconfig.ClientConnectionConfiguration

	Logs         *logs.Options
	Storage      *storageoptions.StorageOptions
	WorkerNumber int // WorkerNumber is the number of worker goroutines

	Master     string
	Kubeconfig string
}

func NewClusterSynchroManagerOptions

func NewClusterSynchroManagerOptions() (*Options, error)

func (*Options) Config

func (o *Options) Config() (*config.Config, error)

func (*Options) Flags

func (o *Options) Flags() cliflag.NamedFlagSets

func (*Options) Validate

func (o *Options) Validate() error

Jump to

Keyboard shortcuts

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