pbconsole

package
v0.75.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EventType_name = map[int32]string{
		0: "EVENT_TYPE_UNKNOWN",
		1: "EVENT_TYPE_LOG",
		2: "EVENT_TYPE_CALL",
		3: "EVENT_TYPE_DEPLOYMENT_CREATED",
		4: "EVENT_TYPE_DEPLOYMENT_UPDATED",
	}
	EventType_value = map[string]int32{
		"EVENT_TYPE_UNKNOWN":            0,
		"EVENT_TYPE_LOG":                1,
		"EVENT_TYPE_CALL":               2,
		"EVENT_TYPE_DEPLOYMENT_CREATED": 3,
		"EVENT_TYPE_DEPLOYMENT_UPDATED": 4,
	}
)

Enum value maps for EventType.

View Source
var (
	LogLevel_name = map[int32]string{
		0:  "LOG_LEVEL_UNKNOWN",
		1:  "LOG_LEVEL_TRACE",
		5:  "LOG_LEVEL_DEBUG",
		9:  "LOG_LEVEL_INFO",
		13: "LOG_LEVEL_WARN",
		17: "LOG_LEVEL_ERROR",
	}
	LogLevel_value = map[string]int32{
		"LOG_LEVEL_UNKNOWN": 0,
		"LOG_LEVEL_TRACE":   1,
		"LOG_LEVEL_DEBUG":   5,
		"LOG_LEVEL_INFO":    9,
		"LOG_LEVEL_WARN":    13,
		"LOG_LEVEL_ERROR":   17,
	}
)

Enum value maps for LogLevel.

View Source
var (
	EventsQuery_Order_name = map[int32]string{
		0: "ASC",
		1: "DESC",
	}
	EventsQuery_Order_value = map[string]int32{
		"ASC":  0,
		"DESC": 1,
	}
)

Enum value maps for EventsQuery_Order.

View Source
var File_xyz_block_ftl_v1_console_console_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CallEvent added in v0.22.0

type CallEvent struct {
	RequestName        *string                `protobuf:"bytes,1,opt,name=request_name,json=requestName,proto3,oneof" json:"request_name,omitempty"`
	DeploymentName     string                 `protobuf:"bytes,2,opt,name=deployment_name,json=deploymentName,proto3" json:"deployment_name,omitempty"`
	TimeStamp          *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time_stamp,json=timeStamp,proto3" json:"time_stamp,omitempty"`
	SourceVerbRef      *schema.VerbRef        `protobuf:"bytes,4,opt,name=source_verb_ref,json=sourceVerbRef,proto3,oneof" json:"source_verb_ref,omitempty"`
	DestinationVerbRef *schema.VerbRef        `protobuf:"bytes,5,opt,name=destination_verb_ref,json=destinationVerbRef,proto3" json:"destination_verb_ref,omitempty"`
	Duration           *durationpb.Duration   `protobuf:"bytes,6,opt,name=duration,proto3" json:"duration,omitempty"`
	Request            string                 `protobuf:"bytes,7,opt,name=request,proto3" json:"request,omitempty"`
	Response           string                 `protobuf:"bytes,8,opt,name=response,proto3" json:"response,omitempty"`
	Error              *string                `protobuf:"bytes,9,opt,name=error,proto3,oneof" json:"error,omitempty"`
	Stack              *string                `protobuf:"bytes,10,opt,name=stack,proto3,oneof" json:"stack,omitempty"`
	// contains filtered or unexported fields
}

func (*CallEvent) Descriptor deprecated added in v0.22.0

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

Deprecated: Use CallEvent.ProtoReflect.Descriptor instead.

func (*CallEvent) GetDeploymentName added in v0.22.0

func (x *CallEvent) GetDeploymentName() string

func (*CallEvent) GetDestinationVerbRef added in v0.22.0

func (x *CallEvent) GetDestinationVerbRef() *schema.VerbRef

func (*CallEvent) GetDuration added in v0.22.0

func (x *CallEvent) GetDuration() *durationpb.Duration

func (*CallEvent) GetError added in v0.22.0

func (x *CallEvent) GetError() string

func (*CallEvent) GetRequest added in v0.22.0

func (x *CallEvent) GetRequest() string

func (*CallEvent) GetRequestName added in v0.22.0

func (x *CallEvent) GetRequestName() string

func (*CallEvent) GetResponse added in v0.22.0

func (x *CallEvent) GetResponse() string

func (*CallEvent) GetSourceVerbRef added in v0.22.0

func (x *CallEvent) GetSourceVerbRef() *schema.VerbRef

func (*CallEvent) GetStack added in v0.75.0

func (x *CallEvent) GetStack() string

func (*CallEvent) GetTimeStamp added in v0.22.0

func (x *CallEvent) GetTimeStamp() *timestamppb.Timestamp

func (*CallEvent) ProtoMessage added in v0.22.0

func (*CallEvent) ProtoMessage()

func (*CallEvent) ProtoReflect added in v0.22.0

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

