n13t_idm_v0

package
v0.7.17 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2020 License: MIT Imports: 20 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HealthCheckResponse_ServingStatus_name = map[int32]string{
	0: "UNKNOWN",
	1: "SERVING",
	2: "NOT_SERVING",
}
View Source
var HealthCheckResponse_ServingStatus_value = map[string]int32{
	"UNKNOWN":     0,
	"SERVING":     1,
	"NOT_SERVING": 2,
}

Functions

func RegisterIdentityManagementServer

func RegisterIdentityManagementServer(s *grpc.Server, srv IdentityManagementServer)

Types

type ConcatReply

type ConcatReply struct {
	V                    string   `protobuf:"bytes,1,opt,name=v,proto3" json:"v,omitempty"`
	Err                  string   `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The Concat response contains the result of the concatenation.

func (*ConcatReply) Descriptor

func (*ConcatReply) Descriptor() ([]byte, []int)

func (*ConcatReply) GetErr

func (m *ConcatReply) GetErr() string

func (*ConcatReply) GetV

func (m *ConcatReply) GetV() string

func (*ConcatReply) ProtoMessage

func (*ConcatReply) ProtoMessage()

func (*ConcatReply) Reset

func (m *ConcatReply) Reset()

func (*ConcatReply) String

func (m *ConcatReply) String() string

func (*ConcatReply) Validate

func (m *ConcatReply) Validate() error

Validate checks the field values on ConcatReply with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ConcatReply) XXX_DiscardUnknown

func (m *ConcatReply) XXX_DiscardUnknown()

func (*ConcatReply) XXX_Marshal

func (m *ConcatReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConcatReply) XXX_Merge

func (m *ConcatReply) XXX_Merge(src proto.Message)

func (*ConcatReply) XXX_Size

func (m *ConcatReply) XXX_Size() int

func (*ConcatReply) XXX_Unmarshal

func (m *ConcatReply) XXX_Unmarshal(b []byte) error

type ConcatReplyValidationError

type ConcatReplyValidationError struct {
	// contains filtered or unexported fields
}

ConcatReplyValidationError is the validation error returned by ConcatReply.Validate if the designated constraints aren't met.

func (ConcatReplyValidationError) Cause

Cause function returns cause value.

func (ConcatReplyValidationError) Error

Error satisfies the builtin error interface

func (ConcatReplyValidationError) ErrorName

func (e ConcatReplyValidationError) ErrorName() string

ErrorName returns error name.

func (ConcatReplyValidationError) Field

Field function returns field value.

func (ConcatReplyValidationError) Key

Key function returns key value.

func (ConcatReplyValidationError) Reason

Reason function returns reason value.

type ConcatRequest

type ConcatRequest struct {
	A                    string   `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"`
	B                    string   `protobuf:"bytes,2,opt,name=b,proto3" json:"b,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The Concat request contains two parameters.

func (*ConcatRequest) Descriptor

func (*ConcatRequest) Descriptor() ([]byte, []int)

func (*ConcatRequest) GetA

func (m *ConcatRequest) GetA() string

func (*ConcatRequest) GetB

func (m *ConcatRequest) GetB() string

func (*ConcatRequest) ProtoMessage

func (*ConcatRequest) ProtoMessage()

func (*ConcatRequest) Reset

func (m *ConcatRequest) Reset()

func (*ConcatRequest) String

func (m *ConcatRequest) String() string

func (*ConcatRequest) Validate

func (m *ConcatRequest) Validate() error

Validate checks the field values on ConcatRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ConcatRequest) XXX_DiscardUnknown

func (m *ConcatRequest) XXX_DiscardUnknown()

func (*ConcatRequest) XXX_Marshal

func (m *ConcatRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConcatRequest) XXX_Merge

func (m *ConcatRequest) XXX_Merge(src proto.Message)

func (*ConcatRequest) XXX_Size

func (m *ConcatRequest) XXX_Size() int

func (*ConcatRequest) XXX_Unmarshal

func (m *ConcatRequest) XXX_Unmarshal(b []byte) error

type ConcatRequestValidationError

type ConcatRequestValidationError struct {
	// contains filtered or unexported fields
}

ConcatRequestValidationError is the validation error returned by ConcatRequest.Validate if the designated constraints aren't met.

func (ConcatRequestValidationError) Cause

Cause function returns cause value.

func (ConcatRequestValidationError) Error

Error satisfies the builtin error interface

func (ConcatRequestValidationError) ErrorName

func (e ConcatRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ConcatRequestValidationError) Field

Field function returns field value.

func (ConcatRequestValidationError) Key

Key function returns key value.

func (ConcatRequestValidationError) Reason

Reason function returns reason value.

type CreateUserRequest added in v0.7.12

type CreateUserRequest struct {
	User                 *User    `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Password             string   `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateUserRequest) Descriptor added in v0.7.12

func (*CreateUserRequest) Descriptor() ([]byte, []int)

func (*CreateUserRequest) GetPassword added in v0.7.13

func (m *CreateUserRequest) GetPassword() string

func (*CreateUserRequest) GetUser added in v0.7.12

func (m *CreateUserRequest) GetUser() *User

func (*CreateUserRequest) ProtoMessage added in v0.7.12

func (*CreateUserRequest) ProtoMessage()

func (*CreateUserRequest) Reset added in v0.7.12

func (m *CreateUserRequest) Reset()

func (*CreateUserRequest) String added in v0.7.12

func (m *CreateUserRequest) String() string

func (*CreateUserRequest) Validate added in v0.7.12

func (m *CreateUserRequest) Validate() error

Validate checks the field values on CreateUserRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*CreateUserRequest) XXX_DiscardUnknown added in v0.7.12

func (m *CreateUserRequest) XXX_DiscardUnknown()

func (*CreateUserRequest) XXX_Marshal added in v0.7.12

func (m *CreateUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateUserRequest) XXX_Merge added in v0.7.12

func (m *CreateUserRequest) XXX_Merge(src proto.Message)

func (*CreateUserRequest) XXX_Size added in v0.7.12

func (m *CreateUserRequest) XXX_Size() int

func (*CreateUserRequest) XXX_Unmarshal added in v0.7.12

func (m *CreateUserRequest) XXX_Unmarshal(b []byte) error

type CreateUserRequestValidationError added in v0.7.12

type CreateUserRequestValidationError struct {
	// contains filtered or unexported fields
}

CreateUserRequestValidationError is the validation error returned by CreateUserRequest.Validate if the designated constraints aren't met.

func (CreateUserRequestValidationError) Cause added in v0.7.12

Cause function returns cause value.

func (CreateUserRequestValidationError) Error added in v0.7.12

Error satisfies the builtin error interface

func (CreateUserRequestValidationError) ErrorName added in v0.7.12

ErrorName returns error name.

func (CreateUserRequestValidationError) Field added in v0.7.12

Field function returns field value.

func (CreateUserRequestValidationError) Key added in v0.7.12

Key function returns key value.

func (CreateUserRequestValidationError) Reason added in v0.7.12

Reason function returns reason value.

type CreateUserResponse added in v0.7.12

type CreateUserResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateUserResponse) Descriptor added in v0.7.12

func (*CreateUserResponse) Descriptor() ([]byte, []int)

func (*CreateUserResponse) ProtoMessage added in v0.7.12

func (*CreateUserResponse) ProtoMessage()

func (*CreateUserResponse) Reset added in v0.7.12

func (m *CreateUserResponse) Reset()

func (*CreateUserResponse) String added in v0.7.12

func (m *CreateUserResponse) String() string

func (*CreateUserResponse) Validate added in v0.7.12

func (m *CreateUserResponse) Validate() error

Validate checks the field values on CreateUserResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*CreateUserResponse) XXX_DiscardUnknown added in v0.7.12

func (m *CreateUserResponse) XXX_DiscardUnknown()

func (*CreateUserResponse) XXX_Marshal added in v0.7.12

func (m *CreateUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateUserResponse) XXX_Merge added in v0.7.12

func (m *CreateUserResponse) XXX_Merge(src proto.Message)

func (*CreateUserResponse) XXX_Size added in v0.7.12

func (m *CreateUserResponse) XXX_Size() int

func (*CreateUserResponse) XXX_Unmarshal added in v0.7.12

func (m *CreateUserResponse) XXX_Unmarshal(b []byte) error

type CreateUserResponseValidationError added in v0.7.12

type CreateUserResponseValidationError struct {
	// contains filtered or unexported fields
}

CreateUserResponseValidationError is the validation error returned by CreateUserResponse.Validate if the designated constraints aren't met.

func (CreateUserResponseValidationError) Cause added in v0.7.12

Cause function returns cause value.

func (CreateUserResponseValidationError) Error added in v0.7.12

Error satisfies the builtin error interface

func (CreateUserResponseValidationError) ErrorName added in v0.7.12

ErrorName returns error name.

func (CreateUserResponseValidationError) Field added in v0.7.12

Field function returns field value.

func (CreateUserResponseValidationError) Key added in v0.7.12

Key function returns key value.

func (CreateUserResponseValidationError) Reason added in v0.7.12

Reason function returns reason value.

type HealthCheckRequest

type HealthCheckRequest struct {
	Service              string   `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HealthCheckRequest) Descriptor

