options

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultPort                = 443
	DefaultAddress             = "0.0.0.0"
	DefaultCompressionFormat   = string(compressors.GZipType)
	DefaultArchivalYard        = "/tmp"
	DefaultBackupDriverAddress = "/tmp/nfs.sock"
	DefaultDeployNamespace     = "default"
	DefaultServiceName         = "metadata-service"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CompressionType

type CompressionType string

type MetaServiceFlags

type MetaServiceFlags struct {
	Port                uint
	Address             string
	CompressionFormat   string
	ArchivalYard        string
	BackupDriverAddress string
	DeployedNamespace   string
	ServiceName         string
}

func NewMetaServiceFlags

func NewMetaServiceFlags() *MetaServiceFlags

func (*MetaServiceFlags) AddFlags

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

AddFlags exposes available command line options

func (*MetaServiceFlags) Apply

func (options *MetaServiceFlags) Apply() error

Apply checks validity of available command line options

type MetaServiceOptions

type MetaServiceOptions struct {
	MetaServiceFlags
}

Jump to

Keyboard shortcuts

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