getEventlog

package
v0.0.0-...-70d8f92 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CATEGORY_name = map[int32]string{
	0: "TDX_EVENTLOG",
	1: "TPM_EVENTLOG",
}
View Source
var CATEGORY_value = map[string]int32{
	"TDX_EVENTLOG": 0,
	"TPM_EVENTLOG": 1,
}
View Source
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)

View Source
var LEVEL_name = map[int32]string{
	0: "PAAS",
	1: "SAAS",
}
View Source
var LEVEL_value = map[string]int32{
	"PAAS": 0,
	"SAAS": 1,
}

Functions

func RegisterEventlogServer

func RegisterEventlogServer(s grpc.ServiceRegistrar, srv EventlogServer)

Types

type CATEGORY

type CATEGORY int32
const (
	CATEGORY_TDX_EVENTLOG CATEGORY = 0
	CATEGORY_TPM_EVENTLOG CATEGORY = 1
)

func (CATEGORY) EnumDescriptor

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

func (CATEGORY) String

func (x CATEGORY) String() string

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 LEVEL

type LEVEL int32
const (
	LEVEL_PAAS LEVEL = 0
	LEVEL_SAAS LEVEL = 1
)

func (LEVEL) EnumDescriptor

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

func (LEVEL) String

func (x LEVEL) String() string

type UnimplementedEventlogServer

type UnimplementedEventlogServer struct {
}

UnimplementedEventlogServer must be embedded to have forward compatible implementations.

func (UnimplementedEventlogServer) GetEventlog

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.

Jump to

Keyboard shortcuts

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