func (*CallEvent) Reset added in v0.22.0

func (x *CallEvent) Reset()

func (*CallEvent) String added in v0.22.0

func (x *CallEvent) String() string

type Data

type Data struct {
	Data   *schema.Data `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Schema string       `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"`
	// contains filtered or unexported fields
}

func (*Data) Descriptor deprecated

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

Deprecated: Use Data.ProtoReflect.Descriptor instead.

func (*Data) GetData

func (x *Data) GetData() *schema.Data

func (*Data) GetSchema

func (x *Data) GetSchema() string

func (*Data) ProtoMessage

func (*Data) ProtoMessage()

func (*Data) ProtoReflect

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

func (*Data) Reset

func (x *Data) Reset()

func (*Data) String

func (x *Data) String() string

type DeploymentCreatedEvent added in v0.22.0

type DeploymentCreatedEvent struct {
	Name        string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Language    string  `protobuf:"bytes,2,opt,name=language,proto3" json:"language,omitempty"`
	ModuleName  string  `protobuf:"bytes,3,opt,name=module_name,json=moduleName,proto3" json:"module_name,omitempty"`
	MinReplicas int32   `protobuf:"varint,4,opt,name=min_replicas,json=minReplicas,proto3" json:"min_replicas,omitempty"`
	Replaced    *string `protobuf:"bytes,5,opt,name=replaced,proto3,oneof" json:"replaced,omitempty"`
	// contains filtered or unexported fields
}

func (*DeploymentCreatedEvent) Descriptor deprecated added in v0.22.0

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

Deprecated: Use DeploymentCreatedEvent.ProtoReflect.Descriptor instead.

func (*DeploymentCreatedEvent) GetLanguage added in v0.22.0

func (x *DeploymentCreatedEvent) GetLanguage() string

func (*DeploymentCreatedEvent) GetMinReplicas added in v0.22.0

func (x *DeploymentCreatedEvent) GetMinReplicas() int32

func (*DeploymentCreatedEvent) GetModuleName added in v0.22.0

func (x *DeploymentCreatedEvent) GetModuleName() string

func (*DeploymentCreatedEvent) GetName added in v0.22.0

func (x *DeploymentCreatedEvent) GetName() string

func (*DeploymentCreatedEvent) GetReplaced added in v0.22.0

func (x *DeploymentCreatedEvent) GetReplaced() string

func (*DeploymentCreatedEvent) ProtoMessage added in v0.22.0

func (*DeploymentCreatedEvent) ProtoMessage()

func (*DeploymentCreatedEvent) ProtoReflect added in v0.22.0

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

func (*DeploymentCreatedEvent) Reset added in v0.22.0

func (x *DeploymentCreatedEvent) Reset()

func (*DeploymentCreatedEvent) String added in v0.22.0

func (x *DeploymentCreatedEvent) String() string

type DeploymentUpdatedEvent added in v0.22.0

type DeploymentUpdatedEvent struct {
	Name            string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	MinReplicas     int32  `protobuf:"varint,2,opt,name=min_replicas,json=minReplicas,proto3" json:"min_replicas,omitempty"`
	PrevMinReplicas int32  `protobuf:"varint,3,opt,name=prev_min_replicas,json=prevMinReplicas,proto3" json:"prev_min_replicas,omitempty"`
	// contains filtered or unexported fields
}

func (*DeploymentUpdatedEvent) Descriptor deprecated added in v0.22.0

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

Deprecated: Use DeploymentUpdatedEvent.ProtoReflect.Descriptor instead.

func (*DeploymentUpdatedEvent) GetMinReplicas added in v0.22.0

func (x *DeploymentUpdatedEvent) GetMinReplicas() int32

func (*DeploymentUpdatedEvent) GetName added in v0.22.0

func (x *DeploymentUpdatedEvent) GetName() string

func (*DeploymentUpdatedEvent) GetPrevMinReplicas added in v0.22.0

func (x *DeploymentUpdatedEvent) GetPrevMinReplicas() int32

func (*DeploymentUpdatedEvent) ProtoMessage added in v0.22.0

func (*DeploymentUpdatedEvent) ProtoMessage()

func (*DeploymentUpdatedEvent) ProtoReflect added in v0.22.0

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

func (*DeploymentUpdatedEvent) Reset added in v0.22.0

func (x *DeploymentUpdatedEvent) Reset()

func (*DeploymentUpdatedEvent) String added in v0.22.0

func (x *DeploymentUpdatedEvent) String() string

type Event added in v0.11.0

type Event struct {
	TimeStamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time_stamp,json=timeStamp,proto3" json:"time_stamp,omitempty"`
	// Unique ID for event.
	Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	// Types that are assignable to Entry:
	//
	//	*Event_Log
	//	*Event_Call
	//	*Event_DeploymentCreated
	//	*Event_DeploymentUpdated
	Entry isEvent_Entry `protobuf_oneof:"entry"`
	// contains filtered or unexported fields
}

