Help us shape the future of Go! Take the 2026 Go Developer Survey

statusv3

package
v0.34.2 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ClusterStatus_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "STATE_DISABLED",
		2: "STATE_SETTLING",
		3: "STATE_READY",
	}
	ClusterStatus_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"STATE_DISABLED":    1,
		"STATE_SETTLING":    2,
		"STATE_READY":       3,
	}
)

Enum value maps for ClusterStatus_State.

View Source
var File_status_v3_status_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AlertmanagerConfig

type AlertmanagerConfig struct {

	// Original YAML configuration as a single string.
	Original string `protobuf:"bytes,1,opt,name=original,proto3" json:"original,omitempty"`
	// contains filtered or unexported fields
}

AlertmanagerConfig carries the currently loaded configuration.

func (*AlertmanagerConfig) Descriptor deprecated

func (*AlertmanagerConfig) Descriptor() ([]byte, []int)

Deprecated: Use AlertmanagerConfig.ProtoReflect.Descriptor instead.

func (*AlertmanagerConfig) GetOriginal

func (x *AlertmanagerConfig) GetOriginal() string

func (*AlertmanagerConfig) ProtoMessage

func (*AlertmanagerConfig) ProtoMessage()

func (*AlertmanagerConfig) ProtoReflect

func (x *AlertmanagerConfig) ProtoReflect() protoreflect.Message

func (*AlertmanagerConfig) Reset

func (x *AlertmanagerConfig) Reset()

func (*AlertmanagerConfig) String

func (x *AlertmanagerConfig) String() string

type AlertmanagerStatus

type AlertmanagerStatus struct {
	VersionInfo *VersionInfo           `protobuf:"bytes,1,opt,name=version_info,json=versionInfo,proto3" json:"version_info,omitempty"`
	Config      *AlertmanagerConfig    `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	Cluster     *ClusterStatus         `protobuf:"bytes,3,opt,name=cluster,proto3" json:"cluster,omitempty"`
	StartTime   *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// contains filtered or unexported fields
}

AlertmanagerStatus is the top-level status payload.

func (*AlertmanagerStatus) Descriptor deprecated

func (*AlertmanagerStatus) Descriptor() ([]byte, []int)

Deprecated: Use AlertmanagerStatus.ProtoReflect.Descriptor instead.

func (*AlertmanagerStatus) GetCluster

func (x *AlertmanagerStatus) GetCluster() *ClusterStatus

func (*AlertmanagerStatus) GetConfig

func (x *AlertmanagerStatus) GetConfig() *AlertmanagerConfig

func (*AlertmanagerStatus) GetStartTime

func (x *AlertmanagerStatus) GetStartTime() *timestamppb.Timestamp

func (*AlertmanagerStatus) GetVersionInfo

func (x *AlertmanagerStatus) GetVersionInfo() *VersionInfo

func (*AlertmanagerStatus) ProtoMessage

func (*AlertmanagerStatus) ProtoMessage()

func (*AlertmanagerStatus) ProtoReflect

func (x *AlertmanagerStatus) ProtoReflect() protoreflect.Message

func (*AlertmanagerStatus) Reset

func (x *AlertmanagerStatus) Reset()

func (*AlertmanagerStatus) String

func (x *AlertmanagerStatus) String() string

type ClusterStatus

type ClusterStatus struct {

	// Cluster name, when configured.
	Name  string              `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	State ClusterStatus_State `protobuf:"varint,2,opt,name=state,proto3,enum=status.v3.ClusterStatus_State" json:"state,omitempty"`
	Peers []*PeerStatus       `protobuf:"bytes,3,rep,name=peers,proto3" json:"peers,omitempty"`
	// contains filtered or unexported fields
}

ClusterStatus describes the local node's view of the gossip cluster.

func (*ClusterStatus) Descriptor deprecated

func (*ClusterStatus) Descriptor() ([]byte, []int)

Deprecated: Use ClusterStatus.ProtoReflect.Descriptor instead.

func (*ClusterStatus) GetName

func (x *ClusterStatus) GetName() string

func (*ClusterStatus) GetPeers

func (x *ClusterStatus) GetPeers() []*PeerStatus

func (*ClusterStatus) GetState

func (x *ClusterStatus) GetState() ClusterStatus_State

func (*ClusterStatus) ProtoMessage

func (*ClusterStatus) ProtoMessage()

func (*ClusterStatus) ProtoReflect

func (x *ClusterStatus) ProtoReflect() protoreflect.Message

func (*ClusterStatus) Reset

func (x *ClusterStatus) Reset()

func (*ClusterStatus) String

func (x *ClusterStatus) String() string

type ClusterStatus_State

