v1

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2025 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	GatewayClientService_ListProjects_FullMethodName            = "/devloop_gateway.v1.GatewayClientService/ListProjects"
	GatewayClientService_GetConfig_FullMethodName               = "/devloop_gateway.v1.GatewayClientService/GetConfig"
	GatewayClientService_GetRuleStatus_FullMethodName           = "/devloop_gateway.v1.GatewayClientService/GetRuleStatus"
	GatewayClientService_TriggerRuleClient_FullMethodName       = "/devloop_gateway.v1.GatewayClientService/TriggerRuleClient"
	GatewayClientService_ListWatchedPaths_FullMethodName        = "/devloop_gateway.v1.GatewayClientService/ListWatchedPaths"
	GatewayClientService_ReadFileContent_FullMethodName         = "/devloop_gateway.v1.GatewayClientService/ReadFileContent"
	GatewayClientService_StreamLogsClient_FullMethodName        = "/devloop_gateway.v1.GatewayClientService/StreamLogsClient"
	GatewayClientService_GetHistoricalLogsClient_FullMethodName = "/devloop_gateway.v1.GatewayClientService/GetHistoricalLogsClient"
)
View Source
const (
	DevloopGatewayService_Communicate_FullMethodName = "/devloop_gateway.v1.DevloopGatewayService/Communicate"
)

Variables

View Source
var DevloopGatewayService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "devloop_gateway.v1.DevloopGatewayService",
	HandlerType: (*DevloopGatewayServiceServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Communicate",
			Handler:       _DevloopGatewayService_Communicate_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "protos/devloop/v1/devloop_gateway.proto",
}

DevloopGatewayService_ServiceDesc is the grpc.ServiceDesc for DevloopGatewayService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_protos_devloop_v1_devloop_gateway_proto protoreflect.FileDescriptor
View Source
var GatewayClientService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "devloop_gateway.v1.GatewayClientService",
	HandlerType: (*GatewayClientServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListProjects",
			Handler:    _GatewayClientService_ListProjects_Handler,
		},
		{
			MethodName: "GetConfig",
			Handler:    _GatewayClientService_GetConfig_Handler,
		},
		{
			MethodName: "GetRuleStatus",
			Handler:    _GatewayClientService_GetRuleStatus_Handler,
		},
		{
			MethodName: "TriggerRuleClient",
			Handler:    _GatewayClientService_TriggerRuleClient_Handler,
		},
		{
			MethodName: "ListWatchedPaths",
			Handler:    _GatewayClientService_ListWatchedPaths_Handler,
		},
		{
			MethodName: "ReadFileContent",
			Handler:    _GatewayClientService_ReadFileContent_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "StreamLogsClient",
			Handler:       _GatewayClientService_StreamLogsClient_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "GetHistoricalLogsClient",
			Handler:       _GatewayClientService_GetHistoricalLogsClient_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "protos/devloop/v1/devloop_gateway.proto",
}

GatewayClientService_ServiceDesc is the grpc.ServiceDesc for GatewayClientService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterDevloopGatewayServiceServer

func RegisterDevloopGatewayServiceServer(s grpc.ServiceRegistrar, srv DevloopGatewayServiceServer)

func RegisterGatewayClientServiceHandler

func RegisterGatewayClientServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterGatewayClientServiceHandler registers the http handlers for service GatewayClientService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterGatewayClientServiceHandlerClient

func RegisterGatewayClientServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client GatewayClientServiceClient) error

RegisterGatewayClientServiceHandlerClient registers the http handlers for service GatewayClientService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "GatewayClientServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "GatewayClientServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "GatewayClientServiceClient" to call the correct interceptors. This client ignores the HTTP middlewares.

func RegisterGatewayClientServiceHandlerFromEndpoint

func RegisterGatewayClientServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterGatewayClientServiceHandlerFromEndpoint is same as RegisterGatewayClientServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterGatewayClientServiceHandlerServer

func RegisterGatewayClientServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server GatewayClientServiceServer) error

RegisterGatewayClientServiceHandlerServer registers the http handlers for service GatewayClientService to "mux". UnaryRPC :call GatewayClientServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterGatewayClientServiceHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterGatewayClientServiceServer

func RegisterGatewayClientServiceServer(s grpc.ServiceRegistrar, srv GatewayClientServiceServer)

Types

type DevloopGatewayServiceClient

type DevloopGatewayServiceClient interface {
	// Communicate handles all bidirectional communication between devloop and the gateway.
	Communicate(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[DevloopMessage, DevloopMessage], error)
}

DevloopGatewayServiceClient is the client API for DevloopGatewayService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

DevloopGatewayService defines the gRPC service for communication between devloop and the gateway.

type DevloopGatewayServiceServer

type DevloopGatewayServiceServer interface {
	// Communicate handles all bidirectional communication between devloop and the gateway.
	Communicate(grpc.BidiStreamingServer[DevloopMessage, DevloopMessage]) error
}

DevloopGatewayServiceServer is the server API for DevloopGatewayService service. All implementations should embed UnimplementedDevloopGatewayServiceServer for forward compatibility.

DevloopGatewayService defines the gRPC service for communication between devloop and the gateway.

type DevloopGatewayService_CommunicateClient

type DevloopGatewayService_CommunicateClient = grpc.BidiStreamingClient[DevloopMessage, DevloopMessage]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type DevloopGatewayService_CommunicateServer