func (*HealthCheckRequest) Descriptor() ([]byte, []int)

func (*HealthCheckRequest) GetService

func (m *HealthCheckRequest) GetService() string

func (*HealthCheckRequest) ProtoMessage

func (*HealthCheckRequest) ProtoMessage()

func (*HealthCheckRequest) Reset

func (m *HealthCheckRequest) Reset()

func (*HealthCheckRequest) String

func (m *HealthCheckRequest) String() string

func (*HealthCheckRequest) Validate

func (m *HealthCheckRequest) Validate() error

Validate checks the field values on HealthCheckRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*HealthCheckRequest) XXX_DiscardUnknown

func (m *HealthCheckRequest) XXX_DiscardUnknown()

func (*HealthCheckRequest) XXX_Marshal

func (m *HealthCheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HealthCheckRequest) XXX_Merge

func (m *HealthCheckRequest) XXX_Merge(src proto.Message)

func (*HealthCheckRequest) XXX_Size

func (m *HealthCheckRequest) XXX_Size() int

func (*HealthCheckRequest) XXX_Unmarshal

func (m *HealthCheckRequest) XXX_Unmarshal(b []byte) error

type HealthCheckRequestValidationError

type HealthCheckRequestValidationError struct {
	// contains filtered or unexported fields
}

HealthCheckRequestValidationError is the validation error returned by HealthCheckRequest.Validate if the designated constraints aren't met.

func (HealthCheckRequestValidationError) Cause

Cause function returns cause value.

func (HealthCheckRequestValidationError) Error

Error satisfies the builtin error interface

func (HealthCheckRequestValidationError) ErrorName

ErrorName returns error name.

func (HealthCheckRequestValidationError) Field

Field function returns field value.

func (HealthCheckRequestValidationError) Key

Key function returns key value.

func (HealthCheckRequestValidationError) Reason

Reason function returns reason value.

type HealthCheckResponse

