Documentation ¶
Index ¶
- Variables
- func NewRuntimeEndpoints() []*api.Endpoint
- func RegisterRuntimeHandler(s server.Server, hdlr RuntimeHandler, opts ...server.HandlerOption) error
- func RegisterRuntimeServer(s *grpc.Server, srv RuntimeServer)
- type CreateOptions
- func (*CreateOptions) Descriptor() ([]byte, []int)
- func (m *CreateOptions) GetArgs() []string
- func (m *CreateOptions) GetCommand() []string
- func (m *CreateOptions) GetEnv() []string
- func (m *CreateOptions) GetImage() string
- func (m *CreateOptions) GetOutput() string
- func (m *CreateOptions) GetType() string
- func (m *CreateOptions) Marshal() (dAtA []byte, err error)
- func (m *CreateOptions) MarshalTo(dAtA []byte) (int, error)
- func (m *CreateOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CreateOptions) ProtoMessage()
- func (m *CreateOptions) Reset()
- func (m *CreateOptions) Size() (n int)
- func (m *CreateOptions) String() string
- func (m *CreateOptions) Unmarshal(dAtA []byte) error
- func (m *CreateOptions) XXX_DiscardUnknown()
- func (m *CreateOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateOptions) XXX_Merge(src proto.Message)
- func (m *CreateOptions) XXX_Size() int
- func (m *CreateOptions) XXX_Unmarshal(b []byte) error
- type CreateRequest
- func (*CreateRequest) Descriptor() ([]byte, []int)
- func (m *CreateRequest) GetOptions() *CreateOptions
- func (m *CreateRequest) GetService() *Service
- func (m *CreateRequest) Marshal() (dAtA []byte, err error)
- func (m *CreateRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *CreateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CreateRequest) ProtoMessage()
- func (m *CreateRequest) Reset()
- func (m *CreateRequest) Size() (n int)
- func (m *CreateRequest) String() string
- func (m *CreateRequest) Unmarshal(dAtA []byte) error
- func (m *CreateRequest) XXX_DiscardUnknown()
- func (m *CreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateRequest) XXX_Merge(src proto.Message)
- func (m *CreateRequest) XXX_Size() int
- func (m *CreateRequest) XXX_Unmarshal(b []byte) error
- type CreateResponse
- func (*CreateResponse) Descriptor() ([]byte, []int)
- func (m *CreateResponse) Marshal() (dAtA []byte, err error)
- func (m *CreateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *CreateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CreateResponse) ProtoMessage()
- func (m *CreateResponse) Reset()
- func (m *CreateResponse) Size() (n int)
- func (m *CreateResponse) String() string
- func (m *CreateResponse) Unmarshal(dAtA []byte) error
- func (m *CreateResponse) XXX_DiscardUnknown()
- func (m *CreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateResponse) XXX_Merge(src proto.Message)
- func (m *CreateResponse) XXX_Size() int
- func (m *CreateResponse) XXX_Unmarshal(b []byte) error
- type DeleteOptions
- func (*DeleteOptions) Descriptor() ([]byte, []int)
- func (m *DeleteOptions) Marshal() (dAtA []byte, err error)
- func (m *DeleteOptions) MarshalTo(dAtA []byte) (int, error)
- func (m *DeleteOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DeleteOptions) ProtoMessage()
- func (m *DeleteOptions) Reset()
- func (m *DeleteOptions) Size() (n int)
- func (m *DeleteOptions) String() string
- func (m *DeleteOptions) Unmarshal(dAtA []byte) error
- func (m *DeleteOptions) XXX_DiscardUnknown()
- func (m *DeleteOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteOptions) XXX_Merge(src proto.Message)
- func (m *DeleteOptions) XXX_Size() int
- func (m *DeleteOptions) XXX_Unmarshal(b []byte) error
- type DeleteRequest
- func (*DeleteRequest) Descriptor() ([]byte, []int)
- func (m *DeleteRequest) GetOptions() *DeleteOptions
- func (m *DeleteRequest) GetService() *Service
- func (m *DeleteRequest) Marshal() (dAtA []byte, err error)
- func (m *DeleteRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *DeleteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DeleteRequest) ProtoMessage()
- func (m *DeleteRequest) Reset()
- func (m *DeleteRequest) Size() (n int)
- func (m *DeleteRequest) String() string
- func (m *DeleteRequest) Unmarshal(dAtA []byte) error
- func (m *DeleteRequest) XXX_DiscardUnknown()
- func (m *DeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteRequest) XXX_Merge(src proto.Message)
- func (m *DeleteRequest) XXX_Size() int
- func (m *DeleteRequest) XXX_Unmarshal(b []byte) error
- type DeleteResponse
- func (*DeleteResponse) Descriptor() ([]byte, []int)
- func (m *DeleteResponse) Marshal() (dAtA []byte, err error)
- func (m *DeleteResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *DeleteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DeleteResponse) ProtoMessage()
- func (m *DeleteResponse) Reset()
- func (m *DeleteResponse) Size() (n int)
- func (m *DeleteResponse) String() string
- func (m *DeleteResponse) Unmarshal(dAtA []byte) error
- func (m *DeleteResponse) XXX_DiscardUnknown()
- func (m *DeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteResponse) XXX_Merge(src proto.Message)
- func (m *DeleteResponse) XXX_Size() int
- func (m *DeleteResponse) XXX_Unmarshal(b []byte) error
- type Event
- func (*Event) Descriptor() ([]byte, []int)
- func (m *Event) GetService() string
- func (m *Event) GetTimestamp() int64
- func (m *Event) GetType() string
- func (m *Event) GetVersion() string
- func (m *Event) Marshal() (dAtA []byte, err error)
- func (m *Event) MarshalTo(dAtA []byte) (int, error)
- func (m *Event) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Event) ProtoMessage()
- func (m *Event) Reset()
- func (m *Event) Size() (n int)
- func (m *Event) String() string
- func (m *Event) Unmarshal(dAtA []byte) error
- func (m *Event) XXX_DiscardUnknown()
- func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Event) XXX_Merge(src proto.Message)
- func (m *Event) XXX_Size() int
- func (m *Event) XXX_Unmarshal(b []byte) error
- type ListOptions
- func (*ListOptions) Descriptor() ([]byte, []int)
- func (m *ListOptions) Marshal() (dAtA []byte, err error)
- func (m *ListOptions) MarshalTo(dAtA []byte) (int, error)
- func (m *ListOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListOptions) ProtoMessage()
- func (m *ListOptions) Reset()
- func (m *ListOptions) Size() (n int)
- func (m *ListOptions) String() string
- func (m *ListOptions) Unmarshal(dAtA []byte) error
- func (m *ListOptions) XXX_DiscardUnknown()
- func (m *ListOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListOptions) XXX_Merge(src proto.Message)
- func (m *ListOptions) XXX_Size() int
- func (m *ListOptions) XXX_Unmarshal(b []byte) error
- type ListRequest
- func (*ListRequest) Descriptor() ([]byte, []int)
- func (m *ListRequest) GetOptions() *ListOptions
- func (m *ListRequest) Marshal() (dAtA []byte, err error)
- func (m *ListRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListRequest) ProtoMessage()
- func (m *ListRequest) Reset()
- func (m *ListRequest) Size() (n int)
- func (m *ListRequest) String() string
- func (m *ListRequest) Unmarshal(dAtA []byte) error
- func (m *ListRequest) XXX_DiscardUnknown()
- func (m *ListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListRequest) XXX_Merge(src proto.Message)
- func (m *ListRequest) XXX_Size() int
- func (m *ListRequest) XXX_Unmarshal(b []byte) error
- type ListResponse
- func (*ListResponse) Descriptor() ([]byte, []int)
- func (m *ListResponse) GetServices() []*Service
- func (m *ListResponse) Marshal() (dAtA []byte, err error)
- func (m *ListResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListResponse) ProtoMessage()
- func (m *ListResponse) Reset()
- func (m *ListResponse) Size() (n int)
- func (m *ListResponse) String() string
- func (m *ListResponse) Unmarshal(dAtA []byte) error
- func (m *ListResponse) XXX_DiscardUnknown()
- func (m *ListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListResponse) XXX_Merge(src proto.Message)
- func (m *ListResponse) XXX_Size() int
- func (m *ListResponse) XXX_Unmarshal(b []byte) error
- type LogRecord
- func (*LogRecord) Descriptor() ([]byte, []int)
- func (m *LogRecord) GetMessage() string
- func (m *LogRecord) GetMetadata() map[string]string
- func (m *LogRecord) GetTimestamp() int64
- func (m *LogRecord) Marshal() (dAtA []byte, err error)
- func (m *LogRecord) MarshalTo(dAtA []byte) (int, error)
- func (m *LogRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LogRecord) ProtoMessage()
- func (m *LogRecord) Reset()
- func (m *LogRecord) Size() (n int)
- func (m *LogRecord) String() string
- func (m *LogRecord) Unmarshal(dAtA []byte) error
- func (m *LogRecord) XXX_DiscardUnknown()
- func (m *LogRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LogRecord) XXX_Merge(src proto.Message)
- func (m *LogRecord) XXX_Size() int
- func (m *LogRecord) XXX_Unmarshal(b []byte) error
- type LogsOptions
- func (*LogsOptions) Descriptor() ([]byte, []int)
- func (m *LogsOptions) Marshal() (dAtA []byte, err error)
- func (m *LogsOptions) MarshalTo(dAtA []byte) (int, error)
- func (m *LogsOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LogsOptions) ProtoMessage()
- func (m *LogsOptions) Reset()
- func (m *LogsOptions) Size() (n int)
- func (m *LogsOptions) String() string
- func (m *LogsOptions) Unmarshal(dAtA []byte) error
- func (m *LogsOptions) XXX_DiscardUnknown()
- func (m *LogsOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LogsOptions) XXX_Merge(src proto.Message)
- func (m *LogsOptions) XXX_Size() int
- func (m *LogsOptions) XXX_Unmarshal(b []byte) error
- type LogsRequest
- func (*LogsRequest) Descriptor() ([]byte, []int)
- func (m *LogsRequest) GetCount() int64
- func (m *LogsRequest) GetOptions() *LogsOptions
- func (m *LogsRequest) GetService() string
- func (m *LogsRequest) GetSince() int64
- func (m *LogsRequest) GetStream() bool
- func (m *LogsRequest) Marshal() (dAtA []byte, err error)
- func (m *LogsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *LogsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LogsRequest) ProtoMessage()
- func (m *LogsRequest) Reset()
- func (m *LogsRequest) Size() (n int)
- func (m *LogsRequest) String() string
- func (m *LogsRequest) Unmarshal(dAtA []byte) error
- func (m *LogsRequest) XXX_DiscardUnknown()
- func (m *LogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LogsRequest) XXX_Merge(src proto.Message)
- func (m *LogsRequest) XXX_Size() int
- func (m *LogsRequest) XXX_Unmarshal(b []byte) error
- type ReadOptions
- func (*ReadOptions) Descriptor() ([]byte, []int)
- func (m *ReadOptions) GetService() string
- func (m *ReadOptions) GetType() string
- func (m *ReadOptions) GetVersion() string
- func (m *ReadOptions) Marshal() (dAtA []byte, err error)
- func (m *ReadOptions) MarshalTo(dAtA []byte) (int, error)
- func (m *ReadOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ReadOptions) ProtoMessage()
- func (m *ReadOptions) Reset()
- func (m *ReadOptions) Size() (n int)
- func (m *ReadOptions) String() string
- func (m *ReadOptions) Unmarshal(dAtA []byte) error
- func (m *ReadOptions) XXX_DiscardUnknown()
- func (m *ReadOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReadOptions) XXX_Merge(src proto.Message)
- func (m *ReadOptions) XXX_Size() int
- func (m *ReadOptions) XXX_Unmarshal(b []byte) error
- type ReadRequest
- func (*ReadRequest) Descriptor() ([]byte, []int)
- func (m *ReadRequest) GetOptions() *ReadOptions
- func (m *ReadRequest) Marshal() (dAtA []byte, err error)
- func (m *ReadRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ReadRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ReadRequest) ProtoMessage()
- func (m *ReadRequest) Reset()
- func (m *ReadRequest) Size() (n int)
- func (m *ReadRequest) String() string
- func (m *ReadRequest) Unmarshal(dAtA []byte) error
- func (m *ReadRequest) XXX_DiscardUnknown()
- func (m *ReadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReadRequest) XXX_Merge(src proto.Message)
- func (m *ReadRequest) XXX_Size() int
- func (m *ReadRequest) XXX_Unmarshal(b []byte) error
- type ReadResponse
- func (*ReadResponse) Descriptor() ([]byte, []int)
- func (m *ReadResponse) GetServices() []*Service
- func (m *ReadResponse) Marshal() (dAtA []byte, err error)
- func (m *ReadResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ReadResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ReadResponse) ProtoMessage()
- func (m *ReadResponse) Reset()
- func (m *ReadResponse) Size() (n int)
- func (m *ReadResponse) String() string
- func (m *ReadResponse) Unmarshal(dAtA []byte) error
- func (m *ReadResponse) XXX_DiscardUnknown()
- func (m *ReadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReadResponse) XXX_Merge(src proto.Message)
- func (m *ReadResponse) XXX_Size() int
- func (m *ReadResponse) XXX_Unmarshal(b []byte) error
- type RuntimeClient
- type RuntimeHandler
- type RuntimeServer
- type RuntimeService
- type Runtime_LogsClient
- type Runtime_LogsServer
- type Runtime_LogsService
- type Runtime_LogsStream
- type Service
- func (*Service) Descriptor() ([]byte, []int)
- func (m *Service) GetMetadata() map[string]string
- func (m *Service) GetName() string
- func (m *Service) GetSource() string
- func (m *Service) GetVersion() string
- func (m *Service) Marshal() (dAtA []byte, err error)
- func (m *Service) MarshalTo(dAtA []byte) (int, error)
- func (m *Service) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Service) ProtoMessage()
- func (m *Service) Reset()
- func (m *Service) Size() (n int)
- func (m *Service) String() string
- func (m *Service) Unmarshal(dAtA []byte) error
- func (m *Service) XXX_DiscardUnknown()
- func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Service) XXX_Merge(src proto.Message)
- func (m *Service) XXX_Size() int
- func (m *Service) XXX_Unmarshal(b []byte) error
- type UnimplementedRuntimeServer
- func (*UnimplementedRuntimeServer) Create(ctx context.Context, req *CreateRequest) (*CreateResponse, error)
- func (*UnimplementedRuntimeServer) Delete(ctx context.Context, req *DeleteRequest) (*DeleteResponse, error)
- func (*UnimplementedRuntimeServer) Logs(req *LogsRequest, srv Runtime_LogsServer) error
- func (*UnimplementedRuntimeServer) Read(ctx context.Context, req *ReadRequest) (*ReadResponse, error)
- func (*UnimplementedRuntimeServer) Update(ctx context.Context, req *UpdateRequest) (*UpdateResponse, error)
- type UpdateOptions
- func (*UpdateOptions) Descriptor() ([]byte, []int)
- func (m *UpdateOptions) Marshal() (dAtA []byte, err error)
- func (m *UpdateOptions) MarshalTo(dAtA []byte) (int, error)
- func (m *UpdateOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UpdateOptions) ProtoMessage()
- func (m *UpdateOptions) Reset()
- func (m *UpdateOptions) Size() (n int)
- func (m *UpdateOptions) String() string
- func (m *UpdateOptions) Unmarshal(dAtA []byte) error
- func (m *UpdateOptions) XXX_DiscardUnknown()
- func (m *UpdateOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateOptions) XXX_Merge(src proto.Message)
- func (m *UpdateOptions) XXX_Size() int
- func (m *UpdateOptions) XXX_Unmarshal(b []byte) error
- type UpdateRequest
- func (*UpdateRequest) Descriptor() ([]byte, []int)
- func (m *UpdateRequest) GetOptions() *UpdateOptions
- func (m *UpdateRequest) GetService() *Service
- func (m *UpdateRequest) Marshal() (dAtA []byte, err error)
- func (m *UpdateRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *UpdateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UpdateRequest) ProtoMessage()
- func (m *UpdateRequest) Reset()
- func (m *UpdateRequest) Size() (n int)
- func (m *UpdateRequest) String() string
- func (m *UpdateRequest) Unmarshal(dAtA []byte) error
- func (m *UpdateRequest) XXX_DiscardUnknown()
- func (m *UpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateRequest) XXX_Merge(src proto.Message)
- func (m *UpdateRequest) XXX_Size() int
- func (m *UpdateRequest) XXX_Unmarshal(b []byte) error
- type UpdateResponse
- func (*UpdateResponse) Descriptor() ([]byte, []int)
- func (m *UpdateResponse) Marshal() (dAtA []byte, err error)
- func (m *UpdateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *UpdateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UpdateResponse) ProtoMessage()
- func (m *UpdateResponse) Reset()
- func (m *UpdateResponse) Size() (n int)
- func (m *UpdateResponse) String() string
- func (m *UpdateResponse) Unmarshal(dAtA []byte) error
- func (m *UpdateResponse) XXX_DiscardUnknown()
- func (m *UpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateResponse) XXX_Merge(src proto.Message)
- func (m *UpdateResponse) XXX_Size() int
- func (m *UpdateResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func NewRuntimeEndpoints ¶
Api Endpoints for Runtime service
func RegisterRuntimeHandler ¶
func RegisterRuntimeHandler(s server.Server, hdlr RuntimeHandler, opts ...server.HandlerOption) error
func RegisterRuntimeServer ¶
func RegisterRuntimeServer(s *grpc.Server, srv RuntimeServer)
Types ¶
type CreateOptions ¶
type CreateOptions struct { // command to pass in Command []string `protobuf:"bytes,1,rep,name=command,proto3" json:"command,omitempty"` // args to pass into command Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"` // environment to pass in Env []string `protobuf:"bytes,3,rep,name=env,proto3" json:"env,omitempty"` // output to send to Output string `protobuf:"bytes,4,opt,name=output,proto3" json:"output,omitempty"` // create type of service Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"` // image to use Image string `protobuf:"bytes,6,opt,name=image,proto3" json:"image,omitempty"` }
func (*CreateOptions) Descriptor ¶
func (*CreateOptions) Descriptor() ([]byte, []int)
func (*CreateOptions) GetArgs ¶
func (m *CreateOptions) GetArgs() []string
func (*CreateOptions) GetCommand ¶
func (m *CreateOptions) GetCommand() []string
func (*CreateOptions) GetEnv ¶
func (m *CreateOptions) GetEnv() []string
func (*CreateOptions) GetImage ¶
func (m *CreateOptions) GetImage() string
func (*CreateOptions) GetOutput ¶
func (m *CreateOptions) GetOutput() string
func (*CreateOptions) GetType ¶
func (m *CreateOptions) GetType() string
func (*CreateOptions) Marshal ¶
func (m *CreateOptions) Marshal() (dAtA []byte, err error)
func (*CreateOptions) MarshalToSizedBuffer ¶
func (m *CreateOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CreateOptions) ProtoMessage ¶
func (*CreateOptions) ProtoMessage()
func (*CreateOptions) Reset ¶
func (m *CreateOptions) Reset()
func (*CreateOptions) Size ¶
func (m *CreateOptions) Size() (n int)
func (*CreateOptions) String ¶
func (m *CreateOptions) String() string
func (*CreateOptions) Unmarshal ¶
func (m *CreateOptions) Unmarshal(dAtA []byte) error
func (*CreateOptions) XXX_DiscardUnknown ¶
func (m *CreateOptions) XXX_DiscardUnknown()
func (*CreateOptions) XXX_Marshal ¶
func (m *CreateOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateOptions) XXX_Merge ¶
func (m *CreateOptions) XXX_Merge(src proto.Message)
func (*CreateOptions) XXX_Size ¶
func (m *CreateOptions) XXX_Size() int
func (*CreateOptions) XXX_Unmarshal ¶
func (m *CreateOptions) XXX_Unmarshal(b []byte) error
type CreateRequest ¶
type CreateRequest struct { Service *Service `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` Options *CreateOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` }
func (*CreateRequest) Descriptor ¶
func (*CreateRequest) Descriptor() ([]byte, []int)
func (*CreateRequest) GetOptions ¶
func (m *CreateRequest) GetOptions() *CreateOptions
func (*CreateRequest) GetService ¶
func (m *CreateRequest) GetService() *Service
func (*CreateRequest) Marshal ¶
func (m *CreateRequest) Marshal() (dAtA []byte, err error)
func (*CreateRequest) MarshalToSizedBuffer ¶
func (m *CreateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CreateRequest) ProtoMessage ¶
func (*CreateRequest) ProtoMessage()
func (*CreateRequest) Reset ¶
func (m *CreateRequest) Reset()
func (*CreateRequest) Size ¶
func (m *CreateRequest) Size() (n int)
func (*CreateRequest) String ¶
func (m *CreateRequest) String() string
func (*CreateRequest) Unmarshal ¶
func (m *CreateRequest) Unmarshal(dAtA []byte) error
func (*CreateRequest) XXX_DiscardUnknown ¶
func (m *CreateRequest) XXX_DiscardUnknown()
func (*CreateRequest) XXX_Marshal ¶
func (m *CreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateRequest) XXX_Merge ¶
func (m *CreateRequest) XXX_Merge(src proto.Message)
func (*CreateRequest) XXX_Size ¶
func (m *CreateRequest) XXX_Size() int
func (*CreateRequest) XXX_Unmarshal ¶
func (m *CreateRequest) XXX_Unmarshal(b []byte) error
type CreateResponse ¶
type CreateResponse struct { }
func (*CreateResponse) Descriptor ¶
func (*CreateResponse) Descriptor() ([]byte, []int)
func (*CreateResponse) Marshal ¶
func (m *CreateResponse) Marshal() (dAtA []byte, err error)
func (*CreateResponse) MarshalToSizedBuffer ¶
func (m *CreateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CreateResponse) ProtoMessage ¶
func (*CreateResponse) ProtoMessage()
func (*CreateResponse) Reset ¶
func (m *CreateResponse) Reset()
func (*CreateResponse) Size ¶
func (m *CreateResponse) Size() (n int)
func (*CreateResponse) String ¶
func (m *CreateResponse) String() string
func (*CreateResponse) Unmarshal ¶
func (m *CreateResponse) Unmarshal(dAtA []byte) error
func (*CreateResponse) XXX_DiscardUnknown ¶
func (m *CreateResponse) XXX_DiscardUnknown()
func (*CreateResponse) XXX_Marshal ¶
func (m *CreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateResponse) XXX_Merge ¶
func (m *CreateResponse) XXX_Merge(src proto.Message)
func (*CreateResponse) XXX_Size ¶
func (m *CreateResponse) XXX_Size() int
func (*CreateResponse) XXX_Unmarshal ¶
func (m *CreateResponse) XXX_Unmarshal(b []byte) error
type DeleteOptions ¶
type DeleteOptions struct { }
func (*DeleteOptions) Descriptor ¶
func (*DeleteOptions) Descriptor() ([]byte, []int)
func (*DeleteOptions) Marshal ¶
func (m *DeleteOptions) Marshal() (dAtA []byte, err error)
func (*DeleteOptions) MarshalToSizedBuffer ¶
func (m *DeleteOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DeleteOptions) ProtoMessage ¶
func (*DeleteOptions) ProtoMessage()
func (*DeleteOptions) Reset ¶
func (m *DeleteOptions) Reset()
func (*DeleteOptions) Size ¶
func (m *DeleteOptions) Size() (n int)
func (*DeleteOptions) String ¶
func (m *DeleteOptions) String() string
func (*DeleteOptions) Unmarshal ¶
func (m *DeleteOptions) Unmarshal(dAtA []byte) error
func (*DeleteOptions) XXX_DiscardUnknown ¶
func (m *DeleteOptions) XXX_DiscardUnknown()
func (*DeleteOptions) XXX_Marshal ¶
func (m *DeleteOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteOptions) XXX_Merge ¶
func (m *DeleteOptions) XXX_Merge(src proto.Message)
func (*DeleteOptions) XXX_Size ¶
func (m *DeleteOptions) XXX_Size() int
func (*DeleteOptions) XXX_Unmarshal ¶
func (m *DeleteOptions) XXX_Unmarshal(b []byte) error
type DeleteRequest ¶
type DeleteRequest struct { Service *Service `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` Options *DeleteOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` }
func (*DeleteRequest) Descriptor ¶
func (*DeleteRequest) Descriptor() ([]byte, []int)
func (*DeleteRequest) GetOptions ¶
func (m *DeleteRequest) GetOptions() *DeleteOptions
func (*DeleteRequest) GetService ¶
func (m *DeleteRequest) GetService() *Service
func (*DeleteRequest) Marshal ¶
func (m *DeleteRequest) Marshal() (dAtA []byte, err error)
func (*DeleteRequest) MarshalToSizedBuffer ¶
func (m *DeleteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DeleteRequest) ProtoMessage ¶
func (*DeleteRequest) ProtoMessage()
func (*DeleteRequest) Reset ¶
func (m *DeleteRequest) Reset()
func (*DeleteRequest) Size ¶
func (m *DeleteRequest) Size() (n int)
func (*DeleteRequest) String ¶
func (m *DeleteRequest) String() string
func (*DeleteRequest) Unmarshal ¶
func (m *DeleteRequest) Unmarshal(dAtA []byte) error
func (*DeleteRequest) XXX_DiscardUnknown ¶
func (m *DeleteRequest) XXX_DiscardUnknown()
func (*DeleteRequest) XXX_Marshal ¶
func (m *DeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteRequest) XXX_Merge ¶
func (m *DeleteRequest) XXX_Merge(src proto.Message)
func (*DeleteRequest) XXX_Size ¶
func (m *DeleteRequest) XXX_Size() int
func (*DeleteRequest) XXX_Unmarshal ¶
func (m *DeleteRequest) XXX_Unmarshal(b []byte) error
type DeleteResponse ¶
type DeleteResponse struct { }
func (*DeleteResponse) Descriptor ¶
func (*DeleteResponse) Descriptor() ([]byte, []int)
func (*DeleteResponse) Marshal ¶
func (m *DeleteResponse) Marshal() (dAtA []byte, err error)
func (*DeleteResponse) MarshalToSizedBuffer ¶
func (m *DeleteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DeleteResponse) ProtoMessage ¶
func (*DeleteResponse) ProtoMessage()
func (*DeleteResponse) Reset ¶
func (m *DeleteResponse) Reset()
func (*DeleteResponse) Size ¶
func (m *DeleteResponse) Size() (n int)
func (*DeleteResponse) String ¶
func (m *DeleteResponse) String() string
func (*DeleteResponse) Unmarshal ¶
func (m *DeleteResponse) Unmarshal(dAtA []byte) error
func (*DeleteResponse) XXX_DiscardUnknown ¶
func (m *DeleteResponse) XXX_DiscardUnknown()
func (*DeleteResponse) XXX_Marshal ¶
func (m *DeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteResponse) XXX_Merge ¶
func (m *DeleteResponse) XXX_Merge(src proto.Message)
func (*DeleteResponse) XXX_Size ¶
func (m *DeleteResponse) XXX_Size() int
func (*DeleteResponse) XXX_Unmarshal ¶
func (m *DeleteResponse) XXX_Unmarshal(b []byte) error
type Event ¶
type Event struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Service string `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"` Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` }
func (*Event) Descriptor ¶
func (*Event) GetService ¶
func (*Event) GetTimestamp ¶
func (*Event) GetVersion ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) XXX_DiscardUnknown ¶
func (m *Event) XXX_DiscardUnknown()
func (*Event) XXX_Marshal ¶
func (*Event) XXX_Unmarshal ¶
type ListOptions ¶
type ListOptions struct { }
func (*ListOptions) Descriptor ¶
func (*ListOptions) Descriptor() ([]byte, []int)
func (*ListOptions) Marshal ¶
func (m *ListOptions) Marshal() (dAtA []byte, err error)
func (*ListOptions) MarshalToSizedBuffer ¶
func (m *ListOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListOptions) ProtoMessage ¶
func (*ListOptions) ProtoMessage()
func (*ListOptions) Reset ¶
func (m *ListOptions) Reset()
func (*ListOptions) Size ¶
func (m *ListOptions) Size() (n int)
func (*ListOptions) String ¶
func (m *ListOptions) String() string
func (*ListOptions) Unmarshal ¶
func (m *ListOptions) Unmarshal(dAtA []byte) error
func (*ListOptions) XXX_DiscardUnknown ¶
func (m *ListOptions) XXX_DiscardUnknown()
func (*ListOptions) XXX_Marshal ¶
func (m *ListOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListOptions) XXX_Merge ¶
func (m *ListOptions) XXX_Merge(src proto.Message)
func (*ListOptions) XXX_Size ¶
func (m *ListOptions) XXX_Size() int
func (*ListOptions) XXX_Unmarshal ¶
func (m *ListOptions) XXX_Unmarshal(b []byte) error
type ListRequest ¶
type ListRequest struct {
Options *ListOptions `protobuf:"bytes,1,opt,name=options,proto3" json:"options,omitempty"`
}
func (*ListRequest) Descriptor ¶
func (*ListRequest) Descriptor() ([]byte, []int)
func (*ListRequest) GetOptions ¶
func (m *ListRequest) GetOptions() *ListOptions
func (*ListRequest) Marshal ¶
func (m *ListRequest) Marshal() (dAtA []byte, err error)
func (*ListRequest) MarshalToSizedBuffer ¶
func (m *ListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListRequest) ProtoMessage ¶
func (*ListRequest) ProtoMessage()
func (*ListRequest) Reset ¶
func (m *ListRequest) Reset()
func (*ListRequest) Size ¶
func (m *ListRequest) Size() (n int)
func (*ListRequest) String ¶
func (m *ListRequest) String() string
func (*ListRequest) Unmarshal ¶
func (m *ListRequest) Unmarshal(dAtA []byte) error
func (*ListRequest) XXX_DiscardUnknown ¶
func (m *ListRequest) XXX_DiscardUnknown()
func (*ListRequest) XXX_Marshal ¶
func (m *ListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListRequest) XXX_Merge ¶
func (m *ListRequest) XXX_Merge(src proto.Message)
func (*ListRequest) XXX_Size ¶
func (m *ListRequest) XXX_Size() int
func (*ListRequest) XXX_Unmarshal ¶
func (m *ListRequest) XXX_Unmarshal(b []byte) error
type ListResponse ¶
type ListResponse struct {
Services []*Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
}
func (*ListResponse) Descriptor ¶
func (*ListResponse) Descriptor() ([]byte, []int)
func (*ListResponse) GetServices ¶
func (m *ListResponse) GetServices() []*Service
func (*ListResponse) Marshal ¶
func (m *ListResponse) Marshal() (dAtA []byte, err error)
func (*ListResponse) MarshalToSizedBuffer ¶
func (m *ListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListResponse) ProtoMessage ¶
func (*ListResponse) ProtoMessage()
func (*ListResponse) Reset ¶
func (m *ListResponse) Reset()
func (*ListResponse) Size ¶
func (m *ListResponse) Size() (n int)
func (*ListResponse) String ¶
func (m *ListResponse) String() string
func (*ListResponse) Unmarshal ¶
func (m *ListResponse) Unmarshal(dAtA []byte) error
func (*ListResponse) XXX_DiscardUnknown ¶
func (m *ListResponse) XXX_DiscardUnknown()
func (*ListResponse) XXX_Marshal ¶
func (m *ListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListResponse) XXX_Merge ¶
func (m *ListResponse) XXX_Merge(src proto.Message)
func (*ListResponse) XXX_Size ¶
func (m *ListResponse) XXX_Size() int
func (*ListResponse) XXX_Unmarshal ¶
func (m *ListResponse) XXX_Unmarshal(b []byte) error
type LogRecord ¶
type LogRecord struct { // timestamp of log record Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // record metadata Metadata map[string]string `` /* 157-byte string literal not displayed */ // message Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` }
func (*LogRecord) Descriptor ¶
func (*LogRecord) GetMessage ¶
func (*LogRecord) GetMetadata ¶
func (*LogRecord) GetTimestamp ¶
func (*LogRecord) MarshalToSizedBuffer ¶
func (*LogRecord) ProtoMessage ¶
func (*LogRecord) ProtoMessage()
func (*LogRecord) XXX_DiscardUnknown ¶
func (m *LogRecord) XXX_DiscardUnknown()
func (*LogRecord) XXX_Marshal ¶
func (*LogRecord) XXX_Unmarshal ¶
type LogsOptions ¶
type LogsOptions struct { }
func (*LogsOptions) Descriptor ¶
func (*LogsOptions) Descriptor() ([]byte, []int)
func (*LogsOptions) Marshal ¶
func (m *LogsOptions) Marshal() (dAtA []byte, err error)
func (*LogsOptions) MarshalToSizedBuffer ¶
func (m *LogsOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LogsOptions) ProtoMessage ¶
func (*LogsOptions) ProtoMessage()
func (*LogsOptions) Reset ¶
func (m *LogsOptions) Reset()
func (*LogsOptions) Size ¶
func (m *LogsOptions) Size() (n int)
func (*LogsOptions) String ¶
func (m *LogsOptions) String() string
func (*LogsOptions) Unmarshal ¶
func (m *LogsOptions) Unmarshal(dAtA []byte) error
func (*LogsOptions) XXX_DiscardUnknown ¶
func (m *LogsOptions) XXX_DiscardUnknown()
func (*LogsOptions) XXX_Marshal ¶
func (m *LogsOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LogsOptions) XXX_Merge ¶
func (m *LogsOptions) XXX_Merge(src proto.Message)
func (*LogsOptions) XXX_Size ¶
func (m *LogsOptions) XXX_Size() int
func (*LogsOptions) XXX_Unmarshal ¶
func (m *LogsOptions) XXX_Unmarshal(b []byte) error
type LogsRequest ¶
type LogsRequest struct { // service to request logs for Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` // stream records continuously Stream bool `protobuf:"varint,2,opt,name=stream,proto3" json:"stream,omitempty"` // count of records to request Count int64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` // relative time in seconds // before the current time // from which to show logs Since int64 `protobuf:"varint,4,opt,name=since,proto3" json:"since,omitempty"` // options to use Options *LogsOptions `protobuf:"bytes,5,opt,name=options,proto3" json:"options,omitempty"` }
func (*LogsRequest) Descriptor ¶
func (*LogsRequest) Descriptor() ([]byte, []int)
func (*LogsRequest) GetCount ¶
func (m *LogsRequest) GetCount() int64
func (*LogsRequest) GetOptions ¶
func (m *LogsRequest) GetOptions() *LogsOptions
func (*LogsRequest) GetService ¶
func (m *LogsRequest) GetService() string
func (*LogsRequest) GetSince ¶
func (m *LogsRequest) GetSince() int64
func (*LogsRequest) GetStream ¶
func (m *LogsRequest) GetStream() bool
func (*LogsRequest) Marshal ¶
func (m *LogsRequest) Marshal() (dAtA []byte, err error)
func (*LogsRequest) MarshalToSizedBuffer ¶
func (m *LogsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LogsRequest) ProtoMessage ¶
func (*LogsRequest) ProtoMessage()
func (*LogsRequest) Reset ¶
func (m *LogsRequest) Reset()
func (*LogsRequest) Size ¶
func (m *LogsRequest) Size() (n int)
func (*LogsRequest) String ¶
func (m *LogsRequest) String() string
func (*LogsRequest) Unmarshal ¶
func (m *LogsRequest) Unmarshal(dAtA []byte) error
func (*LogsRequest) XXX_DiscardUnknown ¶
func (m *LogsRequest) XXX_DiscardUnknown()
func (*LogsRequest) XXX_Marshal ¶
func (m *LogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LogsRequest) XXX_Merge ¶
func (m *LogsRequest) XXX_Merge(src proto.Message)
func (*LogsRequest) XXX_Size ¶
func (m *LogsRequest) XXX_Size() int
func (*LogsRequest) XXX_Unmarshal ¶
func (m *LogsRequest) XXX_Unmarshal(b []byte) error
type ReadOptions ¶
type ReadOptions struct { // service name Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` // version of the service Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // type of service Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` }
func (*ReadOptions) Descriptor ¶
func (*ReadOptions) Descriptor() ([]byte, []int)
func (*ReadOptions) GetService ¶
func (m *ReadOptions) GetService() string
func (*ReadOptions) GetType ¶
func (m *ReadOptions) GetType() string
func (*ReadOptions) GetVersion ¶
func (m *ReadOptions) GetVersion() string
func (*ReadOptions) Marshal ¶
func (m *ReadOptions) Marshal() (dAtA []byte, err error)
func (*ReadOptions) MarshalToSizedBuffer ¶
func (m *ReadOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ReadOptions) ProtoMessage ¶
func (*ReadOptions) ProtoMessage()
func (*ReadOptions) Reset ¶
func (m *ReadOptions) Reset()
func (*ReadOptions) Size ¶
func (m *ReadOptions) Size() (n int)
func (*ReadOptions) String ¶
func (m *ReadOptions) String() string
func (*ReadOptions) Unmarshal ¶
func (m *ReadOptions) Unmarshal(dAtA []byte) error
func (*ReadOptions) XXX_DiscardUnknown ¶
func (m *ReadOptions) XXX_DiscardUnknown()
func (*ReadOptions) XXX_Marshal ¶
func (m *ReadOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReadOptions) XXX_Merge ¶
func (m *ReadOptions) XXX_Merge(src proto.Message)
func (*ReadOptions) XXX_Size ¶
func (m *ReadOptions) XXX_Size() int
func (*ReadOptions) XXX_Unmarshal ¶
func (m *ReadOptions) XXX_Unmarshal(b []byte) error
type ReadRequest ¶
type ReadRequest struct {
Options *ReadOptions `protobuf:"bytes,1,opt,name=options,proto3" json:"options,omitempty"`
}
func (*ReadRequest) Descriptor ¶
func (*ReadRequest) Descriptor() ([]byte, []int)
func (*ReadRequest) GetOptions ¶
func (m *ReadRequest) GetOptions() *ReadOptions
func (*ReadRequest) Marshal ¶
func (m *ReadRequest) Marshal() (dAtA []byte, err error)
func (*ReadRequest) MarshalToSizedBuffer ¶
func (m *ReadRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ReadRequest) ProtoMessage ¶
func (*ReadRequest) ProtoMessage()
func (*ReadRequest) Reset ¶
func (m *ReadRequest) Reset()
func (*ReadRequest) Size ¶
func (m *ReadRequest) Size() (n int)
func (*ReadRequest) String ¶
func (m *ReadRequest) String() string
func (*ReadRequest) Unmarshal ¶
func (m *ReadRequest) Unmarshal(dAtA []byte) error
func (*ReadRequest) XXX_DiscardUnknown ¶
func (m *ReadRequest) XXX_DiscardUnknown()
func (*ReadRequest) XXX_Marshal ¶
func (m *ReadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReadRequest) XXX_Merge ¶
func (m *ReadRequest) XXX_Merge(src proto.Message)
func (*ReadRequest) XXX_Size ¶
func (m *ReadRequest) XXX_Size() int
func (*ReadRequest) XXX_Unmarshal ¶
func (m *ReadRequest) XXX_Unmarshal(b []byte) error
type ReadResponse ¶
type ReadResponse struct {
Services []*Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
}
func (*ReadResponse) Descriptor ¶
func (*ReadResponse) Descriptor() ([]byte, []int)
func (*ReadResponse) GetServices ¶
func (m *ReadResponse) GetServices() []*Service
func (*ReadResponse) Marshal ¶
func (m *ReadResponse) Marshal() (dAtA []byte, err error)
func (*ReadResponse) MarshalToSizedBuffer ¶
func (m *ReadResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ReadResponse) ProtoMessage ¶
func (*ReadResponse) ProtoMessage()
func (*ReadResponse) Reset ¶
func (m *ReadResponse) Reset()
func (*ReadResponse) Size ¶
func (m *ReadResponse) Size() (n int)
func (*ReadResponse) String ¶
func (m *ReadResponse) String() string
func (*ReadResponse) Unmarshal ¶
func (m *ReadResponse) Unmarshal(dAtA []byte) error
func (*ReadResponse) XXX_DiscardUnknown ¶
func (m *ReadResponse) XXX_DiscardUnknown()
func (*ReadResponse) XXX_Marshal ¶
func (m *ReadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReadResponse) XXX_Merge ¶
func (m *ReadResponse) XXX_Merge(src proto.Message)
func (*ReadResponse) XXX_Size ¶
func (m *ReadResponse) XXX_Size() int
func (*ReadResponse) XXX_Unmarshal ¶
func (m *ReadResponse) XXX_Unmarshal(b []byte) error
type RuntimeClient ¶
type RuntimeClient interface { Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error) Read(ctx context.Context, in *ReadRequest, opts ...grpc.CallOption) (*ReadResponse, error) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error) Logs(ctx context.Context, in *LogsRequest, opts ...grpc.CallOption) (Runtime_LogsClient, error) }
RuntimeClient is the client API for Runtime service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewRuntimeClient ¶
func NewRuntimeClient(cc *grpc.ClientConn) RuntimeClient
type RuntimeHandler ¶
type RuntimeHandler interface { Create(context.Context, *CreateRequest, *CreateResponse) error Read(context.Context, *ReadRequest, *ReadResponse) error Delete(context.Context, *DeleteRequest, *DeleteResponse) error Update(context.Context, *UpdateRequest, *UpdateResponse) error Logs(context.Context, *LogsRequest, Runtime_LogsStream) error }
Server API for Runtime service
type RuntimeServer ¶
type RuntimeServer interface { Create(context.Context, *CreateRequest) (*CreateResponse, error) Read(context.Context, *ReadRequest) (*ReadResponse, error) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) Update(context.Context, *UpdateRequest) (*UpdateResponse, error) Logs(*LogsRequest, Runtime_LogsServer) error }
RuntimeServer is the server API for Runtime service.
type RuntimeService ¶
type RuntimeService interface { Create(ctx context.Context, in *CreateRequest, opts ...client.CallOption) (*CreateResponse, error) Read(ctx context.Context, in *ReadRequest, opts ...client.CallOption) (*ReadResponse, error) Delete(ctx context.Context, in *DeleteRequest, opts ...client.CallOption) (*DeleteResponse, error) Update(ctx context.Context, in *UpdateRequest, opts ...client.CallOption) (*UpdateResponse, error) Logs(ctx context.Context, in *LogsRequest, opts ...client.CallOption) (Runtime_LogsService, error) }
Client API for Runtime service
func NewRuntimeService ¶
func NewRuntimeService(name string, c client.Client) RuntimeService
type Runtime_LogsClient ¶
type Runtime_LogsClient interface { Recv() (*LogRecord, error) grpc.ClientStream }
type Runtime_LogsServer ¶
type Runtime_LogsServer interface { Send(*LogRecord) error grpc.ServerStream }
type Runtime_LogsService ¶
type Runtime_LogsStream ¶
type Service ¶
type Service struct { // name of the service Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // version of the service Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // git url of the source Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"` // service metadata Metadata map[string]string `` /* 157-byte string literal not displayed */ }
func (*Service) Descriptor ¶
func (*Service) GetMetadata ¶
func (*Service) GetVersion ¶
func (*Service) MarshalToSizedBuffer ¶
func (*Service) ProtoMessage ¶
func (*Service) ProtoMessage()
func (*Service) XXX_DiscardUnknown ¶
func (m *Service) XXX_DiscardUnknown()
func (*Service) XXX_Marshal ¶
func (*Service) XXX_Unmarshal ¶
type UnimplementedRuntimeServer ¶
type UnimplementedRuntimeServer struct { }
UnimplementedRuntimeServer can be embedded to have forward compatible implementations.
func (*UnimplementedRuntimeServer) Create ¶
func (*UnimplementedRuntimeServer) Create(ctx context.Context, req *CreateRequest) (*CreateResponse, error)
func (*UnimplementedRuntimeServer) Delete ¶
func (*UnimplementedRuntimeServer) Delete(ctx context.Context, req *DeleteRequest) (*DeleteResponse, error)
func (*UnimplementedRuntimeServer) Logs ¶
func (*UnimplementedRuntimeServer) Logs(req *LogsRequest, srv Runtime_LogsServer) error
func (*UnimplementedRuntimeServer) Read ¶
func (*UnimplementedRuntimeServer) Read(ctx context.Context, req *ReadRequest) (*ReadResponse, error)
func (*UnimplementedRuntimeServer) Update ¶
func (*UnimplementedRuntimeServer) Update(ctx context.Context, req *UpdateRequest) (*UpdateResponse, error)
type UpdateOptions ¶
type UpdateOptions struct { }
func (*UpdateOptions) Descriptor ¶
func (*UpdateOptions) Descriptor() ([]byte, []int)
func (*UpdateOptions) Marshal ¶
func (m *UpdateOptions) Marshal() (dAtA []byte, err error)
func (*UpdateOptions) MarshalToSizedBuffer ¶
func (m *UpdateOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UpdateOptions) ProtoMessage ¶
func (*UpdateOptions) ProtoMessage()
func (*UpdateOptions) Reset ¶
func (m *UpdateOptions) Reset()
func (*UpdateOptions) Size ¶
func (m *UpdateOptions) Size() (n int)
func (*UpdateOptions) String ¶
func (m *UpdateOptions) String() string
func (*UpdateOptions) Unmarshal ¶
func (m *UpdateOptions) Unmarshal(dAtA []byte) error
func (*UpdateOptions) XXX_DiscardUnknown ¶
func (m *UpdateOptions) XXX_DiscardUnknown()
func (*UpdateOptions) XXX_Marshal ¶
func (m *UpdateOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateOptions) XXX_Merge ¶
func (m *UpdateOptions) XXX_Merge(src proto.Message)
func (*UpdateOptions) XXX_Size ¶
func (m *UpdateOptions) XXX_Size() int
func (*UpdateOptions) XXX_Unmarshal ¶
func (m *UpdateOptions) XXX_Unmarshal(b []byte) error
type UpdateRequest ¶
type UpdateRequest struct { Service *Service `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` Options *UpdateOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` }
func (*UpdateRequest) Descriptor ¶
func (*UpdateRequest) Descriptor() ([]byte, []int)
func (*UpdateRequest) GetOptions ¶
func (m *UpdateRequest) GetOptions() *UpdateOptions
func (*UpdateRequest) GetService ¶
func (m *UpdateRequest) GetService() *Service
func (*UpdateRequest) Marshal ¶
func (m *UpdateRequest) Marshal() (dAtA []byte, err error)
func (*UpdateRequest) MarshalToSizedBuffer ¶
func (m *UpdateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UpdateRequest) ProtoMessage ¶
func (*UpdateRequest) ProtoMessage()
func (*UpdateRequest) Reset ¶
func (m *UpdateRequest) Reset()
func (*UpdateRequest) Size ¶
func (m *UpdateRequest) Size() (n int)
func (*UpdateRequest) String ¶
func (m *UpdateRequest) String() string
func (*UpdateRequest) Unmarshal ¶
func (m *UpdateRequest) Unmarshal(dAtA []byte) error
func (*UpdateRequest) XXX_DiscardUnknown ¶
func (m *UpdateRequest) XXX_DiscardUnknown()
func (*UpdateRequest) XXX_Marshal ¶
func (m *UpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateRequest) XXX_Merge ¶
func (m *UpdateRequest) XXX_Merge(src proto.Message)
func (*UpdateRequest) XXX_Size ¶
func (m *UpdateRequest) XXX_Size() int
func (*UpdateRequest) XXX_Unmarshal ¶
func (m *UpdateRequest) XXX_Unmarshal(b []byte) error
type UpdateResponse ¶
type UpdateResponse struct { }
func (*UpdateResponse) Descriptor ¶
func (*UpdateResponse) Descriptor() ([]byte, []int)
func (*UpdateResponse) Marshal ¶
func (m *UpdateResponse) Marshal() (dAtA []byte, err error)
func (*UpdateResponse) MarshalToSizedBuffer ¶
func (m *UpdateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UpdateResponse) ProtoMessage ¶
func (*UpdateResponse) ProtoMessage()
func (*UpdateResponse) Reset ¶
func (m *UpdateResponse) Reset()
func (*UpdateResponse) Size ¶
func (m *UpdateResponse) Size() (n int)
func (*UpdateResponse) String ¶
func (m *UpdateResponse) String() string
func (*UpdateResponse) Unmarshal ¶
func (m *UpdateResponse) Unmarshal(dAtA []byte) error
func (*UpdateResponse) XXX_DiscardUnknown ¶
func (m *UpdateResponse) XXX_DiscardUnknown()
func (*UpdateResponse) XXX_Marshal ¶
func (m *UpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateResponse) XXX_Merge ¶
func (m *UpdateResponse) XXX_Merge(src proto.Message)
func (*UpdateResponse) XXX_Size ¶
func (m *UpdateResponse) XXX_Size() int
func (*UpdateResponse) XXX_Unmarshal ¶
func (m *UpdateResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.