Versions in this module Expand all Collapse all v0 v0.1.0 Mar 30, 2021 Changes in this version + var File_tenant_proto protoreflect.FileDescriptor + func RegisterTenantsServer(s grpc.ServiceRegistrar, srv TenantsServer) + type EnsureRequest struct + Delete bool + Tenant *Tenant + func (*EnsureRequest) Descriptor() ([]byte, []int) + func (*EnsureRequest) ProtoMessage() + func (x *EnsureRequest) GetDelete() bool + func (x *EnsureRequest) GetTenant() *Tenant + func (x *EnsureRequest) ProtoReflect() protoreflect.Message + func (x *EnsureRequest) Reset() + func (x *EnsureRequest) String() string + type EnsureResponse struct + Tenant *Tenant + func (*EnsureResponse) Descriptor() ([]byte, []int) + func (*EnsureResponse) ProtoMessage() + func (x *EnsureResponse) GetTenant() *Tenant + func (x *EnsureResponse) ProtoReflect() protoreflect.Message + func (x *EnsureResponse) Reset() + func (x *EnsureResponse) String() string + type GetRequest struct + ID *ID + func (*GetRequest) Descriptor() ([]byte, []int) + func (*GetRequest) ProtoMessage() + func (x *GetRequest) GetID() *ID + func (x *GetRequest) ProtoReflect() protoreflect.Message + func (x *GetRequest) Reset() + func (x *GetRequest) String() string + type GetResponse struct + Tenant *Tenant + func (*GetResponse) Descriptor() ([]byte, []int) + func (*GetResponse) ProtoMessage() + func (x *GetResponse) GetTenant() *Tenant + func (x *GetResponse) ProtoReflect() protoreflect.Message + func (x *GetResponse) Reset() + func (x *GetResponse) String() string + type ID struct + Data []byte + func NewID() *ID + func ParseID(x string) (*ID, error) + func (*ID) Descriptor() ([]byte, []int) + func (*ID) ProtoMessage() + func (x *ID) AsUUID() uuid.UUID + func (x *ID) GetData() []byte + func (x *ID) ProtoReflect() protoreflect.Message + func (x *ID) Reset() + func (x *ID) Scan(v interface{}) error + func (x *ID) String() string + func (x *ID) Value() (driver.Value, error) + func (x *ID) Zero() bool + type Tenant struct + ID *ID + Label string + Version int64 + func (*Tenant) Descriptor() ([]byte, []int) + func (*Tenant) ProtoMessage() + func (x *Tenant) GetID() *ID + func (x *Tenant) GetLabel() string + func (x *Tenant) GetVersion() int64 + func (x *Tenant) ProtoReflect() protoreflect.Message + func (x *Tenant) Reset() + func (x *Tenant) String() string + type TenantsClient interface + Ensure func(ctx context.Context, in *EnsureRequest, opts ...grpc.CallOption) (*EnsureResponse, error) + Get func(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error) + List func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (Tenants_ListClient, error) + func NewTenantsClient(cc grpc.ClientConnInterface) TenantsClient + type TenantsServer interface + Ensure func(context.Context, *EnsureRequest) (*EnsureResponse, error) + Get func(context.Context, *GetRequest) (*GetResponse, error) + List func(*emptypb.Empty, Tenants_ListServer) error + type Tenants_ListClient interface + Recv func() (*Tenant, error) + type Tenants_ListServer interface + Send func(*Tenant) error + type UnimplementedTenantsServer struct + func (UnimplementedTenantsServer) Ensure(context.Context, *EnsureRequest) (*EnsureResponse, error) + func (UnimplementedTenantsServer) Get(context.Context, *GetRequest) (*GetResponse, error) + func (UnimplementedTenantsServer) List(*emptypb.Empty, Tenants_ListServer) error + type UnsafeTenantsServer interface