logging

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Forwarding

type Forwarding struct {
	Hostname string `json:"hostname,omitempty"`
	Port     int    `json:"port,omitempty"`
	Protocol string `json:"protocol,omitempty"`
}

Forwarding represents configuration for log message forwarding.

type Manager

type Manager struct {
	*rest.Client
}

Manager provides convenience methods to configure appliance logging forwarding.

func NewManager

func NewManager(client *rest.Client) *Manager

NewManager creates a new Manager with the given client

func (*Manager) Forwarding

func (m *Manager) Forwarding(ctx context.Context) ([]Forwarding, error)

Forwarding returns all logging forwarding config.

Jump to

Keyboard shortcuts

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