status

package
v0.0.0-...-3bfe646 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpsCenterStatus

type OpsCenterStatus struct {
	// Hostname of the Ops Center
	Hostname string `json:"hostname"`
	// Enabled specifies whether the tunnel is on
	Enabled bool `json:"enabled"`
}

OpsCenterStatus specifies the status of an external Ops Center connection

type Status

type Status struct {
	// Updates describes the configured periodic updates
	Updates *ops.PeriodicUpdatesStatusResponse `json:"updates,omitempty"`
	// AccessStatus describes external Ops Centers tunnel status
	AccessStatus []OpsCenterStatus `json:"access_links,omitempty"`
	// TrustedClusterToken is used by remote clusters connecting to Ops Center
	TrustedClusterToken storage.Token `json:"trustedClusterToken,omitempty"`
}

Status is the extension to the open-source cluster status

func (*Status) Collect

func (s *Status) Collect(ctx context.Context) error

Collect gathers extended enterprise-specific cluster status information such as remote support and periodic updates information

func (*Status) WriteTo

func (s *Status) WriteTo(w io.Writer) (n int64, err error)

WriteTo writes the collected extended enterprise status into provided writer

Jump to

Keyboard shortcuts

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