func (*Event) Descriptor deprecated added in v0.11.0

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

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetCall added in v0.11.0

func (x *Event) GetCall() *CallEvent

func (*Event) GetDeploymentCreated added in v0.22.0

func (x *Event) GetDeploymentCreated() *DeploymentCreatedEvent

func (*Event) GetDeploymentUpdated added in v0.22.0

func (x *Event) GetDeploymentUpdated() *DeploymentUpdatedEvent

func (*Event) GetEntry added in v0.11.0

func (m *Event) GetEntry() isEvent_Entry

func (*Event) GetId added in v0.11.0

func (x *Event) GetId() int64

func (*Event) GetLog added in v0.11.0

func (x *Event) GetLog() *LogEvent

func (*Event) GetTimeStamp added in v0.11.0

func (x *Event) GetTimeStamp() *timestamppb.Timestamp

func (*Event) ProtoMessage added in v0.11.0

func (*Event) ProtoMessage()

func (*Event) ProtoReflect added in v0.11.0

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

func (*Event) Reset added in v0.11.0

func (x *Event) Reset()

func (*Event) String added in v0.11.0

func (x *Event) String() string

type EventType added in v0.5.0

type EventType int32
const (
	EventType_EVENT_TYPE_UNKNOWN            EventType = 0
	EventType_EVENT_TYPE_LOG                EventType = 1
	EventType_EVENT_TYPE_CALL               EventType = 2
	EventType_EVENT_TYPE_DEPLOYMENT_CREATED EventType = 3
	EventType_EVENT_TYPE_DEPLOYMENT_UPDATED EventType = 4
)

func (EventType) Descriptor added in v0.5.0

func (EventType) Descriptor() protoreflect.EnumDescriptor

func (EventType) Enum added in v0.5.0

func (x EventType) Enum() *EventType

func (EventType) EnumDescriptor deprecated added in v0.5.0

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

Deprecated: Use EventType.Descriptor instead.

func (EventType) Number added in v0.5.0

func (x EventType) Number() protoreflect.EnumNumber

func (EventType) String added in v0.5.0

func (x EventType) String() string

func (EventType) Type added in v0.5.0

type Event_Call added in v0.11.0

type Event_Call struct {
	Call *CallEvent `protobuf:"bytes,4,opt,name=call,proto3,oneof"`
}

type Event_DeploymentCreated added in v0.22.0

type Event_DeploymentCreated struct {
	DeploymentCreated *DeploymentCreatedEvent `protobuf:"bytes,5,opt,name=deployment_created,json=deploymentCreated,proto3,oneof"`
}

type Event_DeploymentUpdated added in v0.22.0

type Event_DeploymentUpdated struct {
	DeploymentUpdated *DeploymentUpdatedEvent `protobuf:"bytes,6,opt,name=deployment_updated,json=deploymentUpdated,proto3,oneof"`
}

type Event_Log added in v0.11.0

type Event_Log struct {
	Log *LogEvent `protobuf:"bytes,3,opt,name=log,proto3,oneof"`
}

type EventsQuery added in v0.11.0

type EventsQuery struct {
	Filters []*EventsQuery_Filter `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty"`
	Limit   int32                 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	Order   EventsQuery_Order     `protobuf:"varint,3,opt,name=order,proto3,enum=xyz.block.ftl.v1.console.EventsQuery_Order" json:"order,omitempty"`
	// contains filtered or unexported fields
}

Query for events.

func (*EventsQuery) Descriptor deprecated added in v0.11.0

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

Deprecated: Use EventsQuery.ProtoReflect.Descriptor instead.

func (*EventsQuery) GetFilters added in v0.11.0

func (x *EventsQuery) GetFilters() []*EventsQuery_Filter

func (*EventsQuery) GetLimit added in v0.11.0

func (x *EventsQuery) GetLimit() int32

func (*EventsQuery) GetOrder added in v0.11.0

func (x *EventsQuery) GetOrder() EventsQuery_Order

func (*EventsQuery) ProtoMessage added in v0.11.0

func (*EventsQuery) ProtoMessage()

func (*EventsQuery) ProtoReflect added in v0.11.0

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

func (*EventsQuery) Reset added in v0.11.0

func (x *EventsQuery) Reset()

func (*EventsQuery) String added in v0.11.0

func (x *EventsQuery) String() string

type EventsQuery_CallFilter added in v0.11.0

type EventsQuery_CallFilter struct {
	DestModule   string  `protobuf:"bytes,1,opt,name=dest_module,json=destModule,proto3" json:"dest_module,omitempty"`
	DestVerb     *string `protobuf:"bytes,2,opt,name=dest_verb,json=destVerb,proto3,oneof" json:"dest_verb,omitempty"`
	SourceModule *string `protobuf:"bytes,3,opt,name=source_module,json=sourceModule,proto3,oneof" json:"source_module,omitempty"`
	// contains filtered or unexported fields
}

