v1

package
v0.0.0-...-574a00b Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2019 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthCert = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCert   = fmt.Errorf("proto: integer overflow")
)

Functions

func RegisterCertServiceServer

func RegisterCertServiceServer(s *grpc.Server, srv CertServiceServer)

Types

type CertRequest

type CertRequest struct {
}

CertRequest is currently empty

func (*CertRequest) Descriptor

func (*CertRequest) Descriptor() ([]byte, []int)

func (*CertRequest) Marshal

func (m *CertRequest) Marshal() (dAtA []byte, err error)

func (*CertRequest) MarshalTo

func (m *CertRequest) MarshalTo(dAtA []byte) (int, error)

func (*CertRequest) ProtoMessage

func (*CertRequest) ProtoMessage()

func (*CertRequest) Reset

func (m *CertRequest) Reset()

func (*CertRequest) Size

func (m *CertRequest) Size() (n int)

func (*CertRequest) String

func (m *CertRequest) String() string

func (*CertRequest) Unmarshal

func (m *CertRequest) Unmarshal(dAtA []byte) error

func (*CertRequest) XXX_DiscardUnknown

func (m *CertRequest) XXX_DiscardUnknown()

func (*CertRequest) XXX_Marshal

func (m *CertRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CertRequest) XXX_Merge

func (dst *CertRequest) XXX_Merge(src proto.Message)

func (*CertRequest) XXX_Size

func (m *CertRequest) XXX_Size() int

func (*CertRequest) XXX_Unmarshal

func (m *CertRequest) XXX_Unmarshal(b []byte) error

type CertResponse

type CertResponse struct {
	Cert string `protobuf:"bytes,1,opt,name=cert,proto3" json:"cert,omitempty"`
}

CertResponse is the CertService response

func (*CertResponse) Descriptor

func (*CertResponse) Descriptor() ([]byte, []int)

func (*CertResponse) GetCert

func (m *CertResponse) GetCert() string

func (*CertResponse) Marshal

func (m *CertResponse) Marshal() (dAtA []byte, err error)

func (*CertResponse) MarshalTo

func (m *CertResponse) MarshalTo(dAtA []byte) (int, error)

func (*CertResponse) ProtoMessage

func (*CertResponse) ProtoMessage()

func (*CertResponse) Reset

func (m *CertResponse) Reset()

func (*CertResponse) Size

func (m *CertResponse) Size() (n int)

func (*CertResponse) String

func (m *CertResponse) String() string

func (*CertResponse) Unmarshal

func (m *CertResponse) Unmarshal(dAtA []byte) error

func (*CertResponse) XXX_DiscardUnknown

func (m *CertResponse) XXX_DiscardUnknown()

func (*CertResponse) XXX_Marshal

func (m *CertResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CertResponse) XXX_Merge

func (dst *CertResponse) XXX_Merge(src proto.Message)

func (*CertResponse) XXX_Size

func (m *CertResponse) XXX_Size() int

func (*CertResponse) XXX_Unmarshal

func (m *CertResponse) XXX_Unmarshal(b []byte) error

type CertServiceClient

type CertServiceClient interface {
	// Get the CA certificate
	Get(ctx context.Context, in *CertRequest, opts ...grpc.CallOption) (*CertResponse, error)
}

CertServiceClient is the client API for CertService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewCertServiceClient

func NewCertServiceClient(cc *grpc.ClientConn) CertServiceClient

type CertServiceServer

type CertServiceServer interface {
	// Get the CA certificate
	Get(context.Context, *CertRequest) (*CertResponse, error)
}

CertServiceServer is the server API for CertService service.

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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