logs

package
v0.0.0-...-5fefd90 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NotificationStage_Stage_name = map[int32]string{
		0: "STAGE_UNSPECIFIED",
		1: "SENT",
		2: "SEND_FAILURE",
		3: "DROPPED",
	}
	NotificationStage_Stage_value = map[string]int32{
		"STAGE_UNSPECIFIED": 0,
		"SENT":              1,
		"SEND_FAILURE":      2,
		"DROPPED":           3,
	}
)

Enum value maps for NotificationStage_Stage.

View Source
var (
	NotificationStage_Event_name = map[int32]string{
		0: "EVENT_UNSPECIFIED",
		1: "HEALTH_STATUS_CHANGE",
	}
	NotificationStage_Event_value = map[string]int32{
		"EVENT_UNSPECIFIED":    0,
		"HEALTH_STATUS_CHANGE": 1,
	}
)

Enum value maps for NotificationStage_Event.

View Source
var File_google_cloud_saasaccelerator_management_logs_v1_notification_service_payload_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_saasaccelerator_management_logs_v1_saas_instance_payload_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type InstanceEvent

type InstanceEvent struct {

	// The type of the event, e.g. Create, Update, etc.
	Verb string `protobuf:"bytes,1,opt,name=verb,proto3" json:"verb,omitempty"`
	// The state of the instance, e.g. "RETRYING_CREATE_INSTANCE".
	Stage string `protobuf:"bytes,2,opt,name=stage,proto3" json:"stage,omitempty"`
	// A human-readable log message, e.g. "error in stage: CREATING, err: location
	// not available".
	Msg string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"`
	// The ID to uniquely locate all logs associated with a given request.
	TraceId string `protobuf:"bytes,4,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"`
	// The instance node which is the subject of the operation, if known.
	// Currently unused as tf actuation does not manage nodes.
	NodeId string `protobuf:"bytes,5,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// contains filtered or unexported fields
}

func (*InstanceEvent) Descriptor deprecated

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

Deprecated: Use InstanceEvent.ProtoReflect.Descriptor instead.

func (*InstanceEvent) GetMsg

func (x *InstanceEvent) GetMsg() string

func (*InstanceEvent) GetNodeId

func (x *InstanceEvent) GetNodeId() string

func (*InstanceEvent) GetStage

func (x *InstanceEvent) GetStage() string

func (*InstanceEvent) GetTraceId

func (x *InstanceEvent) GetTraceId() string

func (*InstanceEvent) GetVerb

func (x *InstanceEvent) GetVerb() string

func (*InstanceEvent) ProtoMessage

func (*InstanceEvent) ProtoMessage()

func (*InstanceEvent) ProtoReflect

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

func (*InstanceEvent) Reset

func (x *InstanceEvent) Reset()

func (*InstanceEvent) String

func (x *InstanceEvent) String() string

type NotificationStage

type NotificationStage struct {

	// The type of the Notification Service event.
	Stage NotificationStage_Stage `` /* 141-byte string literal not displayed */
	// Time of the NotificationServiceEvent.
	EventTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"`
	// The id of the notification.
	NotificationId string `protobuf:"bytes,3,opt,name=notification_id,json=notificationId,proto3" json:"notification_id,omitempty"`
	// The event that triggered the notification.
	Event NotificationStage_Event `` /* 141-byte string literal not displayed */
	// Message to denote the error related to the event if applicable.
	Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

Payload proto for Notification logs.

func (*NotificationStage) Descriptor deprecated

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

Deprecated: Use NotificationStage.ProtoReflect.Descriptor instead.

func (*NotificationStage) GetEvent

func (*NotificationStage) GetEventTime

func (x *NotificationStage) GetEventTime() *timestamppb.Timestamp

func (*NotificationStage) GetMessage

func (x *NotificationStage) GetMessage() string

func (*NotificationStage) GetNotificationId

func (x *NotificationStage) GetNotificationId() string

func (*NotificationStage) GetStage

func (*NotificationStage) ProtoMessage

func (*NotificationStage) ProtoMessage()

func (*NotificationStage) ProtoReflect

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

func (*NotificationStage) Reset

func (x *NotificationStage) Reset()

func (*NotificationStage) String

func (x *NotificationStage) String() string

type NotificationStage_Event

type NotificationStage_Event int32

Event that triggered the notification.

const (
	// Default value.
	NotificationStage_EVENT_UNSPECIFIED NotificationStage_Event = 0
	// When a health status has been changed.
	NotificationStage_HEALTH_STATUS_CHANGE NotificationStage_Event = 1
)

func (NotificationStage_Event) Descriptor

func (NotificationStage_Event) Enum

func (NotificationStage_Event) EnumDescriptor deprecated

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

Deprecated: Use NotificationStage_Event.Descriptor instead.

func (NotificationStage_Event) Number

func (NotificationStage_Event) String

func (x NotificationStage_Event) String() string

func (NotificationStage_Event) Type

type NotificationStage_Stage

type NotificationStage_Stage int32

Types of Notification Status.

const (
	// Default.
	NotificationStage_STAGE_UNSPECIFIED NotificationStage_Stage = 0
	// Notification was sent.
	NotificationStage_SENT NotificationStage_Stage = 1
	// Notification failed to send.
	NotificationStage_SEND_FAILURE NotificationStage_Stage = 2
	// Notification was dropped.
	NotificationStage_DROPPED NotificationStage_Stage = 3
)

func (NotificationStage_Stage) Descriptor

func (NotificationStage_Stage) Enum

func (NotificationStage_Stage) EnumDescriptor deprecated

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

Deprecated: Use NotificationStage_Stage.Descriptor instead.

func (NotificationStage_Stage) Number

func (NotificationStage_Stage) String

func (x NotificationStage_Stage) String() string

func (NotificationStage_Stage) Type

Jump to

Keyboard shortcuts

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