pb

package
v0.0.0-...-d57e8b0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: MIT Imports: 32 Imported by: 0

Documentation

Overview

Package pb is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
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"
)
View Source
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

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

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

View Source
var File_authz_v1_authz_proto protoreflect.FileDescriptor

Functions

func RegisterAuthzHandler

func RegisterAuthzHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

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) Descriptor() ([]byte, []int)

Deprecated: Use Attribute.ProtoReflect.Descriptor instead.

func (*Attribute) GetType

func (x *Attribute) GetType() []int32

func (*Attribute) GetValue

func (x *Attribute) GetValue() string

func (*Attribute) ProtoMessage

func (*Attribute) ProtoMessage()

func (*Attribute) ProtoReflect

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

func (*Attribute) Reset

func (x *Attribute) Reset()

func (*Attribute) String

func (x *Attribute) String() string

func (*Attribute) Validate

func (m *Attribute) Validate() error

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

func (m *Attribute) ValidateAll() error

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

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

Cause function returns cause value.

func (AuthRequestValidationError) Error

Error satisfies the builtin error interface

func (AuthRequestValidationError) ErrorName

func (e AuthRequestValidationError) ErrorName() string

ErrorName returns error name.

func (AuthRequestValidationError) Field

Field function returns field value.

func (AuthRequestValidationError) Key

Key function returns key value.

func (AuthRequestValidationError) Reason

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

Cause function returns cause value.

func (AuthResponseValidationError) Error

Error satisfies the builtin error interface

func (AuthResponseValidationError) ErrorName

func (e AuthResponseValidationError) ErrorName() string

ErrorName returns error name.

func (AuthResponseValidationError) Field

Field function returns field value.

func (AuthResponseValidationError) Key

Key function returns key value.

