package logging

import "github.com/vmware/govmomi/vapi/appliance/logging"

Index

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.

Source Files

forwarding.go

Version
v0.48.1 (latest)
Published
Feb 11, 2025
Platform
linux/amd64
Imports
3 packages
Last checked
2 months ago

Tools for package owners.