Versions in this module Expand all Collapse all v0 v0.1.0 Mar 30, 2021 Changes in this version + var File_vhost_proto protoreflect.FileDescriptor + func RegisterVHostsServer(s grpc.ServiceRegistrar, srv VHostsServer) + func WithVHost(ctx context.Context, vhost *VHost) context.Context + type EnsureRequest struct + Delete bool + Vhost *VHost + func (*EnsureRequest) Descriptor() ([]byte, []int) + func (*EnsureRequest) ProtoMessage() + func (x *EnsureRequest) GetDelete() bool + func (x *EnsureRequest) GetVhost() *VHost + func (x *EnsureRequest) ProtoReflect() protoreflect.Message + func (x *EnsureRequest) Reset() + func (x *EnsureRequest) String() string + type UnimplementedVHostsServer struct + func (UnimplementedVHostsServer) Ensure(context.Context, *EnsureRequest) (*emptypb.Empty, error) + func (UnimplementedVHostsServer) List(*emptypb.Empty, VHosts_ListServer) error + type UnsafeVHostsServer interface + type VHost struct + TenantId *tenant.ID + Vhost string + func FromContext(ctx context.Context) *VHost + func (*VHost) Descriptor() ([]byte, []int) + func (*VHost) ProtoMessage() + func (x *VHost) GetTenantId() *tenant.ID + func (x *VHost) GetVhost() string + func (x *VHost) ProtoReflect() protoreflect.Message + func (x *VHost) Reset() + func (x *VHost) String() string + type VHostsClient interface + Ensure func(ctx context.Context, in *EnsureRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + List func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (VHosts_ListClient, error) + func NewVHostsClient(cc grpc.ClientConnInterface) VHostsClient + type VHostsServer interface + Ensure func(context.Context, *EnsureRequest) (*emptypb.Empty, error) + List func(*emptypb.Empty, VHosts_ListServer) error + type VHosts_ListClient interface + Recv func() (*VHost, error) + type VHosts_ListServer interface + Send func(*VHost) error