type DevloopGatewayService_CommunicateServer = grpc.BidiStreamingServer[DevloopMessage, DevloopMessage]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type DevloopMessage

type DevloopMessage struct {
	CorrelationId string `protobuf:"bytes,1,opt,name=correlation_id,json=correlationId,proto3" json:"correlation_id,omitempty"` // Used to correlate requests and responses
	// Types that are valid to be assigned to Content:
	//
	//	*DevloopMessage_RegisterRequest
	//	*DevloopMessage_UnregisterRequest
	//	*DevloopMessage_LogLine
	//	*DevloopMessage_UpdateRuleStatusRequest
	//	*DevloopMessage_GetConfigResponse
	//	*DevloopMessage_GetRuleStatusResponse
	//	*DevloopMessage_TriggerRuleResponse
	//	*DevloopMessage_ListWatchedPathsResponse
	//	*DevloopMessage_ReadFileContentResponse
	//	*DevloopMessage_TriggerRuleRequest
	//	*DevloopMessage_GetConfigRequest
	//	*DevloopMessage_GetRuleStatusRequest
	//	*DevloopMessage_ListWatchedPathsRequest
	//	*DevloopMessage_ReadFileContentRequest
	//	*DevloopMessage_GetHistoricalLogsRequest
	Content isDevloopMessage_Content `protobuf_oneof:"content"`
	// contains filtered or unexported fields
}

DevloopMessage is a wrapper for all messages exchanged between devloop and the gateway.

func (*DevloopMessage) Descriptor deprecated

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

Deprecated: Use DevloopMessage.ProtoReflect.Descriptor instead.

func (*DevloopMessage) GetContent

func (x *DevloopMessage) GetContent() isDevloopMessage_Content

func (*DevloopMessage) GetCorrelationId

func (x *DevloopMessage) GetCorrelationId() string

func (*DevloopMessage) GetGetConfigRequest

func (x *DevloopMessage) GetGetConfigRequest() *GetConfigRequest

func (*DevloopMessage) GetGetConfigResponse

func (x *DevloopMessage) GetGetConfigResponse() *GetConfigResponse

func (*DevloopMessage) GetGetHistoricalLogsRequest

func (x *DevloopMessage) GetGetHistoricalLogsRequest() *GetHistoricalLogsRequest

func (*DevloopMessage) GetGetRuleStatusRequest

func (x *DevloopMessage) GetGetRuleStatusRequest() *GetRuleStatusRequest

func (*DevloopMessage) GetGetRuleStatusResponse

func (x *DevloopMessage) GetGetRuleStatusResponse() *GetRuleStatusResponse

func (*DevloopMessage) GetListWatchedPathsRequest

func (x *DevloopMessage) GetListWatchedPathsRequest() *ListWatchedPathsRequest

func (*DevloopMessage) GetListWatchedPathsResponse

func (x *DevloopMessage) GetListWatchedPathsResponse() *ListWatchedPathsResponse

func (*DevloopMessage) GetLogLine

func (x *DevloopMessage) GetLogLine() *LogLine

func (*DevloopMessage) GetReadFileContentRequest

func (x *DevloopMessage) GetReadFileContentRequest() *ReadFileContentRequest

func (*DevloopMessage) GetReadFileContentResponse

func (x *DevloopMessage) GetReadFileContentResponse() *ReadFileContentResponse

func (*DevloopMessage) GetRegisterRequest

func (x *DevloopMessage) GetRegisterRequest() *RegisterRequest

func (*DevloopMessage) GetTriggerRuleRequest

func (x *DevloopMessage) GetTriggerRuleRequest() *TriggerRuleRequest

func (*DevloopMessage) GetTriggerRuleResponse

func (x *DevloopMessage) GetTriggerRuleResponse() *TriggerRuleResponse

func (*DevloopMessage) GetUnregisterRequest

func (x *DevloopMessage) GetUnregisterRequest() *UnregisterRequest

func (*DevloopMessage) GetUpdateRuleStatusRequest

func (x *DevloopMessage) GetUpdateRuleStatusRequest() *UpdateRuleStatusRequest

func (*DevloopMessage) ProtoMessage

func (*DevloopMessage) ProtoMessage()

func (*DevloopMessage) ProtoReflect

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

func (*DevloopMessage) Reset

func (x *DevloopMessage) Reset()

func (*DevloopMessage) String

func (x *DevloopMessage) String() string

type DevloopMessage_GetConfigRequest

type DevloopMessage_GetConfigRequest struct {
	GetConfigRequest *GetConfigRequest `protobuf:"bytes,12,opt,name=get_config_request,json=getConfigRequest,proto3,oneof"`
}

type DevloopMessage_GetConfigResponse

type DevloopMessage_GetConfigResponse struct {
	GetConfigResponse *GetConfigResponse `protobuf:"bytes,6,opt,name=get_config_response,json=getConfigResponse,proto3,oneof"`
}

type DevloopMessage_GetHistoricalLogsRequest

type DevloopMessage_GetHistoricalLogsRequest struct {
	GetHistoricalLogsRequest *GetHistoricalLogsRequest `protobuf:"bytes,16,opt,name=get_historical_logs_request,json=getHistoricalLogsRequest,proto3,oneof"`
}

type DevloopMessage_GetRuleStatusRequest

type DevloopMessage_GetRuleStatusRequest struct {
	GetRuleStatusRequest *GetRuleStatusRequest `protobuf:"bytes,13,opt,name=get_rule_status_request,json=getRuleStatusRequest,proto3,oneof"`
}

