pbconsole

package
v0.348.3 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 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

type CallEvent struct {
	RequestKey         *string                `protobuf:"bytes,1,opt,name=request_key,json=requestKey,proto3,oneof" json:"request_key,omitempty"`
	DeploymentKey      string                 `protobuf:"bytes,2,opt,name=deployment_key,json=deploymentKey,proto3" json:"deployment_key,omitempty"`
	TimeStamp          *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time_stamp,json=timeStamp,proto3" json:"time_stamp,omitempty"`
	SourceVerbRef      *schema.Ref            `protobuf:"bytes,11,opt,name=source_verb_ref,json=sourceVerbRef,proto3,oneof" json:"source_verb_ref,omitempty"`
	DestinationVerbRef *schema.Ref            `protobuf:"bytes,12,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

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

Deprecated: Use CallEvent.ProtoReflect.Descriptor instead.

func (*CallEvent) GetDeploymentKey added in v0.151.0

func (x *CallEvent) GetDeploymentKey() string

func (*CallEvent) GetDestinationVerbRef

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

func (*CallEvent) GetDuration

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

func (*CallEvent) GetError

func (x *CallEvent) GetError() string

func (*CallEvent) GetRequest

func (x *CallEvent) GetRequest() string

func (*CallEvent) GetRequestKey added in v0.165.1

func (x *CallEvent) GetRequestKey() string

func (*CallEvent) GetResponse

func (x *CallEvent) GetResponse() string

func (*CallEvent) GetSourceVerbRef

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

func (*CallEvent) GetStack

func (x *CallEvent) GetStack() string

func (*CallEvent) GetTimeStamp

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

func (*CallEvent) ProtoMessage

func (*CallEvent) ProtoMessage()

func (*CallEvent) ProtoReflect

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

func (*CallEvent) Reset

func (x *CallEvent) Reset()

func (*CallEvent) String

func (x *CallEvent) String() string

type Config added in v0.157.0

type Config struct {
	Config *schema.Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*Config) Descriptor deprecated added in v0.157.0

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

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetConfig added in v0.157.0

func (x *Config) GetConfig() *schema.Config

func (*Config) ProtoMessage added in v0.157.0

func (*Config) ProtoMessage()

func (*Config) ProtoReflect added in v0.157.0

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

func (*Config) Reset added in v0.157.0

func (x *Config) Reset()

func (*Config) String added in v0.157.0

func (x *Config) 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

type DeploymentCreatedEvent struct {
	Key         string  `protobuf:"bytes,1,opt,name=key,proto3" json:"key,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

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

Deprecated: Use DeploymentCreatedEvent.ProtoReflect.Descriptor instead.

func (*DeploymentCreatedEvent) GetKey added in v0.151.0

func (x *DeploymentCreatedEvent) GetKey() string

func (*DeploymentCreatedEvent) GetLanguage

func (x *DeploymentCreatedEvent) GetLanguage() string

func (*DeploymentCreatedEvent) GetMinReplicas

func (x *DeploymentCreatedEvent) GetMinReplicas() int32

func (*DeploymentCreatedEvent) GetModuleName

func (x *DeploymentCreatedEvent) GetModuleName() string

func (*DeploymentCreatedEvent) GetReplaced

func (x *DeploymentCreatedEvent) GetReplaced() string

func (*DeploymentCreatedEvent) ProtoMessage

func (*DeploymentCreatedEvent) ProtoMessage()

func (*DeploymentCreatedEvent) ProtoReflect

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

func (*DeploymentCreatedEvent) Reset

func (x *DeploymentCreatedEvent) Reset()

func (*DeploymentCreatedEvent) String

func (x *DeploymentCreatedEvent) String() string

type DeploymentUpdatedEvent

type DeploymentUpdatedEvent struct {
	Key             string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,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

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

Deprecated: Use DeploymentUpdatedEvent.ProtoReflect.Descriptor instead.

func (*DeploymentUpdatedEvent) GetKey added in v0.151.0

func (x *DeploymentUpdatedEvent) GetKey() string

func (*DeploymentUpdatedEvent) GetMinReplicas

func (x *DeploymentUpdatedEvent) GetMinReplicas() int32

func (*DeploymentUpdatedEvent) GetPrevMinReplicas

func (x *DeploymentUpdatedEvent) GetPrevMinReplicas() int32

func (*DeploymentUpdatedEvent) ProtoMessage

func (*DeploymentUpdatedEvent) ProtoMessage()

func (*DeploymentUpdatedEvent) ProtoReflect

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

func (*DeploymentUpdatedEvent) Reset

func (x *DeploymentUpdatedEvent) Reset()

func (*DeploymentUpdatedEvent) String

func (x *DeploymentUpdatedEvent) String() string

type Event

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

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

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetCall

func (x *Event) GetCall() *CallEvent

func (*Event) GetDeploymentCreated

func (x *Event) GetDeploymentCreated() *DeploymentCreatedEvent

func (*Event) GetDeploymentUpdated

func (x *Event) GetDeploymentUpdated() *DeploymentUpdatedEvent

func (*Event) GetEntry

func (m *Event) GetEntry() isEvent_Entry

func (*Event) GetId

func (x *Event) GetId() int64

func (*Event) GetLog

func (x *Event) GetLog() *LogEvent

func (*Event) GetTimeStamp

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

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

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

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

type EventType

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

func (EventType) Descriptor() protoreflect.EnumDescriptor

func (EventType) Enum

func (x EventType) Enum() *EventType

func (EventType) EnumDescriptor deprecated

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

Deprecated: Use EventType.Descriptor instead.

func (EventType) Number

func (x EventType) Number() protoreflect.EnumNumber

func (EventType) String

func (x EventType) String() string

func (EventType) Type

type Event_Call

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

type Event_DeploymentCreated

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

type Event_DeploymentUpdated

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

type Event_Log

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

type EventsQuery

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

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

Deprecated: Use EventsQuery.ProtoReflect.Descriptor instead.

func (*EventsQuery) GetFilters

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

func (*EventsQuery) GetLimit

func (x *EventsQuery) GetLimit() int32

func (*EventsQuery) GetOrder

func (x *EventsQuery) GetOrder() EventsQuery_Order

func (*EventsQuery) ProtoMessage

func (*EventsQuery) ProtoMessage()

func (*EventsQuery) ProtoReflect

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

func (*EventsQuery) Reset

func (x *EventsQuery) Reset()

func (*EventsQuery) String

func (x *EventsQuery) String() string

type EventsQuery_CallFilter

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

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

Deprecated: Use EventsQuery_CallFilter.ProtoReflect.Descriptor instead.

func (*EventsQuery_CallFilter) GetDestModule

func (x *EventsQuery_CallFilter) GetDestModule() string

func (*EventsQuery_CallFilter) GetDestVerb

func (x *EventsQuery_CallFilter) GetDestVerb() string

func (*EventsQuery_CallFilter) GetSourceModule

func (x *EventsQuery_CallFilter) GetSourceModule() string

func (*EventsQuery_CallFilter) ProtoMessage

func (*EventsQuery_CallFilter) ProtoMessage()

func (*EventsQuery_CallFilter) ProtoReflect

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

func (*EventsQuery_CallFilter) Reset

func (x *EventsQuery_CallFilter) Reset()

func (*EventsQuery_CallFilter) String

func (x *EventsQuery_CallFilter) String() string

type EventsQuery_DeploymentFilter

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

func (*EventsQuery_DeploymentFilter) Descriptor deprecated

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

Deprecated: Use EventsQuery_DeploymentFilter.ProtoReflect.Descriptor instead.

func (*EventsQuery_DeploymentFilter) GetDeployments

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

func (*EventsQuery_DeploymentFilter) ProtoMessage

func (*EventsQuery_DeploymentFilter) ProtoMessage()

func (*EventsQuery_DeploymentFilter) ProtoReflect

func (*EventsQuery_DeploymentFilter) Reset

func (x *EventsQuery_DeploymentFilter) Reset()

func (*EventsQuery_DeploymentFilter) String

type EventsQuery_EventTypeFilter

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

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

Deprecated: Use EventsQuery_EventTypeFilter.ProtoReflect.Descriptor instead.

func (*EventsQuery_EventTypeFilter) GetEventTypes

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

func (*EventsQuery_EventTypeFilter) ProtoMessage

func (*EventsQuery_EventTypeFilter) ProtoMessage()

func (*EventsQuery_EventTypeFilter) ProtoReflect

func (*EventsQuery_EventTypeFilter) Reset

func (x *EventsQuery_EventTypeFilter) Reset()

func (*EventsQuery_EventTypeFilter) String

func (x *EventsQuery_EventTypeFilter) String() string

type EventsQuery_Filter

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

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

Deprecated: Use EventsQuery_Filter.ProtoReflect.Descriptor instead.

func (*EventsQuery_Filter) GetCall

func (*EventsQuery_Filter) GetDeployments

func (x *EventsQuery_Filter) GetDeployments() *EventsQuery_DeploymentFilter

func (*EventsQuery_Filter) GetEventTypes

func (x *EventsQuery_Filter) GetEventTypes() *EventsQuery_EventTypeFilter

func (*EventsQuery_Filter) GetFilter

func (m *EventsQuery_Filter) GetFilter() isEventsQuery_Filter_Filter

func (*EventsQuery_Filter) GetId

func (*EventsQuery_Filter) GetLimit

func (*EventsQuery_Filter) GetLogLevel

func (*EventsQuery_Filter) GetRequests

func (*EventsQuery_Filter) GetTime

func (*EventsQuery_Filter) ProtoMessage

func (*EventsQuery_Filter) ProtoMessage()

func (*EventsQuery_Filter) ProtoReflect

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

func (*EventsQuery_Filter) Reset

func (x *EventsQuery_Filter) Reset()

func (*EventsQuery_Filter) String

func (x *EventsQuery_Filter) String() string

type EventsQuery_Filter_Call

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

type EventsQuery_Filter_Deployments

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

type EventsQuery_Filter_EventTypes

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

type EventsQuery_Filter_Id

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

type EventsQuery_Filter_Limit

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

type EventsQuery_Filter_LogLevel

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

type EventsQuery_Filter_Requests

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

type EventsQuery_Filter_Time

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

type EventsQuery_IDFilter

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

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

Deprecated: Use EventsQuery_IDFilter.ProtoReflect.Descriptor instead.

func (*EventsQuery_IDFilter) GetHigherThan

func (x *EventsQuery_IDFilter) GetHigherThan() int64

func (*EventsQuery_IDFilter) GetLowerThan

func (x *EventsQuery_IDFilter) GetLowerThan() int64

func (*EventsQuery_IDFilter) ProtoMessage

func (*EventsQuery_IDFilter) ProtoMessage()

func (*EventsQuery_IDFilter) ProtoReflect

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

func (*EventsQuery_IDFilter) Reset

func (x *EventsQuery_IDFilter) Reset()

func (*EventsQuery_IDFilter) String

func (x *EventsQuery_IDFilter) String() string

type EventsQuery_LimitFilter

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

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

Deprecated: Use EventsQuery_LimitFilter.ProtoReflect.Descriptor instead.

func (*EventsQuery_LimitFilter) GetLimit

func (x *EventsQuery_LimitFilter) GetLimit() int32

func (*EventsQuery_LimitFilter) ProtoMessage

func (*EventsQuery_LimitFilter) ProtoMessage()

func (*EventsQuery_LimitFilter) ProtoReflect

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

func (*EventsQuery_LimitFilter) Reset

func (x *EventsQuery_LimitFilter) Reset()

func (*EventsQuery_LimitFilter) String

func (x *EventsQuery_LimitFilter) String() string

type EventsQuery_LogLevelFilter

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

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

Deprecated: Use EventsQuery_LogLevelFilter.ProtoReflect.Descriptor instead.

func (*EventsQuery_LogLevelFilter) GetLogLevel

func (x *EventsQuery_LogLevelFilter) GetLogLevel() LogLevel

func (*EventsQuery_LogLevelFilter) ProtoMessage

func (*EventsQuery_LogLevelFilter) ProtoMessage()

func (*EventsQuery_LogLevelFilter) ProtoReflect

func (*EventsQuery_LogLevelFilter) Reset

func (x *EventsQuery_LogLevelFilter) Reset()

func (*EventsQuery_LogLevelFilter) String

func (x *EventsQuery_LogLevelFilter) String() string

type EventsQuery_Order

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

func (EventsQuery_Order) Descriptor

func (EventsQuery_Order) Enum

func (EventsQuery_Order) EnumDescriptor deprecated

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

Deprecated: Use EventsQuery_Order.Descriptor instead.

func (EventsQuery_Order) Number

func (EventsQuery_Order) String

func (x EventsQuery_Order) String() string

func (EventsQuery_Order) Type

type EventsQuery_RequestFilter

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

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

Deprecated: Use EventsQuery_RequestFilter.ProtoReflect.Descriptor instead.

func (*EventsQuery_RequestFilter) GetRequests

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

func (*EventsQuery_RequestFilter) ProtoMessage

func (*EventsQuery_RequestFilter) ProtoMessage()

func (*EventsQuery_RequestFilter) ProtoReflect

func (*EventsQuery_RequestFilter) Reset

func (x *EventsQuery_RequestFilter) Reset()

func (*EventsQuery_RequestFilter) String

func (x *EventsQuery_RequestFilter) String() string

type EventsQuery_TimeFilter

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

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

Deprecated: Use EventsQuery_TimeFilter.ProtoReflect.Descriptor instead.

func (*EventsQuery_TimeFilter) GetNewerThan

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

func (*EventsQuery_TimeFilter) GetOlderThan

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

func (*EventsQuery_TimeFilter) ProtoMessage

func (*EventsQuery_TimeFilter) ProtoMessage()

func (*EventsQuery_TimeFilter) ProtoReflect

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

func (*EventsQuery_TimeFilter) Reset

func (x *EventsQuery_TimeFilter) Reset()

func (*EventsQuery_TimeFilter) String

func (x *EventsQuery_TimeFilter) String() string

type GetEventsResponse

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

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

Deprecated: Use GetEventsResponse.ProtoReflect.Descriptor instead.

func (*GetEventsResponse) GetCursor

func (x *GetEventsResponse) GetCursor() int64

func (*GetEventsResponse) GetEvents

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

func (*GetEventsResponse) ProtoMessage

func (*GetEventsResponse) ProtoMessage()

func (*GetEventsResponse) ProtoReflect

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

func (*GetEventsResponse) Reset

func (x *GetEventsResponse) Reset()

func (*GetEventsResponse) String

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"`
	Topology *Topology `protobuf:"bytes,2,opt,name=topology,proto3" json:"topology,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) GetTopology added in v0.157.0

func (x *GetModulesResponse) GetTopology() *Topology

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

type LogEvent struct {
	DeploymentKey string                 `protobuf:"bytes,1,opt,name=deployment_key,json=deploymentKey,proto3" json:"deployment_key,omitempty"`
	RequestKey    *string                `protobuf:"bytes,2,opt,name=request_key,json=requestKey,proto3,oneof" json:"request_key,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

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

Deprecated: Use LogEvent.ProtoReflect.Descriptor instead.

func (*LogEvent) GetAttributes

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

func (*LogEvent) GetDeploymentKey added in v0.151.0

func (x *LogEvent) GetDeploymentKey() string

func (*LogEvent) GetError

func (x *LogEvent) GetError() string

func (*LogEvent) GetLogLevel

func (x *LogEvent) GetLogLevel() int32

func (*LogEvent) GetMessage

func (x *LogEvent) GetMessage() string

func (*LogEvent) GetRequestKey added in v0.165.1

func (x *LogEvent) GetRequestKey() string

func (*LogEvent) GetStack

func (x *LogEvent) GetStack() string

func (*LogEvent) GetTimeStamp

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

func (*LogEvent) ProtoMessage

func (*LogEvent) ProtoMessage()

func (*LogEvent) ProtoReflect

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

func (*LogEvent) Reset

func (x *LogEvent) Reset()

func (*LogEvent) String

func (x *LogEvent) String() string

type LogLevel

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

func (LogLevel) Descriptor() protoreflect.EnumDescriptor

func (LogLevel) Enum

func (x LogLevel) Enum() *LogLevel

func (LogLevel) EnumDescriptor deprecated

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

Deprecated: Use LogLevel.Descriptor instead.

func (LogLevel) Number

func (x LogLevel) Number() protoreflect.EnumNumber

func (LogLevel) String

func (x LogLevel) String() string

func (LogLevel) Type

type Module

type Module struct {
	Name          string    `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	DeploymentKey string    `protobuf:"bytes,2,opt,name=deployment_key,json=deploymentKey,proto3" json:"deployment_key,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"`
	Secrets       []*Secret `protobuf:"bytes,7,rep,name=secrets,proto3" json:"secrets,omitempty"`
	Configs       []*Config `protobuf:"bytes,8,rep,name=configs,proto3" json:"configs,omitempty"`
	// contains filtered or unexported fields
}

func (*Module) Descriptor deprecated

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

Deprecated: Use Module.ProtoReflect.Descriptor instead.

func (*Module) GetConfigs added in v0.157.0

func (x *Module) GetConfigs() []*Config

func (*Module) GetData

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

func (*Module) GetDeploymentKey added in v0.151.0

func (x *Module) GetDeploymentKey() 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) GetSecrets added in v0.157.0

func (x *Module) GetSecrets() []*Secret

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 Secret added in v0.157.0

type Secret struct {
	Secret *schema.Secret `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

func (*Secret) Descriptor deprecated added in v0.157.0

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

Deprecated: Use Secret.ProtoReflect.Descriptor instead.

func (*Secret) GetSecret added in v0.157.0

func (x *Secret) GetSecret() *schema.Secret

func (*Secret) ProtoMessage added in v0.157.0

func (*Secret) ProtoMessage()

func (*Secret) ProtoReflect added in v0.157.0

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

func (*Secret) Reset added in v0.157.0

func (x *Secret) Reset()

func (*Secret) String added in v0.157.0

func (x *Secret) String() string

type StreamEventsRequest

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

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

Deprecated: Use StreamEventsRequest.ProtoReflect.Descriptor instead.

func (*StreamEventsRequest) GetQuery

func (x *StreamEventsRequest) GetQuery() *EventsQuery

func (*StreamEventsRequest) GetUpdateInterval

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

func (*StreamEventsRequest) ProtoMessage

func (*StreamEventsRequest) ProtoMessage()

func (*StreamEventsRequest) ProtoReflect

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

func (*StreamEventsRequest) Reset

func (x *StreamEventsRequest) Reset()

func (*StreamEventsRequest) String

func (x *StreamEventsRequest) String() string

type StreamEventsResponse

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

func (*StreamEventsResponse) Descriptor deprecated

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

Deprecated: Use StreamEventsResponse.ProtoReflect.Descriptor instead.

func (*StreamEventsResponse) GetEvents

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

func (*StreamEventsResponse) ProtoMessage

func (*StreamEventsResponse) ProtoMessage()

func (*StreamEventsResponse) ProtoReflect

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

func (*StreamEventsResponse) Reset

func (x *StreamEventsResponse) Reset()

func (*StreamEventsResponse) String

func (x *StreamEventsResponse) String() string

type Topology added in v0.157.0

type Topology struct {
	Levels []*TopologyGroup `protobuf:"bytes,1,rep,name=levels,proto3" json:"levels,omitempty"`
	// contains filtered or unexported fields
}

func (*Topology) Descriptor deprecated added in v0.157.0

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

Deprecated: Use Topology.ProtoReflect.Descriptor instead.

func (*Topology) GetLevels added in v0.157.0

func (x *Topology) GetLevels() []*TopologyGroup

func (*Topology) ProtoMessage added in v0.157.0

func (*Topology) ProtoMessage()

func (*Topology) ProtoReflect added in v0.157.0

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

func (*Topology) Reset added in v0.157.0

func (x *Topology) Reset()

func (*Topology) String added in v0.157.0

func (x *Topology) String() string

type TopologyGroup added in v0.157.0

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

func (*TopologyGroup) Descriptor deprecated added in v0.157.0

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

Deprecated: Use TopologyGroup.ProtoReflect.Descriptor instead.

func (*TopologyGroup) GetModules added in v0.157.0

func (x *TopologyGroup) GetModules() []string

func (*TopologyGroup) ProtoMessage added in v0.157.0

func (*TopologyGroup) ProtoMessage()

func (*TopologyGroup) ProtoReflect added in v0.157.0

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

func (*TopologyGroup) Reset added in v0.157.0

func (x *TopologyGroup) Reset()

func (*TopologyGroup) String added in v0.157.0

func (x *TopologyGroup) 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

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