proto

package
v0.1.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: May 20, 2018 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

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)
}

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)
}

ROTDServer is the server API for ROTD service.

Jump to

Keyboard shortcuts

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