Filters events by call.

func (*EventsQuery_CallFilter) Descriptor deprecated added in v0.11.0

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

Deprecated: Use EventsQuery_CallFilter.ProtoReflect.Descriptor instead.

func (*EventsQuery_CallFilter) GetDestModule added in v0.11.0

func (x *EventsQuery_CallFilter) GetDestModule() string

func (*EventsQuery_CallFilter) GetDestVerb added in v0.11.0

func (x *EventsQuery_CallFilter) GetDestVerb() string

func (*EventsQuery_CallFilter) GetSourceModule added in v0.11.0

func (x *EventsQuery_CallFilter) GetSourceModule() string

func (*EventsQuery_CallFilter) ProtoMessage added in v0.11.0

func (*EventsQuery_CallFilter) ProtoMessage()

func (*EventsQuery_CallFilter) ProtoReflect added in v0.11.0

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

func (*EventsQuery_CallFilter) Reset added in v0.11.0

func (x *EventsQuery_CallFilter) Reset()

func (*EventsQuery_CallFilter) String added in v0.11.0

func (x *EventsQuery_CallFilter) String() string

type EventsQuery_DeploymentFilter added in v0.11.0

type EventsQuery_DeploymentFilter struct {
	Deployments []string `protobuf:"bytes,1,rep,name=deployments,proto3" json:"deployments,omitempty"`
	// contains filtered or unexported fields
}

Filters events by deployment name.

func (*EventsQuery_DeploymentFilter) Descriptor deprecated added in v0.11.0

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

Deprecated: Use EventsQuery_DeploymentFilter.ProtoReflect.Descriptor instead.

func (*EventsQuery_DeploymentFilter) GetDeployments added in v0.11.0

func (x *EventsQuery_DeploymentFilter) GetDeployments() []string

func (*EventsQuery_DeploymentFilter) ProtoMessage added in v0.11.0

func (*EventsQuery_DeploymentFilter) ProtoMessage()

func (*EventsQuery_DeploymentFilter) ProtoReflect added in v0.11.0

func (*EventsQuery_DeploymentFilter) Reset added in v0.11.0

func (x *EventsQuery_DeploymentFilter) Reset()

func (*EventsQuery_DeploymentFilter) String added in v0.11.0

type EventsQuery_EventTypeFilter added in v0.11.0

