updates

package
v1.72.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UpdateModes = struct {
	Automatic         UpdateMode
	AutomaticDuringMw UpdateMode
	Manual            UpdateMode
}{
	"AUTOMATIC",
	"AUTOMATIC_DURING_MW",
	"MANUAL",
}

Functions

This section is empty.

Types

type MaintenanceWindow

type MaintenanceWindow struct {
	MaintenanceWindow string `json:"maintenanceWindow"` // Select a [maintenance window for OneAgent updates](/ui/settings/builtin:deployment.management.update-windows)
}

func (*MaintenanceWindow) MarshalHCL

func (me *MaintenanceWindow) MarshalHCL(properties hcl.Properties) error

func (*MaintenanceWindow) Schema

func (me *MaintenanceWindow) Schema() map[string]*schema.Schema

func (*MaintenanceWindow) UnmarshalHCL

func (me *MaintenanceWindow) UnmarshalHCL(decoder hcl.Decoder) error

type MaintenanceWindows

type MaintenanceWindows []*MaintenanceWindow

func (MaintenanceWindows) MarshalHCL

func (me MaintenanceWindows) MarshalHCL(properties hcl.Properties) error

func (*MaintenanceWindows) Schema

func (me *MaintenanceWindows) Schema() map[string]*schema.Schema

func (*MaintenanceWindows) UnmarshalHCL

func (me *MaintenanceWindows) UnmarshalHCL(decoder hcl.Decoder) error

type Settings

type Settings struct {
	MaintenanceWindows MaintenanceWindows `json:"maintenanceWindows,omitempty"` // Maintenance windows
	Revision           *string            `json:"revision,omitempty"`           // Revision
	Scope              *string            `json:"-" scope:"scope"`              // The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
	TargetVersion      *string            `json:"targetVersion,omitempty"`      // Target version
	UpdateMode         UpdateMode         `json:"updateMode"`                   // Possible Values: `AUTOMATIC`, `AUTOMATIC_DURING_MW`, `MANUAL`
}

func (*Settings) HandlePreconditions

func (me *Settings) HandlePreconditions() error

func (*Settings) MarshalHCL

func (me *Settings) MarshalHCL(properties hcl.Properties) error

func (*Settings) Name

func (me *Settings) Name() string

func (*Settings) Schema

func (me *Settings) Schema() map[string]*schema.Schema

func (*Settings) UnmarshalHCL

func (me *Settings) UnmarshalHCL(decoder hcl.Decoder) error

type UpdateMode

type UpdateMode string

Jump to

Keyboard shortcuts

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