logging

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoggingClient

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

Client structure

func NewLoggingClient

func NewLoggingClient(cloudFQDN string, authorizer auth.Authorizer) (*LoggingClient, error)

NewClient method returns new client

func (*LoggingClient) GetLogFile

func (c *LoggingClient) GetLogFile(ctx context.Context, location string, filename string) error

gets a file from the corresponding node agent and writes it to filename

func (*LoggingClient) GetVerbosityLevel added in v0.10.29

func (c *LoggingClient) GetVerbosityLevel(ctx context.Context) (string, error)

func (*LoggingClient) SetVerbosityLevel added in v0.10.29

func (c *LoggingClient) SetVerbosityLevel(ctx context.Context, verbositylevel int32, include_nodeagents bool) error

type Service

type Service interface {
	GetLogFile(context.Context, string, string) error
	SetVerbosityLevel(context.Context, int32, bool) error
	GetVerbosityLevel(context.Context) (string, error)
}

Service interfacetype Service interface {

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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