options

package
v0.0.0-...-4d19ac6 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindFlags

BindFlags binds the LeaderElectionConfiguration struct fields to a flagset

Types

type ResourceSyncerOptions

type ResourceSyncerOptions struct {
	// The syncer configuration.
	ComponentConfig syncerconfig.SyncerConfiguration

	MetaClusterAddress string
	// MetaClusterClientConnection specifies the kubeconfig file and client connection
	// settings for the proxy server to use when communicating with the meta cluster apiserver.
	MetaClusterClientConnection componentbaseconfig.ClientConnectionConfiguration

	DeployOnMetaCluster bool
	SuperClusterAddress string
	SyncerName          string
	Address             string
	Port                string
	CertFile            string
	KeyFile             string
	DNSOptions          map[string]string
}

ResourceSyncerOptions is the main context object for the resource syncer.

func NewResourceSyncerOptions

func NewResourceSyncerOptions() (*ResourceSyncerOptions, error)

NewResourceSyncerOptions creates a new resource syncer with a default config.

func (*ResourceSyncerOptions) Config

Config return a syncer config object

func (*ResourceSyncerOptions) Flags

Jump to

Keyboard shortcuts

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