type HealthCheckResponse struct {
	Status               HealthCheckResponse_ServingStatus `protobuf:"varint,1,opt,name=status,proto3,enum=n13t.idm.v0.HealthCheckResponse_ServingStatus" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                          `json:"-"`
	XXX_unrecognized     []byte                            `json:"-"`
	XXX_sizecache        int32                             `json:"-"`
}

func (*HealthCheckResponse) Descriptor

func (*HealthCheckResponse) Descriptor() ([]byte, []int)

func (*HealthCheckResponse) GetStatus

func (*HealthCheckResponse) ProtoMessage

func (*HealthCheckResponse) ProtoMessage()

func (*HealthCheckResponse) Reset

func (m *HealthCheckResponse) Reset()

func (*HealthCheckResponse) String

func (m *HealthCheckResponse) String() string

func (*HealthCheckResponse) Validate

func (m *HealthCheckResponse) Validate() error

Validate checks the field values on HealthCheckResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*HealthCheckResponse) XXX_DiscardUnknown

func (m *HealthCheckResponse) XXX_DiscardUnknown()

func (*HealthCheckResponse) XXX_Marshal

func (m *HealthCheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HealthCheckResponse) XXX_Merge

func (m *HealthCheckResponse) XXX_Merge(src proto.Message)

func (*HealthCheckResponse) XXX_Size

func (m *HealthCheckResponse) XXX_Size() int

func (*HealthCheckResponse) XXX_Unmarshal

func (m *HealthCheckResponse) XXX_Unmarshal(b []byte) error

type HealthCheckResponseValidationError

type HealthCheckResponseValidationError struct {
	// contains filtered or unexported fields
}

HealthCheckResponseValidationError is the validation error returned by HealthCheckResponse.Validate if the designated constraints aren't met.

func (HealthCheckResponseValidationError) Cause

Cause function returns cause value.

func (HealthCheckResponseValidationError) Error

Error satisfies the builtin error interface

func (HealthCheckResponseValidationError) ErrorName

ErrorName returns error name.

func (HealthCheckResponseValidationError) Field

Field function returns field value.

func (HealthCheckResponseValidationError) Key

Key function returns key value.

func (HealthCheckResponseValidationError) Reason

Reason function returns reason value.

type HealthCheckResponse_ServingStatus

type HealthCheckResponse_ServingStatus int32
const (
	HealthCheckResponse_UNKNOWN     HealthCheckResponse_ServingStatus = 0
	HealthCheckResponse_SERVING     HealthCheckResponse_ServingStatus = 1
	HealthCheckResponse_NOT_SERVING HealthCheckResponse_ServingStatus = 2
)

func (HealthCheckResponse_ServingStatus) EnumDescriptor

func (HealthCheckResponse_ServingStatus) EnumDescriptor() ([]byte, []int)

func (HealthCheckResponse_ServingStatus) String

type IdentityManagementClient

type IdentityManagementClient interface {
	// Sums two integers.
	Sum(ctx context.Context, in *SumRequest, opts ...grpc.CallOption) (*SumReply, error)
	// Concatenates two strings
	Concat(ctx context.Context, in *ConcatRequest, opts ...grpc.CallOption) (*ConcatReply, error)
	CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error)
	UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserResponse, error)
	Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchResponse, error)
	// for keycloak to check password
	IsValid(ctx context.Context, in *IsValidRequest, opts ...grpc.CallOption) (*IsValidResponse, error)
	// https://github.com/grpc/grpc/blob/master/doc/health-checking.md
	Check(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (*HealthCheckResponse, error)
}

IdentityManagementClient is the client API for IdentityManagement service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type IdentityManagementServer

type IdentityManagementServer interface {
	// Sums two integers.
	Sum(context.Context, *SumRequest) (*SumReply, error)
	// Concatenates two strings
	Concat(context.Context, *ConcatRequest) (*ConcatReply, error)
	CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
	UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error)
	Search(context.Context, *SearchRequest) (*SearchResponse, error)
	// for keycloak to check password
	IsValid(context.Context, *IsValidRequest) (*IsValidResponse, error)
	// https://github.com/grpc/grpc/blob/master/doc/health-checking.md
	Check(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error)
}

IdentityManagementServer is the server API for IdentityManagement service.

type IsValidRequest added in v0.7.16

type IsValidRequest struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Password             string   `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*IsValidRequest) Descriptor added in v0.7.16

func (*IsValidRequest) Descriptor() ([]byte, []int)

func (*IsValidRequest) GetId added in v0.7.17

func (m *IsValidRequest) GetId() string

func (*IsValidRequest) GetPassword added in v0.7.16

func (m *IsValidRequest) GetPassword() string

func (*IsValidRequest) ProtoMessage added in v0.7.16

func (*IsValidRequest) ProtoMessage()

func (*IsValidRequest) Reset added in v0.7.16

func (m *IsValidRequest) Reset()

func (*IsValidRequest) String added in v0.7.16

func (m *IsValidRequest) String() string

func (*IsValidRequest) Validate added in v0.7.16

func (m *IsValidRequest) Validate() error

Validate checks the field values on IsValidRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*IsValidRequest) XXX_DiscardUnknown added in v0.7.16

func (m *IsValidRequest) XXX_DiscardUnknown()

func (*IsValidRequest) XXX_Marshal added in v0.7.16

func (m *IsValidRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IsValidRequest) XXX_Merge added in v0.7.16

func (m *IsValidRequest) XXX_Merge(src proto.Message)

func (*IsValidRequest) XXX_Size added in v0.7.16

func (m *IsValidRequest) XXX_Size() int

func (*IsValidRequest) XXX_Unmarshal added in v0.7.16

func (m *IsValidRequest) XXX_Unmarshal(b []byte) error

type IsValidRequestValidationError added in v0.7.16

type IsValidRequestValidationError struct {
	// contains filtered or unexported fields
}

IsValidRequestValidationError is the validation error returned by IsValidRequest.Validate if the designated constraints aren't met.

func (IsValidRequestValidationError) Cause added in v0.7.16

Cause function returns cause value.