type DevloopMessage_GetRuleStatusResponse

type DevloopMessage_GetRuleStatusResponse struct {
	GetRuleStatusResponse *GetRuleStatusResponse `protobuf:"bytes,7,opt,name=get_rule_status_response,json=getRuleStatusResponse,proto3,oneof"`
}

type DevloopMessage_ListWatchedPathsRequest

type DevloopMessage_ListWatchedPathsRequest struct {
	ListWatchedPathsRequest *ListWatchedPathsRequest `protobuf:"bytes,14,opt,name=list_watched_paths_request,json=listWatchedPathsRequest,proto3,oneof"`
}

type DevloopMessage_ListWatchedPathsResponse

type DevloopMessage_ListWatchedPathsResponse struct {
	ListWatchedPathsResponse *ListWatchedPathsResponse `protobuf:"bytes,9,opt,name=list_watched_paths_response,json=listWatchedPathsResponse,proto3,oneof"`
}

type DevloopMessage_LogLine

type DevloopMessage_LogLine struct {
	LogLine *LogLine `protobuf:"bytes,4,opt,name=log_line,json=logLine,proto3,oneof"`
}

type DevloopMessage_ReadFileContentRequest

type DevloopMessage_ReadFileContentRequest struct {
	ReadFileContentRequest *ReadFileContentRequest `protobuf:"bytes,15,opt,name=read_file_content_request,json=readFileContentRequest,proto3,oneof"`
}

type DevloopMessage_ReadFileContentResponse

type DevloopMessage_ReadFileContentResponse struct {
	ReadFileContentResponse *ReadFileContentResponse `protobuf:"bytes,10,opt,name=read_file_content_response,json=readFileContentResponse,proto3,oneof"`
}

type DevloopMessage_RegisterRequest

type DevloopMessage_RegisterRequest struct {
	// Messages sent from devloop to gateway
	RegisterRequest *RegisterRequest `protobuf:"bytes,2,opt,name=register_request,json=registerRequest,proto3,oneof"`
}

type DevloopMessage_TriggerRuleRequest

type DevloopMessage_TriggerRuleRequest struct {
	// Messages sent from gateway to devloop
	TriggerRuleRequest *TriggerRuleRequest `protobuf:"bytes,11,opt,name=trigger_rule_request,json=triggerRuleRequest,proto3,oneof"`
}

type DevloopMessage_TriggerRuleResponse

type DevloopMessage_TriggerRuleResponse struct {
	TriggerRuleResponse *TriggerRuleResponse `protobuf:"bytes,8,opt,name=trigger_rule_response,json=triggerRuleResponse,proto3,oneof"`
}

type DevloopMessage_UnregisterRequest

type DevloopMessage_UnregisterRequest struct {
	UnregisterRequest *UnregisterRequest `protobuf:"bytes,3,opt,name=unregister_request,json=unregisterRequest,proto3,oneof"`
}

type DevloopMessage_UpdateRuleStatusRequest

type DevloopMessage_UpdateRuleStatusRequest struct {
	UpdateRuleStatusRequest *UpdateRuleStatusRequest `protobuf:"bytes,5,opt,name=update_rule_status_request,json=updateRuleStatusRequest,proto3,oneof"`
}

type GatewayClientServiceClient

type GatewayClientServiceClient interface {
	// List all registered devloop projects.
	ListProjects(ctx context.Context, in *ListProjectsRequest, opts ...grpc.CallOption) (*ListProjectsResponse, error)
	// Get the configuration for a specific devloop project.
	GetConfig(ctx context.Context, in *GetConfigRequest, opts ...grpc.CallOption) (*GetConfigResponse, error)
	// Get the detailed status of a specific rule within a project.
	GetRuleStatus(ctx context.Context, in *GetRuleStatusRequest, opts ...grpc.CallOption) (*GetRuleStatusResponse, error)
	// Manually trigger a specific rule in a devloop project.
	TriggerRuleClient(ctx context.Context, in *TriggerRuleClientRequest, opts ...grpc.CallOption) (*TriggerRuleClientResponse, error)
	// List all glob patterns being watched by a specific devloop project.
	ListWatchedPaths(ctx context.Context, in *ListWatchedPathsRequest, opts ...grpc.CallOption) (*ListWatchedPathsResponse, error)
	// Read and return the content of a specific file within a devloop project.
	ReadFileContent(ctx context.Context, in *ReadFileContentRequest, opts ...grpc.CallOption) (*ReadFileContentResponse, error)
	// Stream real-time logs for a specific rule in a project.
	StreamLogsClient(ctx context.Context, in *StreamLogsClientRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[LogLine], error)
	// Retrieve historical logs for a specific rule, with optional time filtering.
	GetHistoricalLogsClient(ctx context.Context, in *GetHistoricalLogsClientRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[LogLine], error)
}

GatewayClientServiceClient is the client API for GatewayClientService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

GatewayClientService defines the gRPC service for MCP clients to interact with the gateway.

type GatewayClientServiceServer