func (AuthResponseValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use CSR.ProtoReflect.Descriptor instead.

func (*CSR) GetDnsNames

func (x *CSR) GetDnsNames() []string

func (*CSR) GetEmailAddresses

func (x *CSR) GetEmailAddresses() []string

func (*CSR) GetExtensions

func (x *CSR) GetExtensions() []*Extension

func (*CSR) GetExtraExtensions

func (x *CSR) GetExtraExtensions() []*Extension

func (*CSR) GetIpAddresses

func (x *CSR) GetIpAddresses() []*IPAddress

func (*CSR) GetSubject

func (x *CSR) GetSubject() *Subject

func (*CSR) GetUris

func (x *CSR) GetUris() []*URL

func (*CSR) ProtoMessage

func (*CSR) ProtoMessage()

func (*CSR) ProtoReflect

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

func (*CSR) Reset

func (x *CSR) Reset()

func (*CSR) String

func (x *CSR) String() string

func (*CSR) Validate

func (m *CSR) Validate() error

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

func (m *CSR) ValidateAll() error

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.

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 (*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

AllErrors returns a list of validation violation errors.

func (CertificateDeletionRequestMultiError) Error

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

Cause function returns cause value.

func (CertificateDeletionRequestValidationError) Error

Error satisfies the builtin error interface

func (CertificateDeletionRequestValidationError) ErrorName

ErrorName returns error name.

func (CertificateDeletionRequestValidationError) Field

Field function returns field value.

func (CertificateDeletionRequestValidationError) Key

Key function returns key value.

func (CertificateDeletionRequestValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (CertificateDeletionResponseMultiError) Error

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

Cause function returns cause value.

func (CertificateDeletionResponseValidationError) Error

Error satisfies the builtin error interface

func (CertificateDeletionResponseValidationError) ErrorName

ErrorName returns error name.

func (CertificateDeletionResponseValidationError) Field

Field function returns field value.

func (CertificateDeletionResponseValidationError) Key

Key function returns key value.

func (CertificateDeletionResponseValidationError) Reason

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

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

Cause function returns cause value.

func (CertificateRequestValidationError) Error

Error satisfies the builtin error interface

func (CertificateRequestValidationError) ErrorName

ErrorName returns error name.

func (CertificateRequestValidationError) Field

Field function returns field value.

func (CertificateRequestValidationError) Key

Key function returns key value.

func (CertificateRequestValidationError) Reason

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

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

Cause function returns cause value.

func (CertificateResponseValidationError) Error

Error satisfies the builtin error interface

func (CertificateResponseValidationError) ErrorName

ErrorName returns error name.

func (CertificateResponseValidationError) Field

Field function returns field value.

func (CertificateResponseValidationError) Key

Key function returns key value.

func (CertificateResponseValidationError) Reason

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

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

Cause function returns cause value.

func (DeletionRequestValidationError) Error

Error satisfies the builtin error interface

func (DeletionRequestValidationError) ErrorName

func (e DeletionRequestValidationError) ErrorName() string

ErrorName returns error name.

func (DeletionRequestValidationError) Field

Field function returns field value.

func (DeletionRequestValidationError) Key

Key function returns key value.

func (DeletionRequestValidationError) Reason

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

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

Cause function returns cause value.

func (DeletionResponseValidationError) Error

Error satisfies the builtin error interface

func (DeletionResponseValidationError) ErrorName

ErrorName returns error name.

func (DeletionResponseValidationError) Field

Field function returns field value.

func (DeletionResponseValidationError) Key

Key function returns key value.

func (DeletionResponseValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use Extension.ProtoReflect.Descriptor instead.

func (*Extension) GetCritical

func (x *Extension) GetCritical() bool

func (*Extension) GetId

func (x *Extension) GetId() []int32

func (*Extension) GetValue

func (x *Extension) GetValue() []byte

func (*Extension) ProtoMessage

func (*Extension) ProtoMessage()

func (*Extension) ProtoReflect

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

func (*Extension) Reset

func (x *Extension) Reset()

func (*Extension) String

func (x *Extension) String() string

func (*Extension) Validate

func (m *Extension) Validate() error

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

func (m *Extension) ValidateAll() error

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

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) Descriptor() ([]byte, []int)

Deprecated: Use IPAddress.ProtoReflect.Descriptor instead.

func (*IPAddress) GetIp

func (x *IPAddress) GetIp() []byte

func (*IPAddress) ProtoMessage

func (*IPAddress) ProtoMessage()

func (*IPAddress) ProtoReflect

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

func (*IPAddress) Reset

func (x *IPAddress) Reset()

func (*IPAddress) String

func (x *IPAddress) String() string

func (*IPAddress) Validate

func (m *IPAddress) Validate() error

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

func (m *IPAddress) ValidateAll() error

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

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

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

Cause function returns cause value.

func (ListCertificatesResponseValidationError) Error

Error satisfies the builtin error interface

func (ListCertificatesResponseValidationError) ErrorName

ErrorName returns error name.

func (ListCertificatesResponseValidationError) Field

Field function returns field value.

func (ListCertificatesResponseValidationError) Key

Key function returns key value.

func (ListCertificatesResponseValidationError) Reason

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

Cause function returns cause value.

func (LoginRequestValidationError) Error

Error satisfies the builtin error interface

func (LoginRequestValidationError) ErrorName

func (e LoginRequestValidationError) ErrorName() string

ErrorName returns error name.

func (LoginRequestValidationError) Field

Field function returns field value.

func (LoginRequestValidationError) Key

Key function returns key value.

func (LoginRequestValidationError) Reason

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

Cause function returns cause value.

func (LoginResponseValidationError) Error

Error satisfies the builtin error interface

func (LoginResponseValidationError) ErrorName

func (e LoginResponseValidationError) ErrorName() string

ErrorName returns error name.

func (LoginResponseValidationError) Field

Field function returns field value.

func (LoginResponseValidationError) Key

Key function returns key value.

func (LoginResponseValidationError) Reason

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

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

Cause function returns cause value.

func (RootCertificateRequestValidationError) Error

Error satisfies the builtin error interface

func (RootCertificateRequestValidationError) ErrorName

ErrorName returns error name.

func (RootCertificateRequestValidationError) Field

Field function returns field value.

func (RootCertificateRequestValidationError) Key

Key function returns key value.

func (RootCertificateRequestValidationError) Reason

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

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

Cause function returns cause value.

func (RootCertificateResponseValidationError) Error

Error satisfies the builtin error interface

func (RootCertificateResponseValidationError) ErrorName

ErrorName returns error name.

func (RootCertificateResponseValidationError) Field

Field function returns field value.

func (RootCertificateResponseValidationError) Key

Key function returns key value.

func (RootCertificateResponseValidationError) Reason

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

Cause function returns cause value.

func (SignUpRequestValidationError) Error

Error satisfies the builtin error interface

func (SignUpRequestValidationError) ErrorName

func (e SignUpRequestValidationError) ErrorName() string

ErrorName returns error name.

func (SignUpRequestValidationError) Field

Field function returns field value.

func (SignUpRequestValidationError) Key

Key function returns key value.

func (SignUpRequestValidationError) Reason

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

Cause function returns cause value.

func (SignUpResponseValidationError) Error

Error satisfies the builtin error interface

func (SignUpResponseValidationError) ErrorName

func (e SignUpResponseValidationError) ErrorName() string

ErrorName returns error name.

func (SignUpResponseValidationError) Field

Field function returns field value.

func (SignUpResponseValidationError) Key

Key function returns key value.

func (SignUpResponseValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use Subject.ProtoReflect.Descriptor instead.

func (*Subject) GetCommonName

func (x *Subject) GetCommonName() string

func (*Subject) GetCountry

func (x *Subject) GetCountry() []string

func (*Subject) GetExtraNames

func (x *Subject) GetExtraNames() []*Attribute

func (*Subject) GetLocality

func (x *Subject) GetLocality() []string

func (*Subject) GetNames

func (x *Subject) GetNames() []*Attribute

func (*Subject) GetOrganization

func (x *Subject) GetOrganization() []string

func (*Subject) GetOrganizationalUnit

func (x *Subject) GetOrganizationalUnit() []string

func (*Subject) GetPostalCode

func (x *Subject) GetPostalCode() []string

func (*Subject) GetProvince

func (x *Subject) GetProvince() []string

func (*Subject) GetSerialNumber

func (x *Subject) GetSerialNumber() string

func (*Subject) GetStreetAddress

func (x *Subject) GetStreetAddress() []string

func (*Subject) ProtoMessage

func (*Subject) ProtoMessage()

func (*Subject) ProtoReflect

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

func (*Subject) Reset

func (x *Subject) Reset()

func (*Subject) String

func (x *Subject) String() string

func (*Subject) Validate

func (m *Subject) Validate() error

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

func (m *Subject) ValidateAll() error

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

Cause function returns cause value.

func (TokenRequestValidationError) Error

Error satisfies the builtin error interface

func (TokenRequestValidationError) ErrorName

func (e TokenRequestValidationError) ErrorName() string

ErrorName returns error name.

func (TokenRequestValidationError) Field

Field function returns field value.

func (TokenRequestValidationError) Key

Key function returns key value.

func (TokenRequestValidationError) Reason

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

Cause function returns cause value.

func (TokenResponseValidationError) Error

Error satisfies the builtin error interface

func (TokenResponseValidationError) ErrorName

func (e TokenResponseValidationError) ErrorName() string

ErrorName returns error name.

func (TokenResponseValidationError) Field

Field function returns field value.

func (TokenResponseValidationError) Key

Key function returns key value.

func (TokenResponseValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use URL.ProtoReflect.Descriptor instead.

func (*URL) GetForceQuery

func (x *URL) GetForceQuery() bool

func (*URL) GetFragment

func (x *URL) GetFragment() string

func (*URL) GetHost

func (x *URL) GetHost() string

func (*URL) GetOmitHost

func (x *URL) GetOmitHost() bool

func (*URL) GetOpaque

func (x *URL) GetOpaque() string

func (*URL) GetPath

func (x *URL) GetPath() string

func (*URL) GetRawFragment

func (x *URL) GetRawFragment() string

func (*URL) GetRawPath

func (x *URL) GetRawPath() string

func (*URL) GetRawQuery

func (x *URL) GetRawQuery() string

func (*URL) GetScheme

func (x *URL) GetScheme() string

func (*URL) GetUserInfo

func (x *URL) GetUserInfo() *UserInfo

func (*URL) ProtoMessage

func (*URL) ProtoMessage()

func (*URL) ProtoReflect

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

func (*URL) Reset

func (x *URL) Reset()

func (*URL) String

func (x *URL) String() string

func (*URL) Validate

func (m *URL) Validate() error

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

func (m *URL) ValidateAll() error

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) SignUp

func (UnimplementedAuthzServer) Token

func (UnimplementedAuthzServer) VerifyToken

type UnimplementedCertificateAuthorityServer

type UnimplementedCertificateAuthorityServer struct {
}

UnimplementedCertificateAuthorityServer must be embedded to have forward compatible implementations.

func (UnimplementedCertificateAuthorityServer) CreateCertificate

func (UnimplementedCertificateAuthorityServer) DeleteCertificate

func (UnimplementedCertificateAuthorityServer) DeleteService

func (UnimplementedCertificateAuthorityServer) ListCertificates

func (UnimplementedCertificateAuthorityServer) RegisterService

func (UnimplementedCertificateAuthorityServer) RootCertificate

func (UnimplementedCertificateAuthorityServer) VerifyCertificate

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) Descriptor() ([]byte, []int)

Deprecated: Use UserInfo.ProtoReflect.Descriptor instead.

func (*UserInfo) GetPassword

func (x *UserInfo) GetPassword() string

func (*UserInfo) GetPasswordSet

func (x *UserInfo) GetPasswordSet() bool

func (*UserInfo) GetUsername

func (x *UserInfo) GetUsername() string

func (*UserInfo) ProtoMessage

func (*UserInfo) ProtoMessage()

func (*UserInfo) ProtoReflect

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

func (*UserInfo) Reset

func (x *UserInfo) Reset()

func (*UserInfo) String

func (x *UserInfo) String() string

func (*UserInfo) Validate

func (m *UserInfo) Validate() error

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

func (m *UserInfo) ValidateAll() error

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

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

Cause function returns cause value.

func (VerificationRequestValidationError) Error

Error satisfies the builtin error interface

func (VerificationRequestValidationError) ErrorName

ErrorName returns error name.

func (VerificationRequestValidationError) Field

Field function returns field value.

func (VerificationRequestValidationError) Key

Key function returns key value.

func (VerificationRequestValidationError) Reason

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

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

Cause function returns cause value.

func (VerificationResponseValidationError) Error

Error satisfies the builtin error interface

func (VerificationResponseValidationError) ErrorName

ErrorName returns error name.

func (VerificationResponseValidationError) Field

Field function returns field value.

func (VerificationResponseValidationError) Key

Key function returns key value.

func (VerificationResponseValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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