func (IsValidRequestValidationError) Error added in v0.7.16

Error satisfies the builtin error interface

func (IsValidRequestValidationError) ErrorName added in v0.7.16

func (e IsValidRequestValidationError) ErrorName() string

ErrorName returns error name.

func (IsValidRequestValidationError) Field added in v0.7.16

Field function returns field value.

func (IsValidRequestValidationError) Key added in v0.7.16

Key function returns key value.

func (IsValidRequestValidationError) Reason added in v0.7.16

Reason function returns reason value.

type IsValidResponse added in v0.7.16

type IsValidResponse struct {
	V                    string   `protobuf:"bytes,1,opt,name=v,proto3" json:"v,omitempty"`
	Err                  string   `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*IsValidResponse) Descriptor added in v0.7.16

func (*IsValidResponse) Descriptor() ([]byte, []int)

func (*IsValidResponse) GetErr added in v0.7.16

func (m *IsValidResponse) GetErr() string

func (*IsValidResponse) GetV added in v0.7.16

func (m *IsValidResponse) GetV() string

func (*IsValidResponse) ProtoMessage added in v0.7.16

func (*IsValidResponse) ProtoMessage()

func (*IsValidResponse) Reset added in v0.7.16

func (m *IsValidResponse) Reset()

func (*IsValidResponse) String added in v0.7.16

func (m *IsValidResponse) String() string

func (*IsValidResponse) Validate added in v0.7.16

func (m *IsValidResponse) Validate() error

Validate checks the field values on IsValidResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*IsValidResponse) XXX_DiscardUnknown added in v0.7.16

func (m *IsValidResponse) XXX_DiscardUnknown()

func (*IsValidResponse) XXX_Marshal added in v0.7.16

func (m *IsValidResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IsValidResponse) XXX_Merge added in v0.7.16

func (m *IsValidResponse) XXX_Merge(src proto.Message)

func (*IsValidResponse) XXX_Size added in v0.7.16

func (m *IsValidResponse) XXX_Size() int

func (*IsValidResponse) XXX_Unmarshal added in v0.7.16

func (m *IsValidResponse) XXX_Unmarshal(b []byte) error

type IsValidResponseValidationError added in v0.7.16

type IsValidResponseValidationError struct {
	// contains filtered or unexported fields
}

IsValidResponseValidationError is the validation error returned by IsValidResponse.Validate if the designated constraints aren't met.

func (IsValidResponseValidationError) Cause added in v0.7.16

Cause function returns cause value.

func (IsValidResponseValidationError) Error added in v0.7.16

Error satisfies the builtin error interface

func (IsValidResponseValidationError) ErrorName added in v0.7.16

func (e IsValidResponseValidationError) ErrorName() string

ErrorName returns error name.

func (IsValidResponseValidationError) Field added in v0.7.16

Field function returns field value.

func (IsValidResponseValidationError) Key added in v0.7.16

Key function returns key value.

func (IsValidResponseValidationError) Reason added in v0.7.16

Reason function returns reason value.

type ListUsersRequest

type ListUsersRequest struct {
	Search               string   `protobuf:"bytes,1,opt,name=search,proto3" json:"search,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListUsersRequest) Descriptor

func (*ListUsersRequest) Descriptor() ([]byte, []int)

func (*ListUsersRequest) GetSearch

func (m *ListUsersRequest) GetSearch() string

func (*ListUsersRequest) ProtoMessage

func (*ListUsersRequest) ProtoMessage()

func (*ListUsersRequest) Reset

func (m *ListUsersRequest) Reset()

func (*ListUsersRequest) String

func (m *ListUsersRequest) String() string

func (*ListUsersRequest) Validate

func (m *ListUsersRequest) Validate() error

Validate checks the field values on ListUsersRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ListUsersRequest) XXX_DiscardUnknown

func (m *ListUsersRequest) XXX_DiscardUnknown()

func (*ListUsersRequest) XXX_Marshal

func (m *ListUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListUsersRequest) XXX_Merge

func (m *ListUsersRequest) XXX_Merge(src proto.Message)

func (*ListUsersRequest) XXX_Size

func (m *ListUsersRequest) XXX_Size() int

func (*ListUsersRequest) XXX_Unmarshal

func (m *ListUsersRequest) XXX_Unmarshal(b []byte) error

type ListUsersRequestValidationError

type ListUsersRequestValidationError struct {
	// contains filtered or unexported fields
}

ListUsersRequestValidationError is the validation error returned by ListUsersRequest.Validate if the designated constraints aren't met.

func (ListUsersRequestValidationError) Cause

Cause function returns cause value.

func (ListUsersRequestValidationError) Error

Error satisfies the builtin error interface

func (ListUsersRequestValidationError) ErrorName

ErrorName returns error name.

func (ListUsersRequestValidationError) Field

Field function returns field value.

func (ListUsersRequestValidationError) Key

Key function returns key value.

func (ListUsersRequestValidationError) Reason

Reason function returns reason value.

type SearchRequest

type SearchRequest struct {
	Index                string   `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
	Query                string   `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
	Limit                int32    `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset               int32    `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SearchRequest) Descriptor

func (*SearchRequest) Descriptor() ([]byte, []int)

func (*SearchRequest) GetIndex added in v0.7.14

func (m *SearchRequest) GetIndex() string

func (*SearchRequest) GetLimit added in v0.7.14

func (m *SearchRequest) GetLimit() int32

func (*SearchRequest) GetOffset added in v0.7.14

func (m *SearchRequest) GetOffset() int32

func (*SearchRequest) GetQuery

func (m *SearchRequest) GetQuery() string

func (*SearchRequest) ProtoMessage

func (*SearchRequest) ProtoMessage()

func (*SearchRequest) Reset

func (m *SearchRequest) Reset()