type GatewayClientServiceServer interface {
	// List all registered devloop projects.
	ListProjects(context.Context, *ListProjectsRequest) (*ListProjectsResponse, error)
	// Get the configuration for a specific devloop project.
	GetConfig(context.Context, *GetConfigRequest) (*GetConfigResponse, error)
	// Get the detailed status of a specific rule within a project.
	GetRuleStatus(context.Context, *GetRuleStatusRequest) (*GetRuleStatusResponse, error)
	// Manually trigger a specific rule in a devloop project.
	TriggerRuleClient(context.Context, *TriggerRuleClientRequest) (*TriggerRuleClientResponse, error)
	// List all glob patterns being watched by a specific devloop project.
	ListWatchedPaths(context.Context, *ListWatchedPathsRequest) (*ListWatchedPathsResponse, error)
	// Read and return the content of a specific file within a devloop project.
	ReadFileContent(context.Context, *ReadFileContentRequest) (*ReadFileContentResponse, error)
	// Stream real-time logs for a specific rule in a project.
	StreamLogsClient(*StreamLogsClientRequest, grpc.ServerStreamingServer[LogLine]) error
	// Retrieve historical logs for a specific rule, with optional time filtering.
	GetHistoricalLogsClient(*GetHistoricalLogsClientRequest, grpc.ServerStreamingServer[LogLine]) error
}

GatewayClientServiceServer is the server API for GatewayClientService service. All implementations should embed UnimplementedGatewayClientServiceServer for forward compatibility.

GatewayClientService defines the gRPC service for MCP clients to interact with the gateway.

type GatewayClientService_GetHistoricalLogsClientClient

type GatewayClientService_GetHistoricalLogsClientClient = grpc.ServerStreamingClient[LogLine]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type GatewayClientService_GetHistoricalLogsClientServer

type GatewayClientService_GetHistoricalLogsClientServer = grpc.ServerStreamingServer[LogLine]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type GatewayClientService_StreamLogsClientClient

type GatewayClientService_StreamLogsClientClient = grpc.ServerStreamingClient[LogLine]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type GatewayClientService_StreamLogsClientServer

type GatewayClientService_StreamLogsClientServer = grpc.ServerStreamingServer[LogLine]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type GetConfigRequest

