flag

package
v0.0.0-...-ba70d0f Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2025 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Overview

Package flag provide flag variable props

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse() *celestinal.Flag

Parse flag args

func ParseAPIServer

func ParseAPIServer() *celestinal.FlagAPIServer

ParseAPIServer flag args for apiserver service

func ParseGRPCService

func ParseGRPCService() *celestinal.FlagGRPCService

ParseGRPCService flag args for grpc service

func SetConsole

func SetConsole(ascii string)

SetConsole set console log when --help or -h option

func SetDefault

func SetDefault(name names.Namespace, mode string)

SetDefault set default flag values

func Validate

func Validate(flag proto.Message) error

Validate used to validate flags

Types

This section is empty.

Jump to

Keyboard shortcuts

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