pbconsole

package
v0.3.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DeploymentEventType_name = map[int32]string{
		0: "DEPLOYMENT_CREATED",
		1: "DEPLOYMENT_UPDATED",
		2: "DEPLOYMENT_REPLACED",
	}
	DeploymentEventType_value = map[string]int32{
		"DEPLOYMENT_CREATED":  0,
		"DEPLOYMENT_UPDATED":  1,
		"DEPLOYMENT_REPLACED": 2,
	}
)

Enum value maps for DeploymentEventType.

View Source
var File_xyz_block_ftl_v1_console_console_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Call

type Call struct {
	RequestKey         *string                `protobuf:"bytes,1,opt,name=request_key,json=requestKey,proto3,oneof" json:"request_key,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"`
	// contains filtered or unexported fields
}

func (*Call) Descriptor deprecated

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

Deprecated: Use Call.ProtoReflect.Descriptor instead.

func (*Call) GetDeploymentName

func (x *Call) GetDeploymentName() string

func (*Call) GetDestinationVerbRef

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

func (*Call) GetDuration

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

func (*Call) GetError

func (x *Call) GetError() string

func (*Call) GetRequest

func (x *Call) GetRequest() string

func (*Call) GetRequestKey

func (x *Call) GetRequestKey() string

func (*Call) GetResponse

func (x *Call) GetResponse() string

func (*Call) GetSourceVerbRef

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

func (*Call) GetTimeStamp

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

func (*Call) ProtoMessage

func (*Call) ProtoMessage()

func (*Call) ProtoReflect

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

func (*Call) Reset

func (x *Call) Reset()

func (*Call) String

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

type Deployment 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"`
	EventType   DeploymentEventType `` /* 139-byte string literal not displayed */
	Replaced    *string             `protobuf:"bytes,6,opt,name=replaced,proto3,oneof" json:"replaced,omitempty"`
	// contains filtered or unexported fields
}

func (*Deployment) Descriptor deprecated

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

Deprecated: Use Deployment.ProtoReflect.Descriptor instead.

func (*Deployment) GetEventType

func (x *Deployment) GetEventType() DeploymentEventType

func (*Deployment) GetLanguage

func (x *Deployment) GetLanguage() string

func (*Deployment) GetMinReplicas

func (x *Deployment) GetMinReplicas() int32

func (*Deployment) GetModuleName

func (x *Deployment) GetModuleName() string

func (*Deployment) GetName

func (x *Deployment) GetName() string

func (*Deployment) GetReplaced

func (x *Deployment) GetReplaced() string

func (*Deployment) ProtoMessage

func (*Deployment) ProtoMessage()

func (*Deployment) ProtoReflect

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

func (*Deployment) Reset

func (x *Deployment) Reset()

func (*Deployment) String

func (x *Deployment) String() string

type DeploymentEventType

type DeploymentEventType int32
const (
	DeploymentEventType_DEPLOYMENT_CREATED  DeploymentEventType = 0
	DeploymentEventType_DEPLOYMENT_UPDATED  DeploymentEventType = 1
	DeploymentEventType_DEPLOYMENT_REPLACED DeploymentEventType = 2
)

func (DeploymentEventType) Descriptor

func (DeploymentEventType) Enum

func (DeploymentEventType) EnumDescriptor deprecated

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

Deprecated: Use DeploymentEventType.Descriptor instead.

func (DeploymentEventType) Number

func (DeploymentEventType) String

func (x DeploymentEventType) String() string

func (DeploymentEventType) Type

type GetCallsRequest