type ClusterStatus_State int32
const (
	ClusterStatus_STATE_UNSPECIFIED ClusterStatus_State = 0
	ClusterStatus_STATE_DISABLED    ClusterStatus_State = 1
	ClusterStatus_STATE_SETTLING    ClusterStatus_State = 2
	ClusterStatus_STATE_READY       ClusterStatus_State = 3
)

func (ClusterStatus_State) Descriptor

func (ClusterStatus_State) Enum

func (ClusterStatus_State) EnumDescriptor deprecated

func (ClusterStatus_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use ClusterStatus_State.Descriptor instead.

func (ClusterStatus_State) Number

func (ClusterStatus_State) String

func (x ClusterStatus_State) String() string

func (ClusterStatus_State) Type

type GetStatusRequest

type GetStatusRequest struct {
	// contains filtered or unexported fields
}

func (*GetStatusRequest) Descriptor deprecated

func (*GetStatusRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetStatusRequest.ProtoReflect.Descriptor instead.

func (*GetStatusRequest) ProtoMessage

func (*GetStatusRequest) ProtoMessage()

func (*GetStatusRequest) ProtoReflect

func (x *GetStatusRequest) ProtoReflect() protoreflect.Message

func (*GetStatusRequest) Reset

func (x *GetStatusRequest) Reset()

func (*GetStatusRequest) String

func (x *GetStatusRequest) String() string

type GetStatusResponse

type GetStatusResponse struct {
	Status *AlertmanagerStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*GetStatusResponse) Descriptor deprecated

func (*GetStatusResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetStatusResponse.ProtoReflect.Descriptor instead.

func (*GetStatusResponse) GetStatus

func (x *GetStatusResponse) GetStatus() *AlertmanagerStatus

func (*GetStatusResponse) ProtoMessage

func (*GetStatusResponse) ProtoMessage()

func (*GetStatusResponse) ProtoReflect

func (x *GetStatusResponse) ProtoReflect() protoreflect.Message

func (*GetStatusResponse) Reset

func (x *GetStatusResponse) Reset()

func (*GetStatusResponse) String

func (x *GetStatusResponse) String() string

type PeerStatus

type PeerStatus struct {
	Name    string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

PeerStatus is a single peer in the gossip cluster.

func (*PeerStatus) Descriptor deprecated

func (*PeerStatus) Descriptor() ([]byte, []int)

Deprecated: Use PeerStatus.ProtoReflect.Descriptor instead.

func (*PeerStatus) GetAddress

func (x *PeerStatus) GetAddress() string

func (*PeerStatus) GetName

func (x *PeerStatus) GetName() string

func (*PeerStatus) ProtoMessage

func (*PeerStatus) ProtoMessage()

func (*PeerStatus) ProtoReflect

func (x *PeerStatus) ProtoReflect() protoreflect.Message

func (*PeerStatus) Reset

func (x *PeerStatus) Reset()

func (*PeerStatus) String

func (x *PeerStatus) String() string

type VersionInfo

type VersionInfo struct {
	Version   string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	Revision  string `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
	Branch    string `protobuf:"bytes,3,opt,name=branch,proto3" json:"branch,omitempty"`
	BuildUser string `protobuf:"bytes,4,opt,name=build_user,json=buildUser,proto3" json:"build_user,omitempty"`
	BuildDate string `protobuf:"bytes,5,opt,name=build_date,json=buildDate,proto3" json:"build_date,omitempty"`
	GoVersion string `protobuf:"bytes,6,opt,name=go_version,json=goVersion,proto3" json:"go_version,omitempty"`
	// contains filtered or unexported fields
}

VersionInfo describes the running Alertmanager binary.

func (*VersionInfo) Descriptor deprecated

func (*VersionInfo) Descriptor() ([]byte, []int)

Deprecated: Use VersionInfo.ProtoReflect.Descriptor instead.

func (*VersionInfo) GetBranch

func (x *VersionInfo) GetBranch() string

func (*VersionInfo) GetBuildDate

func (x *VersionInfo) GetBuildDate() string

func (*VersionInfo) GetBuildUser

func (x *VersionInfo) GetBuildUser() string

func (*VersionInfo) GetGoVersion

func (x *VersionInfo) GetGoVersion() string

func (*VersionInfo) GetRevision

func (x *VersionInfo) GetRevision() string

func (*VersionInfo) GetVersion

func (x *VersionInfo) GetVersion() string

func (*VersionInfo) ProtoMessage

func (*VersionInfo) ProtoMessage()

func (*VersionInfo) ProtoReflect

func (x *VersionInfo) ProtoReflect() protoreflect.Message

func (*VersionInfo) Reset

func (x *VersionInfo) Reset()

func (*VersionInfo) String

func (x *VersionInfo) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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