func (*SearchRequest) String

func (m *SearchRequest) String() string

func (*SearchRequest) Validate

func (m *SearchRequest) Validate() error

Validate checks the field values on SearchRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*SearchRequest) XXX_DiscardUnknown

func (m *SearchRequest) XXX_DiscardUnknown()

func (*SearchRequest) XXX_Marshal

func (m *SearchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SearchRequest) XXX_Merge

func (m *SearchRequest) XXX_Merge(src proto.Message)

func (*SearchRequest) XXX_Size

func (m *SearchRequest) XXX_Size() int

func (*SearchRequest) XXX_Unmarshal

func (m *SearchRequest) XXX_Unmarshal(b []byte) error

type SearchRequestValidationError

type SearchRequestValidationError struct {
	// contains filtered or unexported fields
}

SearchRequestValidationError is the validation error returned by SearchRequest.Validate if the designated constraints aren't met.

func (SearchRequestValidationError) Cause

Cause function returns cause value.

func (SearchRequestValidationError) Error

Error satisfies the builtin error interface

func (SearchRequestValidationError) ErrorName

func (e SearchRequestValidationError) ErrorName() string

ErrorName returns error name.

func (SearchRequestValidationError) Field

Field function returns field value.

func (SearchRequestValidationError) Key

Key function returns key value.

func (SearchRequestValidationError) Reason

Reason function returns reason value.

type SearchResponse added in v0.7.14

type SearchResponse struct {
	Users                []*User  `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	Err                  string   `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SearchResponse) Descriptor added in v0.7.14

func (*SearchResponse) Descriptor() ([]byte, []int)

func (*SearchResponse) GetErr added in v0.7.15

func (m *SearchResponse) GetErr() string

func (*SearchResponse) GetUsers added in v0.7.14

func (m *SearchResponse) GetUsers() []*User

func (*SearchResponse) ProtoMessage added in v0.7.14

func (*SearchResponse) ProtoMessage()

func (*SearchResponse) Reset added in v0.7.14

func (m *SearchResponse) Reset()

func (*SearchResponse) String added in v0.7.14

func (m *SearchResponse) String() string

func (*SearchResponse) Validate added in v0.7.14

func (m *SearchResponse) Validate() error

Validate checks the field values on SearchResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*SearchResponse) XXX_DiscardUnknown added in v0.7.14

func (m *SearchResponse) XXX_DiscardUnknown()

func (*SearchResponse) XXX_Marshal added in v0.7.14

func (m *SearchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SearchResponse) XXX_Merge added in v0.7.14

func (m *SearchResponse) XXX_Merge(src proto.Message)

func (*SearchResponse) XXX_Size added in v0.7.14

func (m *SearchResponse) XXX_Size() int

func (*SearchResponse) XXX_Unmarshal added in v0.7.14

func (m *SearchResponse) XXX_Unmarshal(b []byte) error

type SearchResponseValidationError added in v0.7.14

type SearchResponseValidationError struct {
	// contains filtered or unexported fields
}

SearchResponseValidationError is the validation error returned by SearchResponse.Validate if the designated constraints aren't met.

func (SearchResponseValidationError) Cause added in v0.7.14

Cause function returns cause value.

func (SearchResponseValidationError) Error added in v0.7.14

Error satisfies the builtin error interface

func (SearchResponseValidationError) ErrorName added in v0.7.14

func (e SearchResponseValidationError) ErrorName() string

ErrorName returns error name.

func (SearchResponseValidationError) Field added in v0.7.14

Field function returns field value.

func (SearchResponseValidationError) Key added in v0.7.14

Key function returns key value.

func (SearchResponseValidationError) Reason added in v0.7.14

Reason function returns reason value.

type SumReply

