Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterCertificateServiceServer(s *grpc.Server, srv CertificateServiceServer)
- func RegisterHelloServiceServer(s *grpc.Server, srv HelloServiceServer)
- func RegisterVersionServiceServer(s *grpc.Server, srv VersionServiceServer)
- type AuthenticationType
- type CertificateServiceClient
- type CertificateServiceServer
- type DistinguishedName
- func (*DistinguishedName) Descriptor() ([]byte, []int)
- func (m *DistinguishedName) GetCommonName() string
- func (m *DistinguishedName) GetCountry() string
- func (m *DistinguishedName) GetLocality() string
- func (m *DistinguishedName) GetOrganization() string
- func (m *DistinguishedName) GetOrganizationalUnit() string
- func (m *DistinguishedName) GetPostalCode() string
- func (m *DistinguishedName) GetProvince() string
- func (m *DistinguishedName) GetStreetAddress() string
- func (*DistinguishedName) ProtoMessage()
- func (m *DistinguishedName) Reset()
- func (m *DistinguishedName) String() string
- func (m *DistinguishedName) XXX_DiscardUnknown()
- func (m *DistinguishedName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DistinguishedName) XXX_Merge(src proto.Message)
- func (m *DistinguishedName) XXX_Size() int
- func (m *DistinguishedName) XXX_Unmarshal(b []byte) error
- type GetVersionRequest
- func (*GetVersionRequest) Descriptor() ([]byte, []int)
- func (*GetVersionRequest) ProtoMessage()
- func (m *GetVersionRequest) Reset()
- func (m *GetVersionRequest) String() string
- func (m *GetVersionRequest) XXX_DiscardUnknown()
- func (m *GetVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetVersionRequest) XXX_Merge(src proto.Message)
- func (m *GetVersionRequest) XXX_Size() int
- func (m *GetVersionRequest) XXX_Unmarshal(b []byte) error
- type GetVersionResponse
- func (*GetVersionResponse) Descriptor() ([]byte, []int)
- func (m *GetVersionResponse) GetCommit() string
- func (m *GetVersionResponse) GetVersion() string
- func (*GetVersionResponse) ProtoMessage()
- func (m *GetVersionResponse) Reset()
- func (m *GetVersionResponse) String() string
- func (m *GetVersionResponse) XXX_DiscardUnknown()
- func (m *GetVersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetVersionResponse) XXX_Merge(src proto.Message)
- func (m *GetVersionResponse) XXX_Size() int
- func (m *GetVersionResponse) XXX_Unmarshal(b []byte) error
- type HelloRequest
- func (*HelloRequest) Descriptor() ([]byte, []int)
- func (*HelloRequest) ProtoMessage()
- func (m *HelloRequest) Reset()
- func (m *HelloRequest) String() string
- func (m *HelloRequest) XXX_DiscardUnknown()
- func (m *HelloRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HelloRequest) XXX_Merge(src proto.Message)
- func (m *HelloRequest) XXX_Size() int
- func (m *HelloRequest) XXX_Unmarshal(b []byte) error
- type HelloResponse
- func (*HelloResponse) Descriptor() ([]byte, []int)
- func (m *HelloResponse) GetApiVersion() int32
- func (m *HelloResponse) GetAuthenticatedUser() string
- func (m *HelloResponse) GetAuthenticationType() AuthenticationType
- func (*HelloResponse) ProtoMessage()
- func (m *HelloResponse) Reset()
- func (m *HelloResponse) String() string
- func (m *HelloResponse) XXX_DiscardUnknown()
- func (m *HelloResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HelloResponse) XXX_Merge(src proto.Message)
- func (m *HelloResponse) XXX_Size() int
- func (m *HelloResponse) XXX_Unmarshal(b []byte) error
- type HelloServiceClient
- type HelloServiceServer
- type IssueCertificateRequest
- func (*IssueCertificateRequest) Descriptor() ([]byte, []int)
- func (m *IssueCertificateRequest) GetKeyUsage() *KeyUsage
- func (m *IssueCertificateRequest) GetNames() *Names
- func (m *IssueCertificateRequest) GetNotAfterUnixtime() int64
- func (m *IssueCertificateRequest) GetProfile() string
- func (m *IssueCertificateRequest) GetPublicKey() []byte
- func (m *IssueCertificateRequest) GetSubject() *DistinguishedName
- func (*IssueCertificateRequest) ProtoMessage()
- func (m *IssueCertificateRequest) Reset()
- func (m *IssueCertificateRequest) String() string
- func (m *IssueCertificateRequest) XXX_DiscardUnknown()
- func (m *IssueCertificateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IssueCertificateRequest) XXX_Merge(src proto.Message)
- func (m *IssueCertificateRequest) XXX_Size() int
- func (m *IssueCertificateRequest) XXX_Unmarshal(b []byte) error
- type IssueCertificateResponse
- func (*IssueCertificateResponse) Descriptor() ([]byte, []int)
- func (m *IssueCertificateResponse) GetCertificate() []byte
- func (*IssueCertificateResponse) ProtoMessage()
- func (m *IssueCertificateResponse) Reset()
- func (m *IssueCertificateResponse) String() string
- func (m *IssueCertificateResponse) XXX_DiscardUnknown()
- func (m *IssueCertificateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IssueCertificateResponse) XXX_Merge(src proto.Message)
- func (m *IssueCertificateResponse) XXX_Size() int
- func (m *IssueCertificateResponse) XXX_Unmarshal(b []byte) error
- type KeyUsage
- func (*KeyUsage) Descriptor() ([]byte, []int)
- func (m *KeyUsage) GetExtKeyUsages() []uint32
- func (m *KeyUsage) GetKeyUsage() uint32
- func (*KeyUsage) ProtoMessage()
- func (m *KeyUsage) Reset()
- func (m *KeyUsage) String() string
- func (m *KeyUsage) XXX_DiscardUnknown()
- func (m *KeyUsage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KeyUsage) XXX_Merge(src proto.Message)
- func (m *KeyUsage) XXX_Size() int
- func (m *KeyUsage) XXX_Unmarshal(b []byte) error
- type Names
- func (*Names) Descriptor() ([]byte, []int)
- func (m *Names) GetDnsname() []string
- func (m *Names) GetIpaddr() []string
- func (*Names) ProtoMessage()
- func (m *Names) Reset()
- func (m *Names) String() string
- func (m *Names) XXX_DiscardUnknown()
- func (m *Names) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Names) XXX_Merge(src proto.Message)
- func (m *Names) XXX_Size() int
- func (m *Names) XXX_Unmarshal(b []byte) error
- type VersionServiceClient
- type VersionServiceServer
Constants ¶
const ApiVersion = 1
Variables ¶
var AuthenticationType_name = map[int32]string{
0: "UNSPECIFIED",
1: "ANONYMOUS",
2: "BOOTSTRAP_TOKEN",
3: "CLIENT_CERT",
}
var AuthenticationType_value = map[string]int32{
"UNSPECIFIED": 0,
"ANONYMOUS": 1,
"BOOTSTRAP_TOKEN": 2,
"CLIENT_CERT": 3,
}
Functions ¶
func RegisterCertificateServiceServer ¶
func RegisterCertificateServiceServer(s *grpc.Server, srv CertificateServiceServer)
func RegisterHelloServiceServer ¶
func RegisterHelloServiceServer(s *grpc.Server, srv HelloServiceServer)
func RegisterVersionServiceServer ¶
func RegisterVersionServiceServer(s *grpc.Server, srv VersionServiceServer)
Types ¶
type AuthenticationType ¶
type AuthenticationType int32
const ( AuthenticationType_UNSPECIFIED AuthenticationType = 0 AuthenticationType_ANONYMOUS AuthenticationType = 1 AuthenticationType_BOOTSTRAP_TOKEN AuthenticationType = 2 AuthenticationType_CLIENT_CERT AuthenticationType = 3 )
func (AuthenticationType) EnumDescriptor ¶
func (AuthenticationType) EnumDescriptor() ([]byte, []int)
func (AuthenticationType) String ¶
func (x AuthenticationType) String() string
type CertificateServiceClient ¶
type CertificateServiceClient interface {
IssueCertificate(ctx context.Context, in *IssueCertificateRequest, opts ...grpc.CallOption) (*IssueCertificateResponse, 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.
func NewCertificateServiceClient ¶
func NewCertificateServiceClient(cc *grpc.ClientConn) CertificateServiceClient
type CertificateServiceServer ¶
type CertificateServiceServer interface {
IssueCertificate(context.Context, *IssueCertificateRequest) (*IssueCertificateResponse, error)
}
CertificateServiceServer is the server API for CertificateService service.
type DistinguishedName ¶
type DistinguishedName struct {
CommonName string `protobuf:"bytes,1,opt,name=common_name,json=commonName,proto3" json:"common_name,omitempty"`
Organization string `protobuf:"bytes,2,opt,name=organization,proto3" json:"organization,omitempty"`
OrganizationalUnit string `protobuf:"bytes,3,opt,name=organizational_unit,json=organizationalUnit,proto3" json:"organizational_unit,omitempty"`
Country string `protobuf:"bytes,4,opt,name=country,proto3" json:"country,omitempty"`
Locality string `protobuf:"bytes,5,opt,name=locality,proto3" json:"locality,omitempty"`
Province string `protobuf:"bytes,6,opt,name=province,proto3" json:"province,omitempty"`
StreetAddress string `protobuf:"bytes,7,opt,name=street_address,json=streetAddress,proto3" json:"street_address,omitempty"`
PostalCode string `protobuf:"bytes,8,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*DistinguishedName) Descriptor ¶
func (*DistinguishedName) Descriptor() ([]byte, []int)
func (*DistinguishedName) GetCommonName ¶
func (m *DistinguishedName) GetCommonName() string
func (*DistinguishedName) GetCountry ¶
func (m *DistinguishedName) GetCountry() string
func (*DistinguishedName) GetLocality ¶
func (m *DistinguishedName) GetLocality() string
func (*DistinguishedName) GetOrganization ¶
func (m *DistinguishedName) GetOrganization() string
func (*DistinguishedName) GetOrganizationalUnit ¶
func (m *DistinguishedName) GetOrganizationalUnit() string
func (*DistinguishedName) GetPostalCode ¶
func (m *DistinguishedName) GetPostalCode() string
func (*DistinguishedName) GetProvince ¶
func (m *DistinguishedName) GetProvince() string
func (*DistinguishedName) GetStreetAddress ¶
func (m *DistinguishedName) GetStreetAddress() string
func (*DistinguishedName) ProtoMessage ¶
func (*DistinguishedName) ProtoMessage()
func (*DistinguishedName) Reset ¶
func (m *DistinguishedName) Reset()
func (*DistinguishedName) String ¶
func (m *DistinguishedName) String() string
func (*DistinguishedName) XXX_DiscardUnknown ¶
func (m *DistinguishedName) XXX_DiscardUnknown()
func (*DistinguishedName) XXX_Marshal ¶
func (m *DistinguishedName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DistinguishedName) XXX_Merge ¶
func (m *DistinguishedName) XXX_Merge(src proto.Message)
func (*DistinguishedName) XXX_Size ¶
func (m *DistinguishedName) XXX_Size() int
func (*DistinguishedName) XXX_Unmarshal ¶
func (m *DistinguishedName) XXX_Unmarshal(b []byte) error
type GetVersionRequest ¶
type GetVersionRequest struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetVersionRequest) Descriptor ¶
func (*GetVersionRequest) Descriptor() ([]byte, []int)
func (*GetVersionRequest) ProtoMessage ¶
func (*GetVersionRequest) ProtoMessage()
func (*GetVersionRequest) Reset ¶
func (m *GetVersionRequest) Reset()
func (*GetVersionRequest) String ¶
func (m *GetVersionRequest) String() string
func (*GetVersionRequest) XXX_DiscardUnknown ¶
func (m *GetVersionRequest) XXX_DiscardUnknown()
func (*GetVersionRequest) XXX_Marshal ¶
func (m *GetVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetVersionRequest) XXX_Merge ¶
func (m *GetVersionRequest) XXX_Merge(src proto.Message)
func (*GetVersionRequest) XXX_Size ¶
func (m *GetVersionRequest) XXX_Size() int
func (*GetVersionRequest) XXX_Unmarshal ¶
func (m *GetVersionRequest) XXX_Unmarshal(b []byte) error
type GetVersionResponse ¶
type GetVersionResponse struct {
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
Commit string `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetVersionResponse) Descriptor ¶
func (*GetVersionResponse) Descriptor() ([]byte, []int)
func (*GetVersionResponse) GetCommit ¶
func (m *GetVersionResponse) GetCommit() string
func (*GetVersionResponse) GetVersion ¶
func (m *GetVersionResponse) GetVersion() string
func (*GetVersionResponse) ProtoMessage ¶
func (*GetVersionResponse) ProtoMessage()
func (*GetVersionResponse) Reset ¶
func (m *GetVersionResponse) Reset()
func (*GetVersionResponse) String ¶
func (m *GetVersionResponse) String() string
func (*GetVersionResponse) XXX_DiscardUnknown ¶
func (m *GetVersionResponse) XXX_DiscardUnknown()
func (*GetVersionResponse) XXX_Marshal ¶
func (m *GetVersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetVersionResponse) XXX_Merge ¶
func (m *GetVersionResponse) XXX_Merge(src proto.Message)
func (*GetVersionResponse) XXX_Size ¶
func (m *GetVersionResponse) XXX_Size() int
func (*GetVersionResponse) XXX_Unmarshal ¶
func (m *GetVersionResponse) XXX_Unmarshal(b []byte) error
type HelloRequest ¶
type HelloRequest struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*HelloRequest) Descriptor ¶
func (*HelloRequest) Descriptor() ([]byte, []int)
func (*HelloRequest) ProtoMessage ¶
func (*HelloRequest) ProtoMessage()
func (*HelloRequest) Reset ¶
func (m *HelloRequest) Reset()
func (*HelloRequest) String ¶
func (m *HelloRequest) String() string
func (*HelloRequest) XXX_DiscardUnknown ¶
func (m *HelloRequest) XXX_DiscardUnknown()
func (*HelloRequest) XXX_Marshal ¶
func (m *HelloRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HelloRequest) XXX_Merge ¶
func (m *HelloRequest) XXX_Merge(src proto.Message)
func (*HelloRequest) XXX_Size ¶
func (m *HelloRequest) XXX_Size() int
func (*HelloRequest) XXX_Unmarshal ¶
func (m *HelloRequest) XXX_Unmarshal(b []byte) error
type HelloResponse ¶
type HelloResponse struct {
ApiVersion int32 `protobuf:"varint,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
AuthenticationType AuthenticationType `` /* 145-byte string literal not displayed */
AuthenticatedUser string `protobuf:"bytes,3,opt,name=authenticated_user,json=authenticatedUser,proto3" json:"authenticated_user,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*HelloResponse) Descriptor ¶
func (*HelloResponse) Descriptor() ([]byte, []int)
func (*HelloResponse) GetApiVersion ¶
func (m *HelloResponse) GetApiVersion() int32
func (*HelloResponse) GetAuthenticatedUser ¶
func (m *HelloResponse) GetAuthenticatedUser() string
func (*HelloResponse) GetAuthenticationType ¶
func (m *HelloResponse) GetAuthenticationType() AuthenticationType
func (*HelloResponse) ProtoMessage ¶
func (*HelloResponse) ProtoMessage()
func (*HelloResponse) Reset ¶
func (m *HelloResponse) Reset()
func (*HelloResponse) String ¶
func (m *HelloResponse) String() string
func (*HelloResponse) XXX_DiscardUnknown ¶
func (m *HelloResponse) XXX_DiscardUnknown()
func (*HelloResponse) XXX_Marshal ¶
func (m *HelloResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HelloResponse) XXX_Merge ¶
func (m *HelloResponse) XXX_Merge(src proto.Message)
func (*HelloResponse) XXX_Size ¶
func (m *HelloResponse) XXX_Size() int
func (*HelloResponse) XXX_Unmarshal ¶
func (m *HelloResponse) XXX_Unmarshal(b []byte) error
type HelloServiceClient ¶
type HelloServiceClient interface {
Hello(ctx context.Context, in *HelloRequest, opts ...grpc.CallOption) (*HelloResponse, error)
}
HelloServiceClient is the client API for HelloService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewHelloServiceClient ¶
func NewHelloServiceClient(cc *grpc.ClientConn) HelloServiceClient
type HelloServiceServer ¶
type HelloServiceServer interface {
Hello(context.Context, *HelloRequest) (*HelloResponse, error)
}
HelloServiceServer is the server API for HelloService service.
type IssueCertificateRequest ¶
type IssueCertificateRequest struct {
PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
Subject *DistinguishedName `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
Names *Names `protobuf:"bytes,3,opt,name=names,proto3" json:"names,omitempty"`
NotAfterUnixtime int64 `protobuf:"varint,4,opt,name=not_after_unixtime,json=notAfterUnixtime,proto3" json:"not_after_unixtime,omitempty"`
KeyUsage *KeyUsage `protobuf:"bytes,5,opt,name=key_usage,json=keyUsage,proto3" json:"key_usage,omitempty"`
Profile string `protobuf:"bytes,6,opt,name=profile,proto3" json:"profile,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*IssueCertificateRequest) Descriptor ¶
func (*IssueCertificateRequest) Descriptor() ([]byte, []int)
func (*IssueCertificateRequest) GetKeyUsage ¶
func (m *IssueCertificateRequest) GetKeyUsage() *KeyUsage
func (*IssueCertificateRequest) GetNames ¶
func (m *IssueCertificateRequest) GetNames() *Names
func (*IssueCertificateRequest) GetNotAfterUnixtime ¶
func (m *IssueCertificateRequest) GetNotAfterUnixtime() int64
func (*IssueCertificateRequest) GetProfile ¶
func (m *IssueCertificateRequest) GetProfile() string
func (*IssueCertificateRequest) GetPublicKey ¶
func (m *IssueCertificateRequest) GetPublicKey() []byte
func (*IssueCertificateRequest) GetSubject ¶
func (m *IssueCertificateRequest) GetSubject() *DistinguishedName
func (*IssueCertificateRequest) ProtoMessage ¶
func (*IssueCertificateRequest) ProtoMessage()
func (*IssueCertificateRequest) Reset ¶
func (m *IssueCertificateRequest) Reset()
func (*IssueCertificateRequest) String ¶
func (m *IssueCertificateRequest) String() string
func (*IssueCertificateRequest) XXX_DiscardUnknown ¶
func (m *IssueCertificateRequest) XXX_DiscardUnknown()
func (*IssueCertificateRequest) XXX_Marshal ¶
func (m *IssueCertificateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IssueCertificateRequest) XXX_Merge ¶
func (m *IssueCertificateRequest) XXX_Merge(src proto.Message)
func (*IssueCertificateRequest) XXX_Size ¶
func (m *IssueCertificateRequest) XXX_Size() int
func (*IssueCertificateRequest) XXX_Unmarshal ¶
func (m *IssueCertificateRequest) XXX_Unmarshal(b []byte) error
type IssueCertificateResponse ¶
type IssueCertificateResponse struct {
Certificate []byte `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*IssueCertificateResponse) Descriptor ¶
func (*IssueCertificateResponse) Descriptor() ([]byte, []int)
func (*IssueCertificateResponse) GetCertificate ¶
func (m *IssueCertificateResponse) GetCertificate() []byte
func (*IssueCertificateResponse) ProtoMessage ¶
func (*IssueCertificateResponse) ProtoMessage()
func (*IssueCertificateResponse) Reset ¶
func (m *IssueCertificateResponse) Reset()
func (*IssueCertificateResponse) String ¶
func (m *IssueCertificateResponse) String() string
func (*IssueCertificateResponse) XXX_DiscardUnknown ¶
func (m *IssueCertificateResponse) XXX_DiscardUnknown()
func (*IssueCertificateResponse) XXX_Marshal ¶
func (m *IssueCertificateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IssueCertificateResponse) XXX_Merge ¶
func (m *IssueCertificateResponse) XXX_Merge(src proto.Message)
func (*IssueCertificateResponse) XXX_Size ¶
func (m *IssueCertificateResponse) XXX_Size() int
func (*IssueCertificateResponse) XXX_Unmarshal ¶
func (m *IssueCertificateResponse) XXX_Unmarshal(b []byte) error
type KeyUsage ¶
type KeyUsage struct {
KeyUsage uint32 `protobuf:"varint,1,opt,name=key_usage,json=keyUsage,proto3" json:"key_usage,omitempty"`
ExtKeyUsages []uint32 `protobuf:"varint,2,rep,packed,name=ext_key_usages,json=extKeyUsages,proto3" json:"ext_key_usages,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*KeyUsage) Descriptor ¶
func (*KeyUsage) GetExtKeyUsages ¶
func (*KeyUsage) GetKeyUsage ¶
func (*KeyUsage) ProtoMessage ¶
func (*KeyUsage) ProtoMessage()
func (*KeyUsage) XXX_DiscardUnknown ¶
func (m *KeyUsage) XXX_DiscardUnknown()
func (*KeyUsage) XXX_Marshal ¶
func (*KeyUsage) XXX_Unmarshal ¶
type Names ¶
type Names struct {
// FIXME[P1]: should be plural. see style guide.
Dnsname []string `protobuf:"bytes,1,rep,name=dnsname,proto3" json:"dnsname,omitempty"`
Ipaddr []string `protobuf:"bytes,2,rep,name=ipaddr,proto3" json:"ipaddr,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Names) Descriptor ¶
func (*Names) GetDnsname ¶
func (*Names) ProtoMessage ¶
func (*Names) ProtoMessage()
func (*Names) XXX_DiscardUnknown ¶
func (m *Names) XXX_DiscardUnknown()
func (*Names) XXX_Marshal ¶
func (*Names) XXX_Unmarshal ¶
type VersionServiceClient ¶
type VersionServiceClient interface {
GetVersion(ctx context.Context, in *GetVersionRequest, opts ...grpc.CallOption) (*GetVersionResponse, error)
}
VersionServiceClient is the client API for VersionService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewVersionServiceClient ¶
func NewVersionServiceClient(cc *grpc.ClientConn) VersionServiceClient
type VersionServiceServer ¶
type VersionServiceServer interface {
GetVersion(context.Context, *GetVersionRequest) (*GetVersionResponse, error)
}
VersionServiceServer is the server API for VersionService service.