Documentation ¶
Index ¶
- func ConnectGrpc(cfg *config.CliArgs) (*grpc.ClientConn, error)
- func NewClient(addr string, opts ...Option) (*grpc.ClientConn, error)
- func ParseLogLevel(l string, defaultVal log.Level) log.Level
- func ResolveEvent(arg string) *commonv1.EventSelector
- func SetupLogger(cfg *config.CliArgs) *log.Logger
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectGrpc ¶
func ConnectGrpc(cfg *config.CliArgs) (*grpc.ClientConn, error)
func NewClient ¶ added in v0.2.0
func NewClient(addr string, opts ...Option) (*grpc.ClientConn, error)
func ResolveEvent ¶
func ResolveEvent(arg string) *commonv1.EventSelector
Types ¶
type Option ¶ added in v0.2.0
type Option func(*param)
func WithCliArgs ¶ added in v0.2.0
func WithSkipVerify ¶ added in v0.2.0
func WithTLSEnabled ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.