logging

package
v0.10.2-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2020 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

type Service

type Service interface {
	GetLogFile(context.Context, string, 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