tenantservice

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppInfo

type AppInfo = tenant.AppInfo

type Apps

type Apps = tenant.Apps

type AppsReq

type AppsReq = tenant.AppsReq

type EmptyRequest

type EmptyRequest = tenant.EmptyRequest

type EmptyResponse

type EmptyResponse = tenant.EmptyResponse

type IdList

type IdList = tenant.IdList

type TenantAppInfoUpdateReq

type TenantAppInfoUpdateReq = tenant.TenantAppInfoUpdateReq

type TenantAppReq

type TenantAppReq = tenant.TenantAppReq

type TenantAppResp

type TenantAppResp = tenant.TenantAppResp

type TenantAppUpdateExpiredateReq

type TenantAppUpdateExpiredateReq = tenant.TenantAppUpdateExpiredateReq

type TenantCreateReq

type TenantCreateReq = tenant.TenantCreateReq

type TenantDetailReq

type TenantDetailReq = tenant.TenantDetailReq

type TenantDetailResp

type TenantDetailResp = tenant.TenantDetailResp

type TenantInfo

type TenantInfo = tenant.TenantInfo

type TenantListReq

type TenantListReq = tenant.TenantListReq

type TenantListResp

type TenantListResp = tenant.TenantListResp

type TenantOpenAppReq

type TenantOpenAppReq = tenant.TenantOpenAppReq

type TenantRemoveAppReq

type TenantRemoveAppReq = tenant.TenantRemoveAppReq

type TenantService

type TenantService interface {
	TenantCreate(ctx context.Context, in *TenantCreateReq, opts ...grpc.CallOption) (*EmptyResponse, error)
	TenantList(ctx context.Context, in *TenantListReq, opts ...grpc.CallOption) (*TenantListResp, error)
	TenantDetail(ctx context.Context, in *TenantDetailReq, opts ...grpc.CallOption) (*TenantDetailResp, error)
	TenantUpdate(ctx context.Context, in *TenantUpdateReq, opts ...grpc.CallOption) (*EmptyResponse, error)
	TenantStatus(ctx context.Context, in *TenantStatusReq, opts ...grpc.CallOption) (*EmptyResponse, error)
	TenantDelete(ctx context.Context, in *IdList, opts ...grpc.CallOption) (*EmptyResponse, error)
	// 租户平台管理
	TenantApps(ctx context.Context, in *AppsReq, opts ...grpc.CallOption) (*Apps, error)
	TenantAppInfoUpdate(ctx context.Context, in *TenantAppInfoUpdateReq, opts ...grpc.CallOption) (*EmptyResponse, error)
	TenantAppUpdateExpiredate(ctx context.Context, in *TenantAppUpdateExpiredateReq, opts ...grpc.CallOption) (*EmptyResponse, error)
	TenantOpenApp(ctx context.Context, in *TenantOpenAppReq, opts ...grpc.CallOption) (*EmptyResponse, error)
	TenantRemoveApp(ctx context.Context, in *TenantRemoveAppReq, opts ...grpc.CallOption) (*EmptyResponse, error)
	TenantAppInfo(ctx context.Context, in *TenantAppReq, opts ...grpc.CallOption) (*TenantAppResp, error)
	APPExpireDateCheck(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*EmptyResponse, error)
}

func NewTenantService

func NewTenantService(cli zrpc.Client) TenantService

type TenantStatusReq

type TenantStatusReq = tenant.TenantStatusReq

type TenantUpdateReq

type TenantUpdateReq = tenant.TenantUpdateReq

Jump to

Keyboard shortcuts

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