type EventsQuery_EventTypeFilter struct {
	EventTypes []EventType `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

Filters events by event type.

func (*EventsQuery_EventTypeFilter) Descriptor deprecated added in v0.11.0

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

Deprecated: Use EventsQuery_EventTypeFilter.ProtoReflect.Descriptor instead.

func (*EventsQuery_EventTypeFilter) GetEventTypes added in v0.11.0

func (x *EventsQuery_EventTypeFilter) GetEventTypes() []EventType

func (*EventsQuery_EventTypeFilter) ProtoMessage added in v0.11.0

func (*EventsQuery_EventTypeFilter) ProtoMessage()

func (*EventsQuery_EventTypeFilter) ProtoReflect added in v0.11.0

func (*EventsQuery_EventTypeFilter) Reset added in v0.11.0

func (x *EventsQuery_EventTypeFilter) Reset()

func (*EventsQuery_EventTypeFilter) String added in v0.11.0

func (x *EventsQuery_EventTypeFilter) String() string

type EventsQuery_Filter added in v0.11.0

type EventsQuery_Filter struct {

	// These map 1:1 with filters in backend/controller/internal/dal/events.go
	//
	// Types that are assignable to Filter:
	//
	//	*EventsQuery_Filter_Limit
	//	*EventsQuery_Filter_LogLevel
	//	*EventsQuery_Filter_Deployments
	//	*EventsQuery_Filter_Requests
	//	*EventsQuery_Filter_EventTypes
	//	*EventsQuery_Filter_Time
	//	*EventsQuery_Filter_Id
	//	*EventsQuery_Filter_Call
	Filter isEventsQuery_Filter_Filter `protobuf_oneof:"filter"`
	// contains filtered or unexported fields
}

func (*EventsQuery_Filter) Descriptor deprecated added in v0.11.0

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

Deprecated: Use EventsQuery_Filter.ProtoReflect.Descriptor instead.

func (*EventsQuery_Filter) GetCall added in v0.11.0

func (*EventsQuery_Filter) GetDeployments added in v0.11.0

func (x *EventsQuery_Filter) GetDeployments() *EventsQuery_DeploymentFilter

func (*EventsQuery_Filter) GetEventTypes added in v0.11.0

func (x *EventsQuery_Filter) GetEventTypes() *EventsQuery_EventTypeFilter

func (*EventsQuery_Filter) GetFilter added in v0.11.0

func (m *EventsQuery_Filter) GetFilter() isEventsQuery_Filter_Filter

func (*EventsQuery_Filter) GetId added in v0.11.0

func (*EventsQuery_Filter) GetLimit added in v0.11.0

func (*EventsQuery_Filter) GetLogLevel added in v0.11.0

func (*EventsQuery_Filter) GetRequests added in v0.11.0

func (*EventsQuery_Filter) GetTime added in v0.11.0

func (*EventsQuery_Filter) ProtoMessage added in v0.11.0

func (*EventsQuery_Filter) ProtoMessage()

func (*EventsQuery_Filter) ProtoReflect added in v0.11.0

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

func (*EventsQuery_Filter) Reset added in v0.11.0

func (x *EventsQuery_Filter) Reset()

func (*EventsQuery_Filter) String added in v0.11.0

func (x *EventsQuery_Filter) String() string

type EventsQuery_Filter_Call added in v0.11.0

type EventsQuery_Filter_Call struct {
	Call *EventsQuery_CallFilter `protobuf:"bytes,8,opt,name=call,proto3,oneof"`
}

type EventsQuery_Filter_Deployments added in v0.11.0

type EventsQuery_Filter_Deployments struct {
	Deployments *EventsQuery_DeploymentFilter `protobuf:"bytes,3,opt,name=deployments,proto3,oneof"`
}

type EventsQuery_Filter_EventTypes added in v0.11.0

type EventsQuery_Filter_EventTypes struct {
	EventTypes *EventsQuery_EventTypeFilter `protobuf:"bytes,5,opt,name=event_types,json=eventTypes,proto3,oneof"`
}

type EventsQuery_Filter_Id added in v0.11.0

type EventsQuery_Filter_Id struct {
	Id *EventsQuery_IDFilter `protobuf:"bytes,7,opt,name=id,proto3,oneof"`
}

type EventsQuery_Filter_Limit added in v0.11.0

type EventsQuery_Filter_Limit struct {
	Limit *EventsQuery_LimitFilter `protobuf:"bytes,1,opt,name=limit,proto3,oneof"`
}

type EventsQuery_Filter_LogLevel added in v0.11.0

type EventsQuery_Filter_LogLevel struct {
	LogLevel *EventsQuery_LogLevelFilter `protobuf:"bytes,2,opt,name=log_level,json=logLevel,proto3,oneof"`
}

type EventsQuery_Filter_Requests added in v0.11.0

type EventsQuery_Filter_Requests struct {
	Requests *EventsQuery_RequestFilter `protobuf:"bytes,4,opt,name=requests,proto3,oneof"`
}

type EventsQuery_Filter_Time added in v0.11.0

type EventsQuery_Filter_Time struct {
	Time *EventsQuery_TimeFilter `protobuf:"bytes,6,opt,name=time,proto3,oneof"`
}

type EventsQuery_IDFilter added in v0.11.0

type EventsQuery_IDFilter struct {
	LowerThan  *int64 `protobuf:"varint,1,opt,name=lower_than,json=lowerThan,proto3,oneof" json:"lower_than,omitempty"`
	HigherThan *int64 `protobuf:"varint,2,opt,name=higher_than,json=higherThan,proto3,oneof" json:"higher_than,omitempty"`
	// contains filtered or unexported fields
}

Filters events by ID.

Either end of the ID range can be omitted to indicate no bound.

func (*EventsQuery_IDFilter) Descriptor deprecated added in v0.11.0

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

Deprecated: Use EventsQuery_IDFilter.ProtoReflect.Descriptor instead.

func (*EventsQuery_IDFilter) GetHigherThan added in v0.11.0

func (x *EventsQuery_IDFilter) GetHigherThan() int64

func (*EventsQuery_IDFilter) GetLowerThan added in v0.11.0

func (x *EventsQuery_IDFilter) GetLowerThan() int64

func (*EventsQuery_IDFilter) ProtoMessage added in v0.11.0

func (*EventsQuery_IDFilter) ProtoMessage()

func (*EventsQuery_IDFilter) ProtoReflect added in v0.11.0

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

func (*EventsQuery_IDFilter) Reset added in v0.11.0

func (x *EventsQuery_IDFilter) Reset()

func (*EventsQuery_IDFilter) String added in v0.11.0

func (x *EventsQuery_IDFilter) String() string

type EventsQuery_LimitFilter added in v0.11.0

type EventsQuery_LimitFilter struct {
	Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

Limit the number of events returned.

func (*EventsQuery_LimitFilter) Descriptor deprecated added in v0.11.0

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

Deprecated: Use EventsQuery_LimitFilter.ProtoReflect.Descriptor instead.

func (*EventsQuery_LimitFilter) GetLimit added in v0.11.0

func (x *EventsQuery_LimitFilter) GetLimit() int32

func (*EventsQuery_LimitFilter) ProtoMessage added in v0.11.0

func (*EventsQuery_LimitFilter) ProtoMessage()

func (*EventsQuery_LimitFilter) ProtoReflect added in v0.11.0

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

func (*EventsQuery_LimitFilter) Reset added in v0.11.0

func (x *EventsQuery_LimitFilter) Reset()

func (*EventsQuery_LimitFilter) String added in v0.11.0

func (x *EventsQuery_LimitFilter) String() string

type EventsQuery_LogLevelFilter added in v0.11.0

type EventsQuery_LogLevelFilter struct {
	LogLevel LogLevel `protobuf:"varint,1,opt,name=log_level,json=logLevel,proto3,enum=xyz.block.ftl.v1.console.LogLevel" json:"log_level,omitempty"`
	// contains filtered or unexported fields
}

Filters events by log level.

func (*EventsQuery_LogLevelFilter) Descriptor deprecated added in v0.11.0

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

Deprecated: Use EventsQuery_LogLevelFilter.ProtoReflect.Descriptor instead.

func (*EventsQuery_LogLevelFilter) GetLogLevel added in v0.11.0

func (x *EventsQuery_LogLevelFilter) GetLogLevel() LogLevel

func (*EventsQuery_LogLevelFilter) ProtoMessage added in v0.11.0

func (*EventsQuery_LogLevelFilter) ProtoMessage()

func (*EventsQuery_LogLevelFilter) ProtoReflect added in v0.11.0

func (*EventsQuery_LogLevelFilter) Reset added in v0.11.0

func (x *EventsQuery_LogLevelFilter) Reset()

func (*EventsQuery_LogLevelFilter) String added in v0.11.0

func (x *EventsQuery_LogLevelFilter) String() string

type EventsQuery_Order added in v0.11.0

type EventsQuery_Order int32
const (
	EventsQuery_ASC  EventsQuery_Order = 0
	EventsQuery_DESC EventsQuery_Order = 1
)

func (EventsQuery_Order) Descriptor added in v0.11.0

func (EventsQuery_Order) Enum added in v0.11.0

func (EventsQuery_Order) EnumDescriptor deprecated added in v0.11.0

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

Deprecated: Use EventsQuery_Order.Descriptor instead.

func (EventsQuery_Order) Number added in v0.11.0

func (EventsQuery_Order) String added in v0.11.0

func (x EventsQuery_Order) String() string

func (EventsQuery_Order) Type added in v0.11.0

type EventsQuery_RequestFilter added in v0.11.0

type EventsQuery_RequestFilter struct {
	Requests []string `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
	// contains filtered or unexported fields
}

