...

Package logs

import "google.golang.org/genproto/googleapis/cloud/saasaccelerator/management/logs/v1"
Overview
Index

Overview ▾

Index ▾

Variables
type InstanceEvent
    func (*InstanceEvent) Descriptor() ([]byte, []int)
    func (x *InstanceEvent) GetMsg() string
    func (x *InstanceEvent) GetNodeId() string
    func (x *InstanceEvent) GetStage() string
    func (x *InstanceEvent) GetTraceId() string
    func (x *InstanceEvent) GetVerb() string
    func (*InstanceEvent) ProtoMessage()
    func (x *InstanceEvent) ProtoReflect() protoreflect.Message
    func (x *InstanceEvent) Reset()
    func (x *InstanceEvent) String() string
type NotificationStage
    func (*NotificationStage) Descriptor() ([]byte, []int)
    func (x *NotificationStage) GetEvent() NotificationStage_Event
    func (x *NotificationStage) GetEventTime() *timestamppb.Timestamp
    func (x *NotificationStage) GetMessage() string
    func (x *NotificationStage) GetNotificationId() string
    func (x *NotificationStage) GetStage() NotificationStage_Stage
    func (*NotificationStage) ProtoMessage()
    func (x *NotificationStage) ProtoReflect() protoreflect.Message
    func (x *NotificationStage) Reset()
    func (x *NotificationStage) String() string
type NotificationStage_Event
    func (NotificationStage_Event) Descriptor() protoreflect.EnumDescriptor
    func (x NotificationStage_Event) Enum() *NotificationStage_Event
    func (NotificationStage_Event) EnumDescriptor() ([]byte, []int)
    func (x NotificationStage_Event) Number() protoreflect.EnumNumber
    func (x NotificationStage_Event) String() string
    func (NotificationStage_Event) Type() protoreflect.EnumType
type NotificationStage_Stage
    func (NotificationStage_Stage) Descriptor() protoreflect.EnumDescriptor
    func (x NotificationStage_Stage) Enum() *NotificationStage_Stage
    func (NotificationStage_Stage) EnumDescriptor() ([]byte, []int)
    func (x NotificationStage_Stage) Number() protoreflect.EnumNumber
    func (x NotificationStage_Stage) String() string
    func (NotificationStage_Stage) Type() protoreflect.EnumType

Package files

notification_service_payload.pb.go saas_instance_payload.pb.go

Variables

Enum value maps for NotificationStage_Stage.

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_Event.

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,
    }
)
var File_google_cloud_saasaccelerator_management_logs_v1_notification_service_payload_proto protoreflect.FileDescriptor
var File_google_cloud_saasaccelerator_management_logs_v1_saas_instance_payload_proto protoreflect.FileDescriptor

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

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

Payload proto for Notification logs.

type NotificationStage struct {

    // The type of the Notification Service event.
    Stage NotificationStage_Stage `protobuf:"varint,1,opt,name=stage,proto3,enum=google.cloud.saasaccelerator.management.logs.v1.NotificationStage_Stage" json:"stage,omitempty"`
    // 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 `protobuf:"varint,4,opt,name=event,proto3,enum=google.cloud.saasaccelerator.management.logs.v1.NotificationStage_Event" json:"event,omitempty"`
    // 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
}

func (*NotificationStage) Descriptor

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

Deprecated: Use NotificationStage.ProtoReflect.Descriptor instead.

func (*NotificationStage) GetEvent

func (x *NotificationStage) GetEvent() NotificationStage_Event

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 (x *NotificationStage) GetStage() NotificationStage_Stage

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

Event that triggered the notification.

type NotificationStage_Event int32
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) Descriptor() protoreflect.EnumDescriptor

func (NotificationStage_Event) Enum

func (x NotificationStage_Event) Enum() *NotificationStage_Event

func (NotificationStage_Event) EnumDescriptor

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

Deprecated: Use NotificationStage_Event.Descriptor instead.

func (NotificationStage_Event) Number

func (x NotificationStage_Event) Number() protoreflect.EnumNumber

func (NotificationStage_Event) String

func (x NotificationStage_Event) String() string

func (NotificationStage_Event) Type

func (NotificationStage_Event) Type() protoreflect.EnumType

type NotificationStage_Stage

Types of Notification Status.

type NotificationStage_Stage int32
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) Descriptor() protoreflect.EnumDescriptor

func (NotificationStage_Stage) Enum

func (x NotificationStage_Stage) Enum() *NotificationStage_Stage

func (NotificationStage_Stage) EnumDescriptor

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

Deprecated: Use NotificationStage_Stage.Descriptor instead.

func (NotificationStage_Stage) Number

func (x NotificationStage_Stage) Number() protoreflect.EnumNumber

func (NotificationStage_Stage) String

func (x NotificationStage_Stage) String() string

func (NotificationStage_Stage) Type

func (NotificationStage_Stage) Type() protoreflect.EnumType