gcert

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CertificateRequest_Endpoint_name = map[int32]string{
		0: "LE",
		1: "LE_STAGING",
	}
	CertificateRequest_Endpoint_value = map[string]int32{
		"LE":         0,
		"LE_STAGING": 1,
	}
)

Enum value maps for CertificateRequest_Endpoint.

View Source
var File_certificate_service_proto protoreflect.FileDescriptor

Functions

func RegisterCertificateServiceServer

func RegisterCertificateServiceServer(s *grpc.Server, srv CertificateServiceServer)

Types

type CertificateRequest

type CertificateRequest struct {
	Domains  []string                    `protobuf:"bytes,1,rep,name=domains,proto3" json:"domains,omitempty"`
	Endpoint CertificateRequest_Endpoint `protobuf:"varint,2,opt,name=endpoint,proto3,enum=CertificateRequest_Endpoint" json:"endpoint,omitempty"`
	// contains filtered or unexported fields
}

func (*CertificateRequest) Descriptor deprecated

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

Deprecated: Use CertificateRequest.ProtoReflect.Descriptor instead.

func (*CertificateRequest) GetDomains

func (x *CertificateRequest) GetDomains() []string

func (*CertificateRequest) GetEndpoint

func (*CertificateRequest) ProtoMessage

func (*CertificateRequest) ProtoMessage()

func (*CertificateRequest) ProtoReflect

func (x *CertificateRequest) ProtoReflect() protoreflect.Message

func (*CertificateRequest) Reset

func (x *CertificateRequest) Reset()

func (*CertificateRequest) String

func (x *CertificateRequest) String() string

type CertificateRequest_Endpoint

type CertificateRequest_Endpoint int32
const (
	CertificateRequest_LE         CertificateRequest_Endpoint = 0
	CertificateRequest_LE_STAGING CertificateRequest_Endpoint = 1
)

func (CertificateRequest_Endpoint) Descriptor

func (CertificateRequest_Endpoint) Enum

func (CertificateRequest_Endpoint) EnumDescriptor deprecated

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

Deprecated: Use CertificateRequest_Endpoint.Descriptor instead.

func (CertificateRequest_Endpoint) Number

func (CertificateRequest_Endpoint) String

func (CertificateRequest_Endpoint) Type

type CertificateResponse

type CertificateResponse struct {
	VaultPaths []string `protobuf:"bytes,1,rep,name=vaultPaths,proto3" json:"vaultPaths,omitempty"`
	Success    bool     `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*CertificateResponse) Descriptor deprecated

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

Deprecated: Use CertificateResponse.ProtoReflect.Descriptor instead.

func (*CertificateResponse) GetSuccess

func (x *CertificateResponse) GetSuccess() bool

func (*CertificateResponse) GetVaultPaths

func (x *CertificateResponse) GetVaultPaths() []string

func (*CertificateResponse) ProtoMessage

func (*CertificateResponse) ProtoMessage()

func (*CertificateResponse) ProtoReflect

func (x *CertificateResponse) ProtoReflect() protoreflect.Message

func (*CertificateResponse) Reset

func (x *CertificateResponse) Reset()

func (*CertificateResponse) String

func (x *CertificateResponse) String() string

type CertificateServiceClient

type CertificateServiceClient interface {
	GetCertificate(ctx context.Context, in *CertificateRequest, opts ...grpc.CallOption) (*CertificateResponse, error)
}

CertificateServiceClient is the client API for CertificateService service.

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

type CertificateServiceServer

type CertificateServiceServer interface {
	GetCertificate(context.Context, *CertificateRequest) (*CertificateResponse, error)
}

CertificateServiceServer is the server API for CertificateService service.

type UnimplementedCertificateServiceServer

type UnimplementedCertificateServiceServer struct {
}

UnimplementedCertificateServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedCertificateServiceServer) GetCertificate

Jump to

Keyboard shortcuts

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