type GetConfigRequest struct {
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

GetConfigRequest is sent by the gateway to devloop to request config.

func (*GetConfigRequest) Descriptor deprecated

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

Deprecated: Use GetConfigRequest.ProtoReflect.Descriptor instead.

func (*GetConfigRequest) GetProjectId

func (x *GetConfigRequest) GetProjectId() string

func (*GetConfigRequest) ProtoMessage

func (*GetConfigRequest) ProtoMessage()

func (*GetConfigRequest) ProtoReflect

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

func (*GetConfigRequest) Reset

func (x *GetConfigRequest) Reset()

func (*GetConfigRequest) String

func (x *GetConfigRequest) String() string

type GetConfigResponse

type GetConfigResponse struct {
	ConfigJson []byte `protobuf:"bytes,1,opt,name=config_json,json=configJson,proto3" json:"config_json,omitempty"`
	// contains filtered or unexported fields
}

Responses from devloop to gateway

func (*GetConfigResponse) Descriptor deprecated

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

Deprecated: Use GetConfigResponse.ProtoReflect.Descriptor instead.

func (*GetConfigResponse) GetConfigJson

func (x *GetConfigResponse) GetConfigJson() []byte

func (*GetConfigResponse) ProtoMessage

func (*GetConfigResponse) ProtoMessage()

func (*GetConfigResponse) ProtoReflect

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

func (*GetConfigResponse) Reset

func (x *GetConfigResponse) Reset()

func (*GetConfigResponse) String

func (x *GetConfigResponse) String() string

type GetHistoricalLogsClientRequest

type GetHistoricalLogsClientRequest struct {
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	RuleName  string `protobuf:"bytes,2,opt,name=rule_name,json=ruleName,proto3" json:"rule_name,omitempty"`
	Filter    string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
	StartTime int64  `protobuf:"varint,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Unix timestamp in milliseconds, for logs after this time
	EndTime   int64  `protobuf:"varint,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`       // Unix timestamp in milliseconds, for logs before this time
	// contains filtered or unexported fields
}

func (*GetHistoricalLogsClientRequest) Descriptor deprecated

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

Deprecated: Use GetHistoricalLogsClientRequest.ProtoReflect.Descriptor instead.

func (*GetHistoricalLogsClientRequest) GetEndTime

func (x *GetHistoricalLogsClientRequest) GetEndTime() int64

func (*GetHistoricalLogsClientRequest) GetFilter

func (x *GetHistoricalLogsClientRequest) GetFilter() string

func (*GetHistoricalLogsClientRequest) GetProjectId

func (x *GetHistoricalLogsClientRequest) GetProjectId() string

func (*GetHistoricalLogsClientRequest) GetRuleName

func (x *GetHistoricalLogsClientRequest) GetRuleName() string

func (*GetHistoricalLogsClientRequest) GetStartTime

func (x *GetHistoricalLogsClientRequest) GetStartTime() int64

func (*GetHistoricalLogsClientRequest) ProtoMessage

func (*GetHistoricalLogsClientRequest) ProtoMessage()

func (*GetHistoricalLogsClientRequest) ProtoReflect

func (*GetHistoricalLogsClientRequest) Reset

func (x *GetHistoricalLogsClientRequest) Reset()

func (*GetHistoricalLogsClientRequest) String

type GetHistoricalLogsRequest

type GetHistoricalLogsRequest struct {
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	RuleName  string `protobuf:"bytes,2,opt,name=rule_name,json=ruleName,proto3" json:"rule_name,omitempty"`
	Filter    string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
	StartTime int64  `protobuf:"varint,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Unix timestamp in milliseconds, for logs after this time
	EndTime   int64  `protobuf:"varint,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`       // Unix timestamp in milliseconds, for logs before this time
	// contains filtered or unexported fields
}

GetHistoricalLogsRequest is sent by the gateway to devloop to request historical logs.

func (*GetHistoricalLogsRequest) Descriptor deprecated

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

Deprecated: Use GetHistoricalLogsRequest.ProtoReflect.Descriptor instead.

func (*GetHistoricalLogsRequest) GetEndTime

func (x *GetHistoricalLogsRequest) GetEndTime() int64

func (*GetHistoricalLogsRequest) GetFilter

func (x *GetHistoricalLogsRequest) GetFilter() string

func (*GetHistoricalLogsRequest) GetProjectId

func (x *GetHistoricalLogsRequest) GetProjectId() string

func (*GetHistoricalLogsRequest) GetRuleName

func (x *GetHistoricalLogsRequest) GetRuleName() string

func (*GetHistoricalLogsRequest) GetStartTime

func (x *GetHistoricalLogsRequest) GetStartTime() int64

func (*GetHistoricalLogsRequest) ProtoMessage

func (*GetHistoricalLogsRequest) ProtoMessage()

func (*GetHistoricalLogsRequest) ProtoReflect

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

func (*GetHistoricalLogsRequest) Reset

func (x *GetHistoricalLogsRequest) Reset()

func (*GetHistoricalLogsRequest) String

func (x *GetHistoricalLogsRequest) String() string

type GetRuleStatusRequest

type GetRuleStatusRequest struct {
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	RuleName  string `protobuf:"bytes,2,opt,name=rule_name,json=ruleName,proto3" json:"rule_name,omitempty"`
	// contains filtered or unexported fields
}

GetRuleStatusRequest is sent by the gateway to devloop to request rule status.

func (*GetRuleStatusRequest) Descriptor deprecated

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

Deprecated: Use GetRuleStatusRequest.ProtoReflect.Descriptor instead.

func (*GetRuleStatusRequest) GetProjectId

func (x *GetRuleStatusRequest) GetProjectId() string

func (*GetRuleStatusRequest) GetRuleName

func (x *GetRuleStatusRequest) GetRuleName() string

func (*GetRuleStatusRequest) ProtoMessage

func (*GetRuleStatusRequest) ProtoMessage()

func (*GetRuleStatusRequest) ProtoReflect

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

func (*GetRuleStatusRequest) Reset

func (x *GetRuleStatusRequest) Reset()

func (*GetRuleStatusRequest) String

func (x *GetRuleStatusRequest) String() string

type GetRuleStatusResponse

type GetRuleStatusResponse struct {
	RuleStatus *RuleStatus `protobuf:"bytes,1,opt,name=rule_status,json=ruleStatus,proto3" json:"rule_status,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRuleStatusResponse) Descriptor deprecated

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

Deprecated: Use GetRuleStatusResponse.ProtoReflect.Descriptor instead.

func (*GetRuleStatusResponse) GetRuleStatus

func (x *GetRuleStatusResponse) GetRuleStatus() *RuleStatus

func (*GetRuleStatusResponse) ProtoMessage

func (*GetRuleStatusResponse) ProtoMessage()

func (*GetRuleStatusResponse) ProtoReflect

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

func (*GetRuleStatusResponse) Reset

func (x *GetRuleStatusResponse) Reset()

func (*GetRuleStatusResponse) String

func (x *GetRuleStatusResponse) String() string

type ListProjectsRequest

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

func (*ListProjectsRequest) Descriptor deprecated

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

Deprecated: Use ListProjectsRequest.ProtoReflect.Descriptor instead.

func (*ListProjectsRequest) ProtoMessage

func (*ListProjectsRequest) ProtoMessage()

func (*ListProjectsRequest) ProtoReflect

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

func (*ListProjectsRequest) Reset

func (x *ListProjectsRequest) Reset()

func (*ListProjectsRequest) String

func (x *ListProjectsRequest) String() string

type ListProjectsResponse

type ListProjectsResponse struct {
	Projects []*ListProjectsResponse_Project `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"`
	// contains filtered or unexported fields
}

func (*ListProjectsResponse) Descriptor deprecated

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

Deprecated: Use ListProjectsResponse.ProtoReflect.Descriptor instead.

func (*ListProjectsResponse) GetProjects

func (*ListProjectsResponse) ProtoMessage

func (*ListProjectsResponse) ProtoMessage()

func (*ListProjectsResponse) ProtoReflect

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

func (*ListProjectsResponse) Reset

func (x *ListProjectsResponse) Reset()

func (*ListProjectsResponse) String

func (x *ListProjectsResponse) String() string

type ListProjectsResponse_Project

type ListProjectsResponse_Project struct {
	ProjectId   string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	ProjectRoot string `protobuf:"bytes,2,opt,name=project_root,json=projectRoot,proto3" json:"project_root,omitempty"`
	Status      string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` // e.g., "CONNECTED", "DISCONNECTED"
	// contains filtered or unexported fields
}

func (*ListProjectsResponse_Project) Descriptor deprecated

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

Deprecated: Use ListProjectsResponse_Project.ProtoReflect.Descriptor instead.

func (*ListProjectsResponse_Project) GetProjectId

func (x *ListProjectsResponse_Project) GetProjectId() string

func (*ListProjectsResponse_Project) GetProjectRoot

func (x *ListProjectsResponse_Project) GetProjectRoot() string

func (*ListProjectsResponse_Project) GetStatus

func (x *ListProjectsResponse_Project) GetStatus() string

func (*ListProjectsResponse_Project) ProtoMessage

func (*ListProjectsResponse_Project) ProtoMessage()

func (*ListProjectsResponse_Project) ProtoReflect

func (*ListProjectsResponse_Project) Reset

func (x *ListProjectsResponse_Project) Reset()

func (*ListProjectsResponse_Project) String

type ListWatchedPathsRequest

type ListWatchedPathsRequest struct {
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

ListWatchedPathsRequest is sent by the gateway to devloop to request watched paths.

func (*ListWatchedPathsRequest) Descriptor deprecated

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

Deprecated: Use ListWatchedPathsRequest.ProtoReflect.Descriptor instead.

func (*ListWatchedPathsRequest) GetProjectId

func (x *ListWatchedPathsRequest) GetProjectId() string

func (*ListWatchedPathsRequest) ProtoMessage

func (*ListWatchedPathsRequest) ProtoMessage()

func (*ListWatchedPathsRequest) ProtoReflect

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

func (*ListWatchedPathsRequest) Reset

func (x *ListWatchedPathsRequest) Reset()

func (*ListWatchedPathsRequest) String

func (x *ListWatchedPathsRequest) String() string

type ListWatchedPathsResponse

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

func (*ListWatchedPathsResponse) Descriptor deprecated

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

Deprecated: Use ListWatchedPathsResponse.ProtoReflect.Descriptor instead.

func (*ListWatchedPathsResponse) GetPaths

func (x *ListWatchedPathsResponse) GetPaths() []string

func (*ListWatchedPathsResponse) ProtoMessage

func (*ListWatchedPathsResponse) ProtoMessage()

func (*ListWatchedPathsResponse) ProtoReflect

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

func (*ListWatchedPathsResponse) Reset

func (x *ListWatchedPathsResponse) Reset()

func (*ListWatchedPathsResponse) String

func (x *ListWatchedPathsResponse) String() string

type LogLine

type LogLine struct {
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	RuleName  string `protobuf:"bytes,2,opt,name=rule_name,json=ruleName,proto3" json:"rule_name,omitempty"`
	Line      string `protobuf:"bytes,3,opt,name=line,proto3" json:"line,omitempty"`
	Timestamp int64  `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Unix timestamp in milliseconds
	// contains filtered or unexported fields
}

LogLine represents a single log entry from a rule.

func (*LogLine) Descriptor deprecated

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

Deprecated: Use LogLine.ProtoReflect.Descriptor instead.

func (*LogLine) GetLine

func (x *LogLine) GetLine() string

func (*LogLine) GetProjectId

func (x *LogLine) GetProjectId() string

func (*LogLine) GetRuleName

func (x *LogLine) GetRuleName() string

func (*LogLine) GetTimestamp

func (x *LogLine) GetTimestamp() int64

func (*LogLine) ProtoMessage

func (*LogLine) ProtoMessage()

func (*LogLine) ProtoReflect

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

func (*LogLine) Reset

func (x *LogLine) Reset()

func (*LogLine) String

func (x *LogLine) String() string

type ProjectInfo

type ProjectInfo struct {
	ProjectId   string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	ProjectRoot string `protobuf:"bytes,2,opt,name=project_root,json=projectRoot,proto3" json:"project_root,omitempty"`
	// contains filtered or unexported fields
}

ProjectInfo represents the information about a registered devloop project.

func (*ProjectInfo) Descriptor deprecated

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

Deprecated: Use ProjectInfo.ProtoReflect.Descriptor instead.

func (*ProjectInfo) GetProjectId

func (x *ProjectInfo) GetProjectId() string

func (*ProjectInfo) GetProjectRoot

func (x *ProjectInfo) GetProjectRoot() string

func (*ProjectInfo) ProtoMessage

func (*ProjectInfo) ProtoMessage()

func (*ProjectInfo) ProtoReflect

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

func (*ProjectInfo) Reset

func (x *ProjectInfo) Reset()

func (*ProjectInfo) String

func (x *ProjectInfo) String() string

type ReadFileContentRequest

type ReadFileContentRequest struct {
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	Path      string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

ReadFileContentRequest is sent by the gateway to devloop to request file content.

func (*ReadFileContentRequest) Descriptor deprecated

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

Deprecated: Use ReadFileContentRequest.ProtoReflect.Descriptor instead.

func (*ReadFileContentRequest) GetPath

func (x *ReadFileContentRequest) GetPath() string

func (*ReadFileContentRequest) GetProjectId

func (x *ReadFileContentRequest) GetProjectId() string

func (*ReadFileContentRequest) ProtoMessage

func (*ReadFileContentRequest) ProtoMessage()

func (*ReadFileContentRequest) ProtoReflect

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

func (*ReadFileContentRequest) Reset

func (x *ReadFileContentRequest) Reset()

func (*ReadFileContentRequest) String

func (x *ReadFileContentRequest) String() string

type ReadFileContentResponse

type ReadFileContentResponse struct {
	Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadFileContentResponse) Descriptor deprecated

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

Deprecated: Use ReadFileContentResponse.ProtoReflect.Descriptor instead.

func (*ReadFileContentResponse) GetContent

func (x *ReadFileContentResponse) GetContent() []byte

func (*ReadFileContentResponse) ProtoMessage

func (*ReadFileContentResponse) ProtoMessage()

func (*ReadFileContentResponse) ProtoReflect

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

func (*ReadFileContentResponse) Reset

func (x *ReadFileContentResponse) Reset()

func (*ReadFileContentResponse) String

func (x *ReadFileContentResponse) String() string

type RegisterRequest

type RegisterRequest struct {
	ProjectInfo *ProjectInfo `protobuf:"bytes,1,opt,name=project_info,json=projectInfo,proto3" json:"project_info,omitempty"`
	// contains filtered or unexported fields
}

RegisterRequest is sent by devloop to register with the gateway.

func (*RegisterRequest) Descriptor deprecated

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

Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.

func (*RegisterRequest) GetProjectInfo

func (x *RegisterRequest) GetProjectInfo() *ProjectInfo

func (*RegisterRequest) ProtoMessage

func (*RegisterRequest) ProtoMessage()

func (*RegisterRequest) ProtoReflect

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

func (*RegisterRequest) Reset

func (x *RegisterRequest) Reset()

func (*RegisterRequest) String

func (x *RegisterRequest) String() string

type RuleStatus

type RuleStatus struct {
	ProjectId       string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	RuleName        string `protobuf:"bytes,2,opt,name=rule_name,json=ruleName,proto3" json:"rule_name,omitempty"`
	IsRunning       bool   `protobuf:"varint,3,opt,name=is_running,json=isRunning,proto3" json:"is_running,omitempty"`
	StartTime       int64  `protobuf:"varint,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`                    // Unix timestamp in milliseconds, if running
	LastBuildTime   int64  `protobuf:"varint,5,opt,name=last_build_time,json=lastBuildTime,proto3" json:"last_build_time,omitempty"`      // Unix timestamp in milliseconds, if not running
	LastBuildStatus string `protobuf:"bytes,6,opt,name=last_build_status,json=lastBuildStatus,proto3" json:"last_build_status,omitempty"` // e.g., "SUCCESS", "FAILED", "RUNNING", "IDLE"
	// contains filtered or unexported fields
}

RuleStatus represents the current status of a rule.

func (*RuleStatus) Descriptor deprecated

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

Deprecated: Use RuleStatus.ProtoReflect.Descriptor instead.

func (*RuleStatus) GetIsRunning

func (x *RuleStatus) GetIsRunning() bool

func (*RuleStatus) GetLastBuildStatus

func (x *RuleStatus) GetLastBuildStatus() string

func (*RuleStatus) GetLastBuildTime

func (x *RuleStatus) GetLastBuildTime() int64

func (*RuleStatus) GetProjectId

func (x *RuleStatus) GetProjectId() string

func (*RuleStatus) GetRuleName

func (x *RuleStatus) GetRuleName() string

func (*RuleStatus) GetStartTime

func (x *RuleStatus) GetStartTime() int64

func (*RuleStatus) ProtoMessage

func (*RuleStatus) ProtoMessage()

func (*RuleStatus) ProtoReflect

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

func (*RuleStatus) Reset

func (x *RuleStatus) Reset()

func (*RuleStatus) String

func (x *RuleStatus) String() string

type StreamLogsClientRequest

type StreamLogsClientRequest struct {
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	RuleName  string `protobuf:"bytes,2,opt,name=rule_name,json=ruleName,proto3" json:"rule_name,omitempty"`
	Filter    string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamLogsClientRequest) Descriptor deprecated

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

Deprecated: Use StreamLogsClientRequest.ProtoReflect.Descriptor instead.

func (*StreamLogsClientRequest) GetFilter

func (x *StreamLogsClientRequest) GetFilter() string

func (*StreamLogsClientRequest) GetProjectId

func (x *StreamLogsClientRequest) GetProjectId() string

func (*StreamLogsClientRequest) GetRuleName

func (x *StreamLogsClientRequest) GetRuleName() string

func (*StreamLogsClientRequest) ProtoMessage

func (*StreamLogsClientRequest) ProtoMessage()

func (*StreamLogsClientRequest) ProtoReflect

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

func (*StreamLogsClientRequest) Reset

func (x *StreamLogsClientRequest) Reset()

func (*StreamLogsClientRequest) String

func (x *StreamLogsClientRequest) String() string

type TriggerRuleClientRequest

type TriggerRuleClientRequest struct {
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	RuleName  string `protobuf:"bytes,2,opt,name=rule_name,json=ruleName,proto3" json:"rule_name,omitempty"`
	// contains filtered or unexported fields
}

func (*TriggerRuleClientRequest) Descriptor deprecated

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

Deprecated: Use TriggerRuleClientRequest.ProtoReflect.Descriptor instead.

func (*TriggerRuleClientRequest) GetProjectId

func (x *TriggerRuleClientRequest) GetProjectId() string

func (*TriggerRuleClientRequest) GetRuleName

func (x *TriggerRuleClientRequest) GetRuleName() string

func (*TriggerRuleClientRequest) ProtoMessage

func (*TriggerRuleClientRequest) ProtoMessage()

func (*TriggerRuleClientRequest) ProtoReflect

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

func (*TriggerRuleClientRequest) Reset

func (x *TriggerRuleClientRequest) Reset()

func (*TriggerRuleClientRequest) String

func (x *TriggerRuleClientRequest) String() string

type TriggerRuleClientResponse

type TriggerRuleClientResponse struct {
	Success bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*TriggerRuleClientResponse) Descriptor deprecated

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

Deprecated: Use TriggerRuleClientResponse.ProtoReflect.Descriptor instead.

func (*TriggerRuleClientResponse) GetMessage

func (x *TriggerRuleClientResponse) GetMessage() string

func (*TriggerRuleClientResponse) GetSuccess

func (x *TriggerRuleClientResponse) GetSuccess() bool

func (*TriggerRuleClientResponse) ProtoMessage

func (*TriggerRuleClientResponse) ProtoMessage()

func (*TriggerRuleClientResponse) ProtoReflect

func (*TriggerRuleClientResponse) Reset

func (x *TriggerRuleClientResponse) Reset()

func (*TriggerRuleClientResponse) String

func (x *TriggerRuleClientResponse) String() string

type TriggerRuleRequest

type TriggerRuleRequest struct {
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	RuleName  string `protobuf:"bytes,2,opt,name=rule_name,json=ruleName,proto3" json:"rule_name,omitempty"`
	// contains filtered or unexported fields
}

TriggerRuleRequest is sent by the gateway to devloop to trigger a rule.

func (*TriggerRuleRequest) Descriptor deprecated

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

Deprecated: Use TriggerRuleRequest.ProtoReflect.Descriptor instead.

func (*TriggerRuleRequest) GetProjectId

func (x *TriggerRuleRequest) GetProjectId() string

func (*TriggerRuleRequest) GetRuleName

func (x *TriggerRuleRequest) GetRuleName() string

func (*TriggerRuleRequest) ProtoMessage

func (*TriggerRuleRequest) ProtoMessage()

func (*TriggerRuleRequest) ProtoReflect

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

func (*TriggerRuleRequest) Reset

func (x *TriggerRuleRequest) Reset()

func (*TriggerRuleRequest) String

func (x *TriggerRuleRequest) String() string

type TriggerRuleResponse

type TriggerRuleResponse struct {
	Success bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*TriggerRuleResponse) Descriptor deprecated

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

Deprecated: Use TriggerRuleResponse.ProtoReflect.Descriptor instead.

func (*TriggerRuleResponse) GetMessage

func (x *TriggerRuleResponse) GetMessage() string

func (*TriggerRuleResponse) GetSuccess

func (x *TriggerRuleResponse) GetSuccess() bool

func (*TriggerRuleResponse) ProtoMessage

func (*TriggerRuleResponse) ProtoMessage()

func (*TriggerRuleResponse) ProtoReflect

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

func (*TriggerRuleResponse) Reset

func (x *TriggerRuleResponse) Reset()

func (*TriggerRuleResponse) String

func (x *TriggerRuleResponse) String() string

type UnimplementedDevloopGatewayServiceServer

type UnimplementedDevloopGatewayServiceServer struct{}

UnimplementedDevloopGatewayServiceServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedDevloopGatewayServiceServer) Communicate

type UnimplementedGatewayClientServiceServer

type UnimplementedGatewayClientServiceServer struct{}

UnimplementedGatewayClientServiceServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedGatewayClientServiceServer) GetConfig