Filters events by request key.

func (*EventsQuery_RequestFilter) Descriptor deprecated added in v0.11.0

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

Deprecated: Use EventsQuery_RequestFilter.ProtoReflect.Descriptor instead.

func (*EventsQuery_RequestFilter) GetRequests added in v0.11.0

func (x *EventsQuery_RequestFilter) GetRequests() []string

func (*EventsQuery_RequestFilter) ProtoMessage added in v0.11.0

func (*EventsQuery_RequestFilter) ProtoMessage()

func (*EventsQuery_RequestFilter) ProtoReflect added in v0.11.0

func (*EventsQuery_RequestFilter) Reset added in v0.11.0

func (x *EventsQuery_RequestFilter) Reset()

func (*EventsQuery_RequestFilter) String added in v0.11.0

func (x *EventsQuery_RequestFilter) String() string

type EventsQuery_TimeFilter added in v0.11.0

type EventsQuery_TimeFilter struct {
	OlderThan *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=older_than,json=olderThan,proto3,oneof" json:"older_than,omitempty"`
	NewerThan *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=newer_than,json=newerThan,proto3,oneof" json:"newer_than,omitempty"`
	// contains filtered or unexported fields
}

Filters events by time.

Either end of the time range can be omitted to indicate no bound.

func (*EventsQuery_TimeFilter) Descriptor deprecated added in v0.11.0

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

Deprecated: Use EventsQuery_TimeFilter.ProtoReflect.Descriptor instead.

func (*EventsQuery_TimeFilter) GetNewerThan added in v0.11.0

func (x *EventsQuery_TimeFilter) GetNewerThan() *timestamppb.Timestamp

func (*EventsQuery_TimeFilter) GetOlderThan added in v0.11.0

func (x *EventsQuery_TimeFilter) GetOlderThan() *timestamppb.Timestamp

func (*EventsQuery_TimeFilter) ProtoMessage added in v0.11.0

func (*EventsQuery_TimeFilter) ProtoMessage()

func (*EventsQuery_TimeFilter) ProtoReflect added in v0.11.0

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

func (*EventsQuery_TimeFilter) Reset added in v0.11.0

func (x *EventsQuery_TimeFilter) Reset()

func (*EventsQuery_TimeFilter) String added in v0.11.0

func (x *EventsQuery_TimeFilter) String() string

type GetEventsResponse added in v0.11.0

