Documentation ¶
Index ¶
- func RegisterROTDServer(s *grpc.Server, srv ROTDServer)
- type CertificateRequest
- func (*CertificateRequest) Descriptor() ([]byte, []int)
- func (m *CertificateRequest) GetCsr() []byte
- func (*CertificateRequest) ProtoMessage()
- func (m *CertificateRequest) Reset()
- func (m *CertificateRequest) String() string
- func (m *CertificateRequest) XXX_DiscardUnknown()
- func (m *CertificateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CertificateRequest) XXX_Merge(src proto.Message)
- func (m *CertificateRequest) XXX_Size() int
- func (m *CertificateRequest) XXX_Unmarshal(b []byte) error
- type CertificateResponse
- func (*CertificateResponse) Descriptor() ([]byte, []int)
- func (m *CertificateResponse) GetBytes() []byte
- func (*CertificateResponse) ProtoMessage()
- func (m *CertificateResponse) Reset()
- func (m *CertificateResponse) String() string
- func (m *CertificateResponse) XXX_DiscardUnknown()
- func (m *CertificateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CertificateResponse) XXX_Merge(src proto.Message)
- func (m *CertificateResponse) XXX_Size() int
- func (m *CertificateResponse) XXX_Unmarshal(b []byte) error
- type ROTDClient
- type ROTDServer
- type WriteFileRequest
- func (*WriteFileRequest) Descriptor() ([]byte, []int)
- func (m *WriteFileRequest) GetData() []byte
- func (m *WriteFileRequest) GetPath() string
- func (m *WriteFileRequest) GetPerm() int32
- func (*WriteFileRequest) ProtoMessage()
- func (m *WriteFileRequest) Reset()
- func (m *WriteFileRequest) String() string
- func (m *WriteFileRequest) XXX_DiscardUnknown()
- func (m *WriteFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *WriteFileRequest) XXX_Merge(src proto.Message)
- func (m *WriteFileRequest) XXX_Size() int
- func (m *WriteFileRequest) XXX_Unmarshal(b []byte) error
- type WriteFileResponse
- func (*WriteFileResponse) Descriptor() ([]byte, []int)
- func (*WriteFileResponse) ProtoMessage()
- func (m *WriteFileResponse) Reset()
- func (m *WriteFileResponse) String() string
- func (m *WriteFileResponse) XXX_DiscardUnknown()
- func (m *WriteFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *WriteFileResponse) XXX_Merge(src proto.Message)
- func (m *WriteFileResponse) XXX_Size() int
- func (m *WriteFileResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterROTDServer ¶
func RegisterROTDServer(s *grpc.Server, srv ROTDServer)
Types ¶
type CertificateRequest ¶
type CertificateRequest struct { Csr []byte `protobuf:"bytes,1,opt,name=csr,proto3" json:"csr,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The request message containing the process name.
func (*CertificateRequest) Descriptor ¶
func (*CertificateRequest) Descriptor() ([]byte, []int)
func (*CertificateRequest) GetCsr ¶
func (m *CertificateRequest) GetCsr() []byte
func (*CertificateRequest) ProtoMessage ¶
func (*CertificateRequest) ProtoMessage()
func (*CertificateRequest) Reset ¶
func (m *CertificateRequest) Reset()
func (*CertificateRequest) String ¶
func (m *CertificateRequest) String() string
func (*CertificateRequest) XXX_DiscardUnknown ¶
func (m *CertificateRequest) XXX_DiscardUnknown()
func (*CertificateRequest) XXX_Marshal ¶
func (m *CertificateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CertificateRequest) XXX_Merge ¶
func (dst *CertificateRequest) XXX_Merge(src proto.Message)
func (*CertificateRequest) XXX_Size ¶
func (m *CertificateRequest) XXX_Size() int
func (*CertificateRequest) XXX_Unmarshal ¶
func (m *CertificateRequest) XXX_Unmarshal(b []byte) error
type CertificateResponse ¶
type CertificateResponse struct { Bytes []byte `protobuf:"bytes,1,opt,name=bytes,proto3" json:"bytes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The response message containing the requested logs.
func (*CertificateResponse) Descriptor ¶
func (*CertificateResponse) Descriptor() ([]byte, []int)
func (*CertificateResponse) GetBytes ¶
func (m *CertificateResponse) GetBytes() []byte
func (*CertificateResponse) ProtoMessage ¶
func (*CertificateResponse) ProtoMessage()
func (*CertificateResponse) Reset ¶
func (m *CertificateResponse) Reset()
func (*CertificateResponse) String ¶
func (m *CertificateResponse) String() string
func (*CertificateResponse) XXX_DiscardUnknown ¶
func (m *CertificateResponse) XXX_DiscardUnknown()
func (*CertificateResponse) XXX_Marshal ¶
func (m *CertificateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CertificateResponse) XXX_Merge ¶
func (dst *CertificateResponse) XXX_Merge(src proto.Message)
func (*CertificateResponse) XXX_Size ¶
func (m *CertificateResponse) XXX_Size() int
func (*CertificateResponse) XXX_Unmarshal ¶
func (m *CertificateResponse) XXX_Unmarshal(b []byte) error
type ROTDClient ¶
type ROTDClient interface { Certificate(ctx context.Context, in *CertificateRequest, opts ...grpc.CallOption) (*CertificateResponse, error) WriteFile(ctx context.Context, in *WriteFileRequest, opts ...grpc.CallOption) (*WriteFileResponse, error) }
ROTDClient is the client API for ROTD service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewROTDClient ¶
func NewROTDClient(cc *grpc.ClientConn) ROTDClient
type ROTDServer ¶
type ROTDServer interface { Certificate(context.Context, *CertificateRequest) (*CertificateResponse, error) WriteFile(context.Context, *WriteFileRequest) (*WriteFileResponse, error) }
ROTDServer is the server API for ROTD service.
type WriteFileRequest ¶
type WriteFileRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` Perm int32 `protobuf:"varint,3,opt,name=perm,proto3" json:"perm,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The request message containing the process name.
func (*WriteFileRequest) Descriptor ¶
func (*WriteFileRequest) Descriptor() ([]byte, []int)
func (*WriteFileRequest) GetData ¶
func (m *WriteFileRequest) GetData() []byte
func (*WriteFileRequest) GetPath ¶
func (m *WriteFileRequest) GetPath() string
func (*WriteFileRequest) GetPerm ¶
func (m *WriteFileRequest) GetPerm() int32
func (*WriteFileRequest) ProtoMessage ¶
func (*WriteFileRequest) ProtoMessage()
func (*WriteFileRequest) Reset ¶
func (m *WriteFileRequest) Reset()
func (*WriteFileRequest) String ¶
func (m *WriteFileRequest) String() string
func (*WriteFileRequest) XXX_DiscardUnknown ¶
func (m *WriteFileRequest) XXX_DiscardUnknown()
func (*WriteFileRequest) XXX_Marshal ¶
func (m *WriteFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WriteFileRequest) XXX_Merge ¶
func (dst *WriteFileRequest) XXX_Merge(src proto.Message)
func (*WriteFileRequest) XXX_Size ¶
func (m *WriteFileRequest) XXX_Size() int
func (*WriteFileRequest) XXX_Unmarshal ¶
func (m *WriteFileRequest) XXX_Unmarshal(b []byte) error
type WriteFileResponse ¶
type WriteFileResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The response message containing the requested logs.
func (*WriteFileResponse) Descriptor ¶
func (*WriteFileResponse) Descriptor() ([]byte, []int)
func (*WriteFileResponse) ProtoMessage ¶
func (*WriteFileResponse) ProtoMessage()
func (*WriteFileResponse) Reset ¶
func (m *WriteFileResponse) Reset()
func (*WriteFileResponse) String ¶
func (m *WriteFileResponse) String() string
func (*WriteFileResponse) XXX_DiscardUnknown ¶
func (m *WriteFileResponse) XXX_DiscardUnknown()
func (*WriteFileResponse) XXX_Marshal ¶
func (m *WriteFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WriteFileResponse) XXX_Merge ¶
func (dst *WriteFileResponse) XXX_Merge(src proto.Message)
func (*WriteFileResponse) XXX_Size ¶
func (m *WriteFileResponse) XXX_Size() int
func (*WriteFileResponse) XXX_Unmarshal ¶
func (m *WriteFileResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.