type SumReply struct {
	V                    int64    `protobuf:"varint,1,opt,name=v,proto3" json:"v,omitempty"`
	Err                  string   `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The sum response contains the result of the calculation.

func (*SumReply) Descriptor

func (*SumReply) Descriptor() ([]byte, []int)

func (*SumReply) GetErr

func (m *SumReply) GetErr() string

func (*SumReply) GetV

func (m *SumReply) GetV() int64

func (*SumReply) ProtoMessage

func (*SumReply) ProtoMessage()

func (*SumReply) Reset

func (m *SumReply) Reset()

func (*SumReply) String

func (m *SumReply) String() string

func (*SumReply) Validate

func (m *SumReply) Validate() error

Validate checks the field values on SumReply with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*SumReply) XXX_DiscardUnknown

func (m *SumReply) XXX_DiscardUnknown()

func (*SumReply) XXX_Marshal

func (m *SumReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SumReply) XXX_Merge

func (m *SumReply) XXX_Merge(src proto.Message)

func (*SumReply) XXX_Size

func (m *SumReply) XXX_Size() int

func (*SumReply) XXX_Unmarshal

func (m *SumReply) XXX_Unmarshal(b []byte) error

type SumReplyValidationError

type SumReplyValidationError struct {
	// contains filtered or unexported fields
}

SumReplyValidationError is the validation error returned by SumReply.Validate if the designated constraints aren't met.

func (SumReplyValidationError) Cause

func (e SumReplyValidationError) Cause() error

Cause function returns cause value.

func (SumReplyValidationError) Error

func (e SumReplyValidationError) Error() string

Error satisfies the builtin error interface

func (SumReplyValidationError) ErrorName

func (e SumReplyValidationError) ErrorName() string

ErrorName returns error name.

func (SumReplyValidationError) Field

func (e SumReplyValidationError) Field() string

Field function returns field value.

func (SumReplyValidationError) Key

func (e SumReplyValidationError) Key() bool

Key function returns key value.

func (SumReplyValidationError) Reason

func (e SumReplyValidationError) Reason() string

Reason function returns reason value.

type SumRequest

type SumRequest struct {
	A                    int64    `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"`
	B                    int64    `protobuf:"varint,2,opt,name=b,proto3" json:"b,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The sum request contains two parameters.

func (*SumRequest) Descriptor

func (*SumRequest) Descriptor() ([]byte, []int)

func (*SumRequest) GetA

func (m *SumRequest) GetA() int64

func (*SumRequest) GetB

func (m *SumRequest) GetB() int64

func (*SumRequest) ProtoMessage

func (*SumRequest) ProtoMessage()

func (*SumRequest) Reset

func (m *SumRequest) Reset()

func (*SumRequest) String

func (m *SumRequest) String() string

func (*SumRequest) Validate

func (m *SumRequest) Validate() error

Validate checks the field values on SumRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*SumRequest) XXX_DiscardUnknown

func (m *SumRequest) XXX_DiscardUnknown()

func (*SumRequest) XXX_Marshal

func (m *SumRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SumRequest) XXX_Merge

func (m *SumRequest) XXX_Merge(src proto.Message)

func (*SumRequest) XXX_Size

func (m *SumRequest) XXX_Size() int

func (*SumRequest) XXX_Unmarshal

func (m *SumRequest) XXX_Unmarshal(b []byte) error

type SumRequestValidationError

type SumRequestValidationError struct {
	// contains filtered or unexported fields
}

SumRequestValidationError is the validation error returned by SumRequest.Validate if the designated constraints aren't met.

func (SumRequestValidationError) Cause

func (e SumRequestValidationError) Cause() error

Cause function returns cause value.

func (SumRequestValidationError) Error

Error satisfies the builtin error interface

func (SumRequestValidationError) ErrorName

func (e SumRequestValidationError) ErrorName() string

ErrorName returns error name.

func (SumRequestValidationError) Field

Field function returns field value.

func (SumRequestValidationError) Key

Key function returns key value.

func (SumRequestValidationError) Reason

func (e SumRequestValidationError) Reason() string

Reason function returns reason value.

type UnimplementedIdentityManagementServer

type UnimplementedIdentityManagementServer struct {
}

UnimplementedIdentityManagementServer can be embedded to have forward compatible implementations.

func (*UnimplementedIdentityManagementServer) Check

func (*UnimplementedIdentityManagementServer) Concat

func (*UnimplementedIdentityManagementServer) CreateUser

func (*UnimplementedIdentityManagementServer) IsValid added in v0.7.16

func (*UnimplementedIdentityManagementServer) Search added in v0.7.14

func (*UnimplementedIdentityManagementServer) Sum

func (*UnimplementedIdentityManagementServer) UpdateUser

type UpdateUserRequest added in v0.7.13

type UpdateUserRequest struct {
	User                 *User    `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdateUserRequest) Descriptor added in v0.7.13

func (*UpdateUserRequest) Descriptor() ([]byte, []int)

func (*UpdateUserRequest) GetUser added in v0.7.13

func (m *UpdateUserRequest) GetUser() *User

func (*UpdateUserRequest) ProtoMessage added in v0.7.13

func (*UpdateUserRequest) ProtoMessage()

func (*UpdateUserRequest) Reset added in v0.7.13

func (m *UpdateUserRequest) Reset()

func (*UpdateUserRequest) String added in v0.7.13

func (m *UpdateUserRequest) String() string

func (*UpdateUserRequest) Validate added in v0.7.13

func (m *UpdateUserRequest) Validate() error

Validate checks the field values on UpdateUserRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*UpdateUserRequest) XXX_DiscardUnknown added in v0.7.13

func (m *UpdateUserRequest) XXX_DiscardUnknown()

func (*UpdateUserRequest) XXX_Marshal added in v0.7.13

func (m *UpdateUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateUserRequest) XXX_Merge added in v0.7.13

func (m *UpdateUserRequest) XXX_Merge(src proto.Message)

func (*UpdateUserRequest) XXX_Size added in v0.7.13

func (m *UpdateUserRequest) XXX_Size() int

func (*UpdateUserRequest) XXX_Unmarshal added in v0.7.13

func (m *UpdateUserRequest) XXX_Unmarshal(b []byte) error

type UpdateUserRequestValidationError added in v0.7.13

type UpdateUserRequestValidationError struct {
	// contains filtered or unexported fields
}

UpdateUserRequestValidationError is the validation error returned by UpdateUserRequest.Validate if the designated constraints aren't met.

func (UpdateUserRequestValidationError) Cause added in v0.7.13

Cause function returns cause value.

func (UpdateUserRequestValidationError) Error added in v0.7.13

Error satisfies the builtin error interface

func (UpdateUserRequestValidationError) ErrorName added in v0.7.13

ErrorName returns error name.

func (UpdateUserRequestValidationError) Field added in v0.7.13

Field function returns field value.

func (UpdateUserRequestValidationError) Key added in v0.7.13

Key function returns key value.

func (UpdateUserRequestValidationError) Reason added in v0.7.13

Reason function returns reason value.

type UpdateUserResponse added in v0.7.13

type UpdateUserResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdateUserResponse) Descriptor added in v0.7.13

func (*UpdateUserResponse) Descriptor() ([]byte, []int)

func (*UpdateUserResponse) ProtoMessage added in v0.7.13

func (*UpdateUserResponse) ProtoMessage()

func (*UpdateUserResponse) Reset added in v0.7.13

func (m *UpdateUserResponse) Reset()

func (*UpdateUserResponse) String added in v0.7.13

func (m *UpdateUserResponse) String() string

func (*UpdateUserResponse) Validate added in v0.7.13

func (m *UpdateUserResponse) Validate() error

Validate checks the field values on UpdateUserResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*UpdateUserResponse) XXX_DiscardUnknown added in v0.7.13