type GetEventsResponse struct {
	Events []*Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// For pagination, this cursor is where we should start our next query
	Cursor *int64 `protobuf:"varint,2,opt,name=cursor,proto3,oneof" json:"cursor,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEventsResponse) Descriptor deprecated added in v0.11.0

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

Deprecated: Use GetEventsResponse.ProtoReflect.Descriptor instead.

func (*GetEventsResponse) GetCursor added in v0.11.0

func (x *GetEventsResponse) GetCursor() int64

func (*GetEventsResponse) GetEvents added in v0.11.0

func (x *GetEventsResponse) GetEvents() []*Event

func (*GetEventsResponse) ProtoMessage added in v0.11.0

func (*GetEventsResponse) ProtoMessage()

func (*GetEventsResponse) ProtoReflect added in v0.11.0

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

func (*GetEventsResponse) Reset added in v0.11.0

func (x *GetEventsResponse) Reset()

func (*GetEventsResponse) String added in v0.11.0

func (x *GetEventsResponse) String() string

type GetModulesRequest

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

func (*GetModulesRequest) Descriptor deprecated

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

Deprecated: Use GetModulesRequest.ProtoReflect.Descriptor instead.

func (*GetModulesRequest) ProtoMessage

func (*GetModulesRequest) ProtoMessage()

func (*GetModulesRequest) ProtoReflect

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

func (*GetModulesRequest) Reset

func (x *GetModulesRequest) Reset()

func (*GetModulesRequest) String

func (x *GetModulesRequest) String() string

type GetModulesResponse

type GetModulesResponse struct {
	Modules []*Module `protobuf:"bytes,1,rep,name=modules,proto3" json:"modules,omitempty"`
	// contains filtered or unexported fields
}

func (*GetModulesResponse) Descriptor deprecated

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

Deprecated: Use GetModulesResponse.ProtoReflect.Descriptor instead.

func (*GetModulesResponse) GetModules

func (x *GetModulesResponse) GetModules() []*Module

func (*GetModulesResponse) ProtoMessage

func (*GetModulesResponse) ProtoMessage()

func (*GetModulesResponse) ProtoReflect

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

func (*GetModulesResponse) Reset

func (x *GetModulesResponse) Reset()

func (*GetModulesResponse) String

func (x *GetModulesResponse) String() string

type LogEvent added in v0.22.0

type LogEvent struct {
	DeploymentName string                 `protobuf:"bytes,1,opt,name=deployment_name,json=deploymentName,proto3" json:"deployment_name,omitempty"`
	RequestName    *string                `protobuf:"bytes,2,opt,name=request_name,json=requestName,proto3,oneof" json:"request_name,omitempty"`
	TimeStamp      *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time_stamp,json=timeStamp,proto3" json:"time_stamp,omitempty"`
	LogLevel       int32                  `protobuf:"varint,4,opt,name=log_level,json=logLevel,proto3" json:"log_level,omitempty"`
	Attributes     map[string]string      `` /* 161-byte string literal not displayed */
	Message        string                 `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"`
	Error          *string                `protobuf:"bytes,7,opt,name=error,proto3,oneof" json:"error,omitempty"`
	Stack          *string                `protobuf:"bytes,8,opt,name=stack,proto3,oneof" json:"stack,omitempty"`
	// contains filtered or unexported fields
}

func (*LogEvent) Descriptor deprecated added in v0.22.0

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

Deprecated: Use LogEvent.ProtoReflect.Descriptor instead.

func (*LogEvent) GetAttributes added in v0.22.0

func (x *LogEvent) GetAttributes() map[string]string

func (*LogEvent) GetDeploymentName added in v0.22.0

func (x *LogEvent) GetDeploymentName() string

func (*LogEvent) GetError added in v0.22.0

func (x *LogEvent) GetError() string

func (*LogEvent) GetLogLevel added in v0.22.0

func (x *LogEvent) GetLogLevel() int32

func (*LogEvent) GetMessage added in v0.22.0

func (x *LogEvent) GetMessage() string

func (*LogEvent) GetRequestName added in v0.22.0

func (x *LogEvent) GetRequestName() string

func (*LogEvent) GetStack added in v0.75.0

func (x *LogEvent) GetStack() string

func (*LogEvent) GetTimeStamp added in v0.22.0

func (x *LogEvent) GetTimeStamp() *timestamppb.Timestamp

func (*LogEvent) ProtoMessage added in v0.22.0

func (*LogEvent) ProtoMessage()

func (*LogEvent) ProtoReflect added in v0.22.0

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

func (*LogEvent) Reset added in v0.22.0

func (x *LogEvent) Reset()

func (*LogEvent) String added in v0.22.0

func (x *LogEvent) String() string

type LogLevel added in v0.5.0

type LogLevel int32
const (
	LogLevel_LOG_LEVEL_UNKNOWN LogLevel = 0
	LogLevel_LOG_LEVEL_TRACE   LogLevel = 1
	LogLevel_LOG_LEVEL_DEBUG   LogLevel = 5
	LogLevel_LOG_LEVEL_INFO    LogLevel = 9
	LogLevel_LOG_LEVEL_WARN    LogLevel = 13
	LogLevel_LOG_LEVEL_ERROR   LogLevel = 17
)

func (LogLevel) Descriptor added in v0.5.0

