Documentation ¶
Overview ¶
Code generated by protoc-gen-api. DO NOT EDIT.
Code generated by protoc-gen-api. DO NOT EDIT.
Code generated by protoc-gen-api. DO NOT EDIT.
Index ¶
- Constants
- Variables
- type Client
- type TLSProtocol
- func (*TLSProtocol) Descriptor() ([]byte, []int)deprecated
- func (*TLSProtocol) ProtoMessage()
- func (x *TLSProtocol) ProtoReflect() protoreflect.Message
- func (x *TLSProtocol) Reset()
- func (x *TLSProtocol) String() string
- func (m *TLSProtocol) Validate() error
- func (m *TLSProtocol) ValidateAll() error
- type TLSProtocolMultiError
- type TLSProtocolValidationError
- func (e TLSProtocolValidationError) Cause() error
- func (e TLSProtocolValidationError) Error() string
- func (e TLSProtocolValidationError) ErrorName() string
- func (e TLSProtocolValidationError) Field() string
- func (e TLSProtocolValidationError) Key() bool
- func (e TLSProtocolValidationError) Reason() string
- type TLSProtocol_Enum
- func (TLSProtocol_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x TLSProtocol_Enum) Enum() *TLSProtocol_Enum
- func (TLSProtocol_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (e TLSProtocol_Enum) MarshalText() (text []byte, err error)
- func (x TLSProtocol_Enum) Number() protoreflect.EnumNumber
- func (x TLSProtocol_Enum) String() string
- func (TLSProtocol_Enum) Type() protoreflect.EnumType
- func (e *TLSProtocol_Enum) UnmarshalText(text []byte) error
Constants ¶
const KindTLSProtocol = "TLSProtocol"
Variables ¶
var ( TLSProtocol_Enum_name = map[int32]string{ 0: "DEFAULT", 1: "TLS_1_0", 2: "TLS_1_1", 3: "TLS_1_2", 4: "TLS_1_3", } TLSProtocol_Enum_value = map[string]int32{ "DEFAULT": 0, "TLS_1_0": 1, "TLS_1_1": 2, "TLS_1_2": 3, "TLS_1_3": 4, } )
Enum value maps for TLSProtocol_Enum.
var File_lib_proto_crypto_tls_proto protoreflect.FileDescriptor
var GroupVersion = runtime.GroupVersion{
Group: "",
Version: "crypto",
}
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { }
Client aggregate all gRPC services' clients
func NewGRPCClient ¶
func NewGRPCClient(conn *grpc.ClientConn) Client
type TLSProtocol ¶
type TLSProtocol struct {
// contains filtered or unexported fields
}
func (*TLSProtocol) Descriptor
deprecated
func (*TLSProtocol) Descriptor() ([]byte, []int)
Deprecated: Use TLSProtocol.ProtoReflect.Descriptor instead.
func (*TLSProtocol) ProtoMessage ¶
func (*TLSProtocol) ProtoMessage()
func (*TLSProtocol) ProtoReflect ¶
func (x *TLSProtocol) ProtoReflect() protoreflect.Message
func (*TLSProtocol) Reset ¶
func (x *TLSProtocol) Reset()
func (*TLSProtocol) String ¶
func (x *TLSProtocol) String() string
func (*TLSProtocol) Validate ¶
func (m *TLSProtocol) Validate() error
Validate checks the field values on TLSProtocol with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TLSProtocol) ValidateAll ¶
func (m *TLSProtocol) ValidateAll() error
ValidateAll checks the field values on TLSProtocol with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TLSProtocolMultiError, or nil if none found.
type TLSProtocolMultiError ¶
type TLSProtocolMultiError []error
TLSProtocolMultiError is an error wrapping multiple validation errors returned by TLSProtocol.ValidateAll() if the designated constraints aren't met.
func (TLSProtocolMultiError) AllErrors ¶
func (m TLSProtocolMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TLSProtocolMultiError) Error ¶
func (m TLSProtocolMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TLSProtocolValidationError ¶
type TLSProtocolValidationError struct {
// contains filtered or unexported fields
}
TLSProtocolValidationError is the validation error returned by TLSProtocol.Validate if the designated constraints aren't met.
func (TLSProtocolValidationError) Cause ¶
func (e TLSProtocolValidationError) Cause() error
Cause function returns cause value.
func (TLSProtocolValidationError) Error ¶
func (e TLSProtocolValidationError) Error() string
Error satisfies the builtin error interface
func (TLSProtocolValidationError) ErrorName ¶
func (e TLSProtocolValidationError) ErrorName() string
ErrorName returns error name.
func (TLSProtocolValidationError) Field ¶
func (e TLSProtocolValidationError) Field() string
Field function returns field value.
func (TLSProtocolValidationError) Key ¶
func (e TLSProtocolValidationError) Key() bool
Key function returns key value.
func (TLSProtocolValidationError) Reason ¶
func (e TLSProtocolValidationError) Reason() string
Reason function returns reason value.
type TLSProtocol_Enum ¶
type TLSProtocol_Enum int32
const ( TLSProtocol_DEFAULT TLSProtocol_Enum = 0 TLSProtocol_TLS_1_0 TLSProtocol_Enum = 1 TLSProtocol_TLS_1_1 TLSProtocol_Enum = 2 TLSProtocol_TLS_1_2 TLSProtocol_Enum = 3 TLSProtocol_TLS_1_3 TLSProtocol_Enum = 4 )
func (TLSProtocol_Enum) Descriptor ¶
func (TLSProtocol_Enum) Descriptor() protoreflect.EnumDescriptor
func (TLSProtocol_Enum) Enum ¶
func (x TLSProtocol_Enum) Enum() *TLSProtocol_Enum
func (TLSProtocol_Enum) EnumDescriptor
deprecated
func (TLSProtocol_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use TLSProtocol_Enum.Descriptor instead.
func (TLSProtocol_Enum) MarshalText ¶
func (e TLSProtocol_Enum) MarshalText() (text []byte, err error)
func (TLSProtocol_Enum) Number ¶
func (x TLSProtocol_Enum) Number() protoreflect.EnumNumber
func (TLSProtocol_Enum) String ¶
func (x TLSProtocol_Enum) String() string
func (TLSProtocol_Enum) Type ¶
func (TLSProtocol_Enum) Type() protoreflect.EnumType
func (*TLSProtocol_Enum) UnmarshalText ¶
func (e *TLSProtocol_Enum) UnmarshalText(text []byte) error