func (m *UpdateUserResponse) XXX_DiscardUnknown()

func (*UpdateUserResponse) XXX_Marshal added in v0.7.13

func (m *UpdateUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateUserResponse) XXX_Merge added in v0.7.13

func (m *UpdateUserResponse) XXX_Merge(src proto.Message)

func (*UpdateUserResponse) XXX_Size added in v0.7.13

func (m *UpdateUserResponse) XXX_Size() int

func (*UpdateUserResponse) XXX_Unmarshal added in v0.7.13

func (m *UpdateUserResponse) XXX_Unmarshal(b []byte) error

type UpdateUserResponseValidationError added in v0.7.13

type UpdateUserResponseValidationError struct {
	// contains filtered or unexported fields
}

UpdateUserResponseValidationError is the validation error returned by UpdateUserResponse.Validate if the designated constraints aren't met.

func (UpdateUserResponseValidationError) Cause added in v0.7.13

Cause function returns cause value.

func (UpdateUserResponseValidationError) Error added in v0.7.13

Error satisfies the builtin error interface

func (UpdateUserResponseValidationError) ErrorName added in v0.7.13

ErrorName returns error name.

func (UpdateUserResponseValidationError) Field added in v0.7.13

Field function returns field value.

func (UpdateUserResponseValidationError) Key added in v0.7.13

Key function returns key value.

func (UpdateUserResponseValidationError) Reason added in v0.7.13

Reason function returns reason value.

type User

type User struct {
	Enabled bool `protobuf:"varint,9,opt,name=enabled,proto3" json:"enabled,omitempty"`
	//    google.protobuf.Timestamp created_at = 101;     // ???
	Attributes map[string]*any.Any `` /* 163-byte string literal not displayed */
	// OpenId Standard Claims Members (https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims)
	// Subject - Identifier for the End-User at the Issuer.
	Sub string `protobuf:"bytes,10,opt,name=sub,proto3" json:"sub,omitempty"`
	// End-User's full name in displayable form including all name parts, possibly including titles and suffixes, ordered according to the End-User's locale and preferences.
	Name string `protobuf:"bytes,11,opt,name=name,proto3" json:"name,omitempty"`
	// Given name(s) or first name(s) of the End-User.
	GivenName string `protobuf:"bytes,12,opt,name=given_name,json=givenName,proto3" json:"given_name,omitempty"`
	// Surname(s) or last name(s) of the End-User
	FamilyName string `protobuf:"bytes,14,opt,name=family_name,json=familyName,proto3" json:"family_name,omitempty"`
	// Middle name(s) of the End-User
	MiddleName string `protobuf:"bytes,15,opt,name=middle_name,json=middleName,proto3" json:"middle_name,omitempty"`
	// Casual name of the End-User
	Nickname string `protobuf:"bytes,16,opt,name=nickname,proto3" json:"nickname,omitempty"`
	// Shorthand name by which the End-User wishes to be referred to at the RP, such as janedoe or j.doe.
	// This value MAY be any valid JSON string including special characters such as @, /, or whitespace (not unique!, see https://openid.net/specs/openid-connect-basic-1_0.html#ClaimStability)
	PreferredUsername string `protobuf:"bytes,17,opt,name=preferred_username,json=preferredUsername,proto3" json:"preferred_username,omitempty"`
	Profile           string `protobuf:"bytes,20,opt,name=profile,proto3" json:"profile,omitempty"`
	Picture           string `protobuf:"bytes,21,opt,name=picture,proto3" json:"picture,omitempty"`
	Website           string `protobuf:"bytes,22,opt,name=website,proto3" json:"website,omitempty"`
	// RFC5322  (not unique!, see https://openid.net/specs/openid-connect-basic-1_0.html#ClaimStability)
	Email         string `protobuf:"bytes,30,opt,name=email,proto3" json:"email,omitempty"`
	EmailVerified bool   `protobuf:"varint,31,opt,name=email_verified,json=emailVerified,proto3" json:"email_verified,omitempty"`
	Gender        string `protobuf:"bytes,32,opt,name=gender,proto3" json:"gender,omitempty"`
	// ISO 8601:2004 YYYY-MM-DD format. The year MAY be 0000, indicating that it is omitted. To represent only the year, YYYY format is allowed.
	Birthdate string `protobuf:"bytes,33,opt,name=birthdate,proto3" json:"birthdate,omitempty"`
	// String from zoneinfo time zone database (the tz database) representing the End-User's time zone. For example, Europe/Paris or America/Los_Angeles.
	Zoneinfo string `protobuf:"bytes,34,opt,name=zoneinfo,proto3" json:"zoneinfo,omitempty"`
	// End-User's locale, represented as a BCP47 [RFC5646] language tag.
	// This is typically an ISO 639-1 Alpha-2 [ISO639‑1] language code in lowercase and an ISO 3166-1 Alpha-2 [ISO3166‑1] country code in uppercase, separated by a dash. For example, en-US or fr-CA.
	// As a compatibility note, some implementations have used an underscore as the separator rather than a dash, for example, en_US; Relying Parties MAY choose to accept this locale syntax as well.
	Locale string `protobuf:"bytes,35,opt,name=locale,proto3" json:"locale,omitempty"`
	// Ex: +1 (425) 555-1212 or +56 (2) 687 2400   (E.164)
	//  or +1 (604) 555-1234;ext=5678              (RFC3966)
	// see E.164/RFC3966
	PhoneNumber          string               `protobuf:"bytes,40,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
	PhoneNumberVerified  bool                 `protobuf:"varint,41,opt,name=phone_number_verified,json=phoneNumberVerified,proto3" json:"phone_number_verified,omitempty"`
	Address              *User_Address        `protobuf:"bytes,42,opt,name=address,proto3" json:"address,omitempty"`
	UpdatedAt            *timestamp.Timestamp `protobuf:"bytes,102,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

* Represents the user

Compatible with OIDC (OpenID Connect)

func (*User) Descriptor

func (*User) Descriptor() ([]byte, []int)

func (*User) GetAddress

func (m *User) GetAddress() *User_Address

func (*User) GetAttributes

func (m *User) GetAttributes() map[string]*any.Any

func (*User) GetBirthdate

func (m *User) GetBirthdate() string

func (*User) GetEmail

func (m *User) GetEmail() string

func (*User) GetEmailVerified

func (m *User) GetEmailVerified() bool

func (*User) GetEnabled

func (m *User) GetEnabled() bool

func (*User) GetFamilyName

func (m *User) GetFamilyName() string

func (*User) GetGender

func (m *User) GetGender() string

func (*User) GetGivenName

func (m *User) GetGivenName() string

func (*User) GetLocale

func (m *User) GetLocale() string

func (*User) GetMiddleName

func (m *User) GetMiddleName() string

func (*User) GetName

func (m *User) GetName() string

func (*User) GetNickname

func (m *User) GetNickname() string

func (*User) GetPhoneNumber

func (m *User) GetPhoneNumber() string

func (*User) GetPhoneNumberVerified

func (m *User) GetPhoneNumberVerified() bool

func (*User) GetPicture

func (m *User) GetPicture() string

func (*User) GetPreferredUsername

func (m *User) GetPreferredUsername() string

func (*User) GetProfile

func (m *User) GetProfile() string

func (*User) GetSub

func (m *User) GetSub() string

func (*User) GetUpdatedAt

func (m *User) GetUpdatedAt() *timestamp.Timestamp

func (*User) GetWebsite

func (m *User) GetWebsite() string

func (*User) GetZoneinfo

func (m *User) GetZoneinfo() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) Reset