type GetCallsRequest struct {
	Module string `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
	Verb   string `protobuf:"bytes,2,opt,name=verb,proto3" json:"verb,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCallsRequest) Descriptor deprecated

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

Deprecated: Use GetCallsRequest.ProtoReflect.Descriptor instead.

func (*GetCallsRequest) GetModule

func (x *GetCallsRequest) GetModule() string

func (*GetCallsRequest) GetVerb

func (x *GetCallsRequest) GetVerb() string

func (*GetCallsRequest) ProtoMessage

func (*GetCallsRequest) ProtoMessage()

func (*GetCallsRequest) ProtoReflect

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

func (*GetCallsRequest) Reset

func (x *GetCallsRequest) Reset()

func (*GetCallsRequest) String

func (x *GetCallsRequest) String() string

type GetCallsResponse

type GetCallsResponse struct {
	Calls []*Call `protobuf:"bytes,1,rep,name=calls,proto3" json:"calls,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCallsResponse) Descriptor deprecated

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

Deprecated: Use GetCallsResponse.ProtoReflect.Descriptor instead.

func (*GetCallsResponse) GetCalls

func (x *GetCallsResponse) GetCalls() []*Call

func (*GetCallsResponse) ProtoMessage

func (*GetCallsResponse) ProtoMessage()

func (*GetCallsResponse) ProtoReflect

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

func (*GetCallsResponse) Reset

func (x *GetCallsResponse) Reset()

func (*GetCallsResponse) String

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

type GetRequestCallsRequest struct {
	RequestKey string `protobuf:"bytes,1,opt,name=request_key,json=requestKey,proto3" json:"request_key,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRequestCallsRequest) Descriptor deprecated

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

Deprecated: Use GetRequestCallsRequest.ProtoReflect.Descriptor instead.

func (*GetRequestCallsRequest) GetRequestKey

func (x *GetRequestCallsRequest) GetRequestKey() string

func (*GetRequestCallsRequest) ProtoMessage

func (*GetRequestCallsRequest) ProtoMessage()

func (*GetRequestCallsRequest) ProtoReflect

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

func (*GetRequestCallsRequest) Reset

func (x *GetRequestCallsRequest) Reset()

func (*GetRequestCallsRequest) String

func (x *GetRequestCallsRequest) String() string

type GetRequestCallsResponse

type GetRequestCallsResponse struct {
	Calls []*Call `protobuf:"bytes,1,rep,name=calls,proto3" json:"calls,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRequestCallsResponse) Descriptor deprecated

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

Deprecated: Use GetRequestCallsResponse.ProtoReflect.Descriptor instead.

func (*GetRequestCallsResponse) GetCalls

func (x *GetRequestCallsResponse) GetCalls() []*Call

func (*GetRequestCallsResponse) ProtoMessage

func (*GetRequestCallsResponse) ProtoMessage()

func (*GetRequestCallsResponse) ProtoReflect

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

func (*GetRequestCallsResponse) Reset

func (x *GetRequestCallsResponse) Reset()

func (*GetRequestCallsResponse) String

func (x *GetRequestCallsResponse) String() string

type LogEntry

type LogEntry struct {
	DeploymentName string                 `protobuf:"bytes,1,opt,name=deployment_name,json=deploymentName,proto3" json:"deployment_name,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"`
	// contains filtered or unexported fields
}

func (*LogEntry) Descriptor deprecated

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

Deprecated: Use LogEntry.ProtoReflect.Descriptor instead.

func (*LogEntry) GetAttributes

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

func (*LogEntry) GetDeploymentName

func (x *LogEntry) GetDeploymentName() string

func (*LogEntry) GetError

func (x *LogEntry) GetError() string

func (*LogEntry) GetLogLevel

func (x *LogEntry) GetLogLevel() int32

func (*LogEntry) GetMessage

func (x *LogEntry) GetMessage() string

func (*LogEntry) GetRequestKey

func (x *LogEntry) GetRequestKey() string

func (*LogEntry) GetTimeStamp

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

func (*LogEntry) ProtoMessage

func (*LogEntry) ProtoMessage()

func (*LogEntry) ProtoReflect

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

func (*LogEntry) Reset

func (x *LogEntry) Reset()

func (*LogEntry) String

func (x *LogEntry) String() string

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 StreamLogsRequest

type StreamLogsRequest struct {
	UpdateInterval *durationpb.Duration   `protobuf:"bytes,1,opt,name=update_interval,json=updateInterval,proto3,oneof" json:"update_interval,omitempty"`
	AfterTime      *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=after_time,json=afterTime,proto3" json:"after_time,omitempty"`
	DeploymentName string                 `protobuf:"bytes,3,opt,name=deployment_name,json=deploymentName,proto3" json:"deployment_name,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamLogsRequest) Descriptor deprecated

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

Deprecated: Use StreamLogsRequest.ProtoReflect.Descriptor instead.

func (*StreamLogsRequest) GetAfterTime

func (x *StreamLogsRequest) GetAfterTime() *timestamppb.Timestamp

func (*StreamLogsRequest) GetDeploymentName

func (x *StreamLogsRequest) GetDeploymentName() string

func (*StreamLogsRequest) GetUpdateInterval

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

func (*StreamLogsRequest) ProtoMessage

func (*StreamLogsRequest) ProtoMessage()

func (*StreamLogsRequest) ProtoReflect

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

func (*StreamLogsRequest) Reset

func (x *StreamLogsRequest) Reset()

func (*StreamLogsRequest) String

func (x *StreamLogsRequest) String() string

type StreamLogsResponse

type StreamLogsResponse struct {
	Log *LogEntry `protobuf:"bytes,1,opt,name=log,proto3" json:"log,omitempty"`
	// If true there are more logs immediately following this one as part of the initial batch.
	// If false this is the last log in the initial batch, but others may follow later.
	More bool `protobuf:"varint,2,opt,name=more,proto3" json:"more,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamLogsResponse) Descriptor deprecated

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

Deprecated: Use StreamLogsResponse.ProtoReflect.Descriptor instead.

func (*StreamLogsResponse) GetLog

func (x *StreamLogsResponse) GetLog() *LogEntry

func (*StreamLogsResponse) GetMore

func (x *StreamLogsResponse) GetMore() bool

func (*StreamLogsResponse) ProtoMessage

func (*StreamLogsResponse) ProtoMessage()

func (*StreamLogsResponse) ProtoReflect

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

func (*StreamLogsResponse) Reset

func (x *StreamLogsResponse) Reset()

func (*StreamLogsResponse) String

func (x *StreamLogsResponse) String() string

type StreamTimelineRequest

type StreamTimelineRequest struct {
	UpdateInterval *durationpb.Duration   `protobuf:"bytes,1,opt,name=update_interval,json=updateInterval,proto3,oneof" json:"update_interval,omitempty"`
	AfterTime      *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=after_time,json=afterTime,proto3" json:"after_time,omitempty"`
	DeploymentName string                 `protobuf:"bytes,3,opt,name=deployment_name,json=deploymentName,proto3" json:"deployment_name,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamTimelineRequest) Descriptor deprecated

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

Deprecated: Use StreamTimelineRequest.ProtoReflect.Descriptor instead.

func (*StreamTimelineRequest) GetAfterTime

func (x *StreamTimelineRequest) GetAfterTime() *timestamppb.Timestamp

func (*StreamTimelineRequest) GetDeploymentName

func (x *StreamTimelineRequest) GetDeploymentName() string

func (*StreamTimelineRequest) GetUpdateInterval

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

func (*StreamTimelineRequest) ProtoMessage

func (*StreamTimelineRequest) ProtoMessage()

func (*StreamTimelineRequest) ProtoReflect

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

func (*StreamTimelineRequest) Reset

func (x *StreamTimelineRequest) Reset()

func (*StreamTimelineRequest) String

func (x *StreamTimelineRequest) String() string

type StreamTimelineResponse

type StreamTimelineResponse 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:
	//	*StreamTimelineResponse_Call
	//	*StreamTimelineResponse_Deployment
	//	*StreamTimelineResponse_Log
	Entry isStreamTimelineResponse_Entry `protobuf_oneof:"entry"`
	// If true there are more logs immediately following this one as part of the initial batch.
	// If false this is the last log in the initial batch, but others may follow later.
	More bool `protobuf:"varint,6,opt,name=more,proto3" json:"more,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamTimelineResponse) Descriptor deprecated

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

Deprecated: Use StreamTimelineResponse.ProtoReflect.Descriptor instead.

func (*StreamTimelineResponse) GetCall

func (x *StreamTimelineResponse) GetCall() *Call

func (*StreamTimelineResponse) GetDeployment

func (x *StreamTimelineResponse) GetDeployment() *Deployment

func (*StreamTimelineResponse) GetEntry

func (m *StreamTimelineResponse) GetEntry() isStreamTimelineResponse_Entry

func (*StreamTimelineResponse) GetId

func (x *StreamTimelineResponse) GetId() int64

func (*StreamTimelineResponse) GetLog

func (x *StreamTimelineResponse) GetLog() *LogEntry

func (*StreamTimelineResponse) GetMore

func (x *StreamTimelineResponse) GetMore() bool

func (*StreamTimelineResponse) GetTimeStamp

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

func (*StreamTimelineResponse) ProtoMessage

func (*StreamTimelineResponse) ProtoMessage()

func (*StreamTimelineResponse) ProtoReflect

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

func (*StreamTimelineResponse) Reset

func (x *StreamTimelineResponse) Reset()

func (*StreamTimelineResponse) String

func (x *StreamTimelineResponse) String() string

type StreamTimelineResponse_Call

type StreamTimelineResponse_Call struct {
	Call *Call `protobuf:"bytes,3,opt,name=call,proto3,oneof"`
}

type StreamTimelineResponse_Deployment

type StreamTimelineResponse_Deployment struct {
	Deployment *Deployment `protobuf:"bytes,4,opt,name=deployment,proto3,oneof"`
}

type StreamTimelineResponse_Log

type StreamTimelineResponse_Log struct {
	Log *LogEntry `protobuf:"bytes,5,opt,name=log,proto3,oneof"`
}

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