crypto

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: MPL-2.0 Imports: 18 Imported by: 0

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

View Source
const KindTLSProtocol = "TLSProtocol"

Variables

View Source
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.

View Source
var File_lib_proto_crypto_tls_proto protoreflect.FileDescriptor
View Source
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

Cause function returns cause value.

func (TLSProtocolValidationError) Error

Error satisfies the builtin error interface

func (TLSProtocolValidationError) ErrorName

func (e TLSProtocolValidationError) ErrorName() string

ErrorName returns error name.

func (TLSProtocolValidationError) Field

Field function returns field value.

func (TLSProtocolValidationError) Key

Key function returns key value.

func (TLSProtocolValidationError) Reason

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) 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 (TLSProtocol_Enum) String

func (x TLSProtocol_Enum) String() string

func (TLSProtocol_Enum) Type

func (*TLSProtocol_Enum) UnmarshalText

func (e *TLSProtocol_Enum) UnmarshalText(text []byte) error

Jump to

Keyboard shortcuts

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