Documentation
¶
Index ¶
- Variables
- func RegisterEventlogServer(s grpc.ServiceRegistrar, srv EventlogServer)
- type CATEGORY
- type EventlogClient
- type EventlogServer
- type GetEventlogReply
- func (*GetEventlogReply) Descriptor() ([]byte, []int)
- func (m *GetEventlogReply) GetEventlogDataLoc() string
- func (*GetEventlogReply) ProtoMessage()
- func (m *GetEventlogReply) Reset()
- func (m *GetEventlogReply) String() string
- func (m *GetEventlogReply) XXX_DiscardUnknown()
- func (m *GetEventlogReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetEventlogReply) XXX_Merge(src proto.Message)
- func (m *GetEventlogReply) XXX_Size() int
- func (m *GetEventlogReply) XXX_Unmarshal(b []byte) error
- type GetEventlogRequest
- func (*GetEventlogRequest) Descriptor() ([]byte, []int)
- func (m *GetEventlogRequest) GetCount() int32
- func (m *GetEventlogRequest) GetEventlogCategory() CATEGORY
- func (m *GetEventlogRequest) GetEventlogLevel() LEVEL
- func (m *GetEventlogRequest) GetStartPosition() int32
- func (*GetEventlogRequest) ProtoMessage()
- func (m *GetEventlogRequest) Reset()
- func (m *GetEventlogRequest) String() string
- func (m *GetEventlogRequest) XXX_DiscardUnknown()
- func (m *GetEventlogRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetEventlogRequest) XXX_Merge(src proto.Message)
- func (m *GetEventlogRequest) XXX_Size() int
- func (m *GetEventlogRequest) XXX_Unmarshal(b []byte) error
- type LEVEL
- type UnimplementedEventlogServer
- type UnsafeEventlogServer
Constants ¶
This section is empty.
Variables ¶
var CATEGORY_name = map[int32]string{
0: "TDX_EVENTLOG",
1: "TPM_EVENTLOG",
}
var CATEGORY_value = map[string]int32{
"TDX_EVENTLOG": 0,
"TPM_EVENTLOG": 1,
}
var Eventlog_ServiceDesc = grpc.ServiceDesc{ ServiceName: "Eventlog", HandlerType: (*EventlogServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetEventlog", Handler: _Eventlog_GetEventlog_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/eventlog-server.proto", }
Eventlog_ServiceDesc is the grpc.ServiceDesc for Eventlog service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var LEVEL_name = map[int32]string{
0: "PAAS",
1: "SAAS",
}
var LEVEL_value = map[string]int32{
"PAAS": 0,
"SAAS": 1,
}
Functions ¶
func RegisterEventlogServer ¶
func RegisterEventlogServer(s grpc.ServiceRegistrar, srv EventlogServer)
Types ¶
type EventlogClient ¶
type EventlogClient interface {
GetEventlog(ctx context.Context, in *GetEventlogRequest, opts ...grpc.CallOption) (*GetEventlogReply, error)
}
EventlogClient is the client API for Eventlog 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.
func NewEventlogClient ¶
func NewEventlogClient(cc grpc.ClientConnInterface) EventlogClient
type EventlogServer ¶
type EventlogServer interface { GetEventlog(context.Context, *GetEventlogRequest) (*GetEventlogReply, error) // contains filtered or unexported methods }
EventlogServer is the server API for Eventlog service. All implementations must embed UnimplementedEventlogServer for forward compatibility
type GetEventlogReply ¶
type GetEventlogReply struct { EventlogDataLoc string `protobuf:"bytes,1,opt,name=eventlog_data_loc,json=eventlogDataLoc,proto3" json:"eventlog_data_loc,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetEventlogReply) Descriptor ¶
func (*GetEventlogReply) Descriptor() ([]byte, []int)
func (*GetEventlogReply) GetEventlogDataLoc ¶
func (m *GetEventlogReply) GetEventlogDataLoc() string
func (*GetEventlogReply) ProtoMessage ¶
func (*GetEventlogReply) ProtoMessage()
func (*GetEventlogReply) Reset ¶
func (m *GetEventlogReply) Reset()
func (*GetEventlogReply) String ¶
func (m *GetEventlogReply) String() string
func (*GetEventlogReply) XXX_DiscardUnknown ¶
func (m *GetEventlogReply) XXX_DiscardUnknown()
func (*GetEventlogReply) XXX_Marshal ¶
func (m *GetEventlogReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetEventlogReply) XXX_Merge ¶
func (m *GetEventlogReply) XXX_Merge(src proto.Message)
func (*GetEventlogReply) XXX_Size ¶
func (m *GetEventlogReply) XXX_Size() int
func (*GetEventlogReply) XXX_Unmarshal ¶
func (m *GetEventlogReply) XXX_Unmarshal(b []byte) error
type GetEventlogRequest ¶
type GetEventlogRequest struct { EventlogLevel LEVEL `protobuf:"varint,1,opt,name=eventlog_level,json=eventlogLevel,proto3,enum=LEVEL" json:"eventlog_level,omitempty"` EventlogCategory CATEGORY `protobuf:"varint,2,opt,name=eventlog_category,json=eventlogCategory,proto3,enum=CATEGORY" json:"eventlog_category,omitempty"` StartPosition int32 `protobuf:"varint,3,opt,name=start_position,json=startPosition,proto3" json:"start_position,omitempty"` Count int32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetEventlogRequest) Descriptor ¶
func (*GetEventlogRequest) Descriptor() ([]byte, []int)
func (*GetEventlogRequest) GetCount ¶
func (m *GetEventlogRequest) GetCount() int32
func (*GetEventlogRequest) GetEventlogCategory ¶
func (m *GetEventlogRequest) GetEventlogCategory() CATEGORY
func (*GetEventlogRequest) GetEventlogLevel ¶
func (m *GetEventlogRequest) GetEventlogLevel() LEVEL
func (*GetEventlogRequest) GetStartPosition ¶
func (m *GetEventlogRequest) GetStartPosition() int32
func (*GetEventlogRequest) ProtoMessage ¶
func (*GetEventlogRequest) ProtoMessage()
func (*GetEventlogRequest) Reset ¶
func (m *GetEventlogRequest) Reset()
func (*GetEventlogRequest) String ¶
func (m *GetEventlogRequest) String() string
func (*GetEventlogRequest) XXX_DiscardUnknown ¶
func (m *GetEventlogRequest) XXX_DiscardUnknown()
func (*GetEventlogRequest) XXX_Marshal ¶
func (m *GetEventlogRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetEventlogRequest) XXX_Merge ¶
func (m *GetEventlogRequest) XXX_Merge(src proto.Message)
func (*GetEventlogRequest) XXX_Size ¶
func (m *GetEventlogRequest) XXX_Size() int
func (*GetEventlogRequest) XXX_Unmarshal ¶
func (m *GetEventlogRequest) XXX_Unmarshal(b []byte) error
type UnimplementedEventlogServer ¶
type UnimplementedEventlogServer struct { }
UnimplementedEventlogServer must be embedded to have forward compatible implementations.
func (UnimplementedEventlogServer) GetEventlog ¶
func (UnimplementedEventlogServer) GetEventlog(context.Context, *GetEventlogRequest) (*GetEventlogReply, error)
type UnsafeEventlogServer ¶
type UnsafeEventlogServer interface {
// contains filtered or unexported methods
}
UnsafeEventlogServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EventlogServer will result in compilation errors.