Documentation ¶
Overview ¶
Package pb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterAuthzHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAuthzHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AuthzClient) error
- func RegisterAuthzHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAuthzHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AuthzServer) error
- func RegisterAuthzServer(s grpc.ServiceRegistrar, srv AuthzServer)
- func RegisterCertificateAuthorityHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterCertificateAuthorityHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CertificateAuthorityClient) error
- func RegisterCertificateAuthorityHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterCertificateAuthorityHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CertificateAuthorityServer) error
- func RegisterCertificateAuthorityServer(s grpc.ServiceRegistrar, srv CertificateAuthorityServer)
- type Attribute
- func (*Attribute) Descriptor() ([]byte, []int)deprecated
- func (x *Attribute) GetType() []int32
- func (x *Attribute) GetValue() string
- func (*Attribute) ProtoMessage()
- func (x *Attribute) ProtoReflect() protoreflect.Message
- func (x *Attribute) Reset()
- func (x *Attribute) String() string
- func (m *Attribute) Validate() error
- func (m *Attribute) ValidateAll() error
- type AttributeMultiError
- type AttributeValidationError
- type AuthRequest
- func (*AuthRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthRequest) GetToken() string
- func (*AuthRequest) ProtoMessage()
- func (x *AuthRequest) ProtoReflect() protoreflect.Message
- func (x *AuthRequest) Reset()
- func (x *AuthRequest) String() string
- func (m *AuthRequest) Validate() error
- func (m *AuthRequest) ValidateAll() error
- type AuthRequestMultiError
- type AuthRequestValidationError
- func (e AuthRequestValidationError) Cause() error
- func (e AuthRequestValidationError) Error() string
- func (e AuthRequestValidationError) ErrorName() string
- func (e AuthRequestValidationError) Field() string
- func (e AuthRequestValidationError) Key() bool
- func (e AuthRequestValidationError) Reason() string
- type AuthResponse
- func (*AuthResponse) Descriptor() ([]byte, []int)deprecated
- func (*AuthResponse) ProtoMessage()
- func (x *AuthResponse) ProtoReflect() protoreflect.Message
- func (x *AuthResponse) Reset()
- func (x *AuthResponse) String() string
- func (m *AuthResponse) Validate() error
- func (m *AuthResponse) ValidateAll() error
- type AuthResponseMultiError
- type AuthResponseValidationError
- func (e AuthResponseValidationError) Cause() error
- func (e AuthResponseValidationError) Error() string
- func (e AuthResponseValidationError) ErrorName() string
- func (e AuthResponseValidationError) Field() string
- func (e AuthResponseValidationError) Key() bool
- func (e AuthResponseValidationError) Reason() string
- type AuthzClient
- type AuthzServer
- type CSR
- func (*CSR) Descriptor() ([]byte, []int)deprecated
- func (x *CSR) GetDnsNames() []string
- func (x *CSR) GetEmailAddresses() []string
- func (x *CSR) GetExtensions() []*Extension
- func (x *CSR) GetExtraExtensions() []*Extension
- func (x *CSR) GetIpAddresses() []*IPAddress
- func (x *CSR) GetSubject() *Subject
- func (x *CSR) GetUris() []*URL
- func (*CSR) ProtoMessage()
- func (x *CSR) ProtoReflect() protoreflect.Message
- func (x *CSR) Reset()
- func (x *CSR) String() string
- func (m *CSR) Validate() error
- func (m *CSR) ValidateAll() error
- type CSRMultiError
- type CSRValidationError
- type CertificateAuthorityClient
- type CertificateAuthorityServer
- type CertificateDeletionRequest
- func (*CertificateDeletionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CertificateDeletionRequest) GetCertificate() []byte
- func (x *CertificateDeletionRequest) GetPublicKey() []byte
- func (x *CertificateDeletionRequest) GetService() string
- func (*CertificateDeletionRequest) ProtoMessage()
- func (x *CertificateDeletionRequest) ProtoReflect() protoreflect.Message
- func (x *CertificateDeletionRequest) Reset()
- func (x *CertificateDeletionRequest) String() string
- func (m *CertificateDeletionRequest) Validate() error
- func (m *CertificateDeletionRequest) ValidateAll() error
- type CertificateDeletionRequestMultiError
- type CertificateDeletionRequestValidationError
- func (e CertificateDeletionRequestValidationError) Cause() error
- func (e CertificateDeletionRequestValidationError) Error() string
- func (e CertificateDeletionRequestValidationError) ErrorName() string
- func (e CertificateDeletionRequestValidationError) Field() string
- func (e CertificateDeletionRequestValidationError) Key() bool
- func (e CertificateDeletionRequestValidationError) Reason() string
- type CertificateDeletionResponse
- func (*CertificateDeletionResponse) Descriptor() ([]byte, []int)deprecated
- func (*CertificateDeletionResponse) ProtoMessage()
- func (x *CertificateDeletionResponse) ProtoReflect() protoreflect.Message
- func (x *CertificateDeletionResponse) Reset()
- func (x *CertificateDeletionResponse) String() string
- func (m *CertificateDeletionResponse) Validate() error
- func (m *CertificateDeletionResponse) ValidateAll() error
- type CertificateDeletionResponseMultiError
- type CertificateDeletionResponseValidationError
- func (e CertificateDeletionResponseValidationError) Cause() error
- func (e CertificateDeletionResponseValidationError) Error() string
- func (e CertificateDeletionResponseValidationError) ErrorName() string
- func (e CertificateDeletionResponseValidationError) Field() string
- func (e CertificateDeletionResponseValidationError) Key() bool
- func (e CertificateDeletionResponseValidationError) Reason() string
- type CertificateRequest
- func (*CertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CertificateRequest) GetPublicKey() []byte
- func (x *CertificateRequest) GetService() string
- func (x *CertificateRequest) GetSigningRequest() *CSR
- func (*CertificateRequest) ProtoMessage()
- func (x *CertificateRequest) ProtoReflect() protoreflect.Message
- func (x *CertificateRequest) Reset()
- func (x *CertificateRequest) String() string
- func (m *CertificateRequest) Validate() error
- func (m *CertificateRequest) ValidateAll() error
- type CertificateRequestMultiError
- type CertificateRequestValidationError
- func (e CertificateRequestValidationError) Cause() error
- func (e CertificateRequestValidationError) Error() string
- func (e CertificateRequestValidationError) ErrorName() string
- func (e CertificateRequestValidationError) Field() string
- func (e CertificateRequestValidationError) Key() bool
- func (e CertificateRequestValidationError) Reason() string
- type CertificateResponse
- func (*CertificateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CertificateResponse) GetCertificate() []byte
- func (x *CertificateResponse) GetExpiresOn() int64
- func (*CertificateResponse) ProtoMessage()
- func (x *CertificateResponse) ProtoReflect() protoreflect.Message
- func (x *CertificateResponse) Reset()
- func (x *CertificateResponse) String() string
- func (m *CertificateResponse) Validate() error
- func (m *CertificateResponse) ValidateAll() error
- type CertificateResponseMultiError
- type CertificateResponseValidationError
- func (e CertificateResponseValidationError) Cause() error
- func (e CertificateResponseValidationError) Error() string
- func (e CertificateResponseValidationError) ErrorName() string
- func (e CertificateResponseValidationError) Field() string
- func (e CertificateResponseValidationError) Key() bool
- func (e CertificateResponseValidationError) Reason() string
- type DeletionRequest
- func (*DeletionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeletionRequest) GetPublicKey() []byte
- func (x *DeletionRequest) GetService() string
- func (*DeletionRequest) ProtoMessage()
- func (x *DeletionRequest) ProtoReflect() protoreflect.Message
- func (x *DeletionRequest) Reset()
- func (x *DeletionRequest) String() string
- func (m *DeletionRequest) Validate() error
- func (m *DeletionRequest) ValidateAll() error
- type DeletionRequestMultiError
- type DeletionRequestValidationError
- func (e DeletionRequestValidationError) Cause() error
- func (e DeletionRequestValidationError) Error() string
- func (e DeletionRequestValidationError) ErrorName() string
- func (e DeletionRequestValidationError) Field() string
- func (e DeletionRequestValidationError) Key() bool
- func (e DeletionRequestValidationError) Reason() string
- type DeletionResponse
- func (*DeletionResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeletionResponse) ProtoMessage()
- func (x *DeletionResponse) ProtoReflect() protoreflect.Message
- func (x *DeletionResponse) Reset()
- func (x *DeletionResponse) String() string
- func (m *DeletionResponse) Validate() error
- func (m *DeletionResponse) ValidateAll() error
- type DeletionResponseMultiError
- type DeletionResponseValidationError
- func (e DeletionResponseValidationError) Cause() error
- func (e DeletionResponseValidationError) Error() string
- func (e DeletionResponseValidationError) ErrorName() string
- func (e DeletionResponseValidationError) Field() string
- func (e DeletionResponseValidationError) Key() bool
- func (e DeletionResponseValidationError) Reason() string
- type Extension
- func (*Extension) Descriptor() ([]byte, []int)deprecated
- func (x *Extension) GetCritical() bool
- func (x *Extension) GetId() []int32
- func (x *Extension) GetValue() []byte
- func (*Extension) ProtoMessage()
- func (x *Extension) ProtoReflect() protoreflect.Message
- func (x *Extension) Reset()
- func (x *Extension) String() string
- func (m *Extension) Validate() error
- func (m *Extension) ValidateAll() error
- type ExtensionMultiError
- type ExtensionValidationError
- type IPAddress
- func (*IPAddress) Descriptor() ([]byte, []int)deprecated
- func (x *IPAddress) GetIp() []byte
- func (*IPAddress) ProtoMessage()
- func (x *IPAddress) ProtoReflect() protoreflect.Message
- func (x *IPAddress) Reset()
- func (x *IPAddress) String() string
- func (m *IPAddress) Validate() error
- func (m *IPAddress) ValidateAll() error
- type IPAddressMultiError
- type IPAddressValidationError
- type ListCertificatesResponse
- func (*ListCertificatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCertificatesResponse) GetCertificates() []*CertificateResponse
- func (*ListCertificatesResponse) ProtoMessage()
- func (x *ListCertificatesResponse) ProtoReflect() protoreflect.Message
- func (x *ListCertificatesResponse) Reset()
- func (x *ListCertificatesResponse) String() string
- func (m *ListCertificatesResponse) Validate() error
- func (m *ListCertificatesResponse) ValidateAll() error
- type ListCertificatesResponseMultiError
- type ListCertificatesResponseValidationError
- func (e ListCertificatesResponseValidationError) Cause() error
- func (e ListCertificatesResponseValidationError) Error() string
- func (e ListCertificatesResponseValidationError) ErrorName() string
- func (e ListCertificatesResponseValidationError) Field() string
- func (e ListCertificatesResponseValidationError) Key() bool
- func (e ListCertificatesResponseValidationError) Reason() string
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest) GetIdCertificate() []byte
- func (x *LoginRequest) GetServiceCertificate() []byte
- func (*LoginRequest) ProtoMessage()
- func (x *LoginRequest) ProtoReflect() protoreflect.Message
- func (x *LoginRequest) Reset()
- func (x *LoginRequest) String() string
- func (m *LoginRequest) Validate() error
- func (m *LoginRequest) ValidateAll() error
- type LoginRequestMultiError
- type LoginRequestValidationError
- func (e LoginRequestValidationError) Cause() error
- func (e LoginRequestValidationError) Error() string
- func (e LoginRequestValidationError) ErrorName() string
- func (e LoginRequestValidationError) Field() string
- func (e LoginRequestValidationError) Key() bool
- func (e LoginRequestValidationError) Reason() string
- type LoginResponse
- func (*LoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoginResponse) GetChallenge() []byte
- func (x *LoginResponse) GetExpiresOn() int64
- func (*LoginResponse) ProtoMessage()
- func (x *LoginResponse) ProtoReflect() protoreflect.Message
- func (x *LoginResponse) Reset()
- func (x *LoginResponse) String() string
- func (m *LoginResponse) Validate() error
- func (m *LoginResponse) ValidateAll() error
- type LoginResponseMultiError
- type LoginResponseValidationError
- func (e LoginResponseValidationError) Cause() error
- func (e LoginResponseValidationError) Error() string
- func (e LoginResponseValidationError) ErrorName() string
- func (e LoginResponseValidationError) Field() string
- func (e LoginResponseValidationError) Key() bool
- func (e LoginResponseValidationError) Reason() string
- type RootCertificateRequest
- func (*RootCertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (*RootCertificateRequest) ProtoMessage()
- func (x *RootCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *RootCertificateRequest) Reset()
- func (x *RootCertificateRequest) String() string
- func (m *RootCertificateRequest) Validate() error
- func (m *RootCertificateRequest) ValidateAll() error
- type RootCertificateRequestMultiError
- type RootCertificateRequestValidationError
- func (e RootCertificateRequestValidationError) Cause() error
- func (e RootCertificateRequestValidationError) Error() string
- func (e RootCertificateRequestValidationError) ErrorName() string
- func (e RootCertificateRequestValidationError) Field() string
- func (e RootCertificateRequestValidationError) Key() bool
- func (e RootCertificateRequestValidationError) Reason() string
- type RootCertificateResponse
- func (*RootCertificateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RootCertificateResponse) GetIntermediates() [][]byte
- func (x *RootCertificateResponse) GetRoot() []byte
- func (*RootCertificateResponse) ProtoMessage()
- func (x *RootCertificateResponse) ProtoReflect() protoreflect.Message
- func (x *RootCertificateResponse) Reset()
- func (x *RootCertificateResponse) String() string
- func (m *RootCertificateResponse) Validate() error
- func (m *RootCertificateResponse) ValidateAll() error
- type RootCertificateResponseMultiError
- type RootCertificateResponseValidationError
- func (e RootCertificateResponseValidationError) Cause() error
- func (e RootCertificateResponseValidationError) Error() string
- func (e RootCertificateResponseValidationError) ErrorName() string
- func (e RootCertificateResponseValidationError) Field() string
- func (e RootCertificateResponseValidationError) Key() bool
- func (e RootCertificateResponseValidationError) Reason() string
- type SignUpRequest
- func (*SignUpRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignUpRequest) GetPublicKey() []byte
- func (x *SignUpRequest) GetService() string
- func (x *SignUpRequest) GetSigningRequest() *CSR
- func (*SignUpRequest) ProtoMessage()
- func (x *SignUpRequest) ProtoReflect() protoreflect.Message
- func (x *SignUpRequest) Reset()
- func (x *SignUpRequest) String() string
- func (m *SignUpRequest) Validate() error
- func (m *SignUpRequest) ValidateAll() error
- type SignUpRequestMultiError
- type SignUpRequestValidationError
- func (e SignUpRequestValidationError) Cause() error
- func (e SignUpRequestValidationError) Error() string
- func (e SignUpRequestValidationError) ErrorName() string
- func (e SignUpRequestValidationError) Field() string
- func (e SignUpRequestValidationError) Key() bool
- func (e SignUpRequestValidationError) Reason() string
- type SignUpResponse
- func (*SignUpResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SignUpResponse) GetCertificate() []byte
- func (x *SignUpResponse) GetServiceCertificate() []byte
- func (*SignUpResponse) ProtoMessage()
- func (x *SignUpResponse) ProtoReflect() protoreflect.Message
- func (x *SignUpResponse) Reset()
- func (x *SignUpResponse) String() string
- func (m *SignUpResponse) Validate() error
- func (m *SignUpResponse) ValidateAll() error
- type SignUpResponseMultiError
- type SignUpResponseValidationError
- func (e SignUpResponseValidationError) Cause() error
- func (e SignUpResponseValidationError) Error() string
- func (e SignUpResponseValidationError) ErrorName() string
- func (e SignUpResponseValidationError) Field() string
- func (e SignUpResponseValidationError) Key() bool
- func (e SignUpResponseValidationError) Reason() string
- type Subject
- func (*Subject) Descriptor() ([]byte, []int)deprecated
- func (x *Subject) GetCommonName() string
- func (x *Subject) GetCountry() []string
- func (x *Subject) GetExtraNames() []*Attribute
- func (x *Subject) GetLocality() []string
- func (x *Subject) GetNames() []*Attribute
- func (x *Subject) GetOrganization() []string
- func (x *Subject) GetOrganizationalUnit() []string
- func (x *Subject) GetPostalCode() []string
- func (x *Subject) GetProvince() []string
- func (x *Subject) GetSerialNumber() string
- func (x *Subject) GetStreetAddress() []string
- func (*Subject) ProtoMessage()
- func (x *Subject) ProtoReflect() protoreflect.Message
- func (x *Subject) Reset()
- func (x *Subject) String() string
- func (m *Subject) Validate() error
- func (m *Subject) ValidateAll() error
- type SubjectMultiError
- type SubjectValidationError
- type TokenRequest
- func (*TokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TokenRequest) GetCertificate() []byte
- func (x *TokenRequest) GetSignedChallenge() []byte
- func (*TokenRequest) ProtoMessage()
- func (x *TokenRequest) ProtoReflect() protoreflect.Message
- func (x *TokenRequest) Reset()
- func (x *TokenRequest) String() string
- func (m *TokenRequest) Validate() error
- func (m *TokenRequest) ValidateAll() error
- type TokenRequestMultiError
- type TokenRequestValidationError
- func (e TokenRequestValidationError) Cause() error
- func (e TokenRequestValidationError) Error() string
- func (e TokenRequestValidationError) ErrorName() string
- func (e TokenRequestValidationError) Field() string
- func (e TokenRequestValidationError) Key() bool
- func (e TokenRequestValidationError) Reason() string
- type TokenResponse
- func (*TokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TokenResponse) GetExpiresOn() int64
- func (x *TokenResponse) GetToken() string
- func (*TokenResponse) ProtoMessage()
- func (x *TokenResponse) ProtoReflect() protoreflect.Message
- func (x *TokenResponse) Reset()
- func (x *TokenResponse) String() string
- func (m *TokenResponse) Validate() error
- func (m *TokenResponse) ValidateAll() error
- type TokenResponseMultiError
- type TokenResponseValidationError
- func (e TokenResponseValidationError) Cause() error
- func (e TokenResponseValidationError) Error() string
- func (e TokenResponseValidationError) ErrorName() string
- func (e TokenResponseValidationError) Field() string
- func (e TokenResponseValidationError) Key() bool
- func (e TokenResponseValidationError) Reason() string
- type URL
- func (*URL) Descriptor() ([]byte, []int)deprecated
- func (x *URL) GetForceQuery() bool
- func (x *URL) GetFragment() string
- func (x *URL) GetHost() string
- func (x *URL) GetOmitHost() bool
- func (x *URL) GetOpaque() string
- func (x *URL) GetPath() string
- func (x *URL) GetRawFragment() string
- func (x *URL) GetRawPath() string
- func (x *URL) GetRawQuery() string
- func (x *URL) GetScheme() string
- func (x *URL) GetUserInfo() *UserInfo
- func (*URL) ProtoMessage()
- func (x *URL) ProtoReflect() protoreflect.Message
- func (x *URL) Reset()
- func (x *URL) String() string
- func (m *URL) Validate() error
- func (m *URL) ValidateAll() error
- type URLMultiError
- type URLValidationError
- type UnimplementedAuthzServer
- func (UnimplementedAuthzServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
- func (UnimplementedAuthzServer) SignUp(context.Context, *SignUpRequest) (*SignUpResponse, error)
- func (UnimplementedAuthzServer) Token(context.Context, *TokenRequest) (*TokenResponse, error)
- func (UnimplementedAuthzServer) VerifyToken(context.Context, *AuthRequest) (*AuthResponse, error)
- type UnimplementedCertificateAuthorityServer
- func (UnimplementedCertificateAuthorityServer) CreateCertificate(context.Context, *CertificateRequest) (*CertificateResponse, error)
- func (UnimplementedCertificateAuthorityServer) DeleteCertificate(context.Context, *CertificateDeletionRequest) (*CertificateDeletionResponse, error)
- func (UnimplementedCertificateAuthorityServer) DeleteService(context.Context, *DeletionRequest) (*DeletionResponse, error)
- func (UnimplementedCertificateAuthorityServer) ListCertificates(context.Context, *CertificateRequest) (*ListCertificatesResponse, error)
- func (UnimplementedCertificateAuthorityServer) RegisterService(context.Context, *CertificateRequest) (*CertificateResponse, error)
- func (UnimplementedCertificateAuthorityServer) RootCertificate(context.Context, *RootCertificateRequest) (*RootCertificateResponse, error)
- func (UnimplementedCertificateAuthorityServer) VerifyCertificate(context.Context, *VerificationRequest) (*VerificationResponse, error)
- type UnsafeAuthzServer
- type UnsafeCertificateAuthorityServer
- type UserInfo
- func (*UserInfo) Descriptor() ([]byte, []int)deprecated
- func (x *UserInfo) GetPassword() string
- func (x *UserInfo) GetPasswordSet() bool
- func (x *UserInfo) GetUsername() string
- func (*UserInfo) ProtoMessage()
- func (x *UserInfo) ProtoReflect() protoreflect.Message
- func (x *UserInfo) Reset()
- func (x *UserInfo) String() string
- func (m *UserInfo) Validate() error
- func (m *UserInfo) ValidateAll() error
- type UserInfoMultiError
- type UserInfoValidationError
- type VerificationRequest
- func (*VerificationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerificationRequest) GetCertificate() []byte
- func (x *VerificationRequest) GetService() string
- func (*VerificationRequest) ProtoMessage()
- func (x *VerificationRequest) ProtoReflect() protoreflect.Message
- func (x *VerificationRequest) Reset()
- func (x *VerificationRequest) String() string
- func (m *VerificationRequest) Validate() error
- func (m *VerificationRequest) ValidateAll() error
- type VerificationRequestMultiError
- type VerificationRequestValidationError
- func (e VerificationRequestValidationError) Cause() error
- func (e VerificationRequestValidationError) Error() string
- func (e VerificationRequestValidationError) ErrorName() string
- func (e VerificationRequestValidationError) Field() string
- func (e VerificationRequestValidationError) Key() bool
- func (e VerificationRequestValidationError) Reason() string
- type VerificationResponse
- func (*VerificationResponse) Descriptor() ([]byte, []int)deprecated
- func (*VerificationResponse) ProtoMessage()
- func (x *VerificationResponse) ProtoReflect() protoreflect.Message
- func (x *VerificationResponse) Reset()
- func (x *VerificationResponse) String() string
- func (m *VerificationResponse) Validate() error
- func (m *VerificationResponse) ValidateAll() error
- type VerificationResponseMultiError
- type VerificationResponseValidationError
- func (e VerificationResponseValidationError) Cause() error
- func (e VerificationResponseValidationError) Error() string
- func (e VerificationResponseValidationError) ErrorName() string
- func (e VerificationResponseValidationError) Field() string
- func (e VerificationResponseValidationError) Key() bool
- func (e VerificationResponseValidationError) Reason() string
Constants ¶
const ( CertificateAuthority_RegisterService_FullMethodName = "/authz.v1.CertificateAuthority/RegisterService" CertificateAuthority_CreateCertificate_FullMethodName = "/authz.v1.CertificateAuthority/CreateCertificate" CertificateAuthority_ListCertificates_FullMethodName = "/authz.v1.CertificateAuthority/ListCertificates" CertificateAuthority_DeleteCertificate_FullMethodName = "/authz.v1.CertificateAuthority/DeleteCertificate" CertificateAuthority_VerifyCertificate_FullMethodName = "/authz.v1.CertificateAuthority/VerifyCertificate" CertificateAuthority_DeleteService_FullMethodName = "/authz.v1.CertificateAuthority/DeleteService" CertificateAuthority_RootCertificate_FullMethodName = "/authz.v1.CertificateAuthority/RootCertificate" )
const ( Authz_SignUp_FullMethodName = "/authz.v1.Authz/SignUp" Authz_Login_FullMethodName = "/authz.v1.Authz/Login" Authz_Token_FullMethodName = "/authz.v1.Authz/Token" Authz_VerifyToken_FullMethodName = "/authz.v1.Authz/VerifyToken" )
Variables ¶
var Authz_ServiceDesc = grpc.ServiceDesc{ ServiceName: "authz.v1.Authz", HandlerType: (*AuthzServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SignUp", Handler: _Authz_SignUp_Handler, }, { MethodName: "Login", Handler: _Authz_Login_Handler, }, { MethodName: "Token", Handler: _Authz_Token_Handler, }, { MethodName: "VerifyToken", Handler: _Authz_VerifyToken_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "authz/v1/authz.proto", }
Authz_ServiceDesc is the grpc.ServiceDesc for Authz service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var CertificateAuthority_ServiceDesc = grpc.ServiceDesc{ ServiceName: "authz.v1.CertificateAuthority", HandlerType: (*CertificateAuthorityServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "RegisterService", Handler: _CertificateAuthority_RegisterService_Handler, }, { MethodName: "CreateCertificate", Handler: _CertificateAuthority_CreateCertificate_Handler, }, { MethodName: "ListCertificates", Handler: _CertificateAuthority_ListCertificates_Handler, }, { MethodName: "DeleteCertificate", Handler: _CertificateAuthority_DeleteCertificate_Handler, }, { MethodName: "VerifyCertificate", Handler: _CertificateAuthority_VerifyCertificate_Handler, }, { MethodName: "DeleteService", Handler: _CertificateAuthority_DeleteService_Handler, }, { MethodName: "RootCertificate", Handler: _CertificateAuthority_RootCertificate_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "authz/v1/authz.proto", }
CertificateAuthority_ServiceDesc is the grpc.ServiceDesc for CertificateAuthority service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_authz_v1_authz_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAuthzHandler ¶
RegisterAuthzHandler registers the http handlers for service Authz to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAuthzHandlerClient ¶
func RegisterAuthzHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AuthzClient) error
RegisterAuthzHandlerClient registers the http handlers for service Authz to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AuthzClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AuthzClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AuthzClient" to call the correct interceptors.
func RegisterAuthzHandlerFromEndpoint ¶
func RegisterAuthzHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAuthzHandlerFromEndpoint is same as RegisterAuthzHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAuthzHandlerServer ¶
func RegisterAuthzHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AuthzServer) error
RegisterAuthzHandlerServer registers the http handlers for service Authz to "mux". UnaryRPC :call AuthzServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAuthzHandlerFromEndpoint instead.
func RegisterAuthzServer ¶
func RegisterAuthzServer(s grpc.ServiceRegistrar, srv AuthzServer)
func RegisterCertificateAuthorityHandler ¶
func RegisterCertificateAuthorityHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterCertificateAuthorityHandler registers the http handlers for service CertificateAuthority to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterCertificateAuthorityHandlerClient ¶
func RegisterCertificateAuthorityHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CertificateAuthorityClient) error
RegisterCertificateAuthorityHandlerClient registers the http handlers for service CertificateAuthority to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "CertificateAuthorityClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "CertificateAuthorityClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "CertificateAuthorityClient" to call the correct interceptors.
func RegisterCertificateAuthorityHandlerFromEndpoint ¶
func RegisterCertificateAuthorityHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterCertificateAuthorityHandlerFromEndpoint is same as RegisterCertificateAuthorityHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterCertificateAuthorityHandlerServer ¶
func RegisterCertificateAuthorityHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CertificateAuthorityServer) error
RegisterCertificateAuthorityHandlerServer registers the http handlers for service CertificateAuthority to "mux". UnaryRPC :call CertificateAuthorityServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterCertificateAuthorityHandlerFromEndpoint instead.
func RegisterCertificateAuthorityServer ¶
func RegisterCertificateAuthorityServer(s grpc.ServiceRegistrar, srv CertificateAuthorityServer)
Types ¶
type Attribute ¶
type Attribute struct { Type []int32 `protobuf:"varint,1,rep,packed,name=type,proto3" json:"type,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Attribute) Descriptor
deprecated
func (*Attribute) ProtoMessage ¶
func (*Attribute) ProtoMessage()
func (*Attribute) ProtoReflect ¶
func (x *Attribute) ProtoReflect() protoreflect.Message
func (*Attribute) Validate ¶
Validate checks the field values on Attribute 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 (*Attribute) ValidateAll ¶
ValidateAll checks the field values on Attribute 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 AttributeMultiError, or nil if none found.
type AttributeMultiError ¶
type AttributeMultiError []error
AttributeMultiError is an error wrapping multiple validation errors returned by Attribute.ValidateAll() if the designated constraints aren't met.
func (AttributeMultiError) AllErrors ¶
func (m AttributeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AttributeMultiError) Error ¶
func (m AttributeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AttributeValidationError ¶
type AttributeValidationError struct {
// contains filtered or unexported fields
}
AttributeValidationError is the validation error returned by Attribute.Validate if the designated constraints aren't met.
func (AttributeValidationError) Cause ¶
func (e AttributeValidationError) Cause() error
Cause function returns cause value.
func (AttributeValidationError) Error ¶
func (e AttributeValidationError) Error() string
Error satisfies the builtin error interface
func (AttributeValidationError) ErrorName ¶
func (e AttributeValidationError) ErrorName() string
ErrorName returns error name.
func (AttributeValidationError) Field ¶
func (e AttributeValidationError) Field() string
Field function returns field value.
func (AttributeValidationError) Key ¶
func (e AttributeValidationError) Key() bool
Key function returns key value.
func (AttributeValidationError) Reason ¶
func (e AttributeValidationError) Reason() string
Reason function returns reason value.
type AuthRequest ¶
type AuthRequest struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*AuthRequest) Descriptor
deprecated
func (*AuthRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthRequest.ProtoReflect.Descriptor instead.
func (*AuthRequest) GetToken ¶
func (x *AuthRequest) GetToken() string
func (*AuthRequest) ProtoMessage ¶
func (*AuthRequest) ProtoMessage()
func (*AuthRequest) ProtoReflect ¶
func (x *AuthRequest) ProtoReflect() protoreflect.Message
func (*AuthRequest) Reset ¶
func (x *AuthRequest) Reset()
func (*AuthRequest) String ¶
func (x *AuthRequest) String() string
func (*AuthRequest) Validate ¶
func (m *AuthRequest) Validate() error
Validate checks the field values on AuthRequest 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 (*AuthRequest) ValidateAll ¶
func (m *AuthRequest) ValidateAll() error
ValidateAll checks the field values on AuthRequest 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 AuthRequestMultiError, or nil if none found.
type AuthRequestMultiError ¶
type AuthRequestMultiError []error
AuthRequestMultiError is an error wrapping multiple validation errors returned by AuthRequest.ValidateAll() if the designated constraints aren't met.
func (AuthRequestMultiError) AllErrors ¶
func (m AuthRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthRequestMultiError) Error ¶
func (m AuthRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthRequestValidationError ¶
type AuthRequestValidationError struct {
// contains filtered or unexported fields
}
AuthRequestValidationError is the validation error returned by AuthRequest.Validate if the designated constraints aren't met.
func (AuthRequestValidationError) Cause ¶
func (e AuthRequestValidationError) Cause() error
Cause function returns cause value.
func (AuthRequestValidationError) Error ¶
func (e AuthRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AuthRequestValidationError) ErrorName ¶
func (e AuthRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AuthRequestValidationError) Field ¶
func (e AuthRequestValidationError) Field() string
Field function returns field value.
func (AuthRequestValidationError) Key ¶
func (e AuthRequestValidationError) Key() bool
Key function returns key value.
func (AuthRequestValidationError) Reason ¶
func (e AuthRequestValidationError) Reason() string
Reason function returns reason value.
type AuthResponse ¶
type AuthResponse struct {
// contains filtered or unexported fields
}
func (*AuthResponse) Descriptor
deprecated
func (*AuthResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthResponse.ProtoReflect.Descriptor instead.
func (*AuthResponse) ProtoMessage ¶
func (*AuthResponse) ProtoMessage()
func (*AuthResponse) ProtoReflect ¶
func (x *AuthResponse) ProtoReflect() protoreflect.Message
func (*AuthResponse) Reset ¶
func (x *AuthResponse) Reset()
func (*AuthResponse) String ¶
func (x *AuthResponse) String() string
func (*AuthResponse) Validate ¶
func (m *AuthResponse) Validate() error
Validate checks the field values on AuthResponse 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 (*AuthResponse) ValidateAll ¶
func (m *AuthResponse) ValidateAll() error
ValidateAll checks the field values on AuthResponse 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 AuthResponseMultiError, or nil if none found.
type AuthResponseMultiError ¶
type AuthResponseMultiError []error
AuthResponseMultiError is an error wrapping multiple validation errors returned by AuthResponse.ValidateAll() if the designated constraints aren't met.
func (AuthResponseMultiError) AllErrors ¶
func (m AuthResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthResponseMultiError) Error ¶
func (m AuthResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthResponseValidationError ¶
type AuthResponseValidationError struct {
// contains filtered or unexported fields
}
AuthResponseValidationError is the validation error returned by AuthResponse.Validate if the designated constraints aren't met.
func (AuthResponseValidationError) Cause ¶
func (e AuthResponseValidationError) Cause() error
Cause function returns cause value.
func (AuthResponseValidationError) Error ¶
func (e AuthResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AuthResponseValidationError) ErrorName ¶
func (e AuthResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AuthResponseValidationError) Field ¶
func (e AuthResponseValidationError) Field() string
Field function returns field value.
func (AuthResponseValidationError) Key ¶
func (e AuthResponseValidationError) Key() bool
Key function returns key value.
func (AuthResponseValidationError) Reason ¶
func (e AuthResponseValidationError) Reason() string
Reason function returns reason value.
type AuthzClient ¶
type AuthzClient interface { SignUp(ctx context.Context, in *SignUpRequest, opts ...grpc.CallOption) (*SignUpResponse, error) Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error) Token(ctx context.Context, in *TokenRequest, opts ...grpc.CallOption) (*TokenResponse, error) VerifyToken(ctx context.Context, in *AuthRequest, opts ...grpc.CallOption) (*AuthResponse, error) }
AuthzClient is the client API for Authz service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAuthzClient ¶
func NewAuthzClient(cc grpc.ClientConnInterface) AuthzClient
type AuthzServer ¶
type AuthzServer interface { SignUp(context.Context, *SignUpRequest) (*SignUpResponse, error) Login(context.Context, *LoginRequest) (*LoginResponse, error) Token(context.Context, *TokenRequest) (*TokenResponse, error) VerifyToken(context.Context, *AuthRequest) (*AuthResponse, error) // contains filtered or unexported methods }
AuthzServer is the server API for Authz service. All implementations must embed UnimplementedAuthzServer for forward compatibility
type CSR ¶
type CSR struct { Subject *Subject `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"` Extensions []*Extension `protobuf:"bytes,2,rep,name=extensions,proto3" json:"extensions,omitempty"` ExtraExtensions []*Extension `protobuf:"bytes,3,rep,name=extra_extensions,proto3" json:"extra_extensions,omitempty"` DnsNames []string `protobuf:"bytes,4,rep,name=dns_names,proto3" json:"dns_names,omitempty"` EmailAddresses []string `protobuf:"bytes,5,rep,name=email_addresses,proto3" json:"email_addresses,omitempty"` IpAddresses []*IPAddress `protobuf:"bytes,6,rep,name=ip_addresses,proto3" json:"ip_addresses,omitempty"` Uris []*URL `protobuf:"bytes,7,rep,name=uris,proto3" json:"uris,omitempty"` // contains filtered or unexported fields }
func (*CSR) Descriptor
deprecated
func (*CSR) GetDnsNames ¶
func (*CSR) GetEmailAddresses ¶
func (*CSR) GetExtensions ¶
func (*CSR) GetExtraExtensions ¶
func (*CSR) GetIpAddresses ¶
func (*CSR) GetSubject ¶
func (*CSR) ProtoMessage ¶
func (*CSR) ProtoMessage()
func (*CSR) ProtoReflect ¶
func (x *CSR) ProtoReflect() protoreflect.Message
func (*CSR) Validate ¶
Validate checks the field values on CSR 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 (*CSR) ValidateAll ¶
ValidateAll checks the field values on CSR 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 CSRMultiError, or nil if none found.
type CSRMultiError ¶
type CSRMultiError []error
CSRMultiError is an error wrapping multiple validation errors returned by CSR.ValidateAll() if the designated constraints aren't met.
func (CSRMultiError) AllErrors ¶
func (m CSRMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CSRMultiError) Error ¶
func (m CSRMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CSRValidationError ¶
type CSRValidationError struct {
// contains filtered or unexported fields
}
CSRValidationError is the validation error returned by CSR.Validate if the designated constraints aren't met.
func (CSRValidationError) Cause ¶
func (e CSRValidationError) Cause() error
Cause function returns cause value.
func (CSRValidationError) Error ¶
func (e CSRValidationError) Error() string
Error satisfies the builtin error interface
func (CSRValidationError) ErrorName ¶
func (e CSRValidationError) ErrorName() string
ErrorName returns error name.
func (CSRValidationError) Field ¶
func (e CSRValidationError) Field() string
Field function returns field value.
func (CSRValidationError) Key ¶
func (e CSRValidationError) Key() bool
Key function returns key value.
func (CSRValidationError) Reason ¶
func (e CSRValidationError) Reason() string
Reason function returns reason value.
type CertificateAuthorityClient ¶
type CertificateAuthorityClient interface { RegisterService(ctx context.Context, in *CertificateRequest, opts ...grpc.CallOption) (*CertificateResponse, error) CreateCertificate(ctx context.Context, in *CertificateRequest, opts ...grpc.CallOption) (*CertificateResponse, error) ListCertificates(ctx context.Context, in *CertificateRequest, opts ...grpc.CallOption) (*ListCertificatesResponse, error) DeleteCertificate(ctx context.Context, in *CertificateDeletionRequest, opts ...grpc.CallOption) (*CertificateDeletionResponse, error) VerifyCertificate(ctx context.Context, in *VerificationRequest, opts ...grpc.CallOption) (*VerificationResponse, error) DeleteService(ctx context.Context, in *DeletionRequest, opts ...grpc.CallOption) (*DeletionResponse, error) RootCertificate(ctx context.Context, in *RootCertificateRequest, opts ...grpc.CallOption) (*RootCertificateResponse, error) }
CertificateAuthorityClient is the client API for CertificateAuthority service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCertificateAuthorityClient ¶
func NewCertificateAuthorityClient(cc grpc.ClientConnInterface) CertificateAuthorityClient
type CertificateAuthorityServer ¶
type CertificateAuthorityServer interface { RegisterService(context.Context, *CertificateRequest) (*CertificateResponse, error) CreateCertificate(context.Context, *CertificateRequest) (*CertificateResponse, error) ListCertificates(context.Context, *CertificateRequest) (*ListCertificatesResponse, error) DeleteCertificate(context.Context, *CertificateDeletionRequest) (*CertificateDeletionResponse, error) VerifyCertificate(context.Context, *VerificationRequest) (*VerificationResponse, error) DeleteService(context.Context, *DeletionRequest) (*DeletionResponse, error) RootCertificate(context.Context, *RootCertificateRequest) (*RootCertificateResponse, error) // contains filtered or unexported methods }
CertificateAuthorityServer is the server API for CertificateAuthority service. All implementations must embed UnimplementedCertificateAuthorityServer for forward compatibility
type CertificateDeletionRequest ¶
type CertificateDeletionRequest struct { Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=pub_key,proto3" json:"public_key,omitempty"` Certificate []byte `protobuf:"bytes,3,opt,name=certificate,proto3" json:"certificate,omitempty"` // contains filtered or unexported fields }
func (*CertificateDeletionRequest) Descriptor
deprecated
func (*CertificateDeletionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CertificateDeletionRequest.ProtoReflect.Descriptor instead.
func (*CertificateDeletionRequest) GetCertificate ¶
func (x *CertificateDeletionRequest) GetCertificate() []byte
func (*CertificateDeletionRequest) GetPublicKey ¶
func (x *CertificateDeletionRequest) GetPublicKey() []byte
func (*CertificateDeletionRequest) GetService ¶
func (x *CertificateDeletionRequest) GetService() string
func (*CertificateDeletionRequest) ProtoMessage ¶
func (*CertificateDeletionRequest) ProtoMessage()
func (*CertificateDeletionRequest) ProtoReflect ¶
func (x *CertificateDeletionRequest) ProtoReflect() protoreflect.Message
func (*CertificateDeletionRequest) Reset ¶
func (x *CertificateDeletionRequest) Reset()
func (*CertificateDeletionRequest) String ¶
func (x *CertificateDeletionRequest) String() string
func (*CertificateDeletionRequest) Validate ¶
func (m *CertificateDeletionRequest) Validate() error
Validate checks the field values on CertificateDeletionRequest 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 (*CertificateDeletionRequest) ValidateAll ¶
func (m *CertificateDeletionRequest) ValidateAll() error
ValidateAll checks the field values on CertificateDeletionRequest 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 CertificateDeletionRequestMultiError, or nil if none found.
type CertificateDeletionRequestMultiError ¶
type CertificateDeletionRequestMultiError []error
CertificateDeletionRequestMultiError is an error wrapping multiple validation errors returned by CertificateDeletionRequest.ValidateAll() if the designated constraints aren't met.
func (CertificateDeletionRequestMultiError) AllErrors ¶
func (m CertificateDeletionRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CertificateDeletionRequestMultiError) Error ¶
func (m CertificateDeletionRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CertificateDeletionRequestValidationError ¶
type CertificateDeletionRequestValidationError struct {
// contains filtered or unexported fields
}
CertificateDeletionRequestValidationError is the validation error returned by CertificateDeletionRequest.Validate if the designated constraints aren't met.
func (CertificateDeletionRequestValidationError) Cause ¶
func (e CertificateDeletionRequestValidationError) Cause() error
Cause function returns cause value.
func (CertificateDeletionRequestValidationError) Error ¶
func (e CertificateDeletionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CertificateDeletionRequestValidationError) ErrorName ¶
func (e CertificateDeletionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CertificateDeletionRequestValidationError) Field ¶
func (e CertificateDeletionRequestValidationError) Field() string
Field function returns field value.
func (CertificateDeletionRequestValidationError) Key ¶
func (e CertificateDeletionRequestValidationError) Key() bool
Key function returns key value.
func (CertificateDeletionRequestValidationError) Reason ¶
func (e CertificateDeletionRequestValidationError) Reason() string
Reason function returns reason value.
type CertificateDeletionResponse ¶
type CertificateDeletionResponse struct {
// contains filtered or unexported fields
}
func (*CertificateDeletionResponse) Descriptor
deprecated
func (*CertificateDeletionResponse) Descriptor() ([]byte, []int)
Deprecated: Use CertificateDeletionResponse.ProtoReflect.Descriptor instead.
func (*CertificateDeletionResponse) ProtoMessage ¶
func (*CertificateDeletionResponse) ProtoMessage()
func (*CertificateDeletionResponse) ProtoReflect ¶
func (x *CertificateDeletionResponse) ProtoReflect() protoreflect.Message
func (*CertificateDeletionResponse) Reset ¶
func (x *CertificateDeletionResponse) Reset()
func (*CertificateDeletionResponse) String ¶
func (x *CertificateDeletionResponse) String() string
func (*CertificateDeletionResponse) Validate ¶
func (m *CertificateDeletionResponse) Validate() error
Validate checks the field values on CertificateDeletionResponse 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 (*CertificateDeletionResponse) ValidateAll ¶
func (m *CertificateDeletionResponse) ValidateAll() error
ValidateAll checks the field values on CertificateDeletionResponse 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 CertificateDeletionResponseMultiError, or nil if none found.
type CertificateDeletionResponseMultiError ¶
type CertificateDeletionResponseMultiError []error
CertificateDeletionResponseMultiError is an error wrapping multiple validation errors returned by CertificateDeletionResponse.ValidateAll() if the designated constraints aren't met.
func (CertificateDeletionResponseMultiError) AllErrors ¶
func (m CertificateDeletionResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CertificateDeletionResponseMultiError) Error ¶
func (m CertificateDeletionResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CertificateDeletionResponseValidationError ¶
type CertificateDeletionResponseValidationError struct {
// contains filtered or unexported fields
}
CertificateDeletionResponseValidationError is the validation error returned by CertificateDeletionResponse.Validate if the designated constraints aren't met.
func (CertificateDeletionResponseValidationError) Cause ¶
func (e CertificateDeletionResponseValidationError) Cause() error
Cause function returns cause value.
func (CertificateDeletionResponseValidationError) Error ¶
func (e CertificateDeletionResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CertificateDeletionResponseValidationError) ErrorName ¶
func (e CertificateDeletionResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CertificateDeletionResponseValidationError) Field ¶
func (e CertificateDeletionResponseValidationError) Field() string
Field function returns field value.
func (CertificateDeletionResponseValidationError) Key ¶
func (e CertificateDeletionResponseValidationError) Key() bool
Key function returns key value.
func (CertificateDeletionResponseValidationError) Reason ¶
func (e CertificateDeletionResponseValidationError) Reason() string
Reason function returns reason value.
type CertificateRequest ¶
type CertificateRequest struct { Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=pub_key,proto3" json:"public_key,omitempty"` SigningRequest *CSR `protobuf:"bytes,3,opt,name=signing_request,json=signing_req,proto3" json:"signing_request,omitempty"` // contains filtered or unexported fields }
func (*CertificateRequest) Descriptor
deprecated
func (*CertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CertificateRequest.ProtoReflect.Descriptor instead.
func (*CertificateRequest) GetPublicKey ¶
func (x *CertificateRequest) GetPublicKey() []byte
func (*CertificateRequest) GetService ¶
func (x *CertificateRequest) GetService() string
func (*CertificateRequest) GetSigningRequest ¶
func (x *CertificateRequest) GetSigningRequest() *CSR
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
func (*CertificateRequest) Validate ¶
func (m *CertificateRequest) Validate() error
Validate checks the field values on CertificateRequest 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 (*CertificateRequest) ValidateAll ¶
func (m *CertificateRequest) ValidateAll() error
ValidateAll checks the field values on CertificateRequest 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 CertificateRequestMultiError, or nil if none found.
type CertificateRequestMultiError ¶
type CertificateRequestMultiError []error
CertificateRequestMultiError is an error wrapping multiple validation errors returned by CertificateRequest.ValidateAll() if the designated constraints aren't met.
func (CertificateRequestMultiError) AllErrors ¶
func (m CertificateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CertificateRequestMultiError) Error ¶
func (m CertificateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CertificateRequestValidationError ¶
type CertificateRequestValidationError struct {
// contains filtered or unexported fields
}
CertificateRequestValidationError is the validation error returned by CertificateRequest.Validate if the designated constraints aren't met.
func (CertificateRequestValidationError) Cause ¶
func (e CertificateRequestValidationError) Cause() error
Cause function returns cause value.
func (CertificateRequestValidationError) Error ¶
func (e CertificateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CertificateRequestValidationError) ErrorName ¶
func (e CertificateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CertificateRequestValidationError) Field ¶
func (e CertificateRequestValidationError) Field() string
Field function returns field value.
func (CertificateRequestValidationError) Key ¶
func (e CertificateRequestValidationError) Key() bool
Key function returns key value.
func (CertificateRequestValidationError) Reason ¶
func (e CertificateRequestValidationError) Reason() string
Reason function returns reason value.
type CertificateResponse ¶
type CertificateResponse struct { Certificate []byte `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"` ExpiresOn int64 `protobuf:"varint,2,opt,name=expires_on,proto3" json:"expires_on,omitempty"` // contains filtered or unexported fields }
func (*CertificateResponse) Descriptor
deprecated
func (*CertificateResponse) Descriptor() ([]byte, []int)
Deprecated: Use CertificateResponse.ProtoReflect.Descriptor instead.
func (*CertificateResponse) GetCertificate ¶
func (x *CertificateResponse) GetCertificate() []byte
func (*CertificateResponse) GetExpiresOn ¶
func (x *CertificateResponse) GetExpiresOn() int64
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
func (*CertificateResponse) Validate ¶
func (m *CertificateResponse) Validate() error
Validate checks the field values on CertificateResponse 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 (*CertificateResponse) ValidateAll ¶
func (m *CertificateResponse) ValidateAll() error
ValidateAll checks the field values on CertificateResponse 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 CertificateResponseMultiError, or nil if none found.
type CertificateResponseMultiError ¶
type CertificateResponseMultiError []error
CertificateResponseMultiError is an error wrapping multiple validation errors returned by CertificateResponse.ValidateAll() if the designated constraints aren't met.
func (CertificateResponseMultiError) AllErrors ¶
func (m CertificateResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CertificateResponseMultiError) Error ¶
func (m CertificateResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CertificateResponseValidationError ¶
type CertificateResponseValidationError struct {
// contains filtered or unexported fields
}
CertificateResponseValidationError is the validation error returned by CertificateResponse.Validate if the designated constraints aren't met.
func (CertificateResponseValidationError) Cause ¶
func (e CertificateResponseValidationError) Cause() error
Cause function returns cause value.
func (CertificateResponseValidationError) Error ¶
func (e CertificateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CertificateResponseValidationError) ErrorName ¶
func (e CertificateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CertificateResponseValidationError) Field ¶
func (e CertificateResponseValidationError) Field() string
Field function returns field value.
func (CertificateResponseValidationError) Key ¶
func (e CertificateResponseValidationError) Key() bool
Key function returns key value.
func (CertificateResponseValidationError) Reason ¶
func (e CertificateResponseValidationError) Reason() string
Reason function returns reason value.
type DeletionRequest ¶
type DeletionRequest struct { Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=pub_key,proto3" json:"public_key,omitempty"` // contains filtered or unexported fields }
func (*DeletionRequest) Descriptor
deprecated
func (*DeletionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeletionRequest.ProtoReflect.Descriptor instead.
func (*DeletionRequest) GetPublicKey ¶
func (x *DeletionRequest) GetPublicKey() []byte
func (*DeletionRequest) GetService ¶
func (x *DeletionRequest) GetService() string
func (*DeletionRequest) ProtoMessage ¶
func (*DeletionRequest) ProtoMessage()
func (*DeletionRequest) ProtoReflect ¶
func (x *DeletionRequest) ProtoReflect() protoreflect.Message
func (*DeletionRequest) Reset ¶
func (x *DeletionRequest) Reset()
func (*DeletionRequest) String ¶
func (x *DeletionRequest) String() string
func (*DeletionRequest) Validate ¶
func (m *DeletionRequest) Validate() error
Validate checks the field values on DeletionRequest 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 (*DeletionRequest) ValidateAll ¶
func (m *DeletionRequest) ValidateAll() error
ValidateAll checks the field values on DeletionRequest 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 DeletionRequestMultiError, or nil if none found.
type DeletionRequestMultiError ¶
type DeletionRequestMultiError []error
DeletionRequestMultiError is an error wrapping multiple validation errors returned by DeletionRequest.ValidateAll() if the designated constraints aren't met.
func (DeletionRequestMultiError) AllErrors ¶
func (m DeletionRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeletionRequestMultiError) Error ¶
func (m DeletionRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeletionRequestValidationError ¶
type DeletionRequestValidationError struct {
// contains filtered or unexported fields
}
DeletionRequestValidationError is the validation error returned by DeletionRequest.Validate if the designated constraints aren't met.
func (DeletionRequestValidationError) Cause ¶
func (e DeletionRequestValidationError) Cause() error
Cause function returns cause value.
func (DeletionRequestValidationError) Error ¶
func (e DeletionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeletionRequestValidationError) ErrorName ¶
func (e DeletionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeletionRequestValidationError) Field ¶
func (e DeletionRequestValidationError) Field() string
Field function returns field value.
func (DeletionRequestValidationError) Key ¶
func (e DeletionRequestValidationError) Key() bool
Key function returns key value.
func (DeletionRequestValidationError) Reason ¶
func (e DeletionRequestValidationError) Reason() string
Reason function returns reason value.
type DeletionResponse ¶
type DeletionResponse struct {
// contains filtered or unexported fields
}
func (*DeletionResponse) Descriptor
deprecated
func (*DeletionResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeletionResponse.ProtoReflect.Descriptor instead.
func (*DeletionResponse) ProtoMessage ¶
func (*DeletionResponse) ProtoMessage()
func (*DeletionResponse) ProtoReflect ¶
func (x *DeletionResponse) ProtoReflect() protoreflect.Message
func (*DeletionResponse) Reset ¶
func (x *DeletionResponse) Reset()
func (*DeletionResponse) String ¶
func (x *DeletionResponse) String() string
func (*DeletionResponse) Validate ¶
func (m *DeletionResponse) Validate() error
Validate checks the field values on DeletionResponse 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 (*DeletionResponse) ValidateAll ¶
func (m *DeletionResponse) ValidateAll() error
ValidateAll checks the field values on DeletionResponse 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 DeletionResponseMultiError, or nil if none found.
type DeletionResponseMultiError ¶
type DeletionResponseMultiError []error
DeletionResponseMultiError is an error wrapping multiple validation errors returned by DeletionResponse.ValidateAll() if the designated constraints aren't met.
func (DeletionResponseMultiError) AllErrors ¶
func (m DeletionResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeletionResponseMultiError) Error ¶
func (m DeletionResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeletionResponseValidationError ¶
type DeletionResponseValidationError struct {
// contains filtered or unexported fields
}
DeletionResponseValidationError is the validation error returned by DeletionResponse.Validate if the designated constraints aren't met.
func (DeletionResponseValidationError) Cause ¶
func (e DeletionResponseValidationError) Cause() error
Cause function returns cause value.
func (DeletionResponseValidationError) Error ¶
func (e DeletionResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeletionResponseValidationError) ErrorName ¶
func (e DeletionResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeletionResponseValidationError) Field ¶
func (e DeletionResponseValidationError) Field() string
Field function returns field value.
func (DeletionResponseValidationError) Key ¶
func (e DeletionResponseValidationError) Key() bool
Key function returns key value.
func (DeletionResponseValidationError) Reason ¶
func (e DeletionResponseValidationError) Reason() string
Reason function returns reason value.
type Extension ¶
type Extension struct { Id []int32 `protobuf:"varint,1,rep,packed,name=id,proto3" json:"id,omitempty"` Critical bool `protobuf:"varint,2,opt,name=critical,proto3" json:"critical,omitempty"` Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Extension) Descriptor
deprecated
func (*Extension) GetCritical ¶
func (*Extension) ProtoMessage ¶
func (*Extension) ProtoMessage()
func (*Extension) ProtoReflect ¶
func (x *Extension) ProtoReflect() protoreflect.Message
func (*Extension) Validate ¶
Validate checks the field values on Extension 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 (*Extension) ValidateAll ¶
ValidateAll checks the field values on Extension 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 ExtensionMultiError, or nil if none found.
type ExtensionMultiError ¶
type ExtensionMultiError []error
ExtensionMultiError is an error wrapping multiple validation errors returned by Extension.ValidateAll() if the designated constraints aren't met.
func (ExtensionMultiError) AllErrors ¶
func (m ExtensionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ExtensionMultiError) Error ¶
func (m ExtensionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ExtensionValidationError ¶
type ExtensionValidationError struct {
// contains filtered or unexported fields
}
ExtensionValidationError is the validation error returned by Extension.Validate if the designated constraints aren't met.
func (ExtensionValidationError) Cause ¶
func (e ExtensionValidationError) Cause() error
Cause function returns cause value.
func (ExtensionValidationError) Error ¶
func (e ExtensionValidationError) Error() string
Error satisfies the builtin error interface
func (ExtensionValidationError) ErrorName ¶
func (e ExtensionValidationError) ErrorName() string
ErrorName returns error name.
func (ExtensionValidationError) Field ¶
func (e ExtensionValidationError) Field() string
Field function returns field value.
func (ExtensionValidationError) Key ¶
func (e ExtensionValidationError) Key() bool
Key function returns key value.
func (ExtensionValidationError) Reason ¶
func (e ExtensionValidationError) Reason() string
Reason function returns reason value.
type IPAddress ¶
type IPAddress struct { Ip []byte `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` // contains filtered or unexported fields }
func (*IPAddress) Descriptor
deprecated
func (*IPAddress) ProtoMessage ¶
func (*IPAddress) ProtoMessage()
func (*IPAddress) ProtoReflect ¶
func (x *IPAddress) ProtoReflect() protoreflect.Message
func (*IPAddress) Validate ¶
Validate checks the field values on IPAddress 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 (*IPAddress) ValidateAll ¶
ValidateAll checks the field values on IPAddress 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 IPAddressMultiError, or nil if none found.
type IPAddressMultiError ¶
type IPAddressMultiError []error
IPAddressMultiError is an error wrapping multiple validation errors returned by IPAddress.ValidateAll() if the designated constraints aren't met.
func (IPAddressMultiError) AllErrors ¶
func (m IPAddressMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (IPAddressMultiError) Error ¶
func (m IPAddressMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type IPAddressValidationError ¶
type IPAddressValidationError struct {
// contains filtered or unexported fields
}
IPAddressValidationError is the validation error returned by IPAddress.Validate if the designated constraints aren't met.
func (IPAddressValidationError) Cause ¶
func (e IPAddressValidationError) Cause() error
Cause function returns cause value.
func (IPAddressValidationError) Error ¶
func (e IPAddressValidationError) Error() string
Error satisfies the builtin error interface
func (IPAddressValidationError) ErrorName ¶
func (e IPAddressValidationError) ErrorName() string
ErrorName returns error name.
func (IPAddressValidationError) Field ¶
func (e IPAddressValidationError) Field() string
Field function returns field value.
func (IPAddressValidationError) Key ¶
func (e IPAddressValidationError) Key() bool
Key function returns key value.
func (IPAddressValidationError) Reason ¶
func (e IPAddressValidationError) Reason() string
Reason function returns reason value.
type ListCertificatesResponse ¶
type ListCertificatesResponse struct { Certificates []*CertificateResponse `protobuf:"bytes,1,rep,name=certificates,proto3" json:"certificates,omitempty"` // contains filtered or unexported fields }
func (*ListCertificatesResponse) Descriptor
deprecated
func (*ListCertificatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCertificatesResponse.ProtoReflect.Descriptor instead.
func (*ListCertificatesResponse) GetCertificates ¶
func (x *ListCertificatesResponse) GetCertificates() []*CertificateResponse
func (*ListCertificatesResponse) ProtoMessage ¶
func (*ListCertificatesResponse) ProtoMessage()
func (*ListCertificatesResponse) ProtoReflect ¶
func (x *ListCertificatesResponse) ProtoReflect() protoreflect.Message
func (*ListCertificatesResponse) Reset ¶
func (x *ListCertificatesResponse) Reset()
func (*ListCertificatesResponse) String ¶
func (x *ListCertificatesResponse) String() string
func (*ListCertificatesResponse) Validate ¶
func (m *ListCertificatesResponse) Validate() error
Validate checks the field values on ListCertificatesResponse 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 (*ListCertificatesResponse) ValidateAll ¶
func (m *ListCertificatesResponse) ValidateAll() error
ValidateAll checks the field values on ListCertificatesResponse 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 ListCertificatesResponseMultiError, or nil if none found.
type ListCertificatesResponseMultiError ¶
type ListCertificatesResponseMultiError []error
ListCertificatesResponseMultiError is an error wrapping multiple validation errors returned by ListCertificatesResponse.ValidateAll() if the designated constraints aren't met.
func (ListCertificatesResponseMultiError) AllErrors ¶
func (m ListCertificatesResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListCertificatesResponseMultiError) Error ¶
func (m ListCertificatesResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListCertificatesResponseValidationError ¶
type ListCertificatesResponseValidationError struct {
// contains filtered or unexported fields
}
ListCertificatesResponseValidationError is the validation error returned by ListCertificatesResponse.Validate if the designated constraints aren't met.
func (ListCertificatesResponseValidationError) Cause ¶
func (e ListCertificatesResponseValidationError) Cause() error
Cause function returns cause value.
func (ListCertificatesResponseValidationError) Error ¶
func (e ListCertificatesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListCertificatesResponseValidationError) ErrorName ¶
func (e ListCertificatesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListCertificatesResponseValidationError) Field ¶
func (e ListCertificatesResponseValidationError) Field() string
Field function returns field value.
func (ListCertificatesResponseValidationError) Key ¶
func (e ListCertificatesResponseValidationError) Key() bool
Key function returns key value.
func (ListCertificatesResponseValidationError) Reason ¶
func (e ListCertificatesResponseValidationError) Reason() string
Reason function returns reason value.
type LoginRequest ¶
type LoginRequest struct { IdCertificate []byte `protobuf:"bytes,1,opt,name=id_certificate,json=certificate,proto3" json:"id_certificate,omitempty"` ServiceCertificate []byte `protobuf:"bytes,2,opt,name=service_certificate,proto3" json:"service_certificate,omitempty"` // contains filtered or unexported fields }
func (*LoginRequest) Descriptor
deprecated
func (*LoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
func (*LoginRequest) GetIdCertificate ¶
func (x *LoginRequest) GetIdCertificate() []byte
func (*LoginRequest) GetServiceCertificate ¶
func (x *LoginRequest) GetServiceCertificate() []byte
func (*LoginRequest) ProtoMessage ¶
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) ProtoReflect ¶
func (x *LoginRequest) ProtoReflect() protoreflect.Message
func (*LoginRequest) Reset ¶
func (x *LoginRequest) Reset()
func (*LoginRequest) String ¶
func (x *LoginRequest) String() string
func (*LoginRequest) Validate ¶
func (m *LoginRequest) Validate() error
Validate checks the field values on LoginRequest 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 (*LoginRequest) ValidateAll ¶
func (m *LoginRequest) ValidateAll() error
ValidateAll checks the field values on LoginRequest 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 LoginRequestMultiError, or nil if none found.
type LoginRequestMultiError ¶
type LoginRequestMultiError []error
LoginRequestMultiError is an error wrapping multiple validation errors returned by LoginRequest.ValidateAll() if the designated constraints aren't met.
func (LoginRequestMultiError) AllErrors ¶
func (m LoginRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LoginRequestMultiError) Error ¶
func (m LoginRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LoginRequestValidationError ¶
type LoginRequestValidationError struct {
// contains filtered or unexported fields
}
LoginRequestValidationError is the validation error returned by LoginRequest.Validate if the designated constraints aren't met.
func (LoginRequestValidationError) Cause ¶
func (e LoginRequestValidationError) Cause() error
Cause function returns cause value.
func (LoginRequestValidationError) Error ¶
func (e LoginRequestValidationError) Error() string
Error satisfies the builtin error interface
func (LoginRequestValidationError) ErrorName ¶
func (e LoginRequestValidationError) ErrorName() string
ErrorName returns error name.
func (LoginRequestValidationError) Field ¶
func (e LoginRequestValidationError) Field() string
Field function returns field value.
func (LoginRequestValidationError) Key ¶
func (e LoginRequestValidationError) Key() bool
Key function returns key value.
func (LoginRequestValidationError) Reason ¶
func (e LoginRequestValidationError) Reason() string
Reason function returns reason value.
type LoginResponse ¶
type LoginResponse struct { Challenge []byte `protobuf:"bytes,1,opt,name=challenge,proto3" json:"challenge,omitempty"` ExpiresOn int64 `protobuf:"varint,2,opt,name=expires_on,proto3" json:"expires_on,omitempty"` // contains filtered or unexported fields }
func (*LoginResponse) Descriptor
deprecated
func (*LoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.
func (*LoginResponse) GetChallenge ¶
func (x *LoginResponse) GetChallenge() []byte
func (*LoginResponse) GetExpiresOn ¶
func (x *LoginResponse) GetExpiresOn() int64
func (*LoginResponse) ProtoMessage ¶
func (*LoginResponse) ProtoMessage()
func (*LoginResponse) ProtoReflect ¶
func (x *LoginResponse) ProtoReflect() protoreflect.Message
func (*LoginResponse) Reset ¶
func (x *LoginResponse) Reset()
func (*LoginResponse) String ¶
func (x *LoginResponse) String() string
func (*LoginResponse) Validate ¶
func (m *LoginResponse) Validate() error
Validate checks the field values on LoginResponse 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 (*LoginResponse) ValidateAll ¶
func (m *LoginResponse) ValidateAll() error
ValidateAll checks the field values on LoginResponse 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 LoginResponseMultiError, or nil if none found.
type LoginResponseMultiError ¶
type LoginResponseMultiError []error
LoginResponseMultiError is an error wrapping multiple validation errors returned by LoginResponse.ValidateAll() if the designated constraints aren't met.
func (LoginResponseMultiError) AllErrors ¶
func (m LoginResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LoginResponseMultiError) Error ¶
func (m LoginResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LoginResponseValidationError ¶
type LoginResponseValidationError struct {
// contains filtered or unexported fields
}
LoginResponseValidationError is the validation error returned by LoginResponse.Validate if the designated constraints aren't met.
func (LoginResponseValidationError) Cause ¶
func (e LoginResponseValidationError) Cause() error
Cause function returns cause value.
func (LoginResponseValidationError) Error ¶
func (e LoginResponseValidationError) Error() string
Error satisfies the builtin error interface
func (LoginResponseValidationError) ErrorName ¶
func (e LoginResponseValidationError) ErrorName() string
ErrorName returns error name.
func (LoginResponseValidationError) Field ¶
func (e LoginResponseValidationError) Field() string
Field function returns field value.
func (LoginResponseValidationError) Key ¶
func (e LoginResponseValidationError) Key() bool
Key function returns key value.
func (LoginResponseValidationError) Reason ¶
func (e LoginResponseValidationError) Reason() string
Reason function returns reason value.
type RootCertificateRequest ¶
type RootCertificateRequest struct {
// contains filtered or unexported fields
}
func (*RootCertificateRequest) Descriptor
deprecated
func (*RootCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use RootCertificateRequest.ProtoReflect.Descriptor instead.
func (*RootCertificateRequest) ProtoMessage ¶
func (*RootCertificateRequest) ProtoMessage()
func (*RootCertificateRequest) ProtoReflect ¶
func (x *RootCertificateRequest) ProtoReflect() protoreflect.Message
func (*RootCertificateRequest) Reset ¶
func (x *RootCertificateRequest) Reset()
func (*RootCertificateRequest) String ¶
func (x *RootCertificateRequest) String() string
func (*RootCertificateRequest) Validate ¶
func (m *RootCertificateRequest) Validate() error
Validate checks the field values on RootCertificateRequest 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 (*RootCertificateRequest) ValidateAll ¶
func (m *RootCertificateRequest) ValidateAll() error
ValidateAll checks the field values on RootCertificateRequest 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 RootCertificateRequestMultiError, or nil if none found.
type RootCertificateRequestMultiError ¶
type RootCertificateRequestMultiError []error
RootCertificateRequestMultiError is an error wrapping multiple validation errors returned by RootCertificateRequest.ValidateAll() if the designated constraints aren't met.
func (RootCertificateRequestMultiError) AllErrors ¶
func (m RootCertificateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RootCertificateRequestMultiError) Error ¶
func (m RootCertificateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RootCertificateRequestValidationError ¶
type RootCertificateRequestValidationError struct {
// contains filtered or unexported fields
}
RootCertificateRequestValidationError is the validation error returned by RootCertificateRequest.Validate if the designated constraints aren't met.
func (RootCertificateRequestValidationError) Cause ¶
func (e RootCertificateRequestValidationError) Cause() error
Cause function returns cause value.
func (RootCertificateRequestValidationError) Error ¶
func (e RootCertificateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RootCertificateRequestValidationError) ErrorName ¶
func (e RootCertificateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RootCertificateRequestValidationError) Field ¶
func (e RootCertificateRequestValidationError) Field() string
Field function returns field value.
func (RootCertificateRequestValidationError) Key ¶
func (e RootCertificateRequestValidationError) Key() bool
Key function returns key value.
func (RootCertificateRequestValidationError) Reason ¶
func (e RootCertificateRequestValidationError) Reason() string
Reason function returns reason value.
type RootCertificateResponse ¶
type RootCertificateResponse struct { Root []byte `protobuf:"bytes,1,opt,name=root,json=root_certificate,proto3" json:"root,omitempty"` Intermediates [][]byte `protobuf:"bytes,2,rep,name=intermediates,proto3" json:"intermediates,omitempty"` // contains filtered or unexported fields }
func (*RootCertificateResponse) Descriptor
deprecated
func (*RootCertificateResponse) Descriptor() ([]byte, []int)
Deprecated: Use RootCertificateResponse.ProtoReflect.Descriptor instead.
func (*RootCertificateResponse) GetIntermediates ¶
func (x *RootCertificateResponse) GetIntermediates() [][]byte
func (*RootCertificateResponse) GetRoot ¶
func (x *RootCertificateResponse) GetRoot() []byte
func (*RootCertificateResponse) ProtoMessage ¶
func (*RootCertificateResponse) ProtoMessage()
func (*RootCertificateResponse) ProtoReflect ¶
func (x *RootCertificateResponse) ProtoReflect() protoreflect.Message
func (*RootCertificateResponse) Reset ¶
func (x *RootCertificateResponse) Reset()
func (*RootCertificateResponse) String ¶
func (x *RootCertificateResponse) String() string
func (*RootCertificateResponse) Validate ¶
func (m *RootCertificateResponse) Validate() error
Validate checks the field values on RootCertificateResponse 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 (*RootCertificateResponse) ValidateAll ¶
func (m *RootCertificateResponse) ValidateAll() error
ValidateAll checks the field values on RootCertificateResponse 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 RootCertificateResponseMultiError, or nil if none found.
type RootCertificateResponseMultiError ¶
type RootCertificateResponseMultiError []error
RootCertificateResponseMultiError is an error wrapping multiple validation errors returned by RootCertificateResponse.ValidateAll() if the designated constraints aren't met.
func (RootCertificateResponseMultiError) AllErrors ¶
func (m RootCertificateResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RootCertificateResponseMultiError) Error ¶
func (m RootCertificateResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RootCertificateResponseValidationError ¶
type RootCertificateResponseValidationError struct {
// contains filtered or unexported fields
}
RootCertificateResponseValidationError is the validation error returned by RootCertificateResponse.Validate if the designated constraints aren't met.
func (RootCertificateResponseValidationError) Cause ¶
func (e RootCertificateResponseValidationError) Cause() error
Cause function returns cause value.
func (RootCertificateResponseValidationError) Error ¶
func (e RootCertificateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (RootCertificateResponseValidationError) ErrorName ¶
func (e RootCertificateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (RootCertificateResponseValidationError) Field ¶
func (e RootCertificateResponseValidationError) Field() string
Field function returns field value.
func (RootCertificateResponseValidationError) Key ¶
func (e RootCertificateResponseValidationError) Key() bool
Key function returns key value.
func (RootCertificateResponseValidationError) Reason ¶
func (e RootCertificateResponseValidationError) Reason() string
Reason function returns reason value.
type SignUpRequest ¶
type SignUpRequest struct { Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=pub_key,proto3" json:"public_key,omitempty"` SigningRequest *CSR `protobuf:"bytes,3,opt,name=signing_request,json=signing_req,proto3" json:"signing_request,omitempty"` // contains filtered or unexported fields }
func (*SignUpRequest) Descriptor
deprecated
func (*SignUpRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignUpRequest.ProtoReflect.Descriptor instead.
func (*SignUpRequest) GetPublicKey ¶
func (x *SignUpRequest) GetPublicKey() []byte
func (*SignUpRequest) GetService ¶
func (x *SignUpRequest) GetService() string
func (*SignUpRequest) GetSigningRequest ¶
func (x *SignUpRequest) GetSigningRequest() *CSR
func (*SignUpRequest) ProtoMessage ¶
func (*SignUpRequest) ProtoMessage()
func (*SignUpRequest) ProtoReflect ¶
func (x *SignUpRequest) ProtoReflect() protoreflect.Message
func (*SignUpRequest) Reset ¶
func (x *SignUpRequest) Reset()
func (*SignUpRequest) String ¶
func (x *SignUpRequest) String() string
func (*SignUpRequest) Validate ¶
func (m *SignUpRequest) Validate() error
Validate checks the field values on SignUpRequest 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 (*SignUpRequest) ValidateAll ¶
func (m *SignUpRequest) ValidateAll() error
ValidateAll checks the field values on SignUpRequest 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 SignUpRequestMultiError, or nil if none found.
type SignUpRequestMultiError ¶
type SignUpRequestMultiError []error
SignUpRequestMultiError is an error wrapping multiple validation errors returned by SignUpRequest.ValidateAll() if the designated constraints aren't met.
func (SignUpRequestMultiError) AllErrors ¶
func (m SignUpRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SignUpRequestMultiError) Error ¶
func (m SignUpRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SignUpRequestValidationError ¶
type SignUpRequestValidationError struct {
// contains filtered or unexported fields
}
SignUpRequestValidationError is the validation error returned by SignUpRequest.Validate if the designated constraints aren't met.
func (SignUpRequestValidationError) Cause ¶
func (e SignUpRequestValidationError) Cause() error
Cause function returns cause value.
func (SignUpRequestValidationError) Error ¶
func (e SignUpRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SignUpRequestValidationError) ErrorName ¶
func (e SignUpRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SignUpRequestValidationError) Field ¶
func (e SignUpRequestValidationError) Field() string
Field function returns field value.
func (SignUpRequestValidationError) Key ¶
func (e SignUpRequestValidationError) Key() bool
Key function returns key value.
func (SignUpRequestValidationError) Reason ¶
func (e SignUpRequestValidationError) Reason() string
Reason function returns reason value.
type SignUpResponse ¶
type SignUpResponse struct { Certificate []byte `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"` ServiceCertificate []byte `protobuf:"bytes,2,opt,name=service_certificate,proto3" json:"service_certificate,omitempty"` // contains filtered or unexported fields }
func (*SignUpResponse) Descriptor
deprecated
func (*SignUpResponse) Descriptor() ([]byte, []int)
Deprecated: Use SignUpResponse.ProtoReflect.Descriptor instead.
func (*SignUpResponse) GetCertificate ¶
func (x *SignUpResponse) GetCertificate() []byte
func (*SignUpResponse) GetServiceCertificate ¶
func (x *SignUpResponse) GetServiceCertificate() []byte
func (*SignUpResponse) ProtoMessage ¶
func (*SignUpResponse) ProtoMessage()
func (*SignUpResponse) ProtoReflect ¶
func (x *SignUpResponse) ProtoReflect() protoreflect.Message
func (*SignUpResponse) Reset ¶
func (x *SignUpResponse) Reset()
func (*SignUpResponse) String ¶
func (x *SignUpResponse) String() string
func (*SignUpResponse) Validate ¶
func (m *SignUpResponse) Validate() error
Validate checks the field values on SignUpResponse 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 (*SignUpResponse) ValidateAll ¶
func (m *SignUpResponse) ValidateAll() error
ValidateAll checks the field values on SignUpResponse 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 SignUpResponseMultiError, or nil if none found.
type SignUpResponseMultiError ¶
type SignUpResponseMultiError []error
SignUpResponseMultiError is an error wrapping multiple validation errors returned by SignUpResponse.ValidateAll() if the designated constraints aren't met.
func (SignUpResponseMultiError) AllErrors ¶
func (m SignUpResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SignUpResponseMultiError) Error ¶
func (m SignUpResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SignUpResponseValidationError ¶
type SignUpResponseValidationError struct {
// contains filtered or unexported fields
}
SignUpResponseValidationError is the validation error returned by SignUpResponse.Validate if the designated constraints aren't met.
func (SignUpResponseValidationError) Cause ¶
func (e SignUpResponseValidationError) Cause() error
Cause function returns cause value.
func (SignUpResponseValidationError) Error ¶
func (e SignUpResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SignUpResponseValidationError) ErrorName ¶
func (e SignUpResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SignUpResponseValidationError) Field ¶
func (e SignUpResponseValidationError) Field() string
Field function returns field value.
func (SignUpResponseValidationError) Key ¶
func (e SignUpResponseValidationError) Key() bool
Key function returns key value.
func (SignUpResponseValidationError) Reason ¶
func (e SignUpResponseValidationError) Reason() string
Reason function returns reason value.
type Subject ¶
type Subject struct { Country []string `protobuf:"bytes,1,rep,name=country,proto3" json:"country,omitempty"` Organization []string `protobuf:"bytes,2,rep,name=organization,proto3" json:"organization,omitempty"` OrganizationalUnit []string `protobuf:"bytes,3,rep,name=organizational_unit,proto3" json:"organizational_unit,omitempty"` Locality []string `protobuf:"bytes,4,rep,name=locality,proto3" json:"locality,omitempty"` Province []string `protobuf:"bytes,5,rep,name=province,proto3" json:"province,omitempty"` StreetAddress []string `protobuf:"bytes,6,rep,name=street_address,proto3" json:"street_address,omitempty"` PostalCode []string `protobuf:"bytes,7,rep,name=postal_code,proto3" json:"postal_code,omitempty"` SerialNumber string `protobuf:"bytes,8,opt,name=serial_number,proto3" json:"serial_number,omitempty"` CommonName string `protobuf:"bytes,9,opt,name=common_name,proto3" json:"common_name,omitempty"` Names []*Attribute `protobuf:"bytes,10,rep,name=names,proto3" json:"names,omitempty"` ExtraNames []*Attribute `protobuf:"bytes,11,rep,name=extra_names,proto3" json:"extra_names,omitempty"` // contains filtered or unexported fields }
func (*Subject) Descriptor
deprecated
func (*Subject) GetCommonName ¶
func (*Subject) GetCountry ¶
func (*Subject) GetExtraNames ¶
func (*Subject) GetLocality ¶
func (*Subject) GetOrganization ¶
func (*Subject) GetOrganizationalUnit ¶
func (*Subject) GetPostalCode ¶
func (*Subject) GetProvince ¶
func (*Subject) GetSerialNumber ¶
func (*Subject) GetStreetAddress ¶
func (*Subject) ProtoMessage ¶
func (*Subject) ProtoMessage()
func (*Subject) ProtoReflect ¶
func (x *Subject) ProtoReflect() protoreflect.Message
func (*Subject) Validate ¶
Validate checks the field values on Subject 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 (*Subject) ValidateAll ¶
ValidateAll checks the field values on Subject 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 SubjectMultiError, or nil if none found.
type SubjectMultiError ¶
type SubjectMultiError []error
SubjectMultiError is an error wrapping multiple validation errors returned by Subject.ValidateAll() if the designated constraints aren't met.
func (SubjectMultiError) AllErrors ¶
func (m SubjectMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SubjectMultiError) Error ¶
func (m SubjectMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SubjectValidationError ¶
type SubjectValidationError struct {
// contains filtered or unexported fields
}
SubjectValidationError is the validation error returned by Subject.Validate if the designated constraints aren't met.
func (SubjectValidationError) Cause ¶
func (e SubjectValidationError) Cause() error
Cause function returns cause value.
func (SubjectValidationError) Error ¶
func (e SubjectValidationError) Error() string
Error satisfies the builtin error interface
func (SubjectValidationError) ErrorName ¶
func (e SubjectValidationError) ErrorName() string
ErrorName returns error name.
func (SubjectValidationError) Field ¶
func (e SubjectValidationError) Field() string
Field function returns field value.
func (SubjectValidationError) Key ¶
func (e SubjectValidationError) Key() bool
Key function returns key value.
func (SubjectValidationError) Reason ¶
func (e SubjectValidationError) Reason() string
Reason function returns reason value.
type TokenRequest ¶
type TokenRequest struct { Certificate []byte `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"` SignedChallenge []byte `protobuf:"bytes,2,opt,name=signed_challenge,proto3" json:"signed_challenge,omitempty"` // contains filtered or unexported fields }
func (*TokenRequest) Descriptor
deprecated
func (*TokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use TokenRequest.ProtoReflect.Descriptor instead.
func (*TokenRequest) GetCertificate ¶
func (x *TokenRequest) GetCertificate() []byte
func (*TokenRequest) GetSignedChallenge ¶
func (x *TokenRequest) GetSignedChallenge() []byte
func (*TokenRequest) ProtoMessage ¶
func (*TokenRequest) ProtoMessage()
func (*TokenRequest) ProtoReflect ¶
func (x *TokenRequest) ProtoReflect() protoreflect.Message
func (*TokenRequest) Reset ¶
func (x *TokenRequest) Reset()
func (*TokenRequest) String ¶
func (x *TokenRequest) String() string
func (*TokenRequest) Validate ¶
func (m *TokenRequest) Validate() error
Validate checks the field values on TokenRequest 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 (*TokenRequest) ValidateAll ¶
func (m *TokenRequest) ValidateAll() error
ValidateAll checks the field values on TokenRequest 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 TokenRequestMultiError, or nil if none found.
type TokenRequestMultiError ¶
type TokenRequestMultiError []error
TokenRequestMultiError is an error wrapping multiple validation errors returned by TokenRequest.ValidateAll() if the designated constraints aren't met.
func (TokenRequestMultiError) AllErrors ¶
func (m TokenRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TokenRequestMultiError) Error ¶
func (m TokenRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TokenRequestValidationError ¶
type TokenRequestValidationError struct {
// contains filtered or unexported fields
}
TokenRequestValidationError is the validation error returned by TokenRequest.Validate if the designated constraints aren't met.
func (TokenRequestValidationError) Cause ¶
func (e TokenRequestValidationError) Cause() error
Cause function returns cause value.
func (TokenRequestValidationError) Error ¶
func (e TokenRequestValidationError) Error() string
Error satisfies the builtin error interface
func (TokenRequestValidationError) ErrorName ¶
func (e TokenRequestValidationError) ErrorName() string
ErrorName returns error name.
func (TokenRequestValidationError) Field ¶
func (e TokenRequestValidationError) Field() string
Field function returns field value.
func (TokenRequestValidationError) Key ¶
func (e TokenRequestValidationError) Key() bool
Key function returns key value.
func (TokenRequestValidationError) Reason ¶
func (e TokenRequestValidationError) Reason() string
Reason function returns reason value.
type TokenResponse ¶
type TokenResponse struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` ExpiresOn int64 `protobuf:"varint,2,opt,name=expires_on,proto3" json:"expires_on,omitempty"` // contains filtered or unexported fields }
func (*TokenResponse) Descriptor
deprecated
func (*TokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use TokenResponse.ProtoReflect.Descriptor instead.
func (*TokenResponse) GetExpiresOn ¶
func (x *TokenResponse) GetExpiresOn() int64
func (*TokenResponse) GetToken ¶
func (x *TokenResponse) GetToken() string
func (*TokenResponse) ProtoMessage ¶
func (*TokenResponse) ProtoMessage()
func (*TokenResponse) ProtoReflect ¶
func (x *TokenResponse) ProtoReflect() protoreflect.Message
func (*TokenResponse) Reset ¶
func (x *TokenResponse) Reset()
func (*TokenResponse) String ¶
func (x *TokenResponse) String() string
func (*TokenResponse) Validate ¶
func (m *TokenResponse) Validate() error
Validate checks the field values on TokenResponse 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 (*TokenResponse) ValidateAll ¶
func (m *TokenResponse) ValidateAll() error
ValidateAll checks the field values on TokenResponse 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 TokenResponseMultiError, or nil if none found.
type TokenResponseMultiError ¶
type TokenResponseMultiError []error
TokenResponseMultiError is an error wrapping multiple validation errors returned by TokenResponse.ValidateAll() if the designated constraints aren't met.
func (TokenResponseMultiError) AllErrors ¶
func (m TokenResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TokenResponseMultiError) Error ¶
func (m TokenResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TokenResponseValidationError ¶
type TokenResponseValidationError struct {
// contains filtered or unexported fields
}
TokenResponseValidationError is the validation error returned by TokenResponse.Validate if the designated constraints aren't met.
func (TokenResponseValidationError) Cause ¶
func (e TokenResponseValidationError) Cause() error
Cause function returns cause value.
func (TokenResponseValidationError) Error ¶
func (e TokenResponseValidationError) Error() string
Error satisfies the builtin error interface
func (TokenResponseValidationError) ErrorName ¶
func (e TokenResponseValidationError) ErrorName() string
ErrorName returns error name.
func (TokenResponseValidationError) Field ¶
func (e TokenResponseValidationError) Field() string
Field function returns field value.
func (TokenResponseValidationError) Key ¶
func (e TokenResponseValidationError) Key() bool
Key function returns key value.
func (TokenResponseValidationError) Reason ¶
func (e TokenResponseValidationError) Reason() string
Reason function returns reason value.
type URL ¶
type URL struct { Scheme string `protobuf:"bytes,1,opt,name=scheme,proto3" json:"scheme,omitempty"` Opaque string `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` UserInfo *UserInfo `protobuf:"bytes,3,opt,name=user_info,proto3" json:"user_info,omitempty"` Host string `protobuf:"bytes,4,opt,name=host,proto3" json:"host,omitempty"` Path string `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"` RawPath string `protobuf:"bytes,6,opt,name=raw_path,proto3" json:"raw_path,omitempty"` OmitHost bool `protobuf:"varint,7,opt,name=omit_host,proto3" json:"omit_host,omitempty"` ForceQuery bool `protobuf:"varint,8,opt,name=force_query,proto3" json:"force_query,omitempty"` RawQuery string `protobuf:"bytes,9,opt,name=raw_query,proto3" json:"raw_query,omitempty"` Fragment string `protobuf:"bytes,10,opt,name=fragment,proto3" json:"fragment,omitempty"` RawFragment string `protobuf:"bytes,11,opt,name=raw_fragment,proto3" json:"raw_fragment,omitempty"` // contains filtered or unexported fields }
func (*URL) Descriptor
deprecated
func (*URL) GetForceQuery ¶
func (*URL) GetFragment ¶
func (*URL) GetOmitHost ¶
func (*URL) GetRawFragment ¶
func (*URL) GetRawPath ¶
func (*URL) GetRawQuery ¶
func (*URL) GetUserInfo ¶
func (*URL) ProtoMessage ¶
func (*URL) ProtoMessage()
func (*URL) ProtoReflect ¶
func (x *URL) ProtoReflect() protoreflect.Message
func (*URL) Validate ¶
Validate checks the field values on URL 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 (*URL) ValidateAll ¶
ValidateAll checks the field values on URL 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 URLMultiError, or nil if none found.
type URLMultiError ¶
type URLMultiError []error
URLMultiError is an error wrapping multiple validation errors returned by URL.ValidateAll() if the designated constraints aren't met.
func (URLMultiError) AllErrors ¶
func (m URLMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (URLMultiError) Error ¶
func (m URLMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type URLValidationError ¶
type URLValidationError struct {
// contains filtered or unexported fields
}
URLValidationError is the validation error returned by URL.Validate if the designated constraints aren't met.
func (URLValidationError) Cause ¶
func (e URLValidationError) Cause() error
Cause function returns cause value.
func (URLValidationError) Error ¶
func (e URLValidationError) Error() string
Error satisfies the builtin error interface
func (URLValidationError) ErrorName ¶
func (e URLValidationError) ErrorName() string
ErrorName returns error name.
func (URLValidationError) Field ¶
func (e URLValidationError) Field() string
Field function returns field value.
func (URLValidationError) Key ¶
func (e URLValidationError) Key() bool
Key function returns key value.
func (URLValidationError) Reason ¶
func (e URLValidationError) Reason() string
Reason function returns reason value.
type UnimplementedAuthzServer ¶
type UnimplementedAuthzServer struct { }
UnimplementedAuthzServer must be embedded to have forward compatible implementations.
func (UnimplementedAuthzServer) Login ¶
func (UnimplementedAuthzServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
func (UnimplementedAuthzServer) SignUp ¶
func (UnimplementedAuthzServer) SignUp(context.Context, *SignUpRequest) (*SignUpResponse, error)
func (UnimplementedAuthzServer) Token ¶
func (UnimplementedAuthzServer) Token(context.Context, *TokenRequest) (*TokenResponse, error)
func (UnimplementedAuthzServer) VerifyToken ¶
func (UnimplementedAuthzServer) VerifyToken(context.Context, *AuthRequest) (*AuthResponse, error)
type UnimplementedCertificateAuthorityServer ¶
type UnimplementedCertificateAuthorityServer struct { }
UnimplementedCertificateAuthorityServer must be embedded to have forward compatible implementations.
func (UnimplementedCertificateAuthorityServer) CreateCertificate ¶
func (UnimplementedCertificateAuthorityServer) CreateCertificate(context.Context, *CertificateRequest) (*CertificateResponse, error)
func (UnimplementedCertificateAuthorityServer) DeleteCertificate ¶
func (UnimplementedCertificateAuthorityServer) DeleteCertificate(context.Context, *CertificateDeletionRequest) (*CertificateDeletionResponse, error)
func (UnimplementedCertificateAuthorityServer) DeleteService ¶
func (UnimplementedCertificateAuthorityServer) DeleteService(context.Context, *DeletionRequest) (*DeletionResponse, error)
func (UnimplementedCertificateAuthorityServer) ListCertificates ¶
func (UnimplementedCertificateAuthorityServer) ListCertificates(context.Context, *CertificateRequest) (*ListCertificatesResponse, error)
func (UnimplementedCertificateAuthorityServer) RegisterService ¶
func (UnimplementedCertificateAuthorityServer) RegisterService(context.Context, *CertificateRequest) (*CertificateResponse, error)
func (UnimplementedCertificateAuthorityServer) RootCertificate ¶
func (UnimplementedCertificateAuthorityServer) RootCertificate(context.Context, *RootCertificateRequest) (*RootCertificateResponse, error)
func (UnimplementedCertificateAuthorityServer) VerifyCertificate ¶
func (UnimplementedCertificateAuthorityServer) VerifyCertificate(context.Context, *VerificationRequest) (*VerificationResponse, error)
type UnsafeAuthzServer ¶
type UnsafeAuthzServer interface {
// contains filtered or unexported methods
}
UnsafeAuthzServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthzServer will result in compilation errors.
type UnsafeCertificateAuthorityServer ¶
type UnsafeCertificateAuthorityServer interface {
// contains filtered or unexported methods
}
UnsafeCertificateAuthorityServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CertificateAuthorityServer will result in compilation errors.
type UserInfo ¶
type UserInfo struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` PasswordSet bool `protobuf:"varint,3,opt,name=password_set,proto3" json:"password_set,omitempty"` // contains filtered or unexported fields }
func (*UserInfo) Descriptor
deprecated
func (*UserInfo) GetPassword ¶
func (*UserInfo) GetPasswordSet ¶
func (*UserInfo) GetUsername ¶
func (*UserInfo) ProtoMessage ¶
func (*UserInfo) ProtoMessage()
func (*UserInfo) ProtoReflect ¶
func (x *UserInfo) ProtoReflect() protoreflect.Message
func (*UserInfo) Validate ¶
Validate checks the field values on UserInfo 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 (*UserInfo) ValidateAll ¶
ValidateAll checks the field values on UserInfo 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 UserInfoMultiError, or nil if none found.
type UserInfoMultiError ¶
type UserInfoMultiError []error
UserInfoMultiError is an error wrapping multiple validation errors returned by UserInfo.ValidateAll() if the designated constraints aren't met.
func (UserInfoMultiError) AllErrors ¶
func (m UserInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserInfoMultiError) Error ¶
func (m UserInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserInfoValidationError ¶
type UserInfoValidationError struct {
// contains filtered or unexported fields
}
UserInfoValidationError is the validation error returned by UserInfo.Validate if the designated constraints aren't met.
func (UserInfoValidationError) Cause ¶
func (e UserInfoValidationError) Cause() error
Cause function returns cause value.
func (UserInfoValidationError) Error ¶
func (e UserInfoValidationError) Error() string
Error satisfies the builtin error interface
func (UserInfoValidationError) ErrorName ¶
func (e UserInfoValidationError) ErrorName() string
ErrorName returns error name.
func (UserInfoValidationError) Field ¶
func (e UserInfoValidationError) Field() string
Field function returns field value.
func (UserInfoValidationError) Key ¶
func (e UserInfoValidationError) Key() bool
Key function returns key value.
func (UserInfoValidationError) Reason ¶
func (e UserInfoValidationError) Reason() string
Reason function returns reason value.
type VerificationRequest ¶
type VerificationRequest struct { Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` Certificate []byte `protobuf:"bytes,2,opt,name=certificate,proto3" json:"certificate,omitempty"` // contains filtered or unexported fields }
func (*VerificationRequest) Descriptor
deprecated
func (*VerificationRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerificationRequest.ProtoReflect.Descriptor instead.
func (*VerificationRequest) GetCertificate ¶
func (x *VerificationRequest) GetCertificate() []byte
func (*VerificationRequest) GetService ¶
func (x *VerificationRequest) GetService() string
func (*VerificationRequest) ProtoMessage ¶
func (*VerificationRequest) ProtoMessage()
func (*VerificationRequest) ProtoReflect ¶
func (x *VerificationRequest) ProtoReflect() protoreflect.Message
func (*VerificationRequest) Reset ¶
func (x *VerificationRequest) Reset()
func (*VerificationRequest) String ¶
func (x *VerificationRequest) String() string
func (*VerificationRequest) Validate ¶
func (m *VerificationRequest) Validate() error
Validate checks the field values on VerificationRequest 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 (*VerificationRequest) ValidateAll ¶
func (m *VerificationRequest) ValidateAll() error
ValidateAll checks the field values on VerificationRequest 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 VerificationRequestMultiError, or nil if none found.
type VerificationRequestMultiError ¶
type VerificationRequestMultiError []error
VerificationRequestMultiError is an error wrapping multiple validation errors returned by VerificationRequest.ValidateAll() if the designated constraints aren't met.
func (VerificationRequestMultiError) AllErrors ¶
func (m VerificationRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (VerificationRequestMultiError) Error ¶
func (m VerificationRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type VerificationRequestValidationError ¶
type VerificationRequestValidationError struct {
// contains filtered or unexported fields
}
VerificationRequestValidationError is the validation error returned by VerificationRequest.Validate if the designated constraints aren't met.
func (VerificationRequestValidationError) Cause ¶
func (e VerificationRequestValidationError) Cause() error
Cause function returns cause value.
func (VerificationRequestValidationError) Error ¶
func (e VerificationRequestValidationError) Error() string
Error satisfies the builtin error interface
func (VerificationRequestValidationError) ErrorName ¶
func (e VerificationRequestValidationError) ErrorName() string
ErrorName returns error name.
func (VerificationRequestValidationError) Field ¶
func (e VerificationRequestValidationError) Field() string
Field function returns field value.
func (VerificationRequestValidationError) Key ¶
func (e VerificationRequestValidationError) Key() bool
Key function returns key value.
func (VerificationRequestValidationError) Reason ¶
func (e VerificationRequestValidationError) Reason() string
Reason function returns reason value.
type VerificationResponse ¶
type VerificationResponse struct {
// contains filtered or unexported fields
}
func (*VerificationResponse) Descriptor
deprecated
func (*VerificationResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerificationResponse.ProtoReflect.Descriptor instead.
func (*VerificationResponse) ProtoMessage ¶
func (*VerificationResponse) ProtoMessage()
func (*VerificationResponse) ProtoReflect ¶
func (x *VerificationResponse) ProtoReflect() protoreflect.Message
func (*VerificationResponse) Reset ¶
func (x *VerificationResponse) Reset()
func (*VerificationResponse) String ¶
func (x *VerificationResponse) String() string
func (*VerificationResponse) Validate ¶
func (m *VerificationResponse) Validate() error
Validate checks the field values on VerificationResponse 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 (*VerificationResponse) ValidateAll ¶
func (m *VerificationResponse) ValidateAll() error
ValidateAll checks the field values on VerificationResponse 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 VerificationResponseMultiError, or nil if none found.
type VerificationResponseMultiError ¶
type VerificationResponseMultiError []error
VerificationResponseMultiError is an error wrapping multiple validation errors returned by VerificationResponse.ValidateAll() if the designated constraints aren't met.
func (VerificationResponseMultiError) AllErrors ¶
func (m VerificationResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (VerificationResponseMultiError) Error ¶
func (m VerificationResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type VerificationResponseValidationError ¶
type VerificationResponseValidationError struct {
// contains filtered or unexported fields
}
VerificationResponseValidationError is the validation error returned by VerificationResponse.Validate if the designated constraints aren't met.
func (VerificationResponseValidationError) Cause ¶
func (e VerificationResponseValidationError) Cause() error
Cause function returns cause value.
func (VerificationResponseValidationError) Error ¶
func (e VerificationResponseValidationError) Error() string
Error satisfies the builtin error interface
func (VerificationResponseValidationError) ErrorName ¶
func (e VerificationResponseValidationError) ErrorName() string
ErrorName returns error name.
func (VerificationResponseValidationError) Field ¶
func (e VerificationResponseValidationError) Field() string
Field function returns field value.
func (VerificationResponseValidationError) Key ¶
func (e VerificationResponseValidationError) Key() bool
Key function returns key value.
func (VerificationResponseValidationError) Reason ¶
func (e VerificationResponseValidationError) Reason() string
Reason function returns reason value.