dominator

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 4 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClearSafetyShutoffRequest

type ClearSafetyShutoffRequest struct {
	Hostname string
}

type ClearSafetyShutoffResponse

type ClearSafetyShutoffResponse struct{}

type ConfigureSubsRequest

type ConfigureSubsRequest sub.Configuration

type ConfigureSubsResponse

type ConfigureSubsResponse struct{}

type DisableUpdatesRequest

type DisableUpdatesRequest struct {
	Reason string
}

type DisableUpdatesResponse

type DisableUpdatesResponse struct{}

type EnableUpdatesRequest

type EnableUpdatesRequest struct {
	Reason string
}

type EnableUpdatesResponse

type EnableUpdatesResponse struct{}

type ForceDisruptiveUpdateRequest added in v0.3.2

type ForceDisruptiveUpdateRequest struct {
	Hostname string
}

type ForceDisruptiveUpdateResponse added in v0.3.2

type ForceDisruptiveUpdateResponse struct{}

type GetDefaultImageRequest

type GetDefaultImageRequest struct{}

type GetDefaultImageResponse

type GetDefaultImageResponse struct {
	ImageName string
}

type GetInfoForSubsRequest added in v0.3.2

type GetInfoForSubsRequest struct {
	Hostnames        []string       // Empty: match all hostnames.
	LocationsToMatch []string       // Empty: match all locations.
	StatusesToMatch  []string       // Empty: match all statuses.
	TagsToMatch      tags.MatchTags // Empty: match all tags.
}

type GetInfoForSubsResponse added in v0.3.2

type GetInfoForSubsResponse struct {
	Error string
	Subs  []SubInfo
}

type GetSubsConfigurationRequest

type GetSubsConfigurationRequest struct{}

type GetSubsConfigurationResponse

type GetSubsConfigurationResponse sub.Configuration

type ListSubsRequest added in v0.3.2

type ListSubsRequest struct {
	Hostnames        []string            // Empty: match all hostnames.
	LocationsToMatch []string            // Empty: match all locations.
	StatusesToMatch  []string            // Empty: match all statuses.
	TagsToMatch      map[string][]string // Empty: match all tags.
}

type ListSubsResponse added in v0.3.2

type ListSubsResponse struct {
	Error     string
	Hostnames []string
}

type SetDefaultImageRequest

type SetDefaultImageRequest struct {
	ImageName string
}

type SetDefaultImageResponse

type SetDefaultImageResponse struct{}

type SubInfo added in v0.3.2

type SubInfo struct {
	mdb.Machine
	LastNote            string              `json:",omitempty"`
	LastDisruptionState sub.DisruptionState `json:",omitempty"`
	LastScanDuration    time.Duration       `json:",omitempty"`
	LastSuccessfulImage string              `json:",omitempty"`
	LastSyncTime        time.Time           `json:",omitempty"`
	LastUpdateTime      time.Time           `json:",omitempty"`
	StartTime           time.Time           `json:",omitempty"`
	Status              string
	SystemUptime        *time.Duration `json:",omitempty"`
}

Jump to

Keyboard shortcuts

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