func (LogLevel) Descriptor() protoreflect.EnumDescriptor

func (LogLevel) Enum added in v0.5.0

func (x LogLevel) Enum() *LogLevel

func (LogLevel) EnumDescriptor deprecated added in v0.5.0

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

Deprecated: Use LogLevel.Descriptor instead.

func (LogLevel) Number added in v0.5.0

func (x LogLevel) Number() protoreflect.EnumNumber

func (LogLevel) String added in v0.5.0

func (x LogLevel) String() string

func (LogLevel) Type added in v0.5.0

type Module

type Module struct {
	Name           string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	DeploymentName string  `protobuf:"bytes,2,opt,name=deployment_name,json=deploymentName,proto3" json:"deployment_name,omitempty"`
	Language       string  `protobuf:"bytes,3,opt,name=language,proto3" json:"language,omitempty"`
	Schema         string  `protobuf:"bytes,4,opt,name=schema,proto3" json:"schema,omitempty"`
	Verbs          []*Verb `protobuf:"bytes,5,rep,name=verbs,proto3" json:"verbs,omitempty"`
	Data           []*Data `protobuf:"bytes,6,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*Module) Descriptor deprecated

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

Deprecated: Use Module.ProtoReflect.Descriptor instead.

func (*Module) GetData

func (x *Module) GetData() []*Data

func (*Module) GetDeploymentName

func (x *Module) GetDeploymentName() string

func (*Module) GetLanguage

func (x *Module) GetLanguage() string

func (*Module) GetName

func (x *Module) GetName() string

func (*Module) GetSchema

func (x *Module) GetSchema() string

func (*Module) GetVerbs

func (x *Module) GetVerbs() []*Verb

func (*Module) ProtoMessage

func (*Module) ProtoMessage()

func (*Module) ProtoReflect

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

func (*Module) Reset

func (x *Module) Reset()

func (*Module) String

func (x *Module) String() string

type StreamEventsRequest added in v0.11.0

type StreamEventsRequest struct {
	UpdateInterval *durationpb.Duration `protobuf:"bytes,1,opt,name=update_interval,json=updateInterval,proto3,oneof" json:"update_interval,omitempty"`
	Query          *EventsQuery         `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamEventsRequest) Descriptor deprecated added in v0.11.0

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

Deprecated: Use StreamEventsRequest.ProtoReflect.Descriptor instead.

func (*StreamEventsRequest) GetQuery added in v0.16.0

func (x *StreamEventsRequest) GetQuery() *EventsQuery

func (*StreamEventsRequest) GetUpdateInterval added in v0.11.0

func (x *StreamEventsRequest) GetUpdateInterval() *durationpb.Duration

func (*StreamEventsRequest) ProtoMessage added in v0.11.0

func (*StreamEventsRequest) ProtoMessage()

func (*StreamEventsRequest) ProtoReflect added in v0.11.0

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

func (*StreamEventsRequest) Reset added in v0.11.0

func (x *StreamEventsRequest) Reset()

func (*StreamEventsRequest) String added in v0.11.0

func (x *StreamEventsRequest) String() string

type StreamEventsResponse added in v0.11.0

type StreamEventsResponse struct {
	Events []*Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamEventsResponse) Descriptor deprecated added in v0.11.0

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

Deprecated: Use StreamEventsResponse.ProtoReflect.Descriptor instead.

func (*StreamEventsResponse) GetEvents added in v0.71.14

func (x *StreamEventsResponse) GetEvents() []*Event

func (*StreamEventsResponse) ProtoMessage added in v0.11.0

func (*StreamEventsResponse) ProtoMessage()

func (*StreamEventsResponse) ProtoReflect added in v0.11.0

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

func (*StreamEventsResponse) Reset added in v0.11.0

func (x *StreamEventsResponse) Reset()

func (*StreamEventsResponse) String added in v0.11.0

func (x *StreamEventsResponse) String() string

type Verb

type Verb struct {
	Verb              *schema.Verb `protobuf:"bytes,1,opt,name=verb,proto3" json:"verb,omitempty"`
	Schema            string       `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"`
	JsonRequestSchema string       `protobuf:"bytes,3,opt,name=json_request_schema,json=jsonRequestSchema,proto3" json:"json_request_schema,omitempty"`
	// contains filtered or unexported fields
}

func (*Verb) Descriptor deprecated

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

Deprecated: Use Verb.ProtoReflect.Descriptor instead.

func (*Verb) GetJsonRequestSchema added in v0.1.1

func (x *Verb) GetJsonRequestSchema() string

func (*Verb) GetSchema

func (x *Verb) GetSchema() string

func (*Verb) GetVerb

func (x *Verb) GetVerb() *schema.Verb

func (*Verb) ProtoMessage

func (*Verb) ProtoMessage()

func (*Verb) ProtoReflect

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

func (*Verb) Reset

func (x *Verb) Reset()

func (*Verb) String

func (x *Verb) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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