One gRPC service per domain in state.v1 (tasks, executions, accounts, identities, packages, captures, bindings, access, orgs, alerts and so on), each with its own server type in staterpc. RPC and message names and numbers are unchanged.
1378 lines
44 KiB
Go
1378 lines
44 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc (unknown)
|
|
// source: state/v1/status.proto
|
|
|
|
package statev1
|
|
|
|
import (
|
|
v1 "github.com/samcharles93/archie-core/internal/contracts/logging/v1"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
// ConfigSnapshot carries the dashboard's configuration projection. document
|
|
// is opaque to the store: its shape belongs to the producer and the page that
|
|
// reads it, and schema names that shape so a reader can refuse one it does
|
|
// not understand. It is secret-free at the producer -- the projection carries
|
|
// an API key's environment variable name and whether it resolved, never a
|
|
// value.
|
|
type ConfigSnapshot struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Schema string `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"`
|
|
Document []byte `protobuf:"bytes,2,opt,name=document,proto3" json:"document,omitempty"`
|
|
PublishedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=published_at,json=publishedAt,proto3" json:"published_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ConfigSnapshot) Reset() {
|
|
*x = ConfigSnapshot{}
|
|
mi := &file_state_v1_status_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ConfigSnapshot) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ConfigSnapshot) ProtoMessage() {}
|
|
|
|
func (x *ConfigSnapshot) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_status_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ConfigSnapshot.ProtoReflect.Descriptor instead.
|
|
func (*ConfigSnapshot) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_status_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *ConfigSnapshot) GetSchema() string {
|
|
if x != nil {
|
|
return x.Schema
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ConfigSnapshot) GetDocument() []byte {
|
|
if x != nil {
|
|
return x.Document
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ConfigSnapshot) GetPublishedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.PublishedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PutConfigSnapshotRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Snapshot *ConfigSnapshot `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PutConfigSnapshotRequest) Reset() {
|
|
*x = PutConfigSnapshotRequest{}
|
|
mi := &file_state_v1_status_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PutConfigSnapshotRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PutConfigSnapshotRequest) ProtoMessage() {}
|
|
|
|
func (x *PutConfigSnapshotRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_status_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PutConfigSnapshotRequest.ProtoReflect.Descriptor instead.
|
|
func (*PutConfigSnapshotRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_status_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *PutConfigSnapshotRequest) GetSnapshot() *ConfigSnapshot {
|
|
if x != nil {
|
|
return x.Snapshot
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PutConfigSnapshotResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PutConfigSnapshotResponse) Reset() {
|
|
*x = PutConfigSnapshotResponse{}
|
|
mi := &file_state_v1_status_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PutConfigSnapshotResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PutConfigSnapshotResponse) ProtoMessage() {}
|
|
|
|
func (x *PutConfigSnapshotResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_status_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PutConfigSnapshotResponse.ProtoReflect.Descriptor instead.
|
|
func (*PutConfigSnapshotResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_status_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
type GetConfigSnapshotRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetConfigSnapshotRequest) Reset() {
|
|
*x = GetConfigSnapshotRequest{}
|
|
mi := &file_state_v1_status_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetConfigSnapshotRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetConfigSnapshotRequest) ProtoMessage() {}
|
|
|
|
func (x *GetConfigSnapshotRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_status_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetConfigSnapshotRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetConfigSnapshotRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_status_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
type GetConfigSnapshotResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Snapshot *ConfigSnapshot `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
|
|
Found bool `protobuf:"varint,2,opt,name=found,proto3" json:"found,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetConfigSnapshotResponse) Reset() {
|
|
*x = GetConfigSnapshotResponse{}
|
|
mi := &file_state_v1_status_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetConfigSnapshotResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetConfigSnapshotResponse) ProtoMessage() {}
|
|
|
|
func (x *GetConfigSnapshotResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_status_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetConfigSnapshotResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetConfigSnapshotResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_status_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *GetConfigSnapshotResponse) GetSnapshot() *ConfigSnapshot {
|
|
if x != nil {
|
|
return x.Snapshot
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetConfigSnapshotResponse) GetFound() bool {
|
|
if x != nil {
|
|
return x.Found
|
|
}
|
|
return false
|
|
}
|
|
|
|
// ChannelStatus is one channel's runtime state, as the process hosting it
|
|
// observes it. ReloadSupported is a capability declaration, not a request: the
|
|
// service reports it, so a reader may offer a reload action -- but asking for one
|
|
// travels on its own surface, because a transient request and a durable state do
|
|
// not share a lifetime.
|
|
type ChannelStatus struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"`
|
|
Detail string `protobuf:"bytes,4,opt,name=detail,proto3" json:"detail,omitempty"`
|
|
Configured bool `protobuf:"varint,5,opt,name=configured,proto3" json:"configured,omitempty"`
|
|
ReloadSupported bool `protobuf:"varint,6,opt,name=reload_supported,json=reloadSupported,proto3" json:"reload_supported,omitempty"`
|
|
ObservedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=observed_at,json=observedAt,proto3" json:"observed_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ChannelStatus) Reset() {
|
|
*x = ChannelStatus{}
|
|
mi := &file_state_v1_status_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ChannelStatus) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChannelStatus) ProtoMessage() {}
|
|
|
|
func (x *ChannelStatus) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_status_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ChannelStatus.ProtoReflect.Descriptor instead.
|
|
func (*ChannelStatus) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_status_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *ChannelStatus) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ChannelStatus) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ChannelStatus) GetState() string {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ChannelStatus) GetDetail() string {
|
|
if x != nil {
|
|
return x.Detail
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ChannelStatus) GetConfigured() bool {
|
|
if x != nil {
|
|
return x.Configured
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ChannelStatus) GetReloadSupported() bool {
|
|
if x != nil {
|
|
return x.ReloadSupported
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ChannelStatus) GetObservedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.ObservedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PutChannelStatusRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Channels []*ChannelStatus `protobuf:"bytes,1,rep,name=channels,proto3" json:"channels,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PutChannelStatusRequest) Reset() {
|
|
*x = PutChannelStatusRequest{}
|
|
mi := &file_state_v1_status_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PutChannelStatusRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PutChannelStatusRequest) ProtoMessage() {}
|
|
|
|
func (x *PutChannelStatusRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_status_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PutChannelStatusRequest.ProtoReflect.Descriptor instead.
|
|
func (*PutChannelStatusRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_status_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *PutChannelStatusRequest) GetChannels() []*ChannelStatus {
|
|
if x != nil {
|
|
return x.Channels
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PutChannelStatusResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PutChannelStatusResponse) Reset() {
|
|
*x = PutChannelStatusResponse{}
|
|
mi := &file_state_v1_status_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PutChannelStatusResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PutChannelStatusResponse) ProtoMessage() {}
|
|
|
|
func (x *PutChannelStatusResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_status_proto_msgTypes[7]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PutChannelStatusResponse.ProtoReflect.Descriptor instead.
|
|
func (*PutChannelStatusResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_status_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
type ListChannelStatusRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListChannelStatusRequest) Reset() {
|
|
*x = ListChannelStatusRequest{}
|
|
mi := &file_state_v1_status_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListChannelStatusRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListChannelStatusRequest) ProtoMessage() {}
|
|
|
|
func (x *ListChannelStatusRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_status_proto_msgTypes[8]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListChannelStatusRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListChannelStatusRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_status_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
type ListChannelStatusResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Channels []*ChannelStatus `protobuf:"bytes,1,rep,name=channels,proto3" json:"channels,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListChannelStatusResponse) Reset() {
|
|
*x = ListChannelStatusResponse{}
|
|
mi := &file_state_v1_status_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListChannelStatusResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListChannelStatusResponse) ProtoMessage() {}
|
|
|
|
func (x *ListChannelStatusResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_status_proto_msgTypes[9]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListChannelStatusResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListChannelStatusResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_status_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *ListChannelStatusResponse) GetChannels() []*ChannelStatus {
|
|
if x != nil {
|
|
return x.Channels
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// ApplyStatus is one process's report about one control-plane resource kind.
|
|
// applied_version is the version that process is running; error is set when it
|
|
// could not apply what the store returned, and leaves applied_version at the
|
|
// last version it did apply. reported_at is re-stamped on an interval, so a
|
|
// record older than the staleness window belongs to a process that has stopped
|
|
// running (docs/prds/control-plane-apply-status.md).
|
|
type ApplyStatus struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Process string `protobuf:"bytes,1,opt,name=process,proto3" json:"process,omitempty"`
|
|
Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
|
|
AppliedVersion int64 `protobuf:"varint,3,opt,name=applied_version,json=appliedVersion,proto3" json:"applied_version,omitempty"`
|
|
Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
|
|
ReportedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=reported_at,json=reportedAt,proto3" json:"reported_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ApplyStatus) Reset() {
|
|
*x = ApplyStatus{}
|
|
mi := &file_state_v1_status_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ApplyStatus) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ApplyStatus) ProtoMessage() {}
|
|
|
|
func (x *ApplyStatus) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_status_proto_msgTypes[10]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ApplyStatus.ProtoReflect.Descriptor instead.
|
|
func (*ApplyStatus) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_status_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *ApplyStatus) GetProcess() string {
|
|
if x != nil {
|
|
return x.Process
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ApplyStatus) GetKind() string {
|
|
if x != nil {
|
|
return x.Kind
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ApplyStatus) GetAppliedVersion() int64 {
|
|
if x != nil {
|
|
return x.AppliedVersion
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ApplyStatus) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ApplyStatus) GetReportedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.ReportedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PutApplyStatusRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Status *ApplyStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PutApplyStatusRequest) Reset() {
|
|
*x = PutApplyStatusRequest{}
|
|
mi := &file_state_v1_status_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PutApplyStatusRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PutApplyStatusRequest) ProtoMessage() {}
|
|
|
|
func (x *PutApplyStatusRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_status_proto_msgTypes[11]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PutApplyStatusRequest.ProtoReflect.Descriptor instead.
|
|
func (*PutApplyStatusRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_status_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *PutApplyStatusRequest) GetStatus() *ApplyStatus {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PutApplyStatusResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PutApplyStatusResponse) Reset() {
|
|
*x = PutApplyStatusResponse{}
|
|
mi := &file_state_v1_status_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PutApplyStatusResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PutApplyStatusResponse) ProtoMessage() {}
|
|
|
|
func (x *PutApplyStatusResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_status_proto_msgTypes[12]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PutApplyStatusResponse.ProtoReflect.Descriptor instead.
|
|
func (*PutApplyStatusResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_status_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
type ListApplyStatusRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListApplyStatusRequest) Reset() {
|
|
*x = ListApplyStatusRequest{}
|
|
mi := &file_state_v1_status_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListApplyStatusRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListApplyStatusRequest) ProtoMessage() {}
|
|
|
|
func (x *ListApplyStatusRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_status_proto_msgTypes[13]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListApplyStatusRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListApplyStatusRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_status_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
type ListApplyStatusResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Statuses []*ApplyStatus `protobuf:"bytes,1,rep,name=statuses,proto3" json:"statuses,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListApplyStatusResponse) Reset() {
|
|
*x = ListApplyStatusResponse{}
|
|
mi := &file_state_v1_status_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListApplyStatusResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListApplyStatusResponse) ProtoMessage() {}
|
|
|
|
func (x *ListApplyStatusResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_status_proto_msgTypes[14]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListApplyStatusResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListApplyStatusResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_status_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *ListApplyStatusResponse) GetStatuses() []*ApplyStatus {
|
|
if x != nil {
|
|
return x.Statuses
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Presence is one running service instance. ready and detail summarise its
|
|
// readiness probes; detail names the degraded ones.
|
|
type DependencyCheck struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
|
|
Ready bool `protobuf:"varint,3,opt,name=ready,proto3" json:"ready,omitempty"`
|
|
Detail string `protobuf:"bytes,4,opt,name=detail,proto3" json:"detail,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DependencyCheck) Reset() {
|
|
*x = DependencyCheck{}
|
|
mi := &file_state_v1_status_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DependencyCheck) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DependencyCheck) ProtoMessage() {}
|
|
|
|
func (x *DependencyCheck) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_status_proto_msgTypes[15]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DependencyCheck.ProtoReflect.Descriptor instead.
|
|
func (*DependencyCheck) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_status_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *DependencyCheck) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DependencyCheck) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DependencyCheck) GetReady() bool {
|
|
if x != nil {
|
|
return x.Ready
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *DependencyCheck) GetDetail() string {
|
|
if x != nil {
|
|
return x.Detail
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Presence struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
|
|
InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
|
|
Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
|
|
InstallType string `protobuf:"bytes,4,opt,name=install_type,json=installType,proto3" json:"install_type,omitempty"`
|
|
StartedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
|
|
ReportedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=reported_at,json=reportedAt,proto3" json:"reported_at,omitempty"`
|
|
Ready bool `protobuf:"varint,7,opt,name=ready,proto3" json:"ready,omitempty"`
|
|
Detail string `protobuf:"bytes,8,opt,name=detail,proto3" json:"detail,omitempty"`
|
|
Checks []*DependencyCheck `protobuf:"bytes,9,rep,name=checks,proto3" json:"checks,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Presence) Reset() {
|
|
*x = Presence{}
|
|
mi := &file_state_v1_status_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Presence) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Presence) ProtoMessage() {}
|
|
|
|
func (x *Presence) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_status_proto_msgTypes[16]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Presence.ProtoReflect.Descriptor instead.
|
|
func (*Presence) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_status_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *Presence) GetService() string {
|
|
if x != nil {
|
|
return x.Service
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Presence) GetInstanceId() string {
|
|
if x != nil {
|
|
return x.InstanceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Presence) GetVersion() string {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Presence) GetInstallType() string {
|
|
if x != nil {
|
|
return x.InstallType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Presence) GetStartedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.StartedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Presence) GetReportedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.ReportedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Presence) GetReady() bool {
|
|
if x != nil {
|
|
return x.Ready
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Presence) GetDetail() string {
|
|
if x != nil {
|
|
return x.Detail
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Presence) GetChecks() []*DependencyCheck {
|
|
if x != nil {
|
|
return x.Checks
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PutPresenceRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Presence *Presence `protobuf:"bytes,1,opt,name=presence,proto3" json:"presence,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PutPresenceRequest) Reset() {
|
|
*x = PutPresenceRequest{}
|
|
mi := &file_state_v1_status_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PutPresenceRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PutPresenceRequest) ProtoMessage() {}
|
|
|
|
func (x *PutPresenceRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_status_proto_msgTypes[17]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PutPresenceRequest.ProtoReflect.Descriptor instead.
|
|
func (*PutPresenceRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_status_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *PutPresenceRequest) GetPresence() *Presence {
|
|
if x != nil {
|
|
return x.Presence
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PutPresenceResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PutPresenceResponse) Reset() {
|
|
*x = PutPresenceResponse{}
|
|
mi := &file_state_v1_status_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PutPresenceResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PutPresenceResponse) ProtoMessage() {}
|
|
|
|
func (x *PutPresenceResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_status_proto_msgTypes[18]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PutPresenceResponse.ProtoReflect.Descriptor instead.
|
|
func (*PutPresenceResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_status_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
type ListPresenceRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListPresenceRequest) Reset() {
|
|
*x = ListPresenceRequest{}
|
|
mi := &file_state_v1_status_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListPresenceRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListPresenceRequest) ProtoMessage() {}
|
|
|
|
func (x *ListPresenceRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_status_proto_msgTypes[19]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListPresenceRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListPresenceRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_status_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
type ListPresenceResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Presences []*Presence `protobuf:"bytes,1,rep,name=presences,proto3" json:"presences,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListPresenceResponse) Reset() {
|
|
*x = ListPresenceResponse{}
|
|
mi := &file_state_v1_status_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListPresenceResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListPresenceResponse) ProtoMessage() {}
|
|
|
|
func (x *ListPresenceResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_status_proto_msgTypes[20]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListPresenceResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListPresenceResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_status_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
func (x *ListPresenceResponse) GetPresences() []*Presence {
|
|
if x != nil {
|
|
return x.Presences
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RecentLogsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Query *v1.LogQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RecentLogsRequest) Reset() {
|
|
*x = RecentLogsRequest{}
|
|
mi := &file_state_v1_status_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RecentLogsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RecentLogsRequest) ProtoMessage() {}
|
|
|
|
func (x *RecentLogsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_status_proto_msgTypes[21]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RecentLogsRequest.ProtoReflect.Descriptor instead.
|
|
func (*RecentLogsRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_status_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
func (x *RecentLogsRequest) GetQuery() *v1.LogQuery {
|
|
if x != nil {
|
|
return x.Query
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RecentLogsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Snapshot *v1.LogSnapshot `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RecentLogsResponse) Reset() {
|
|
*x = RecentLogsResponse{}
|
|
mi := &file_state_v1_status_proto_msgTypes[22]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RecentLogsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RecentLogsResponse) ProtoMessage() {}
|
|
|
|
func (x *RecentLogsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_status_proto_msgTypes[22]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RecentLogsResponse.ProtoReflect.Descriptor instead.
|
|
func (*RecentLogsResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_status_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
func (x *RecentLogsResponse) GetSnapshot() *v1.LogSnapshot {
|
|
if x != nil {
|
|
return x.Snapshot
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_state_v1_status_proto protoreflect.FileDescriptor
|
|
|
|
const file_state_v1_status_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x15state/v1/status.proto\x12\bstate.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x18logging/v1/logging.proto\"\x83\x01\n" +
|
|
"\x0eConfigSnapshot\x12\x16\n" +
|
|
"\x06schema\x18\x01 \x01(\tR\x06schema\x12\x1a\n" +
|
|
"\bdocument\x18\x02 \x01(\fR\bdocument\x12=\n" +
|
|
"\fpublished_at\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\vpublishedAt\"P\n" +
|
|
"\x18PutConfigSnapshotRequest\x124\n" +
|
|
"\bsnapshot\x18\x01 \x01(\v2\x18.state.v1.ConfigSnapshotR\bsnapshot\"\x1b\n" +
|
|
"\x19PutConfigSnapshotResponse\"\x1a\n" +
|
|
"\x18GetConfigSnapshotRequest\"g\n" +
|
|
"\x19GetConfigSnapshotResponse\x124\n" +
|
|
"\bsnapshot\x18\x01 \x01(\v2\x18.state.v1.ConfigSnapshotR\bsnapshot\x12\x14\n" +
|
|
"\x05found\x18\x02 \x01(\bR\x05found\"\xe9\x01\n" +
|
|
"\rChannelStatus\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" +
|
|
"\x05state\x18\x03 \x01(\tR\x05state\x12\x16\n" +
|
|
"\x06detail\x18\x04 \x01(\tR\x06detail\x12\x1e\n" +
|
|
"\n" +
|
|
"configured\x18\x05 \x01(\bR\n" +
|
|
"configured\x12)\n" +
|
|
"\x10reload_supported\x18\x06 \x01(\bR\x0freloadSupported\x12;\n" +
|
|
"\vobserved_at\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\n" +
|
|
"observedAt\"N\n" +
|
|
"\x17PutChannelStatusRequest\x123\n" +
|
|
"\bchannels\x18\x01 \x03(\v2\x17.state.v1.ChannelStatusR\bchannels\"\x1a\n" +
|
|
"\x18PutChannelStatusResponse\"\x1a\n" +
|
|
"\x18ListChannelStatusRequest\"P\n" +
|
|
"\x19ListChannelStatusResponse\x123\n" +
|
|
"\bchannels\x18\x01 \x03(\v2\x17.state.v1.ChannelStatusR\bchannels\"\xb7\x01\n" +
|
|
"\vApplyStatus\x12\x18\n" +
|
|
"\aprocess\x18\x01 \x01(\tR\aprocess\x12\x12\n" +
|
|
"\x04kind\x18\x02 \x01(\tR\x04kind\x12'\n" +
|
|
"\x0fapplied_version\x18\x03 \x01(\x03R\x0eappliedVersion\x12\x14\n" +
|
|
"\x05error\x18\x04 \x01(\tR\x05error\x12;\n" +
|
|
"\vreported_at\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\n" +
|
|
"reportedAt\"F\n" +
|
|
"\x15PutApplyStatusRequest\x12-\n" +
|
|
"\x06status\x18\x01 \x01(\v2\x15.state.v1.ApplyStatusR\x06status\"\x18\n" +
|
|
"\x16PutApplyStatusResponse\"\x18\n" +
|
|
"\x16ListApplyStatusRequest\"L\n" +
|
|
"\x17ListApplyStatusResponse\x121\n" +
|
|
"\bstatuses\x18\x01 \x03(\v2\x15.state.v1.ApplyStatusR\bstatuses\"k\n" +
|
|
"\x0fDependencyCheck\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12\x16\n" +
|
|
"\x06status\x18\x02 \x01(\tR\x06status\x12\x14\n" +
|
|
"\x05ready\x18\x03 \x01(\bR\x05ready\x12\x16\n" +
|
|
"\x06detail\x18\x04 \x01(\tR\x06detail\"\xdb\x02\n" +
|
|
"\bPresence\x12\x18\n" +
|
|
"\aservice\x18\x01 \x01(\tR\aservice\x12\x1f\n" +
|
|
"\vinstance_id\x18\x02 \x01(\tR\n" +
|
|
"instanceId\x12\x18\n" +
|
|
"\aversion\x18\x03 \x01(\tR\aversion\x12!\n" +
|
|
"\finstall_type\x18\x04 \x01(\tR\vinstallType\x129\n" +
|
|
"\n" +
|
|
"started_at\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\tstartedAt\x12;\n" +
|
|
"\vreported_at\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\n" +
|
|
"reportedAt\x12\x14\n" +
|
|
"\x05ready\x18\a \x01(\bR\x05ready\x12\x16\n" +
|
|
"\x06detail\x18\b \x01(\tR\x06detail\x121\n" +
|
|
"\x06checks\x18\t \x03(\v2\x19.state.v1.DependencyCheckR\x06checks\"D\n" +
|
|
"\x12PutPresenceRequest\x12.\n" +
|
|
"\bpresence\x18\x01 \x01(\v2\x12.state.v1.PresenceR\bpresence\"\x15\n" +
|
|
"\x13PutPresenceResponse\"\x15\n" +
|
|
"\x13ListPresenceRequest\"H\n" +
|
|
"\x14ListPresenceResponse\x120\n" +
|
|
"\tpresences\x18\x01 \x03(\v2\x12.state.v1.PresenceR\tpresences\"?\n" +
|
|
"\x11RecentLogsRequest\x12*\n" +
|
|
"\x05query\x18\x01 \x01(\v2\x14.logging.v1.LogQueryR\x05query\"I\n" +
|
|
"\x12RecentLogsResponse\x123\n" +
|
|
"\bsnapshot\x18\x01 \x01(\v2\x17.logging.v1.LogSnapshotR\bsnapshot2\x95\x06\n" +
|
|
"\rStatusService\x12G\n" +
|
|
"\n" +
|
|
"RecentLogs\x12\x1b.state.v1.RecentLogsRequest\x1a\x1c.state.v1.RecentLogsResponse\x12\\\n" +
|
|
"\x11PutConfigSnapshot\x12\".state.v1.PutConfigSnapshotRequest\x1a#.state.v1.PutConfigSnapshotResponse\x12\\\n" +
|
|
"\x11GetConfigSnapshot\x12\".state.v1.GetConfigSnapshotRequest\x1a#.state.v1.GetConfigSnapshotResponse\x12Y\n" +
|
|
"\x10PutChannelStatus\x12!.state.v1.PutChannelStatusRequest\x1a\".state.v1.PutChannelStatusResponse\x12\\\n" +
|
|
"\x11ListChannelStatus\x12\".state.v1.ListChannelStatusRequest\x1a#.state.v1.ListChannelStatusResponse\x12S\n" +
|
|
"\x0ePutApplyStatus\x12\x1f.state.v1.PutApplyStatusRequest\x1a .state.v1.PutApplyStatusResponse\x12V\n" +
|
|
"\x0fListApplyStatus\x12 .state.v1.ListApplyStatusRequest\x1a!.state.v1.ListApplyStatusResponse\x12J\n" +
|
|
"\vPutPresence\x12\x1c.state.v1.PutPresenceRequest\x1a\x1d.state.v1.PutPresenceResponse\x12M\n" +
|
|
"\fListPresence\x12\x1d.state.v1.ListPresenceRequest\x1a\x1e.state.v1.ListPresenceResponseB\xa5\x01\n" +
|
|
"\fcom.state.v1B\vStatusProtoP\x01ZGgithub.com/samcharles93/archie-core/internal/contracts/state/v1;statev1\xa2\x02\x03SXX\xaa\x02\bState.V1\xca\x02\bState\\V1\xe2\x02\x14State\\V1\\GPBMetadata\xea\x02\tState::V1b\x06proto3"
|
|
|
|
var (
|
|
file_state_v1_status_proto_rawDescOnce sync.Once
|
|
file_state_v1_status_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_state_v1_status_proto_rawDescGZIP() []byte {
|
|
file_state_v1_status_proto_rawDescOnce.Do(func() {
|
|
file_state_v1_status_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_state_v1_status_proto_rawDesc), len(file_state_v1_status_proto_rawDesc)))
|
|
})
|
|
return file_state_v1_status_proto_rawDescData
|
|
}
|
|
|
|
var file_state_v1_status_proto_msgTypes = make([]protoimpl.MessageInfo, 23)
|
|
var file_state_v1_status_proto_goTypes = []any{
|
|
(*ConfigSnapshot)(nil), // 0: state.v1.ConfigSnapshot
|
|
(*PutConfigSnapshotRequest)(nil), // 1: state.v1.PutConfigSnapshotRequest
|
|
(*PutConfigSnapshotResponse)(nil), // 2: state.v1.PutConfigSnapshotResponse
|
|
(*GetConfigSnapshotRequest)(nil), // 3: state.v1.GetConfigSnapshotRequest
|
|
(*GetConfigSnapshotResponse)(nil), // 4: state.v1.GetConfigSnapshotResponse
|
|
(*ChannelStatus)(nil), // 5: state.v1.ChannelStatus
|
|
(*PutChannelStatusRequest)(nil), // 6: state.v1.PutChannelStatusRequest
|
|
(*PutChannelStatusResponse)(nil), // 7: state.v1.PutChannelStatusResponse
|
|
(*ListChannelStatusRequest)(nil), // 8: state.v1.ListChannelStatusRequest
|
|
(*ListChannelStatusResponse)(nil), // 9: state.v1.ListChannelStatusResponse
|
|
(*ApplyStatus)(nil), // 10: state.v1.ApplyStatus
|
|
(*PutApplyStatusRequest)(nil), // 11: state.v1.PutApplyStatusRequest
|
|
(*PutApplyStatusResponse)(nil), // 12: state.v1.PutApplyStatusResponse
|
|
(*ListApplyStatusRequest)(nil), // 13: state.v1.ListApplyStatusRequest
|
|
(*ListApplyStatusResponse)(nil), // 14: state.v1.ListApplyStatusResponse
|
|
(*DependencyCheck)(nil), // 15: state.v1.DependencyCheck
|
|
(*Presence)(nil), // 16: state.v1.Presence
|
|
(*PutPresenceRequest)(nil), // 17: state.v1.PutPresenceRequest
|
|
(*PutPresenceResponse)(nil), // 18: state.v1.PutPresenceResponse
|
|
(*ListPresenceRequest)(nil), // 19: state.v1.ListPresenceRequest
|
|
(*ListPresenceResponse)(nil), // 20: state.v1.ListPresenceResponse
|
|
(*RecentLogsRequest)(nil), // 21: state.v1.RecentLogsRequest
|
|
(*RecentLogsResponse)(nil), // 22: state.v1.RecentLogsResponse
|
|
(*timestamppb.Timestamp)(nil), // 23: google.protobuf.Timestamp
|
|
(*v1.LogQuery)(nil), // 24: logging.v1.LogQuery
|
|
(*v1.LogSnapshot)(nil), // 25: logging.v1.LogSnapshot
|
|
}
|
|
var file_state_v1_status_proto_depIdxs = []int32{
|
|
23, // 0: state.v1.ConfigSnapshot.published_at:type_name -> google.protobuf.Timestamp
|
|
0, // 1: state.v1.PutConfigSnapshotRequest.snapshot:type_name -> state.v1.ConfigSnapshot
|
|
0, // 2: state.v1.GetConfigSnapshotResponse.snapshot:type_name -> state.v1.ConfigSnapshot
|
|
23, // 3: state.v1.ChannelStatus.observed_at:type_name -> google.protobuf.Timestamp
|
|
5, // 4: state.v1.PutChannelStatusRequest.channels:type_name -> state.v1.ChannelStatus
|
|
5, // 5: state.v1.ListChannelStatusResponse.channels:type_name -> state.v1.ChannelStatus
|
|
23, // 6: state.v1.ApplyStatus.reported_at:type_name -> google.protobuf.Timestamp
|
|
10, // 7: state.v1.PutApplyStatusRequest.status:type_name -> state.v1.ApplyStatus
|
|
10, // 8: state.v1.ListApplyStatusResponse.statuses:type_name -> state.v1.ApplyStatus
|
|
23, // 9: state.v1.Presence.started_at:type_name -> google.protobuf.Timestamp
|
|
23, // 10: state.v1.Presence.reported_at:type_name -> google.protobuf.Timestamp
|
|
15, // 11: state.v1.Presence.checks:type_name -> state.v1.DependencyCheck
|
|
16, // 12: state.v1.PutPresenceRequest.presence:type_name -> state.v1.Presence
|
|
16, // 13: state.v1.ListPresenceResponse.presences:type_name -> state.v1.Presence
|
|
24, // 14: state.v1.RecentLogsRequest.query:type_name -> logging.v1.LogQuery
|
|
25, // 15: state.v1.RecentLogsResponse.snapshot:type_name -> logging.v1.LogSnapshot
|
|
21, // 16: state.v1.StatusService.RecentLogs:input_type -> state.v1.RecentLogsRequest
|
|
1, // 17: state.v1.StatusService.PutConfigSnapshot:input_type -> state.v1.PutConfigSnapshotRequest
|
|
3, // 18: state.v1.StatusService.GetConfigSnapshot:input_type -> state.v1.GetConfigSnapshotRequest
|
|
6, // 19: state.v1.StatusService.PutChannelStatus:input_type -> state.v1.PutChannelStatusRequest
|
|
8, // 20: state.v1.StatusService.ListChannelStatus:input_type -> state.v1.ListChannelStatusRequest
|
|
11, // 21: state.v1.StatusService.PutApplyStatus:input_type -> state.v1.PutApplyStatusRequest
|
|
13, // 22: state.v1.StatusService.ListApplyStatus:input_type -> state.v1.ListApplyStatusRequest
|
|
17, // 23: state.v1.StatusService.PutPresence:input_type -> state.v1.PutPresenceRequest
|
|
19, // 24: state.v1.StatusService.ListPresence:input_type -> state.v1.ListPresenceRequest
|
|
22, // 25: state.v1.StatusService.RecentLogs:output_type -> state.v1.RecentLogsResponse
|
|
2, // 26: state.v1.StatusService.PutConfigSnapshot:output_type -> state.v1.PutConfigSnapshotResponse
|
|
4, // 27: state.v1.StatusService.GetConfigSnapshot:output_type -> state.v1.GetConfigSnapshotResponse
|
|
7, // 28: state.v1.StatusService.PutChannelStatus:output_type -> state.v1.PutChannelStatusResponse
|
|
9, // 29: state.v1.StatusService.ListChannelStatus:output_type -> state.v1.ListChannelStatusResponse
|
|
12, // 30: state.v1.StatusService.PutApplyStatus:output_type -> state.v1.PutApplyStatusResponse
|
|
14, // 31: state.v1.StatusService.ListApplyStatus:output_type -> state.v1.ListApplyStatusResponse
|
|
18, // 32: state.v1.StatusService.PutPresence:output_type -> state.v1.PutPresenceResponse
|
|
20, // 33: state.v1.StatusService.ListPresence:output_type -> state.v1.ListPresenceResponse
|
|
25, // [25:34] is the sub-list for method output_type
|
|
16, // [16:25] is the sub-list for method input_type
|
|
16, // [16:16] is the sub-list for extension type_name
|
|
16, // [16:16] is the sub-list for extension extendee
|
|
0, // [0:16] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_state_v1_status_proto_init() }
|
|
func file_state_v1_status_proto_init() {
|
|
if File_state_v1_status_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_state_v1_status_proto_rawDesc), len(file_state_v1_status_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 23,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_state_v1_status_proto_goTypes,
|
|
DependencyIndexes: file_state_v1_status_proto_depIdxs,
|
|
MessageInfos: file_state_v1_status_proto_msgTypes,
|
|
}.Build()
|
|
File_state_v1_status_proto = out.File
|
|
file_state_v1_status_proto_goTypes = nil
|
|
file_state_v1_status_proto_depIdxs = nil
|
|
}
|