Documentation
¶
Index ¶
- type LoggingClient
- func (c *LoggingClient) ForwardLogFile(ctx context.Context, forwardFunc func([]byte, error) error) error
- func (c *LoggingClient) GetLogFile(ctx context.Context, filename string) error
- func (c *LoggingClient) GetVerbosityLevel(ctx context.Context) (string, error)
- func (c *LoggingClient) SetVerbosityLevel(ctx context.Context, verbositylevel int32) error
- type Service
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) ForwardLogFile ¶
func (c *LoggingClient) ForwardLogFile(ctx context.Context, forwardFunc func([]byte, error) error) error
function not typically exposed and is used to forward files
func (*LoggingClient) GetLogFile ¶
func (c *LoggingClient) GetLogFile(ctx context.Context, filename string) error
gets a file from the corresponding node agent and writes it to filename
func (*LoggingClient) GetVerbosityLevel ¶ added in v0.10.31
func (c *LoggingClient) GetVerbosityLevel(ctx context.Context) (string, error)
func (*LoggingClient) SetVerbosityLevel ¶ added in v0.10.31
func (c *LoggingClient) SetVerbosityLevel(ctx context.Context, verbositylevel int32) error
Click to show internal directories.
Click to hide internal directories.