func (UnimplementedGatewayClientServiceServer) GetHistoricalLogsClient

func (UnimplementedGatewayClientServiceServer) GetRuleStatus

func (UnimplementedGatewayClientServiceServer) ListProjects

func (UnimplementedGatewayClientServiceServer) ListWatchedPaths

func (UnimplementedGatewayClientServiceServer) ReadFileContent

func (UnimplementedGatewayClientServiceServer) StreamLogsClient

func (UnimplementedGatewayClientServiceServer) TriggerRuleClient

type UnregisterRequest

type UnregisterRequest struct {
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

UnregisterRequest is sent by devloop to unregister from the gateway.

func (*UnregisterRequest) Descriptor deprecated

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

Deprecated: Use UnregisterRequest.ProtoReflect.Descriptor instead.

func (*UnregisterRequest) GetProjectId

func (x *UnregisterRequest) GetProjectId() string

func (*UnregisterRequest) ProtoMessage

func (*UnregisterRequest) ProtoMessage()

func (*UnregisterRequest) ProtoReflect

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

func (*UnregisterRequest) Reset

func (x *UnregisterRequest) Reset()

func (*UnregisterRequest) String

func (x *UnregisterRequest) String() string

type UnsafeDevloopGatewayServiceServer

type UnsafeDevloopGatewayServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeDevloopGatewayServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DevloopGatewayServiceServer will result in compilation errors.

type UnsafeGatewayClientServiceServer

type UnsafeGatewayClientServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeGatewayClientServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GatewayClientServiceServer will result in compilation errors.

type UpdateRuleStatusRequest

type UpdateRuleStatusRequest struct {
	RuleStatus *RuleStatus `protobuf:"bytes,1,opt,name=rule_status,json=ruleStatus,proto3" json:"rule_status,omitempty"`
	// contains filtered or unexported fields
}

UpdateRuleStatusRequest is sent by devloop to update a rule's status.

func (*UpdateRuleStatusRequest) Descriptor deprecated

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

Deprecated: Use UpdateRuleStatusRequest.ProtoReflect.Descriptor instead.

func (*UpdateRuleStatusRequest) GetRuleStatus

func (x *UpdateRuleStatusRequest) GetRuleStatus() *RuleStatus

func (*UpdateRuleStatusRequest) ProtoMessage

func (*UpdateRuleStatusRequest) ProtoMessage()

func (*UpdateRuleStatusRequest) ProtoReflect

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

func (*UpdateRuleStatusRequest) Reset

func (x *UpdateRuleStatusRequest) Reset()

func (*UpdateRuleStatusRequest) String

func (x *UpdateRuleStatusRequest) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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