options

package
v0.5.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: Apache-2.0 Imports: 19 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

	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