wsus

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package wsus configures the local update client with the fastest server.

Index

Constants

View Source
const (
	// Default indicates that the search call should search the default server.
	// If the computer is not been set up to have a managed server (WSUS),
	// WUA uses the first update service which the IsRegisteredWithAU property is true.
	Default = iota
	// ManagedServer indicates to use the configured WSUS server.
	ManagedServer
	// WindowsUpdate indicates the Microsoft Windows Update service.
	WindowsUpdate
	// Others indicates some update service other than those listed previously.
	// if selected, ServiceID must be set to a registered ID.
	Others
)

Variables

This section is empty.

Functions

This section is empty.

Types

type WSUS

type WSUS struct {
	CurrentServer   string
	ServerSelection int
	Servers         []string
}

WSUS contains local managed server information.

Jump to

Keyboard shortcuts

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