admin

package
v0.0.0-...-1b34cb9 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd

func Cmd(ctx cli.Context) *cobra.Command

Types

type ControlzClient

type ControlzClient struct {
	// contains filtered or unexported fields
}

func (*ControlzClient) GetScope

func (c *ControlzClient) GetScope(scope string) (*ScopeInfo, error)

func (*ControlzClient) GetScopes

func (c *ControlzClient) GetScopes() ([]*ScopeInfo, error)

func (*ControlzClient) PutScope

func (c *ControlzClient) PutScope(scope *ScopeInfo) error

func (*ControlzClient) PutScopes

func (c *ControlzClient) PutScopes(scopes []*ScopeInfo) error

type ScopeInfo

type ScopeInfo struct {
	Name            string `json:"name"`
	Description     string `json:"description,omitempty"`
	OutputLevel     string `json:"output_level,omitempty"`
	StackTraceLevel string `json:"stack_trace_level,omitempty"`
	LogCallers      bool   `json:"log_callers,omitempty"`
}

type ScopeLevelPair

type ScopeLevelPair struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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