func (m *User) Reset()

func (*User) String

func (m *User) String() string

func (*User) Validate

func (m *User) Validate() error

Validate checks the field values on User with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*User) XXX_DiscardUnknown

func (m *User) XXX_DiscardUnknown()

func (*User) XXX_Marshal

func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*User) XXX_Merge

func (m *User) XXX_Merge(src proto.Message)

func (*User) XXX_Size

func (m *User) XXX_Size() int

func (*User) XXX_Unmarshal

func (m *User) XXX_Unmarshal(b []byte) error

type UserValidationError

type UserValidationError struct {
	// contains filtered or unexported fields
}

UserValidationError is the validation error returned by User.Validate if the designated constraints aren't met.

func (UserValidationError) Cause

func (e UserValidationError) Cause() error

Cause function returns cause value.

func (UserValidationError) Error

func (e UserValidationError) Error() string

Error satisfies the builtin error interface

func (UserValidationError) ErrorName

func (e UserValidationError) ErrorName() string

ErrorName returns error name.

func (UserValidationError) Field

func (e UserValidationError) Field() string

Field function returns field value.

func (UserValidationError) Key

func (e UserValidationError) Key() bool

Key function returns key value.

func (UserValidationError) Reason

func (e UserValidationError) Reason() string

Reason function returns reason value.

type User_Address

type User_Address struct {
	Formatted            string   `protobuf:"bytes,1,opt,name=formatted,proto3" json:"formatted,omitempty"`
	StreetAddress        string   `protobuf:"bytes,2,opt,name=street_address,json=streetAddress,proto3" json:"street_address,omitempty"`
	Locality             string   `protobuf:"bytes,3,opt,name=locality,proto3" json:"locality,omitempty"`
	Region               string   `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"`
	PostalCode           string   `protobuf:"bytes,5,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"`
	Country              string   `protobuf:"bytes,6,opt,name=country,proto3" json:"country,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

https://openid.net/specs/openid-connect-core-1_0.html#AddressClaim

func (*User_Address) Descriptor

func (*User_Address) Descriptor() ([]byte, []int)

func (*User_Address) GetCountry

func (m *User_Address) GetCountry() string

func (*User_Address) GetFormatted

func (m *User_Address) GetFormatted() string

func (*User_Address) GetLocality

func (m *User_Address) GetLocality() string

func (*User_Address) GetPostalCode

func (m *User_Address) GetPostalCode() string

func (*User_Address) GetRegion

func (m *User_Address) GetRegion() string

func (*User_Address) GetStreetAddress

func (m *User_Address) GetStreetAddress() string

func (*User_Address) ProtoMessage

func (*User_Address) ProtoMessage()

func (*User_Address) Reset

func (m *User_Address) Reset()

func (*User_Address) String

func (m *User_Address) String() string

func (*User_Address) Validate

func (m *User_Address) Validate() error

Validate checks the field values on User_Address with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*User_Address) XXX_DiscardUnknown

func (m *User_Address) XXX_DiscardUnknown()

func (*User_Address) XXX_Marshal

func (m *User_Address) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*User_Address) XXX_Merge

func (m *User_Address) XXX_Merge(src proto.Message)

func (*User_Address) XXX_Size

func (m *User_Address) XXX_Size() int

func (*User_Address) XXX_Unmarshal

func (m *User_Address) XXX_Unmarshal(b []byte) error

type User_AddressValidationError

type User_AddressValidationError struct {
	// contains filtered or unexported fields
}

User_AddressValidationError is the validation error returned by User_Address.Validate if the designated constraints aren't met.

func (User_AddressValidationError) Cause

Cause function returns cause value.

func (User_AddressValidationError) Error

Error satisfies the builtin error interface

func (User_AddressValidationError) ErrorName

func (e User_AddressValidationError) ErrorName() string

ErrorName returns error name.

func (User_AddressValidationError) Field

Field function returns field value.

func (User_AddressValidationError) Key

Key function returns key value.

func (User_AddressValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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