adminpb

package module
v0.0.0-...-2d4ef54 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2026 License: MIT Imports: 18 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ErrorCode_SUCCESS                       = commonpb.ErrorCode_SUCCESS
	ErrorCode_INVALID_PARAM                 = commonpb.ErrorCode_INVALID_PARAM
	ErrorCode_NO_AUTH                       = commonpb.ErrorCode_NO_AUTH
	ErrorCode_NO_PERMISSION                 = commonpb.ErrorCode_NO_PERMISSION
	ErrorCode_INNER_ERR                     = commonpb.ErrorCode_INNER_ERR
	ErrorCode_NOT_FOUND                     = commonpb.ErrorCode_NOT_FOUND
	ErrorCode_SPACE_NOT_FOUND               = commonpb.ErrorCode_SPACE_NOT_FOUND
	ErrorCode_DATASET_NOT_FOUND             = commonpb.ErrorCode_DATASET_NOT_FOUND
	ErrorCode_SUBJECT_NOT_FOUND             = commonpb.ErrorCode_SUBJECT_NOT_FOUND
	ErrorCode_FIELD_NOT_FOUND               = commonpb.ErrorCode_FIELD_NOT_FOUND
	ErrorCode_FACTOR_NOT_FOUND              = commonpb.ErrorCode_FACTOR_NOT_FOUND
	ErrorCode_VIEW_NOT_FOUND                = commonpb.ErrorCode_VIEW_NOT_FOUND
	ErrorCode_VIEW_NOT_READY                = commonpb.ErrorCode_VIEW_NOT_READY
	ErrorCode_VIEW_COLUMN_NOT_FOUND         = commonpb.ErrorCode_VIEW_COLUMN_NOT_FOUND
	ErrorCode_QUERY_SHAPE_UNSUPPORTED       = commonpb.ErrorCode_QUERY_SHAPE_UNSUPPORTED
	ErrorCode_CONFLICT                      = commonpb.ErrorCode_CONFLICT
	ErrorCode_ENGINE_CAPABILITY_UNSUPPORTED = commonpb.ErrorCode_ENGINE_CAPABILITY_UNSUPPORTED
	ErrorCode_DIMENSION_VALUE_INVALID       = commonpb.ErrorCode_DIMENSION_VALUE_INVALID
	ErrorCode_SUBJECT_NOT_IN_DATASET        = commonpb.ErrorCode_SUBJECT_NOT_IN_DATASET
)

Variables

View Source
var ActivityLogServer_ServiceDesc = server.ServiceDesc{
	ServiceName: "trpc.moox.admin.ActivityLog",
	HandlerType: ((*ActivityLogService)(nil)),
	Methods: []server.Method{
		{
			Name: "/trpc.moox.admin.ActivityLog/AppendActivityLogs",
			Func: ActivityLogService_AppendActivityLogs_Handler,
		},
		{
			Name: "/trpc.moox.admin.ActivityLog/ListActivityLogs",
			Func: ActivityLogService_ListActivityLogs_Handler,
		},
	},
}

ActivityLogServer_ServiceDesc descriptor for server.RegisterService.

View Source
var AuthServer_ServiceDesc = server.ServiceDesc{
	ServiceName: "trpc.moox.infra.Auth",
	HandlerType: ((*AuthService)(nil)),
	Methods: []server.Method{
		{
			Name: "/trpc.moox.infra.Auth/GetLoginSalt",
			Func: AuthService_GetLoginSalt_Handler,
		},
		{
			Name: "/trpc.moox.infra.Auth/Login",
			Func: AuthService_Login_Handler,
		},
		{
			Name: "/trpc.moox.infra.Auth/Logout",
			Func: AuthService_Logout_Handler,
		},
		{
			Name: "/trpc.moox.infra.Auth/IssueRawSessionTicket",
			Func: AuthService_IssueRawSessionTicket_Handler,
		},
		{
			Name: "/trpc.moox.infra.Auth/GetUserInfo",
			Func: AuthService_GetUserInfo_Handler,
		},
	},
}

AuthServer_ServiceDesc descriptor for server.RegisterService.

View Source
var CollectorPublishLeaseServer_ServiceDesc = server.ServiceDesc{
	ServiceName: "trpc.moox.admin.CollectorPublishLease",
	HandlerType: ((*CollectorPublishLeaseService)(nil)),
	Methods: []server.Method{
		{
			Name: "/trpc.moox.admin.CollectorPublishLease/AcquireCollectorPublishLease",
			Func: CollectorPublishLeaseService_AcquireCollectorPublishLease_Handler,
		},
		{
			Name: "/trpc.moox.admin.CollectorPublishLease/RenewCollectorPublishLease",
			Func: CollectorPublishLeaseService_RenewCollectorPublishLease_Handler,
		},
		{
			Name: "/trpc.moox.admin.CollectorPublishLease/ReleaseCollectorPublishLease",
			Func: CollectorPublishLeaseService_ReleaseCollectorPublishLease_Handler,
		},
		{
			Name: "/trpc.moox.admin.CollectorPublishLease/ValidateCollectorPublishLease",
			Func: CollectorPublishLeaseService_ValidateCollectorPublishLease_Handler,
		},
		{
			Name: "/trpc.moox.admin.CollectorPublishLease/BeginCollectorPublishOperation",
			Func: CollectorPublishLeaseService_BeginCollectorPublishOperation_Handler,
		},
		{
			Name: "/trpc.moox.admin.CollectorPublishLease/RenewCollectorPublishOperation",
			Func: CollectorPublishLeaseService_RenewCollectorPublishOperation_Handler,
		},
		{
			Name: "/trpc.moox.admin.CollectorPublishLease/EndCollectorPublishOperation",
			Func: CollectorPublishLeaseService_EndCollectorPublishOperation_Handler,
		},
	},
}

CollectorPublishLeaseServer_ServiceDesc descriptor for server.RegisterService.

View Source
var File_activity_log_service_proto protoreflect.FileDescriptor
View Source
var File_admin_service_proto protoreflect.FileDescriptor
View Source
var File_collector_publish_lease_service_proto protoreflect.FileDescriptor
View Source
var File_gatewaycontrol_proto protoreflect.FileDescriptor
View Source
var File_infra_service_proto protoreflect.FileDescriptor
View Source
var File_ops_service_proto protoreflect.FileDescriptor
View Source
var File_secret_service_proto protoreflect.FileDescriptor
View Source
var File_setup_service_proto protoreflect.FileDescriptor
View Source
var File_sysdeploy_service_proto protoreflect.FileDescriptor
View Source
var GatewayControlServer_ServiceDesc = server.ServiceDesc{
	ServiceName: "trpc.moox.admin.GatewayControl",
	HandlerType: ((*GatewayControlService)(nil)),
	Methods: []server.Method{
		{
			Name: "/trpc.moox.admin.GatewayControl/PullSnapshot",
			Func: GatewayControlService_PullSnapshot_Handler,
		},
		{
			Name: "/trpc.moox.admin.GatewayControl/ReportStatus",
			Func: GatewayControlService_ReportStatus_Handler,
		},
	},
}

GatewayControlServer_ServiceDesc descriptor for server.RegisterService.

View Source
var NewActivityLogClientProxy = func(opts ...client.Option) ActivityLogClientProxy {
	return &ActivityLogClientProxyImpl{client: client.DefaultClient, opts: opts}
}
View Source
var NewAuthClientProxy = func(opts ...client.Option) AuthClientProxy {
	return &AuthClientProxyImpl{client: client.DefaultClient, opts: opts}
}
View Source
var NewCollectorPublishLeaseClientProxy = func(opts ...client.Option) CollectorPublishLeaseClientProxy {
	return &CollectorPublishLeaseClientProxyImpl{client: client.DefaultClient, opts: opts}
}
View Source
var NewGatewayControlClientProxy = func(opts ...client.Option) GatewayControlClientProxy {
	return &GatewayControlClientProxyImpl{client: client.DefaultClient, opts: opts}
}
View Source
var NewSecretMgrClientProxy = func(opts ...client.Option) SecretMgrClientProxy {
	return &SecretMgrClientProxyImpl{client: client.DefaultClient, opts: opts}
}
View Source
var NewSetupClientProxy = func(opts ...client.Option) SetupClientProxy {
	return &SetupClientProxyImpl{client: client.DefaultClient, opts: opts}
}
View Source
var NewSpaceMgrClientProxy = func(opts ...client.Option) SpaceMgrClientProxy {
	return &SpaceMgrClientProxyImpl{client: client.DefaultClient, opts: opts}
}
View Source
var NewSshClientProxy = func(opts ...client.Option) SshClientProxy {
	return &SshClientProxyImpl{client: client.DefaultClient, opts: opts}
}
View Source
var NewSysDeployClientProxy = func(opts ...client.Option) SysDeployClientProxy {
	return &SysDeployClientProxyImpl{client: client.DefaultClient, opts: opts}
}
View Source
var SecretMgrServer_ServiceDesc = server.ServiceDesc{
	ServiceName: "trpc.moox.ops.SecretMgr",
	HandlerType: ((*SecretMgrService)(nil)),
	Methods: []server.Method{
		{
			Name: "/trpc.moox.ops.SecretMgr/ListSecrets",
			Func: SecretMgrService_ListSecrets_Handler,
		},
		{
			Name: "/trpc.moox.ops.SecretMgr/GetSecret",
			Func: SecretMgrService_GetSecret_Handler,
		},
		{
			Name: "/trpc.moox.ops.SecretMgr/GetSecretValue",
			Func: SecretMgrService_GetSecretValue_Handler,
		},
		{
			Name: "/trpc.moox.ops.SecretMgr/CreateSecret",
			Func: SecretMgrService_CreateSecret_Handler,
		},
		{
			Name: "/trpc.moox.ops.SecretMgr/UpdateSecret",
			Func: SecretMgrService_UpdateSecret_Handler,
		},
		{
			Name: "/trpc.moox.ops.SecretMgr/DeleteSecret",
			Func: SecretMgrService_DeleteSecret_Handler,
		},
		{
			Name: "/trpc.moox.ops.SecretMgr/ToggleSecretStatus",
			Func: SecretMgrService_ToggleSecretStatus_Handler,
		},
		{
			Name: "/trpc.moox.ops.SecretMgr/ExportSecrets",
			Func: SecretMgrService_ExportSecrets_Handler,
		},
		{
			Name: "/trpc.moox.ops.SecretMgr/ImportSecrets",
			Func: SecretMgrService_ImportSecrets_Handler,
		},
		{
			Name: "/trpc.moox.ops.SecretMgr/GetReadonlyExchangeKey",
			Func: SecretMgrService_GetReadonlyExchangeKey_Handler,
		},
	},
}

SecretMgrServer_ServiceDesc descriptor for server.RegisterService.

View Source
var SetupServer_ServiceDesc = server.ServiceDesc{
	ServiceName: "trpc.moox.admin.Setup",
	HandlerType: ((*SetupService)(nil)),
	Methods: []server.Method{
		{
			Name: "/trpc.moox.admin.Setup/ApplySetup",
			Func: SetupService_ApplySetup_Handler,
		},
		{
			Name: "/trpc.moox.admin.Setup/GetSetupStatus",
			Func: SetupService_GetSetupStatus_Handler,
		},
		{
			Name: "/trpc.moox.admin.Setup/PutConfigBackup",
			Func: SetupService_PutConfigBackup_Handler,
		},
		{
			Name: "/trpc.moox.admin.Setup/GetConfigBackup",
			Func: SetupService_GetConfigBackup_Handler,
		},
	},
}

SetupServer_ServiceDesc descriptor for server.RegisterService.

View Source
var SpaceMgrServer_ServiceDesc = server.ServiceDesc{
	ServiceName: "trpc.moox.admin.SpaceMgr",
	HandlerType: ((*SpaceMgrService)(nil)),
	Methods: []server.Method{
		{
			Name: "/trpc.moox.admin.SpaceMgr/CreateSpace",
			Func: SpaceMgrService_CreateSpace_Handler,
		},
		{
			Name: "/trpc.moox.admin.SpaceMgr/UpdateSpace",
			Func: SpaceMgrService_UpdateSpace_Handler,
		},
		{
			Name: "/trpc.moox.admin.SpaceMgr/DeleteSpace",
			Func: SpaceMgrService_DeleteSpace_Handler,
		},
		{
			Name: "/trpc.moox.admin.SpaceMgr/ListSpaces",
			Func: SpaceMgrService_ListSpaces_Handler,
		},
	},
}

SpaceMgrServer_ServiceDesc descriptor for server.RegisterService.

View Source
var SshServer_ServiceDesc = server.ServiceDesc{
	ServiceName: "trpc.moox.ops.Ssh",
	HandlerType: ((*SshService)(nil)),
	Methods: []server.Method{
		{
			Name: "/trpc.moox.ops.Ssh/CreateSession",
			Func: SshService_CreateSession_Handler,
		},
		{
			Name: "/trpc.moox.ops.Ssh/DisconnectSession",
			Func: SshService_DisconnectSession_Handler,
		},
		{
			Name: "/trpc.moox.ops.Ssh/ResizeWindow",
			Func: SshService_ResizeWindow_Handler,
		},
		{
			Name: "/trpc.moox.ops.Ssh/SftpList",
			Func: SshService_SftpList_Handler,
		},
		{
			Name: "/trpc.moox.ops.Ssh/SftpMkdir",
			Func: SshService_SftpMkdir_Handler,
		},
		{
			Name: "/trpc.moox.ops.Ssh/SftpDelete",
			Func: SshService_SftpDelete_Handler,
		},
	},
}

SshServer_ServiceDesc descriptor for server.RegisterService.

View Source
var SysDeployServer_ServiceDesc = server.ServiceDesc{
	ServiceName: "trpc.moox.ops.SysDeploy",
	HandlerType: ((*SysDeployService)(nil)),
	Methods: []server.Method{
		{
			Name: "/trpc.moox.ops.SysDeploy/GetCatalog",
			Func: SysDeployService_GetCatalog_Handler,
		},
		{
			Name: "/trpc.moox.ops.SysDeploy/ListHosts",
			Func: SysDeployService_ListHosts_Handler,
		},
		{
			Name: "/trpc.moox.ops.SysDeploy/ListDeployments",
			Func: SysDeployService_ListDeployments_Handler,
		},
		{
			Name: "/trpc.moox.ops.SysDeploy/GetHostRoutes",
			Func: SysDeployService_GetHostRoutes_Handler,
		},
		{
			Name: "/trpc.moox.ops.SysDeploy/GetDirectory",
			Func: SysDeployService_GetDirectory_Handler,
		},
		{
			Name: "/trpc.moox.ops.SysDeploy/SetHostStatus",
			Func: SysDeployService_SetHostStatus_Handler,
		},
		{
			Name: "/trpc.moox.ops.SysDeploy/SetDeploymentStatus",
			Func: SysDeployService_SetDeploymentStatus_Handler,
		},
		{
			Name: "/trpc.moox.ops.SysDeploy/SyncHostDeployments",
			Func: SysDeployService_SyncHostDeployments_Handler,
		},
		{
			Name: "/trpc.moox.ops.SysDeploy/DeleteHost",
			Func: SysDeployService_DeleteHost_Handler,
		},
	},
}

SysDeployServer_ServiceDesc descriptor for server.RegisterService.

Functions

func ActivityLogService_AppendActivityLogs_Handler

func ActivityLogService_AppendActivityLogs_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func ActivityLogService_ListActivityLogs_Handler

func ActivityLogService_ListActivityLogs_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func AuthService_GetLoginSalt_Handler

func AuthService_GetLoginSalt_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func AuthService_GetUserInfo_Handler

func AuthService_GetUserInfo_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func AuthService_IssueRawSessionTicket_Handler

func AuthService_IssueRawSessionTicket_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func AuthService_Login_Handler

func AuthService_Login_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func AuthService_Logout_Handler

func AuthService_Logout_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func CollectorPublishLeaseService_AcquireCollectorPublishLease_Handler

func CollectorPublishLeaseService_AcquireCollectorPublishLease_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func CollectorPublishLeaseService_BeginCollectorPublishOperation_Handler

func CollectorPublishLeaseService_BeginCollectorPublishOperation_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func CollectorPublishLeaseService_EndCollectorPublishOperation_Handler

func CollectorPublishLeaseService_EndCollectorPublishOperation_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func CollectorPublishLeaseService_ReleaseCollectorPublishLease_Handler

func CollectorPublishLeaseService_ReleaseCollectorPublishLease_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func CollectorPublishLeaseService_RenewCollectorPublishLease_Handler

func CollectorPublishLeaseService_RenewCollectorPublishLease_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func CollectorPublishLeaseService_RenewCollectorPublishOperation_Handler

func CollectorPublishLeaseService_RenewCollectorPublishOperation_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func CollectorPublishLeaseService_ValidateCollectorPublishLease_Handler

func CollectorPublishLeaseService_ValidateCollectorPublishLease_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func GatewayControlService_PullSnapshot_Handler

func GatewayControlService_PullSnapshot_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func GatewayControlService_ReportStatus_Handler

func GatewayControlService_ReportStatus_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func RegisterActivityLogService

func RegisterActivityLogService(s server.Service, svr ActivityLogService)

RegisterActivityLogService registers service.

func RegisterAuthService

func RegisterAuthService(s server.Service, svr AuthService)

RegisterAuthService registers service.

func RegisterCollectorPublishLeaseService

func RegisterCollectorPublishLeaseService(s server.Service, svr CollectorPublishLeaseService)

RegisterCollectorPublishLeaseService registers service.

func RegisterGatewayControlService

func RegisterGatewayControlService(s server.Service, svr GatewayControlService)

RegisterGatewayControlService registers service.

func RegisterSecretMgrService

func RegisterSecretMgrService(s server.Service, svr SecretMgrService)

RegisterSecretMgrService registers service.

func RegisterSetupService

func RegisterSetupService(s server.Service, svr SetupService)

RegisterSetupService registers service.

func RegisterSpaceMgrService

func RegisterSpaceMgrService(s server.Service, svr SpaceMgrService)

RegisterSpaceMgrService registers service.

func RegisterSshService

func RegisterSshService(s server.Service, svr SshService)

RegisterSshService registers service.

func RegisterSysDeployService

func RegisterSysDeployService(s server.Service, svr SysDeployService)

RegisterSysDeployService registers service.

func SecretMgrService_CreateSecret_Handler

func SecretMgrService_CreateSecret_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func SecretMgrService_DeleteSecret_Handler

func SecretMgrService_DeleteSecret_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func SecretMgrService_ExportSecrets_Handler

func SecretMgrService_ExportSecrets_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func SecretMgrService_GetReadonlyExchangeKey_Handler

func SecretMgrService_GetReadonlyExchangeKey_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func SecretMgrService_GetSecretValue_Handler

func SecretMgrService_GetSecretValue_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func SecretMgrService_GetSecret_Handler

func SecretMgrService_GetSecret_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func SecretMgrService_ImportSecrets_Handler

func SecretMgrService_ImportSecrets_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func SecretMgrService_ListSecrets_Handler

func SecretMgrService_ListSecrets_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func SecretMgrService_ToggleSecretStatus_Handler

func SecretMgrService_ToggleSecretStatus_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func SecretMgrService_UpdateSecret_Handler

func SecretMgrService_UpdateSecret_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func SetupService_ApplySetup_Handler

func SetupService_ApplySetup_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func SetupService_GetConfigBackup_Handler

func SetupService_GetConfigBackup_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func SetupService_GetSetupStatus_Handler

func SetupService_GetSetupStatus_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func SetupService_PutConfigBackup_Handler

func SetupService_PutConfigBackup_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func SnapshotHash

func SnapshotHash(snapshot *HostGatewaySnapshot) (string, error)

SnapshotHash covers the entire snapshot, including actual verifier key material, while excluding its hash field. The control plane emits ordered routes and keys; deterministic protobuf encoding also orders directory maps. Receivers use the same function before accepting a snapshot. It never mutates the supplied message and does not replace snapshot/schema validation.

func SpaceMgrService_CreateSpace_Handler

func SpaceMgrService_CreateSpace_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func SpaceMgrService_DeleteSpace_Handler

func SpaceMgrService_DeleteSpace_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func SpaceMgrService_ListSpaces_Handler

func SpaceMgrService_ListSpaces_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func SpaceMgrService_UpdateSpace_Handler

func SpaceMgrService_UpdateSpace_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func SshService_CreateSession_Handler

func SshService_CreateSession_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func SshService_DisconnectSession_Handler

func SshService_DisconnectSession_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func SshService_ResizeWindow_Handler

func SshService_ResizeWindow_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func SshService_SftpDelete_Handler

func SshService_SftpDelete_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func SshService_SftpList_Handler

func SshService_SftpList_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func SshService_SftpMkdir_Handler

func SshService_SftpMkdir_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func SysDeployService_DeleteHost_Handler

func SysDeployService_DeleteHost_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func SysDeployService_GetCatalog_Handler

func SysDeployService_GetCatalog_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func SysDeployService_GetDirectory_Handler

func SysDeployService_GetDirectory_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func SysDeployService_GetHostRoutes_Handler

func SysDeployService_GetHostRoutes_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func SysDeployService_ListDeployments_Handler

func SysDeployService_ListDeployments_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func SysDeployService_ListHosts_Handler

func SysDeployService_ListHosts_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func SysDeployService_SetDeploymentStatus_Handler

func SysDeployService_SetDeploymentStatus_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func SysDeployService_SetHostStatus_Handler

func SysDeployService_SetHostStatus_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

func SysDeployService_SyncHostDeployments_Handler

func SysDeployService_SyncHostDeployments_Handler(svr interface{}, ctx context.Context, f server.FilterFunc) (interface{}, error)

Types

type AcquireCollectorPublishLeaseReq

type AcquireCollectorPublishLeaseReq struct {
	SpaceId              string `protobuf:"bytes,1,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
	HolderId             string `protobuf:"bytes,2,opt,name=holder_id,json=holderId,proto3" json:"holder_id,omitempty"`
	ExpectedFencingToken int64  `protobuf:"varint,3,opt,name=expected_fencing_token,json=expectedFencingToken,proto3" json:"expected_fencing_token,omitempty"`
	// contains filtered or unexported fields
}

func (*AcquireCollectorPublishLeaseReq) Descriptor deprecated

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

Deprecated: Use AcquireCollectorPublishLeaseReq.ProtoReflect.Descriptor instead.

func (*AcquireCollectorPublishLeaseReq) GetExpectedFencingToken

func (x *AcquireCollectorPublishLeaseReq) GetExpectedFencingToken() int64

func (*AcquireCollectorPublishLeaseReq) GetHolderId

func (x *AcquireCollectorPublishLeaseReq) GetHolderId() string

func (*AcquireCollectorPublishLeaseReq) GetSpaceId

func (x *AcquireCollectorPublishLeaseReq) GetSpaceId() string

func (*AcquireCollectorPublishLeaseReq) ProtoMessage

func (*AcquireCollectorPublishLeaseReq) ProtoMessage()

func (*AcquireCollectorPublishLeaseReq) ProtoReflect

func (*AcquireCollectorPublishLeaseReq) Reset

func (*AcquireCollectorPublishLeaseReq) String

type ActivityLogClientProxy

type ActivityLogClientProxy interface {
	AppendActivityLogs(ctx context.Context, req *AppendActivityLogsReq, opts ...client.Option) (rsp *AppendActivityLogsRsp, err error)

	ListActivityLogs(ctx context.Context, req *ListActivityLogsReq, opts ...client.Option) (rsp *ListActivityLogsRsp, err error)
}

ActivityLogClientProxy defines service client proxy

type ActivityLogClientProxyImpl

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

func (*ActivityLogClientProxyImpl) AppendActivityLogs

func (*ActivityLogClientProxyImpl) ListActivityLogs

type ActivityLogEntry

type ActivityLogEntry struct {

	// space_id 为空表示全局事件。
	SpaceId  string `protobuf:"bytes,1,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
	Source   string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
	Category string `protobuf:"bytes,3,opt,name=category,proto3" json:"category,omitempty"`
	// level 取值 info、warning、error,默认 info。
	Level string `protobuf:"bytes,4,opt,name=level,proto3" json:"level,omitempty"`
	Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"`
	// detail 是 JSON 文本。
	Detail string `protobuf:"bytes,6,opt,name=detail,proto3" json:"detail,omitempty"`
	RefId  string `protobuf:"bytes,7,opt,name=ref_id,json=refId,proto3" json:"ref_id,omitempty"`
	// dedup_key 非空时按它去重:重放返回成功且不重复写入。
	DedupKey string `protobuf:"bytes,8,opt,name=dedup_key,json=dedupKey,proto3" json:"dedup_key,omitempty"`
	// contains filtered or unexported fields
}

ActivityLogEntry 是各模块写入、需要展示给用户的一条活动记录。

func (*ActivityLogEntry) Descriptor deprecated

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

Deprecated: Use ActivityLogEntry.ProtoReflect.Descriptor instead.

func (*ActivityLogEntry) GetCategory

func (x *ActivityLogEntry) GetCategory() string

func (*ActivityLogEntry) GetDedupKey

func (x *ActivityLogEntry) GetDedupKey() string

func (*ActivityLogEntry) GetDetail

func (x *ActivityLogEntry) GetDetail() string

func (*ActivityLogEntry) GetLevel

func (x *ActivityLogEntry) GetLevel() string

func (*ActivityLogEntry) GetRefId

func (x *ActivityLogEntry) GetRefId() string

func (*ActivityLogEntry) GetSource

func (x *ActivityLogEntry) GetSource() string

func (*ActivityLogEntry) GetSpaceId

func (x *ActivityLogEntry) GetSpaceId() string

func (*ActivityLogEntry) GetTitle

func (x *ActivityLogEntry) GetTitle() string

func (*ActivityLogEntry) ProtoMessage

func (*ActivityLogEntry) ProtoMessage()

func (*ActivityLogEntry) ProtoReflect

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

func (*ActivityLogEntry) Reset

func (x *ActivityLogEntry) Reset()

func (*ActivityLogEntry) String

func (x *ActivityLogEntry) String() string

type ActivityLogItem

type ActivityLogItem struct {
	Id       int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	SpaceId  string `protobuf:"bytes,2,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
	Source   string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
	Category string `protobuf:"bytes,4,opt,name=category,proto3" json:"category,omitempty"`
	Level    string `protobuf:"bytes,5,opt,name=level,proto3" json:"level,omitempty"`
	Title    string `protobuf:"bytes,6,opt,name=title,proto3" json:"title,omitempty"`
	Detail   string `protobuf:"bytes,7,opt,name=detail,proto3" json:"detail,omitempty"`
	RefId    string `protobuf:"bytes,8,opt,name=ref_id,json=refId,proto3" json:"ref_id,omitempty"`
	// created_at 是 RFC3339 UTC 时间。
	CreatedAt string `protobuf:"bytes,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*ActivityLogItem) Descriptor deprecated

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

Deprecated: Use ActivityLogItem.ProtoReflect.Descriptor instead.

func (*ActivityLogItem) GetCategory

func (x *ActivityLogItem) GetCategory() string

func (*ActivityLogItem) GetCreatedAt

func (x *ActivityLogItem) GetCreatedAt() string

func (*ActivityLogItem) GetDetail

func (x *ActivityLogItem) GetDetail() string

func (*ActivityLogItem) GetId

func (x *ActivityLogItem) GetId() int64

func (*ActivityLogItem) GetLevel

func (x *ActivityLogItem) GetLevel() string

func (*ActivityLogItem) GetRefId

func (x *ActivityLogItem) GetRefId() string

func (*ActivityLogItem) GetSource

func (x *ActivityLogItem) GetSource() string

func (*ActivityLogItem) GetSpaceId

func (x *ActivityLogItem) GetSpaceId() string

func (*ActivityLogItem) GetTitle

func (x *ActivityLogItem) GetTitle() string

func (*ActivityLogItem) ProtoMessage

func (*ActivityLogItem) ProtoMessage()

func (*ActivityLogItem) ProtoReflect

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

func (*ActivityLogItem) Reset

func (x *ActivityLogItem) Reset()

func (*ActivityLogItem) String

func (x *ActivityLogItem) String() string

type ActivityLogService

type ActivityLogService interface {
	AppendActivityLogs(ctx context.Context, req *AppendActivityLogsReq) (*AppendActivityLogsRsp, error)

	ListActivityLogs(ctx context.Context, req *ListActivityLogsReq) (*ListActivityLogsRsp, error)
}

ActivityLogService defines service.

type AppendActivityLogsReq

type AppendActivityLogsReq struct {
	Entries []*ActivityLogEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
	// contains filtered or unexported fields
}

func (*AppendActivityLogsReq) Descriptor deprecated

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

Deprecated: Use AppendActivityLogsReq.ProtoReflect.Descriptor instead.

func (*AppendActivityLogsReq) GetEntries

func (x *AppendActivityLogsReq) GetEntries() []*ActivityLogEntry

func (*AppendActivityLogsReq) ProtoMessage

func (*AppendActivityLogsReq) ProtoMessage()

func (*AppendActivityLogsReq) ProtoReflect

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

func (*AppendActivityLogsReq) Reset

func (x *AppendActivityLogsReq) Reset()

func (*AppendActivityLogsReq) String

func (x *AppendActivityLogsReq) String() string

type AppendActivityLogsRsp

type AppendActivityLogsRsp struct {
	RetInfo *commonpb.RetInfo `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	// inserted 是本次真正新写入的条数(去重命中的不计入)。
	Inserted int32 `protobuf:"varint,2,opt,name=inserted,proto3" json:"inserted,omitempty"`
	// contains filtered or unexported fields
}

func (*AppendActivityLogsRsp) Descriptor deprecated

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

Deprecated: Use AppendActivityLogsRsp.ProtoReflect.Descriptor instead.

func (*AppendActivityLogsRsp) GetInserted

func (x *AppendActivityLogsRsp) GetInserted() int32

func (*AppendActivityLogsRsp) GetRetInfo

func (x *AppendActivityLogsRsp) GetRetInfo() *commonpb.RetInfo

func (*AppendActivityLogsRsp) ProtoMessage

func (*AppendActivityLogsRsp) ProtoMessage()

func (*AppendActivityLogsRsp) ProtoReflect

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

func (*AppendActivityLogsRsp) Reset

func (x *AppendActivityLogsRsp) Reset()

func (*AppendActivityLogsRsp) String

func (x *AppendActivityLogsRsp) String() string

type ApplySetupReq

type ApplySetupReq struct {
	Admin        *SetupAdmin         `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	TencentCloud *SetupTencentCloud  `protobuf:"bytes,2,opt,name=tencent_cloud,json=tencentCloud,proto3" json:"tencent_cloud,omitempty"`
	Spaces       []*SetupSpace       `protobuf:"bytes,5,rep,name=spaces,proto3" json:"spaces,omitempty"`
	ExchangeKeys []*SetupExchangeKey `protobuf:"bytes,6,rep,name=exchange_keys,json=exchangeKeys,proto3" json:"exchange_keys,omitempty"`
	// contains filtered or unexported fields
}

func (*ApplySetupReq) Descriptor deprecated

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

Deprecated: Use ApplySetupReq.ProtoReflect.Descriptor instead.

func (*ApplySetupReq) GetAdmin

func (x *ApplySetupReq) GetAdmin() *SetupAdmin

func (*ApplySetupReq) GetExchangeKeys

func (x *ApplySetupReq) GetExchangeKeys() []*SetupExchangeKey

func (*ApplySetupReq) GetSpaces

func (x *ApplySetupReq) GetSpaces() []*SetupSpace

func (*ApplySetupReq) GetTencentCloud

func (x *ApplySetupReq) GetTencentCloud() *SetupTencentCloud

func (*ApplySetupReq) ProtoMessage

func (*ApplySetupReq) ProtoMessage()

func (*ApplySetupReq) ProtoReflect

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

func (*ApplySetupReq) Reset

func (x *ApplySetupReq) Reset()

func (*ApplySetupReq) String

func (x *ApplySetupReq) String() string

type ApplySetupRsp

type ApplySetupRsp struct {
	RetInfo         *commonpb.RetInfo         `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	Action          string                    `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
	Users           int32                     `protobuf:"varint,3,opt,name=users,proto3" json:"users,omitempty"`
	Secrets         int32                     `protobuf:"varint,4,opt,name=secrets,proto3" json:"secrets,omitempty"`
	Spaces          int32                     `protobuf:"varint,6,opt,name=spaces,proto3" json:"spaces,omitempty"`
	SpacesCreated   int32                     `protobuf:"varint,7,opt,name=spaces_created,json=spacesCreated,proto3" json:"spaces_created,omitempty"`
	SpacesUnchanged int32                     `protobuf:"varint,8,opt,name=spaces_unchanged,json=spacesUnchanged,proto3" json:"spaces_unchanged,omitempty"`
	ExchangeKeys    []*SetupExchangeKeyResult `protobuf:"bytes,9,rep,name=exchange_keys,json=exchangeKeys,proto3" json:"exchange_keys,omitempty"`
	// kept 是库里已有、与 moox.toml 不一致而以管理台为准保留(没有改写)的项:admin、tencent_cloud、space:<ID>。
	Kept []string `protobuf:"bytes,10,rep,name=kept,proto3" json:"kept,omitempty"`
	// contains filtered or unexported fields
}

func (*ApplySetupRsp) Descriptor deprecated

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

Deprecated: Use ApplySetupRsp.ProtoReflect.Descriptor instead.

func (*ApplySetupRsp) GetAction

func (x *ApplySetupRsp) GetAction() string

func (*ApplySetupRsp) GetExchangeKeys

func (x *ApplySetupRsp) GetExchangeKeys() []*SetupExchangeKeyResult

func (*ApplySetupRsp) GetKept

func (x *ApplySetupRsp) GetKept() []string

func (*ApplySetupRsp) GetRetInfo

func (x *ApplySetupRsp) GetRetInfo() *commonpb.RetInfo

func (*ApplySetupRsp) GetSecrets

func (x *ApplySetupRsp) GetSecrets() int32

func (*ApplySetupRsp) GetSpaces

func (x *ApplySetupRsp) GetSpaces() int32

func (*ApplySetupRsp) GetSpacesCreated

func (x *ApplySetupRsp) GetSpacesCreated() int32

func (*ApplySetupRsp) GetSpacesUnchanged

func (x *ApplySetupRsp) GetSpacesUnchanged() int32

func (*ApplySetupRsp) GetUsers

func (x *ApplySetupRsp) GetUsers() int32

func (*ApplySetupRsp) ProtoMessage

func (*ApplySetupRsp) ProtoMessage()

func (*ApplySetupRsp) ProtoReflect

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

func (*ApplySetupRsp) Reset

func (x *ApplySetupRsp) Reset()

func (*ApplySetupRsp) String

func (x *ApplySetupRsp) String() string

type AuthClientProxy

type AuthClientProxy interface {
	// GetLoginSalt 获取登录盐值
	GetLoginSalt(ctx context.Context, req *GetLoginSaltReq, opts ...client.Option) (rsp *GetLoginSaltRsp, err error)
	// Login 用户登录
	Login(ctx context.Context, req *LoginReq, opts ...client.Option) (rsp *LoginRsp, err error)

	Logout(ctx context.Context, req *LogoutReq, opts ...client.Option) (rsp *LogoutRsp, err error)

	IssueRawSessionTicket(ctx context.Context, req *IssueRawSessionTicketReq, opts ...client.Option) (rsp *IssueRawSessionTicketRsp, err error)
	// GetUserInfo 获取用户信息
	GetUserInfo(ctx context.Context, req *GetUserInfoReq, opts ...client.Option) (rsp *GetUserInfoRsp, err error)
}

AuthClientProxy defines service client proxy

type AuthClientProxyImpl

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

func (*AuthClientProxyImpl) GetLoginSalt

func (c *AuthClientProxyImpl) GetLoginSalt(ctx context.Context, req *GetLoginSaltReq, opts ...client.Option) (*GetLoginSaltRsp, error)

func (*AuthClientProxyImpl) GetUserInfo

func (c *AuthClientProxyImpl) GetUserInfo(ctx context.Context, req *GetUserInfoReq, opts ...client.Option) (*GetUserInfoRsp, error)

func (*AuthClientProxyImpl) IssueRawSessionTicket

func (*AuthClientProxyImpl) Login

func (c *AuthClientProxyImpl) Login(ctx context.Context, req *LoginReq, opts ...client.Option) (*LoginRsp, error)

func (*AuthClientProxyImpl) Logout

func (c *AuthClientProxyImpl) Logout(ctx context.Context, req *LogoutReq, opts ...client.Option) (*LogoutRsp, error)

type AuthInfo

type AuthInfo = commonpb.AuthInfo

type AuthService

type AuthService interface {
	// GetLoginSalt 获取登录盐值
	GetLoginSalt(ctx context.Context, req *GetLoginSaltReq) (*GetLoginSaltRsp, error)
	// Login 用户登录
	Login(ctx context.Context, req *LoginReq) (*LoginRsp, error)

	Logout(ctx context.Context, req *LogoutReq) (*LogoutRsp, error)

	IssueRawSessionTicket(ctx context.Context, req *IssueRawSessionTicketReq) (*IssueRawSessionTicketRsp, error)
	// GetUserInfo 获取用户信息
	GetUserInfo(ctx context.Context, req *GetUserInfoReq) (*GetUserInfoRsp, error)
}

AuthService defines service.

type BeginCollectorPublishOperationReq

type BeginCollectorPublishOperationReq struct {
	SpaceId      string `protobuf:"bytes,1,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
	LeaseId      string `protobuf:"bytes,2,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"`
	FencingToken int64  `protobuf:"varint,3,opt,name=fencing_token,json=fencingToken,proto3" json:"fencing_token,omitempty"`
	OperationId  string `protobuf:"bytes,4,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
	// contains filtered or unexported fields
}

func (*BeginCollectorPublishOperationReq) Descriptor deprecated

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

Deprecated: Use BeginCollectorPublishOperationReq.ProtoReflect.Descriptor instead.

func (*BeginCollectorPublishOperationReq) GetFencingToken

func (x *BeginCollectorPublishOperationReq) GetFencingToken() int64

func (*BeginCollectorPublishOperationReq) GetLeaseId

func (x *BeginCollectorPublishOperationReq) GetLeaseId() string

func (*BeginCollectorPublishOperationReq) GetOperationId

func (x *BeginCollectorPublishOperationReq) GetOperationId() string

func (*BeginCollectorPublishOperationReq) GetSpaceId

func (x *BeginCollectorPublishOperationReq) GetSpaceId() string

func (*BeginCollectorPublishOperationReq) ProtoMessage

func (*BeginCollectorPublishOperationReq) ProtoMessage()

func (*BeginCollectorPublishOperationReq) ProtoReflect

func (*BeginCollectorPublishOperationReq) Reset

func (*BeginCollectorPublishOperationReq) String

type CollectorPublishLeaseClientProxy

type CollectorPublishLeaseClientProxy interface {
	AcquireCollectorPublishLease(ctx context.Context, req *AcquireCollectorPublishLeaseReq, opts ...client.Option) (rsp *CollectorPublishLeaseRsp, err error)

	RenewCollectorPublishLease(ctx context.Context, req *RenewCollectorPublishLeaseReq, opts ...client.Option) (rsp *CollectorPublishLeaseRsp, err error)

	ReleaseCollectorPublishLease(ctx context.Context, req *ReleaseCollectorPublishLeaseReq, opts ...client.Option) (rsp *ReleaseCollectorPublishLeaseRsp, err error)

	ValidateCollectorPublishLease(ctx context.Context, req *ValidateCollectorPublishLeaseReq, opts ...client.Option) (rsp *ValidateCollectorPublishLeaseRsp, err error)

	BeginCollectorPublishOperation(ctx context.Context, req *BeginCollectorPublishOperationReq, opts ...client.Option) (rsp *CollectorPublishOperationRsp, err error)

	RenewCollectorPublishOperation(ctx context.Context, req *CollectorPublishOperationReq, opts ...client.Option) (rsp *CollectorPublishOperationRsp, err error)

	EndCollectorPublishOperation(ctx context.Context, req *CollectorPublishOperationReq, opts ...client.Option) (rsp *CollectorPublishOperationRsp, err error)
}

CollectorPublishLeaseClientProxy defines service client proxy

type CollectorPublishLeaseClientProxyImpl

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

func (*CollectorPublishLeaseClientProxyImpl) AcquireCollectorPublishLease

func (*CollectorPublishLeaseClientProxyImpl) BeginCollectorPublishOperation

func (*CollectorPublishLeaseClientProxyImpl) EndCollectorPublishOperation

func (*CollectorPublishLeaseClientProxyImpl) ReleaseCollectorPublishLease

func (*CollectorPublishLeaseClientProxyImpl) RenewCollectorPublishLease

func (*CollectorPublishLeaseClientProxyImpl) RenewCollectorPublishOperation

func (*CollectorPublishLeaseClientProxyImpl) ValidateCollectorPublishLease

type CollectorPublishLeaseRsp

type CollectorPublishLeaseRsp struct {
	RetInfo      *commonpb.RetInfo `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	SpaceId      string            `protobuf:"bytes,2,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
	LeaseId      string            `protobuf:"bytes,3,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"`
	FencingToken int64             `protobuf:"varint,4,opt,name=fencing_token,json=fencingToken,proto3" json:"fencing_token,omitempty"`
	ExpiresAt    string            `protobuf:"bytes,5,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	// contains filtered or unexported fields
}

func (*CollectorPublishLeaseRsp) Descriptor deprecated

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

Deprecated: Use CollectorPublishLeaseRsp.ProtoReflect.Descriptor instead.

func (*CollectorPublishLeaseRsp) GetExpiresAt

func (x *CollectorPublishLeaseRsp) GetExpiresAt() string

func (*CollectorPublishLeaseRsp) GetFencingToken

func (x *CollectorPublishLeaseRsp) GetFencingToken() int64

func (*CollectorPublishLeaseRsp) GetLeaseId

func (x *CollectorPublishLeaseRsp) GetLeaseId() string

func (*CollectorPublishLeaseRsp) GetRetInfo

func (x *CollectorPublishLeaseRsp) GetRetInfo() *commonpb.RetInfo

func (*CollectorPublishLeaseRsp) GetSpaceId

func (x *CollectorPublishLeaseRsp) GetSpaceId() string

func (*CollectorPublishLeaseRsp) ProtoMessage

func (*CollectorPublishLeaseRsp) ProtoMessage()

func (*CollectorPublishLeaseRsp) ProtoReflect

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

func (*CollectorPublishLeaseRsp) Reset

func (x *CollectorPublishLeaseRsp) Reset()

func (*CollectorPublishLeaseRsp) String

func (x *CollectorPublishLeaseRsp) String() string

type CollectorPublishLeaseService

type CollectorPublishLeaseService interface {
	AcquireCollectorPublishLease(ctx context.Context, req *AcquireCollectorPublishLeaseReq) (*CollectorPublishLeaseRsp, error)

	RenewCollectorPublishLease(ctx context.Context, req *RenewCollectorPublishLeaseReq) (*CollectorPublishLeaseRsp, error)

	ReleaseCollectorPublishLease(ctx context.Context, req *ReleaseCollectorPublishLeaseReq) (*ReleaseCollectorPublishLeaseRsp, error)

	ValidateCollectorPublishLease(ctx context.Context, req *ValidateCollectorPublishLeaseReq) (*ValidateCollectorPublishLeaseRsp, error)

	BeginCollectorPublishOperation(ctx context.Context, req *BeginCollectorPublishOperationReq) (*CollectorPublishOperationRsp, error)

	RenewCollectorPublishOperation(ctx context.Context, req *CollectorPublishOperationReq) (*CollectorPublishOperationRsp, error)

	EndCollectorPublishOperation(ctx context.Context, req *CollectorPublishOperationReq) (*CollectorPublishOperationRsp, error)
}

CollectorPublishLeaseService defines service.

type CollectorPublishOperationReq

type CollectorPublishOperationReq struct {
	SpaceId      string `protobuf:"bytes,1,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
	FencingToken int64  `protobuf:"varint,2,opt,name=fencing_token,json=fencingToken,proto3" json:"fencing_token,omitempty"`
	OperationId  string `protobuf:"bytes,3,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CollectorPublishOperationReq) Descriptor deprecated

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

Deprecated: Use CollectorPublishOperationReq.ProtoReflect.Descriptor instead.

func (*CollectorPublishOperationReq) GetFencingToken

func (x *CollectorPublishOperationReq) GetFencingToken() int64

func (*CollectorPublishOperationReq) GetOperationId

func (x *CollectorPublishOperationReq) GetOperationId() string

func (*CollectorPublishOperationReq) GetSpaceId

func (x *CollectorPublishOperationReq) GetSpaceId() string

func (*CollectorPublishOperationReq) ProtoMessage

func (*CollectorPublishOperationReq) ProtoMessage()

func (*CollectorPublishOperationReq) ProtoReflect

func (*CollectorPublishOperationReq) Reset

func (x *CollectorPublishOperationReq) Reset()

func (*CollectorPublishOperationReq) String

type CollectorPublishOperationRsp

type CollectorPublishOperationRsp struct {
	RetInfo   *commonpb.RetInfo `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	Active    bool              `protobuf:"varint,2,opt,name=active,proto3" json:"active,omitempty"`
	ExpiresAt string            `protobuf:"bytes,3,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	// contains filtered or unexported fields
}

func (*CollectorPublishOperationRsp) Descriptor deprecated

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

Deprecated: Use CollectorPublishOperationRsp.ProtoReflect.Descriptor instead.

func (*CollectorPublishOperationRsp) GetActive

func (x *CollectorPublishOperationRsp) GetActive() bool

func (*CollectorPublishOperationRsp) GetExpiresAt

func (x *CollectorPublishOperationRsp) GetExpiresAt() string

func (*CollectorPublishOperationRsp) GetRetInfo

func (*CollectorPublishOperationRsp) ProtoMessage

func (*CollectorPublishOperationRsp) ProtoMessage()

func (*CollectorPublishOperationRsp) ProtoReflect

func (*CollectorPublishOperationRsp) Reset

func (x *CollectorPublishOperationRsp) Reset()

func (*CollectorPublishOperationRsp) String

type ComponentDeployment

type ComponentDeployment struct {
	HostId      string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	ComponentId string `protobuf:"bytes,2,opt,name=component_id,json=componentId,proto3" json:"component_id,omitempty"`
	Status      string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	CreatedAt   string `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt   string `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*ComponentDeployment) Descriptor deprecated

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

Deprecated: Use ComponentDeployment.ProtoReflect.Descriptor instead.

func (*ComponentDeployment) GetComponentId

func (x *ComponentDeployment) GetComponentId() string

func (*ComponentDeployment) GetCreatedAt

func (x *ComponentDeployment) GetCreatedAt() string

func (*ComponentDeployment) GetHostId

func (x *ComponentDeployment) GetHostId() string

func (*ComponentDeployment) GetStatus

func (x *ComponentDeployment) GetStatus() string

func (*ComponentDeployment) GetUpdatedAt

func (x *ComponentDeployment) GetUpdatedAt() string

func (*ComponentDeployment) ProtoMessage

func (*ComponentDeployment) ProtoMessage()

func (*ComponentDeployment) ProtoReflect

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

func (*ComponentDeployment) Reset

func (x *ComponentDeployment) Reset()

func (*ComponentDeployment) String

func (x *ComponentDeployment) String() string

type CreateSecretReq

type CreateSecretReq struct {
	Secret *Secret `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSecretReq) Descriptor deprecated

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

Deprecated: Use CreateSecretReq.ProtoReflect.Descriptor instead.

func (*CreateSecretReq) GetSecret

func (x *CreateSecretReq) GetSecret() *Secret

func (*CreateSecretReq) ProtoMessage

func (*CreateSecretReq) ProtoMessage()

func (*CreateSecretReq) ProtoReflect

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

func (*CreateSecretReq) Reset

func (x *CreateSecretReq) Reset()

func (*CreateSecretReq) String

func (x *CreateSecretReq) String() string

func (*CreateSecretReq) Validate

func (r *CreateSecretReq) Validate() error

type CreateSecretRsp

type CreateSecretRsp struct {
	RetInfo  *commonpb.RetInfo `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	SecretId string            `protobuf:"bytes,2,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSecretRsp) Descriptor deprecated

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

Deprecated: Use CreateSecretRsp.ProtoReflect.Descriptor instead.

func (*CreateSecretRsp) GetRetInfo

func (x *CreateSecretRsp) GetRetInfo() *commonpb.RetInfo

func (*CreateSecretRsp) GetSecretId

func (x *CreateSecretRsp) GetSecretId() string

func (*CreateSecretRsp) ProtoMessage

func (*CreateSecretRsp) ProtoMessage()

func (*CreateSecretRsp) ProtoReflect

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

func (*CreateSecretRsp) Reset

func (x *CreateSecretRsp) Reset()

func (*CreateSecretRsp) String

func (x *CreateSecretRsp) String() string

type CreateSessionReq

type CreateSessionReq struct {

	// 登记主机的 ID(t_hosts.c_host_id)。
	HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSessionReq) Descriptor deprecated

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

Deprecated: Use CreateSessionReq.ProtoReflect.Descriptor instead.

func (*CreateSessionReq) GetHostId

func (x *CreateSessionReq) GetHostId() string

func (*CreateSessionReq) ProtoMessage

func (*CreateSessionReq) ProtoMessage()

func (*CreateSessionReq) ProtoReflect

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

func (*CreateSessionReq) Reset

func (x *CreateSessionReq) Reset()

func (*CreateSessionReq) String

func (x *CreateSessionReq) String() string

type CreateSessionRsp

type CreateSessionRsp struct {
	RetInfo   *commonpb.RetInfo `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	SessionId string            `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSessionRsp) Descriptor deprecated

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

Deprecated: Use CreateSessionRsp.ProtoReflect.Descriptor instead.

func (*CreateSessionRsp) GetRetInfo

func (x *CreateSessionRsp) GetRetInfo() *commonpb.RetInfo

func (*CreateSessionRsp) GetSessionId

func (x *CreateSessionRsp) GetSessionId() string

func (*CreateSessionRsp) ProtoMessage

func (*CreateSessionRsp) ProtoMessage()

func (*CreateSessionRsp) ProtoReflect

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

func (*CreateSessionRsp) Reset

func (x *CreateSessionRsp) Reset()

func (*CreateSessionRsp) String

func (x *CreateSessionRsp) String() string

type CreateSpaceReq

type CreateSpaceReq struct {
	Space *Space `protobuf:"bytes,1,opt,name=space,proto3" json:"space,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSpaceReq) Descriptor deprecated

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

Deprecated: Use CreateSpaceReq.ProtoReflect.Descriptor instead.

func (*CreateSpaceReq) GetSpace

func (x *CreateSpaceReq) GetSpace() *Space

func (*CreateSpaceReq) ProtoMessage

func (*CreateSpaceReq) ProtoMessage()

func (*CreateSpaceReq) ProtoReflect

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

func (*CreateSpaceReq) Reset

func (x *CreateSpaceReq) Reset()

func (*CreateSpaceReq) String

func (x *CreateSpaceReq) String() string

type CreateSpaceRsp

type CreateSpaceRsp struct {
	RetInfo *commonpb.RetInfo `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	Space   *Space            `protobuf:"bytes,2,opt,name=space,proto3" json:"space,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSpaceRsp) Descriptor deprecated

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

Deprecated: Use CreateSpaceRsp.ProtoReflect.Descriptor instead.

func (*CreateSpaceRsp) GetRetInfo

func (x *CreateSpaceRsp) GetRetInfo() *commonpb.RetInfo

func (*CreateSpaceRsp) GetSpace

func (x *CreateSpaceRsp) GetSpace() *Space

func (*CreateSpaceRsp) ProtoMessage

func (*CreateSpaceRsp) ProtoMessage()

func (*CreateSpaceRsp) ProtoReflect

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

func (*CreateSpaceRsp) Reset

func (x *CreateSpaceRsp) Reset()

func (*CreateSpaceRsp) String

func (x *CreateSpaceRsp) String() string

type DeleteDeploymentHostReq

type DeleteDeploymentHostReq struct {
	HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteDeploymentHostReq) Descriptor deprecated

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

Deprecated: Use DeleteDeploymentHostReq.ProtoReflect.Descriptor instead.

func (*DeleteDeploymentHostReq) GetHostId

func (x *DeleteDeploymentHostReq) GetHostId() string

func (*DeleteDeploymentHostReq) ProtoMessage

func (*DeleteDeploymentHostReq) ProtoMessage()

func (*DeleteDeploymentHostReq) ProtoReflect

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

func (*DeleteDeploymentHostReq) Reset

func (x *DeleteDeploymentHostReq) Reset()

func (*DeleteDeploymentHostReq) String

func (x *DeleteDeploymentHostReq) String() string

type DeleteDeploymentHostRsp

type DeleteDeploymentHostRsp struct {
	RetInfo *commonpb.RetInfo `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteDeploymentHostRsp) Descriptor deprecated

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

Deprecated: Use DeleteDeploymentHostRsp.ProtoReflect.Descriptor instead.

func (*DeleteDeploymentHostRsp) GetRetInfo

func (x *DeleteDeploymentHostRsp) GetRetInfo() *commonpb.RetInfo

func (*DeleteDeploymentHostRsp) ProtoMessage

func (*DeleteDeploymentHostRsp) ProtoMessage()

func (*DeleteDeploymentHostRsp) ProtoReflect

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

func (*DeleteDeploymentHostRsp) Reset

func (x *DeleteDeploymentHostRsp) Reset()

func (*DeleteDeploymentHostRsp) String

func (x *DeleteDeploymentHostRsp) String() string

type DeleteSecretReq

type DeleteSecretReq struct {
	SecretId string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteSecretReq) Descriptor deprecated

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

Deprecated: Use DeleteSecretReq.ProtoReflect.Descriptor instead.

func (*DeleteSecretReq) GetSecretId

func (x *DeleteSecretReq) GetSecretId() string

func (*DeleteSecretReq) ProtoMessage

func (*DeleteSecretReq) ProtoMessage()

func (*DeleteSecretReq) ProtoReflect

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

func (*DeleteSecretReq) Reset

func (x *DeleteSecretReq) Reset()

func (*DeleteSecretReq) String

func (x *DeleteSecretReq) String() string

type DeleteSecretRsp

type DeleteSecretRsp struct {
	RetInfo *commonpb.RetInfo `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteSecretRsp) Descriptor deprecated

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

Deprecated: Use DeleteSecretRsp.ProtoReflect.Descriptor instead.

func (*DeleteSecretRsp) GetRetInfo

func (x *DeleteSecretRsp) GetRetInfo() *commonpb.RetInfo

func (*DeleteSecretRsp) ProtoMessage

func (*DeleteSecretRsp) ProtoMessage()

func (*DeleteSecretRsp) ProtoReflect

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

func (*DeleteSecretRsp) Reset

func (x *DeleteSecretRsp) Reset()

func (*DeleteSecretRsp) String

func (x *DeleteSecretRsp) String() string

type DeleteSpaceReq

type DeleteSpaceReq struct {
	SpaceId string `protobuf:"bytes,1,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteSpaceReq) Descriptor deprecated

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

Deprecated: Use DeleteSpaceReq.ProtoReflect.Descriptor instead.

func (*DeleteSpaceReq) GetSpaceId

func (x *DeleteSpaceReq) GetSpaceId() string

func (*DeleteSpaceReq) ProtoMessage

func (*DeleteSpaceReq) ProtoMessage()

func (*DeleteSpaceReq) ProtoReflect

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

func (*DeleteSpaceReq) Reset

func (x *DeleteSpaceReq) Reset()

func (*DeleteSpaceReq) String

func (x *DeleteSpaceReq) String() string

type DeleteSpaceRsp

type DeleteSpaceRsp struct {
	RetInfo *commonpb.RetInfo `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteSpaceRsp) Descriptor deprecated

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

Deprecated: Use DeleteSpaceRsp.ProtoReflect.Descriptor instead.

func (*DeleteSpaceRsp) GetRetInfo

func (x *DeleteSpaceRsp) GetRetInfo() *commonpb.RetInfo

func (*DeleteSpaceRsp) ProtoMessage

func (*DeleteSpaceRsp) ProtoMessage()

func (*DeleteSpaceRsp) ProtoReflect

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

func (*DeleteSpaceRsp) Reset

func (x *DeleteSpaceRsp) Reset()

func (*DeleteSpaceRsp) String

func (x *DeleteSpaceRsp) String() string

type DeploymentHost

type DeploymentHost struct {
	HostId         string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	Address        string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	PrivateAddress string `protobuf:"bytes,3,opt,name=private_address,json=privateAddress,proto3" json:"private_address,omitempty"`
	Region         string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"`
	Status         string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	Description    string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	CreatedAt      string `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt      string `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// direct 或 outbound(只能出站,经 control 网关反向连接中转)。
	Reachability string `protobuf:"bytes,9,opt,name=reachability,proto3" json:"reachability,omitempty"`
	// 控制台展示用的中文名,如“控制机”。
	Label string `protobuf:"bytes,10,opt,name=label,proto3" json:"label,omitempty"`
	// 控制台终端使用的 SSH 端口与用户;端口为 0 表示控制台不能 SSH 到这台主机。凭据与指纹不外传。
	SshPort int32  `protobuf:"varint,11,opt,name=ssh_port,json=sshPort,proto3" json:"ssh_port,omitempty"`
	SshUser string `protobuf:"bytes,12,opt,name=ssh_user,json=sshUser,proto3" json:"ssh_user,omitempty"`
	// contains filtered or unexported fields
}

SysDeploy 管理规范主机和组件部署。

func (*DeploymentHost) Descriptor deprecated

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

Deprecated: Use DeploymentHost.ProtoReflect.Descriptor instead.

func (*DeploymentHost) GetAddress

func (x *DeploymentHost) GetAddress() string

func (*DeploymentHost) GetCreatedAt

func (x *DeploymentHost) GetCreatedAt() string

func (*DeploymentHost) GetDescription

func (x *DeploymentHost) GetDescription() string

func (*DeploymentHost) GetHostId

func (x *DeploymentHost) GetHostId() string

func (*DeploymentHost) GetLabel

func (x *DeploymentHost) GetLabel() string

func (*DeploymentHost) GetPrivateAddress

func (x *DeploymentHost) GetPrivateAddress() string

func (*DeploymentHost) GetReachability

func (x *DeploymentHost) GetReachability() string

func (*DeploymentHost) GetRegion

func (x *DeploymentHost) GetRegion() string

func (*DeploymentHost) GetSshPort

func (x *DeploymentHost) GetSshPort() int32

func (*DeploymentHost) GetSshUser

func (x *DeploymentHost) GetSshUser() string

func (*DeploymentHost) GetStatus

func (x *DeploymentHost) GetStatus() string

func (*DeploymentHost) GetUpdatedAt

func (x *DeploymentHost) GetUpdatedAt() string

func (*DeploymentHost) ProtoMessage

func (*DeploymentHost) ProtoMessage()

func (*DeploymentHost) ProtoReflect

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

func (*DeploymentHost) Reset

func (x *DeploymentHost) Reset()

func (*DeploymentHost) String

func (x *DeploymentHost) String() string

type DisconnectSessionReq

type DisconnectSessionReq struct {
	SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DisconnectSessionReq) Descriptor deprecated

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

Deprecated: Use DisconnectSessionReq.ProtoReflect.Descriptor instead.

func (*DisconnectSessionReq) GetSessionId

func (x *DisconnectSessionReq) GetSessionId() string

func (*DisconnectSessionReq) ProtoMessage

func (*DisconnectSessionReq) ProtoMessage()

func (*DisconnectSessionReq) ProtoReflect

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

func (*DisconnectSessionReq) Reset

func (x *DisconnectSessionReq) Reset()

func (*DisconnectSessionReq) String

func (x *DisconnectSessionReq) String() string

type DisconnectSessionRsp

type DisconnectSessionRsp struct {
	RetInfo *commonpb.RetInfo `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	// contains filtered or unexported fields
}

func (*DisconnectSessionRsp) Descriptor deprecated

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

Deprecated: Use DisconnectSessionRsp.ProtoReflect.Descriptor instead.

func (*DisconnectSessionRsp) GetRetInfo

func (x *DisconnectSessionRsp) GetRetInfo() *commonpb.RetInfo

func (*DisconnectSessionRsp) ProtoMessage

func (*DisconnectSessionRsp) ProtoMessage()

func (*DisconnectSessionRsp) ProtoReflect

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

func (*DisconnectSessionRsp) Reset

func (x *DisconnectSessionRsp) Reset()

func (*DisconnectSessionRsp) String

func (x *DisconnectSessionRsp) String() string

type ErrorCode

type ErrorCode = commonpb.ErrorCode

type ExportSecretsReq

type ExportSecretsReq struct {
	Passphrase string `protobuf:"bytes,1,opt,name=passphrase,proto3" json:"passphrase,omitempty"` // 导出口令,至少 12 个字符;导入时需要同一口令
	// contains filtered or unexported fields
}

ExportSecretsReq 把全部秘钥(含明文,不含系统秘钥与配置备份)用导出口令加密成一个迁移包,供另一套环境导入。 明文只在 Admin 进程内出现:口令经 PBKDF2-SHA256 派生 AES-256-GCM 密钥,响应里只有密文。仅全局管理员可调用。

func (*ExportSecretsReq) Descriptor deprecated

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

Deprecated: Use ExportSecretsReq.ProtoReflect.Descriptor instead.

func (*ExportSecretsReq) GetPassphrase

func (x *ExportSecretsReq) GetPassphrase() string

func (*ExportSecretsReq) ProtoMessage

func (*ExportSecretsReq) ProtoMessage()

func (*ExportSecretsReq) ProtoReflect

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

func (*ExportSecretsReq) Reset

func (x *ExportSecretsReq) Reset()

func (*ExportSecretsReq) String

func (x *ExportSecretsReq) String() string

type ExportSecretsRsp

type ExportSecretsRsp struct {
	RetInfo *commonpb.RetInfo `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	Bundle  string            `protobuf:"bytes,2,opt,name=bundle,proto3" json:"bundle,omitempty"` // 迁移包(JSON 文本),由控制台保存为文件
	Count   int32             `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`  // 导出的秘钥数
	// contains filtered or unexported fields
}

func (*ExportSecretsRsp) Descriptor deprecated

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

Deprecated: Use ExportSecretsRsp.ProtoReflect.Descriptor instead.

func (*ExportSecretsRsp) GetBundle

func (x *ExportSecretsRsp) GetBundle() string

func (*ExportSecretsRsp) GetCount

func (x *ExportSecretsRsp) GetCount() int32

func (*ExportSecretsRsp) GetRetInfo

func (x *ExportSecretsRsp) GetRetInfo() *commonpb.RetInfo

func (*ExportSecretsRsp) ProtoMessage

func (*ExportSecretsRsp) ProtoMessage()

func (*ExportSecretsRsp) ProtoReflect

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

func (*ExportSecretsRsp) Reset

func (x *ExportSecretsRsp) Reset()

func (*ExportSecretsRsp) String

func (x *ExportSecretsRsp) String() string

type GatewayControlClientProxy

type GatewayControlClientProxy interface {
	PullSnapshot(ctx context.Context, req *PullSnapshotReq, opts ...client.Option) (rsp *PullSnapshotRsp, err error)

	ReportStatus(ctx context.Context, req *ReportStatusReq, opts ...client.Option) (rsp *ReportStatusRsp, err error)
}

GatewayControlClientProxy defines service client proxy

type GatewayControlClientProxyImpl

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

func (*GatewayControlClientProxyImpl) PullSnapshot

func (*GatewayControlClientProxyImpl) ReportStatus

type GatewayControlService

type GatewayControlService interface {
	PullSnapshot(ctx context.Context, req *PullSnapshotReq) (*PullSnapshotRsp, error)

	ReportStatus(ctx context.Context, req *ReportStatusReq) (*ReportStatusRsp, error)
}

GatewayControlService defines service.

type GatewayVerificationKey

type GatewayVerificationKey struct {
	Caller string `protobuf:"bytes,1,opt,name=caller,proto3" json:"caller,omitempty"`
	KeyId  string `protobuf:"bytes,2,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	Secret []byte `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"`
	// Zero means valid until explicitly retired, including rotation overlap.
	// A positive value limits verification to this Unix deadline.
	ExpiresAtUnix int64 `protobuf:"varint,4,opt,name=expires_at_unix,json=expiresAtUnix,proto3" json:"expires_at_unix,omitempty"`
	// contains filtered or unexported fields
}

func (*GatewayVerificationKey) Descriptor deprecated

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

Deprecated: Use GatewayVerificationKey.ProtoReflect.Descriptor instead.

func (*GatewayVerificationKey) GetCaller

func (x *GatewayVerificationKey) GetCaller() string

func (*GatewayVerificationKey) GetExpiresAtUnix

func (x *GatewayVerificationKey) GetExpiresAtUnix() int64

func (*GatewayVerificationKey) GetKeyId

func (x *GatewayVerificationKey) GetKeyId() string

func (*GatewayVerificationKey) GetSecret

func (x *GatewayVerificationKey) GetSecret() []byte

func (*GatewayVerificationKey) ProtoMessage

func (*GatewayVerificationKey) ProtoMessage()

func (*GatewayVerificationKey) ProtoReflect

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

func (*GatewayVerificationKey) Reset

func (x *GatewayVerificationKey) Reset()

func (*GatewayVerificationKey) String

func (x *GatewayVerificationKey) String() string

type GetCatalogReq

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

func (*GetCatalogReq) Descriptor deprecated

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

Deprecated: Use GetCatalogReq.ProtoReflect.Descriptor instead.

func (*GetCatalogReq) ProtoMessage

func (*GetCatalogReq) ProtoMessage()

func (*GetCatalogReq) ProtoReflect

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

func (*GetCatalogReq) Reset

func (x *GetCatalogReq) Reset()

func (*GetCatalogReq) String

func (x *GetCatalogReq) String() string

type GetCatalogRsp

type GetCatalogRsp struct {
	RetInfo *commonpb.RetInfo `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	// Exact embedded shared catalog bytes, including Doctor metadata.
	CatalogYaml string `protobuf:"bytes,2,opt,name=catalog_yaml,json=catalogYaml,proto3" json:"catalog_yaml,omitempty"`
	Sha256      string `protobuf:"bytes,3,opt,name=sha256,proto3" json:"sha256,omitempty"`
	// Authoritative protected host; browsers must not infer it from its name.
	ControlHostId string `protobuf:"bytes,4,opt,name=control_host_id,json=controlHostId,proto3" json:"control_host_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCatalogRsp) Descriptor deprecated

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

Deprecated: Use GetCatalogRsp.ProtoReflect.Descriptor instead.

func (*GetCatalogRsp) GetCatalogYaml

func (x *GetCatalogRsp) GetCatalogYaml() string

func (*GetCatalogRsp) GetControlHostId

func (x *GetCatalogRsp) GetControlHostId() string

func (*GetCatalogRsp) GetRetInfo

func (x *GetCatalogRsp) GetRetInfo() *commonpb.RetInfo

func (*GetCatalogRsp) GetSha256

func (x *GetCatalogRsp) GetSha256() string

func (*GetCatalogRsp) ProtoMessage

func (*GetCatalogRsp) ProtoMessage()

func (*GetCatalogRsp) ProtoReflect

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

func (*GetCatalogRsp) Reset

func (x *GetCatalogRsp) Reset()

func (*GetCatalogRsp) String

func (x *GetCatalogRsp) String() string

type GetConfigBackupReq

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

func (*GetConfigBackupReq) Descriptor deprecated

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

Deprecated: Use GetConfigBackupReq.ProtoReflect.Descriptor instead.

func (*GetConfigBackupReq) ProtoMessage

func (*GetConfigBackupReq) ProtoMessage()

func (*GetConfigBackupReq) ProtoReflect

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

func (*GetConfigBackupReq) Reset

func (x *GetConfigBackupReq) Reset()

func (*GetConfigBackupReq) String

func (x *GetConfigBackupReq) String() string

type GetConfigBackupRsp

type GetConfigBackupRsp struct {
	RetInfo   *commonpb.RetInfo `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	Envelope  string            `protobuf:"bytes,2,opt,name=envelope,proto3" json:"envelope,omitempty"`
	UpdatedAt int64             `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // Unix 秒
	// contains filtered or unexported fields
}

func (*GetConfigBackupRsp) Descriptor deprecated

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

Deprecated: Use GetConfigBackupRsp.ProtoReflect.Descriptor instead.

func (*GetConfigBackupRsp) GetEnvelope

func (x *GetConfigBackupRsp) GetEnvelope() string

func (*GetConfigBackupRsp) GetRetInfo

func (x *GetConfigBackupRsp) GetRetInfo() *commonpb.RetInfo

func (*GetConfigBackupRsp) GetUpdatedAt

func (x *GetConfigBackupRsp) GetUpdatedAt() int64

func (*GetConfigBackupRsp) ProtoMessage

func (*GetConfigBackupRsp) ProtoMessage()

func (*GetConfigBackupRsp) ProtoReflect

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

func (*GetConfigBackupRsp) Reset

func (x *GetConfigBackupRsp) Reset()

func (*GetConfigBackupRsp) String

func (x *GetConfigBackupRsp) String() string

type GetDirectoryReq

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

func (*GetDirectoryReq) Descriptor deprecated

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

Deprecated: Use GetDirectoryReq.ProtoReflect.Descriptor instead.

func (*GetDirectoryReq) ProtoMessage

func (*GetDirectoryReq) ProtoMessage()

func (*GetDirectoryReq) ProtoReflect

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

func (*GetDirectoryReq) Reset

func (x *GetDirectoryReq) Reset()

func (*GetDirectoryReq) String

func (x *GetDirectoryReq) String() string

type GetDirectoryRsp

type GetDirectoryRsp struct {
	RetInfo   *commonpb.RetInfo                 `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	Directory *gatewayroutegen.ServiceDirectory `protobuf:"bytes,2,opt,name=directory,proto3" json:"directory,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDirectoryRsp) Descriptor deprecated

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

Deprecated: Use GetDirectoryRsp.ProtoReflect.Descriptor instead.

func (*GetDirectoryRsp) GetDirectory

func (*GetDirectoryRsp) GetRetInfo

func (x *GetDirectoryRsp) GetRetInfo() *commonpb.RetInfo

func (*GetDirectoryRsp) ProtoMessage

func (*GetDirectoryRsp) ProtoMessage()

func (*GetDirectoryRsp) ProtoReflect

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

func (*GetDirectoryRsp) Reset

func (x *GetDirectoryRsp) Reset()

func (*GetDirectoryRsp) String

func (x *GetDirectoryRsp) String() string

type GetHostRoutesReq

type GetHostRoutesReq struct {
	HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetHostRoutesReq) Descriptor deprecated

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

Deprecated: Use GetHostRoutesReq.ProtoReflect.Descriptor instead.

func (*GetHostRoutesReq) GetHostId

func (x *GetHostRoutesReq) GetHostId() string

func (*GetHostRoutesReq) ProtoMessage

func (*GetHostRoutesReq) ProtoMessage()

func (*GetHostRoutesReq) ProtoReflect

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

func (*GetHostRoutesReq) Reset

func (x *GetHostRoutesReq) Reset()

func (*GetHostRoutesReq) String

func (x *GetHostRoutesReq) String() string

type GetHostRoutesRsp

type GetHostRoutesRsp struct {
	RetInfo *commonpb.RetInfo `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	HostId  string            `protobuf:"bytes,2,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	// Definition hash excludes keys; the final snapshot hash is in gateway_status.
	DefinitionHash        string                    `protobuf:"bytes,3,opt,name=definition_hash,json=definitionHash,proto3" json:"definition_hash,omitempty"`
	Routes                []*HostGatewayRoute       `protobuf:"bytes,4,rep,name=routes,proto3" json:"routes,omitempty"`
	GatewayStatus         *HostGatewayRuntimeStatus `protobuf:"bytes,5,opt,name=gateway_status,json=gatewayStatus,proto3" json:"gateway_status,omitempty"`
	SnapshotSchemaVersion uint32                    `` /* 127-byte string literal not displayed */
	// Time this response's desired snapshot was actually compiled, not a
	// gateway application time or a persisted configuration revision time.
	CompiledAt string `protobuf:"bytes,7,opt,name=compiled_at,json=compiledAt,proto3" json:"compiled_at,omitempty"`
	// contains filtered or unexported fields
}

func (*GetHostRoutesRsp) Descriptor deprecated

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

Deprecated: Use GetHostRoutesRsp.ProtoReflect.Descriptor instead.

func (*GetHostRoutesRsp) GetCompiledAt

func (x *GetHostRoutesRsp) GetCompiledAt() string

func (*GetHostRoutesRsp) GetDefinitionHash

func (x *GetHostRoutesRsp) GetDefinitionHash() string

func (*GetHostRoutesRsp) GetGatewayStatus

func (x *GetHostRoutesRsp) GetGatewayStatus() *HostGatewayRuntimeStatus

func (*GetHostRoutesRsp) GetHostId

func (x *GetHostRoutesRsp) GetHostId() string

func (*GetHostRoutesRsp) GetRetInfo

func (x *GetHostRoutesRsp) GetRetInfo() *commonpb.RetInfo

func (*GetHostRoutesRsp) GetRoutes

func (x *GetHostRoutesRsp) GetRoutes() []*HostGatewayRoute

func (*GetHostRoutesRsp) GetSnapshotSchemaVersion

func (x *GetHostRoutesRsp) GetSnapshotSchemaVersion() uint32

func (*GetHostRoutesRsp) ProtoMessage

func (*GetHostRoutesRsp) ProtoMessage()

func (*GetHostRoutesRsp) ProtoReflect

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

func (*GetHostRoutesRsp) Reset

func (x *GetHostRoutesRsp) Reset()

func (*GetHostRoutesRsp) String

func (x *GetHostRoutesRsp) String() string

type GetLoginSaltReq

type GetLoginSaltReq struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // 用户名/邮箱/手机号
	// contains filtered or unexported fields
}

func (*GetLoginSaltReq) Descriptor deprecated

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

Deprecated: Use GetLoginSaltReq.ProtoReflect.Descriptor instead.

func (*GetLoginSaltReq) GetUsername

func (x *GetLoginSaltReq) GetUsername() string

func (*GetLoginSaltReq) ProtoMessage

func (*GetLoginSaltReq) ProtoMessage()

func (*GetLoginSaltReq) ProtoReflect

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

func (*GetLoginSaltReq) Reset

func (x *GetLoginSaltReq) Reset()

func (*GetLoginSaltReq) String

func (x *GetLoginSaltReq) String() string

type GetLoginSaltRsp

type GetLoginSaltRsp struct {
	RetInfo   *commonpb.RetInfo `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	Salt      string            `protobuf:"bytes,2,opt,name=salt,proto3" json:"salt,omitempty"`                             // 随机盐值
	Timestamp int64             `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`                  // 服务器时间戳
	ExpiresIn int64             `protobuf:"varint,4,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"` // 盐值过期时间(秒)
	// contains filtered or unexported fields
}

func (*GetLoginSaltRsp) Descriptor deprecated

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

Deprecated: Use GetLoginSaltRsp.ProtoReflect.Descriptor instead.

func (*GetLoginSaltRsp) GetExpiresIn

func (x *GetLoginSaltRsp) GetExpiresIn() int64

func (*GetLoginSaltRsp) GetRetInfo

func (x *GetLoginSaltRsp) GetRetInfo() *commonpb.RetInfo

func (*GetLoginSaltRsp) GetSalt

func (x *GetLoginSaltRsp) GetSalt() string

func (*GetLoginSaltRsp) GetTimestamp

func (x *GetLoginSaltRsp) GetTimestamp() int64

func (*GetLoginSaltRsp) ProtoMessage

func (*GetLoginSaltRsp) ProtoMessage()

func (*GetLoginSaltRsp) ProtoReflect

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

func (*GetLoginSaltRsp) Reset

func (x *GetLoginSaltRsp) Reset()

func (*GetLoginSaltRsp) String

func (x *GetLoginSaltRsp) String() string

type GetReadonlyExchangeKeyReq

type GetReadonlyExchangeKeyReq struct {
	Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"` // 小写交易所代码:binance、okx
	// contains filtered or unexported fields
}

GetReadonlyExchangeKey 是给 Collector 的专用方法:只返回固定 ID exchange-<交易所>-production-readonly 那把只读 API Key 的公开标识(key_id),不返回 secret_value、extra_config。 不在 GetSecretValue 里按调用方限定:网关转发会丢掉调用方元数据,SecretMgr 看不到调用方是谁, 所以用专用方法配合“按方法授权”,Collector 因此拿不到 Trade 的交易密钥。

func (*GetReadonlyExchangeKeyReq) Descriptor deprecated

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

Deprecated: Use GetReadonlyExchangeKeyReq.ProtoReflect.Descriptor instead.

func (*GetReadonlyExchangeKeyReq) GetExchange

func (x *GetReadonlyExchangeKeyReq) GetExchange() string

func (*GetReadonlyExchangeKeyReq) ProtoMessage

func (*GetReadonlyExchangeKeyReq) ProtoMessage()

func (*GetReadonlyExchangeKeyReq) ProtoReflect

func (*GetReadonlyExchangeKeyReq) Reset

func (x *GetReadonlyExchangeKeyReq) Reset()

func (*GetReadonlyExchangeKeyReq) String

func (x *GetReadonlyExchangeKeyReq) String() string

type GetReadonlyExchangeKeyRsp

type GetReadonlyExchangeKeyRsp struct {
	RetInfo *commonpb.RetInfo `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	KeyId   string            `protobuf:"bytes,2,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` // 只读 API Key 的公开标识
	// contains filtered or unexported fields
}

func (*GetReadonlyExchangeKeyRsp) Descriptor deprecated

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

Deprecated: Use GetReadonlyExchangeKeyRsp.ProtoReflect.Descriptor instead.

func (*GetReadonlyExchangeKeyRsp) GetKeyId

func (x *GetReadonlyExchangeKeyRsp) GetKeyId() string

func (*GetReadonlyExchangeKeyRsp) GetRetInfo

func (x *GetReadonlyExchangeKeyRsp) GetRetInfo() *commonpb.RetInfo

func (*GetReadonlyExchangeKeyRsp) ProtoMessage

func (*GetReadonlyExchangeKeyRsp) ProtoMessage()

func (*GetReadonlyExchangeKeyRsp) ProtoReflect

func (*GetReadonlyExchangeKeyRsp) Reset

func (x *GetReadonlyExchangeKeyRsp) Reset()

func (*GetReadonlyExchangeKeyRsp) String

func (x *GetReadonlyExchangeKeyRsp) String() string

type GetSecretReq

type GetSecretReq struct {
	SecretId string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSecretReq) Descriptor deprecated

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

Deprecated: Use GetSecretReq.ProtoReflect.Descriptor instead.

func (*GetSecretReq) GetSecretId

func (x *GetSecretReq) GetSecretId() string

func (*GetSecretReq) ProtoMessage

func (*GetSecretReq) ProtoMessage()

func (*GetSecretReq) ProtoReflect

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

func (*GetSecretReq) Reset

func (x *GetSecretReq) Reset()

func (*GetSecretReq) String

func (x *GetSecretReq) String() string

type GetSecretRsp

type GetSecretRsp struct {
	RetInfo *commonpb.RetInfo `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	Secret  *Secret           `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSecretRsp) Descriptor deprecated

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

Deprecated: Use GetSecretRsp.ProtoReflect.Descriptor instead.

func (*GetSecretRsp) GetRetInfo

func (x *GetSecretRsp) GetRetInfo() *commonpb.RetInfo

func (*GetSecretRsp) GetSecret

func (x *GetSecretRsp) GetSecret() *Secret

func (*GetSecretRsp) ProtoMessage

func (*GetSecretRsp) ProtoMessage()

func (*GetSecretRsp) ProtoReflect

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

func (*GetSecretRsp) Reset

func (x *GetSecretRsp) Reset()

func (*GetSecretRsp) String

func (x *GetSecretRsp) String() string

type GetSecretValueReq

type GetSecretValueReq struct {
	SecretId string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"`
	// contains filtered or unexported fields
}

GetSecretValue 仅供后台服务通过 /api/service/secret/GetSecretValue 调用, 返回明文 secret_value。管理台 /api/admin 路径不得调用此接口。

func (*GetSecretValueReq) Descriptor deprecated

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

Deprecated: Use GetSecretValueReq.ProtoReflect.Descriptor instead.

func (*GetSecretValueReq) GetSecretId

func (x *GetSecretValueReq) GetSecretId() string

func (*GetSecretValueReq) ProtoMessage

func (*GetSecretValueReq) ProtoMessage()

func (*GetSecretValueReq) ProtoReflect

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

func (*GetSecretValueReq) Reset

func (x *GetSecretValueReq) Reset()

func (*GetSecretValueReq) String

func (x *GetSecretValueReq) String() string

type GetSecretValueRsp

type GetSecretValueRsp struct {
	RetInfo *commonpb.RetInfo `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	Secret  *SecretMaterial   `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSecretValueRsp) Descriptor deprecated

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

Deprecated: Use GetSecretValueRsp.ProtoReflect.Descriptor instead.

func (*GetSecretValueRsp) GetRetInfo

func (x *GetSecretValueRsp) GetRetInfo() *commonpb.RetInfo

func (*GetSecretValueRsp) GetSecret

func (x *GetSecretValueRsp) GetSecret() *SecretMaterial

func (*GetSecretValueRsp) ProtoMessage

func (*GetSecretValueRsp) ProtoMessage()

func (*GetSecretValueRsp) ProtoReflect

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

func (*GetSecretValueRsp) Reset

func (x *GetSecretValueRsp) Reset()

func (*GetSecretValueRsp) String

func (x *GetSecretValueRsp) String() string

type GetSetupStatusReq

type GetSetupStatusReq struct {
	Admin        *SetupAdmin         `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	TencentCloud *SetupTencentCloud  `protobuf:"bytes,2,opt,name=tencent_cloud,json=tencentCloud,proto3" json:"tencent_cloud,omitempty"`
	Spaces       []*SetupSpace       `protobuf:"bytes,5,rep,name=spaces,proto3" json:"spaces,omitempty"`
	ExchangeKeys []*SetupExchangeKey `protobuf:"bytes,6,rep,name=exchange_keys,json=exchangeKeys,proto3" json:"exchange_keys,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSetupStatusReq) Descriptor deprecated

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

Deprecated: Use GetSetupStatusReq.ProtoReflect.Descriptor instead.

func (*GetSetupStatusReq) GetAdmin

func (x *GetSetupStatusReq) GetAdmin() *SetupAdmin

func (*GetSetupStatusReq) GetExchangeKeys

func (x *GetSetupStatusReq) GetExchangeKeys() []*SetupExchangeKey

func (*GetSetupStatusReq) GetSpaces

func (x *GetSetupStatusReq) GetSpaces() []*SetupSpace

func (*GetSetupStatusReq) GetTencentCloud

func (x *GetSetupStatusReq) GetTencentCloud() *SetupTencentCloud

func (*GetSetupStatusReq) ProtoMessage

func (*GetSetupStatusReq) ProtoMessage()

func (*GetSetupStatusReq) ProtoReflect

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

func (*GetSetupStatusReq) Reset

func (x *GetSetupStatusReq) Reset()

func (*GetSetupStatusReq) String

func (x *GetSetupStatusReq) String() string

type GetSetupStatusRsp

type GetSetupStatusRsp struct {
	RetInfo      *commonpb.RetInfo         `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	State        string                    `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	Users        int32                     `protobuf:"varint,3,opt,name=users,proto3" json:"users,omitempty"`
	Secrets      int32                     `protobuf:"varint,4,opt,name=secrets,proto3" json:"secrets,omitempty"`
	Missing      int32                     `protobuf:"varint,6,opt,name=missing,proto3" json:"missing,omitempty"`
	Spaces       int32                     `protobuf:"varint,8,opt,name=spaces,proto3" json:"spaces,omitempty"`
	ExchangeKeys []*SetupExchangeKeyResult `protobuf:"bytes,9,rep,name=exchange_keys,json=exchangeKeys,proto3" json:"exchange_keys,omitempty"`
	// kept 同 ApplySetupRsp.kept。
	Kept []string `protobuf:"bytes,10,rep,name=kept,proto3" json:"kept,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSetupStatusRsp) Descriptor deprecated

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

Deprecated: Use GetSetupStatusRsp.ProtoReflect.Descriptor instead.

func (*GetSetupStatusRsp) GetExchangeKeys

func (x *GetSetupStatusRsp) GetExchangeKeys() []*SetupExchangeKeyResult

func (*GetSetupStatusRsp) GetKept

func (x *GetSetupStatusRsp) GetKept() []string

func (*GetSetupStatusRsp) GetMissing

func (x *GetSetupStatusRsp) GetMissing() int32

func (*GetSetupStatusRsp) GetRetInfo

func (x *GetSetupStatusRsp) GetRetInfo() *commonpb.RetInfo

func (*GetSetupStatusRsp) GetSecrets

func (x *GetSetupStatusRsp) GetSecrets() int32

func (*GetSetupStatusRsp) GetSpaces

func (x *GetSetupStatusRsp) GetSpaces() int32

func (*GetSetupStatusRsp) GetState

func (x *GetSetupStatusRsp) GetState() string

func (*GetSetupStatusRsp) GetUsers

func (x *GetSetupStatusRsp) GetUsers() int32

func (*GetSetupStatusRsp) ProtoMessage

func (*GetSetupStatusRsp) ProtoMessage()

func (*GetSetupStatusRsp) ProtoReflect

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

func (*GetSetupStatusRsp) Reset

func (x *GetSetupStatusRsp) Reset()

func (*GetSetupStatusRsp) String

func (x *GetSetupStatusRsp) String() string

type GetUserInfoReq

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

func (*GetUserInfoReq) Descriptor deprecated

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

Deprecated: Use GetUserInfoReq.ProtoReflect.Descriptor instead.

func (*GetUserInfoReq) ProtoMessage

func (*GetUserInfoReq) ProtoMessage()

func (*GetUserInfoReq) ProtoReflect

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

func (*GetUserInfoReq) Reset

func (x *GetUserInfoReq) Reset()

func (*GetUserInfoReq) String

func (x *GetUserInfoReq) String() string

type GetUserInfoRsp

type GetUserInfoRsp struct {
	RetInfo  *commonpb.RetInfo `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	UserInfo *UserInfo         `protobuf:"bytes,2,opt,name=user_info,json=userInfo,proto3" json:"user_info,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserInfoRsp) Descriptor deprecated

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

Deprecated: Use GetUserInfoRsp.ProtoReflect.Descriptor instead.

func (*GetUserInfoRsp) GetRetInfo

func (x *GetUserInfoRsp) GetRetInfo() *commonpb.RetInfo

func (*GetUserInfoRsp) GetUserInfo

func (x *GetUserInfoRsp) GetUserInfo() *UserInfo

func (*GetUserInfoRsp) ProtoMessage

func (*GetUserInfoRsp) ProtoMessage()

func (*GetUserInfoRsp) ProtoReflect

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

func (*GetUserInfoRsp) Reset

func (x *GetUserInfoRsp) Reset()

func (*GetUserInfoRsp) String

func (x *GetUserInfoRsp) String() string

type HostGatewayRelay

type HostGatewayRelay struct {
	HostId string                  `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	Ports  []*HostGatewayRelayPort `protobuf:"bytes,2,rep,name=ports,proto3" json:"ports,omitempty"`
	// contains filtered or unexported fields
}

func (*HostGatewayRelay) Descriptor deprecated

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

Deprecated: Use HostGatewayRelay.ProtoReflect.Descriptor instead.

func (*HostGatewayRelay) GetHostId

func (x *HostGatewayRelay) GetHostId() string

func (*HostGatewayRelay) GetPorts

func (x *HostGatewayRelay) GetPorts() []*HostGatewayRelayPort

func (*HostGatewayRelay) ProtoMessage

func (*HostGatewayRelay) ProtoMessage()

func (*HostGatewayRelay) ProtoReflect

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

func (*HostGatewayRelay) Reset

func (x *HostGatewayRelay) Reset()

func (*HostGatewayRelay) String

func (x *HostGatewayRelay) String() string

type HostGatewayRelayPort

type HostGatewayRelayPort struct {
	Port    int32    `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"`
	Callers []string `protobuf:"bytes,2,rep,name=callers,proto3" json:"callers,omitempty"`
	// contains filtered or unexported fields
}

一台出站主机允许经 control 中转连接的端口与调用方,只出现在 control 的快照里。

func (*HostGatewayRelayPort) Descriptor deprecated

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

Deprecated: Use HostGatewayRelayPort.ProtoReflect.Descriptor instead.

func (*HostGatewayRelayPort) GetCallers

func (x *HostGatewayRelayPort) GetCallers() []string

func (*HostGatewayRelayPort) GetPort

func (x *HostGatewayRelayPort) GetPort() int32

func (*HostGatewayRelayPort) ProtoMessage

func (*HostGatewayRelayPort) ProtoMessage()

func (*HostGatewayRelayPort) ProtoReflect

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

func (*HostGatewayRelayPort) Reset

func (x *HostGatewayRelayPort) Reset()

func (*HostGatewayRelayPort) String

func (x *HostGatewayRelayPort) String() string

type HostGatewayRoute

type HostGatewayRoute struct {
	ComponentId  string   `protobuf:"bytes,1,opt,name=component_id,json=componentId,proto3" json:"component_id,omitempty"`
	ServicePath  string   `protobuf:"bytes,2,opt,name=service_path,json=servicePath,proto3" json:"service_path,omitempty"`
	Method       string   `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"`
	Address      string   `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"`
	TimeoutMs    int64    `protobuf:"varint,5,opt,name=timeout_ms,json=timeoutMs,proto3" json:"timeout_ms,omitempty"`
	MaxBodyBytes int64    `protobuf:"varint,6,opt,name=max_body_bytes,json=maxBodyBytes,proto3" json:"max_body_bytes,omitempty"`
	Callers      []string `protobuf:"bytes,7,rep,name=callers,proto3" json:"callers,omitempty"`
	ReadOnly     bool     `protobuf:"varint,8,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
	// contains filtered or unexported fields
}

One route represents exactly one method and its permitted callers.

func (*HostGatewayRoute) Descriptor deprecated

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

Deprecated: Use HostGatewayRoute.ProtoReflect.Descriptor instead.

func (*HostGatewayRoute) GetAddress

func (x *HostGatewayRoute) GetAddress() string

func (*HostGatewayRoute) GetCallers

func (x *HostGatewayRoute) GetCallers() []string

func (*HostGatewayRoute) GetComponentId

func (x *HostGatewayRoute) GetComponentId() string

func (*HostGatewayRoute) GetMaxBodyBytes

func (x *HostGatewayRoute) GetMaxBodyBytes() int64

func (*HostGatewayRoute) GetMethod

func (x *HostGatewayRoute) GetMethod() string

func (*HostGatewayRoute) GetReadOnly

func (x *HostGatewayRoute) GetReadOnly() bool

func (*HostGatewayRoute) GetServicePath

func (x *HostGatewayRoute) GetServicePath() string

func (*HostGatewayRoute) GetTimeoutMs

func (x *HostGatewayRoute) GetTimeoutMs() int64

func (*HostGatewayRoute) ProtoMessage

func (*HostGatewayRoute) ProtoMessage()

func (*HostGatewayRoute) ProtoReflect

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

func (*HostGatewayRoute) Reset

func (x *HostGatewayRoute) Reset()

func (*HostGatewayRoute) String

func (x *HostGatewayRoute) String() string

type HostGatewayRuntimeStatus

type HostGatewayRuntimeStatus struct {
	InstanceId         string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	Version            string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	ExpectedHash       string `protobuf:"bytes,3,opt,name=expected_hash,json=expectedHash,proto3" json:"expected_hash,omitempty"`
	AppliedHash        string `protobuf:"bytes,4,opt,name=applied_hash,json=appliedHash,proto3" json:"applied_hash,omitempty"`
	RouteCount         int64  `protobuf:"varint,5,opt,name=route_count,json=routeCount,proto3" json:"route_count,omitempty"`
	LastSeenAt         string `protobuf:"bytes,6,opt,name=last_seen_at,json=lastSeenAt,proto3" json:"last_seen_at,omitempty"`
	LastError          string `protobuf:"bytes,7,opt,name=last_error,json=lastError,proto3" json:"last_error,omitempty"`
	PreviousInstanceId string `protobuf:"bytes,8,opt,name=previous_instance_id,json=previousInstanceId,proto3" json:"previous_instance_id,omitempty"`
	ReplacedAt         string `protobuf:"bytes,9,opt,name=replaced_at,json=replacedAt,proto3" json:"replaced_at,omitempty"`
	ConflictInstanceId string `protobuf:"bytes,10,opt,name=conflict_instance_id,json=conflictInstanceId,proto3" json:"conflict_instance_id,omitempty"`
	ConflictSeenAt     string `protobuf:"bytes,11,opt,name=conflict_seen_at,json=conflictSeenAt,proto3" json:"conflict_seen_at,omitempty"`
	// control 网关上报的各出站主机反向连接会话。
	RelaySessions []*RelaySessionStatus `protobuf:"bytes,12,rep,name=relay_sessions,json=relaySessions,proto3" json:"relay_sessions,omitempty"`
	// contains filtered or unexported fields
}

func (*HostGatewayRuntimeStatus) Descriptor deprecated

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

Deprecated: Use HostGatewayRuntimeStatus.ProtoReflect.Descriptor instead.

func (*HostGatewayRuntimeStatus) GetAppliedHash

func (x *HostGatewayRuntimeStatus) GetAppliedHash() string

func (*HostGatewayRuntimeStatus) GetConflictInstanceId

func (x *HostGatewayRuntimeStatus) GetConflictInstanceId() string

func (*HostGatewayRuntimeStatus) GetConflictSeenAt

func (x *HostGatewayRuntimeStatus) GetConflictSeenAt() string

func (*HostGatewayRuntimeStatus) GetExpectedHash

func (x *HostGatewayRuntimeStatus) GetExpectedHash() string

func (*HostGatewayRuntimeStatus) GetInstanceId

func (x *HostGatewayRuntimeStatus) GetInstanceId() string

func (*HostGatewayRuntimeStatus) GetLastError

func (x *HostGatewayRuntimeStatus) GetLastError() string

func (*HostGatewayRuntimeStatus) GetLastSeenAt

func (x *HostGatewayRuntimeStatus) GetLastSeenAt() string

func (*HostGatewayRuntimeStatus) GetPreviousInstanceId

func (x *HostGatewayRuntimeStatus) GetPreviousInstanceId() string

func (*HostGatewayRuntimeStatus) GetRelaySessions

func (x *HostGatewayRuntimeStatus) GetRelaySessions() []*RelaySessionStatus

func (*HostGatewayRuntimeStatus) GetReplacedAt

func (x *HostGatewayRuntimeStatus) GetReplacedAt() string

func (*HostGatewayRuntimeStatus) GetRouteCount

func (x *HostGatewayRuntimeStatus) GetRouteCount() int64

func (*HostGatewayRuntimeStatus) GetVersion

func (x *HostGatewayRuntimeStatus) GetVersion() string

func (*HostGatewayRuntimeStatus) ProtoMessage

func (*HostGatewayRuntimeStatus) ProtoMessage()

func (*HostGatewayRuntimeStatus) ProtoReflect

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

func (*HostGatewayRuntimeStatus) Reset

func (x *HostGatewayRuntimeStatus) Reset()

func (*HostGatewayRuntimeStatus) String

func (x *HostGatewayRuntimeStatus) String() string

type HostGatewaySnapshot

type HostGatewaySnapshot struct {
	SchemaVersion    uint32                            `protobuf:"varint,1,opt,name=schema_version,json=schemaVersion,proto3" json:"schema_version,omitempty"`
	HostId           string                            `protobuf:"bytes,2,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	Hash             string                            `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
	Disabled         bool                              `protobuf:"varint,4,opt,name=disabled,proto3" json:"disabled,omitempty"`
	Routes           []*HostGatewayRoute               `protobuf:"bytes,5,rep,name=routes,proto3" json:"routes,omitempty"`
	Directory        *gatewayroutegen.ServiceDirectory `protobuf:"bytes,6,opt,name=directory,proto3" json:"directory,omitempty"`
	VerificationKeys []*GatewayVerificationKey         `protobuf:"bytes,7,rep,name=verification_keys,json=verificationKeys,proto3" json:"verification_keys,omitempty"`
	Relays           []*HostGatewayRelay               `protobuf:"bytes,8,rep,name=relays,proto3" json:"relays,omitempty"`
	// contains filtered or unexported fields
}

func (*HostGatewaySnapshot) Descriptor deprecated

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

Deprecated: Use HostGatewaySnapshot.ProtoReflect.Descriptor instead.

func (*HostGatewaySnapshot) GetDirectory

func (*HostGatewaySnapshot) GetDisabled

func (x *HostGatewaySnapshot) GetDisabled() bool

func (*HostGatewaySnapshot) GetHash

func (x *HostGatewaySnapshot) GetHash() string

func (*HostGatewaySnapshot) GetHostId

func (x *HostGatewaySnapshot) GetHostId() string

func (*HostGatewaySnapshot) GetRelays

func (x *HostGatewaySnapshot) GetRelays() []*HostGatewayRelay

func (*HostGatewaySnapshot) GetRoutes

func (x *HostGatewaySnapshot) GetRoutes() []*HostGatewayRoute

func (*HostGatewaySnapshot) GetSchemaVersion

func (x *HostGatewaySnapshot) GetSchemaVersion() uint32

func (*HostGatewaySnapshot) GetVerificationKeys

func (x *HostGatewaySnapshot) GetVerificationKeys() []*GatewayVerificationKey

func (*HostGatewaySnapshot) ProtoMessage

func (*HostGatewaySnapshot) ProtoMessage()

func (*HostGatewaySnapshot) ProtoReflect

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

func (*HostGatewaySnapshot) Reset

func (x *HostGatewaySnapshot) Reset()

func (*HostGatewaySnapshot) String

func (x *HostGatewaySnapshot) String() string

type ImportSecretsReq

type ImportSecretsReq struct {
	Bundle     string `protobuf:"bytes,1,opt,name=bundle,proto3" json:"bundle,omitempty"`
	Passphrase string `protobuf:"bytes,2,opt,name=passphrase,proto3" json:"passphrase,omitempty"`
	Overwrite  bool   `protobuf:"varint,3,opt,name=overwrite,proto3" json:"overwrite,omitempty"` // 同一 secret_id 已存在时:true 用迁移包里的内容覆盖,false 跳过
	// contains filtered or unexported fields
}

ImportSecretsReq 用导出口令解开迁移包,按 secret_id 导入(保留原 secret_id,引用它的配置迁移后仍然有效)。仅全局管理员可调用。

func (*ImportSecretsReq) Descriptor deprecated

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

Deprecated: Use ImportSecretsReq.ProtoReflect.Descriptor instead.

func (*ImportSecretsReq) GetBundle

func (x *ImportSecretsReq) GetBundle() string

func (*ImportSecretsReq) GetOverwrite

func (x *ImportSecretsReq) GetOverwrite() bool

func (*ImportSecretsReq) GetPassphrase

func (x *ImportSecretsReq) GetPassphrase() string

func (*ImportSecretsReq) ProtoMessage

func (*ImportSecretsReq) ProtoMessage()

func (*ImportSecretsReq) ProtoReflect

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

func (*ImportSecretsReq) Reset

func (x *ImportSecretsReq) Reset()

func (*ImportSecretsReq) String

func (x *ImportSecretsReq) String() string

type ImportSecretsRsp

type ImportSecretsRsp struct {
	RetInfo *commonpb.RetInfo `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	Created int32             `protobuf:"varint,2,opt,name=created,proto3" json:"created,omitempty"`
	Updated int32             `protobuf:"varint,3,opt,name=updated,proto3" json:"updated,omitempty"`
	Skipped []string          `protobuf:"bytes,4,rep,name=skipped,proto3" json:"skipped,omitempty"` // 已存在而跳过的秘钥名称
	Failed  []string          `protobuf:"bytes,5,rep,name=failed,proto3" json:"failed,omitempty"`   // 导入失败的秘钥及原因(“名称:原因”)
	// contains filtered or unexported fields
}

func (*ImportSecretsRsp) Descriptor deprecated

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

Deprecated: Use ImportSecretsRsp.ProtoReflect.Descriptor instead.

func (*ImportSecretsRsp) GetCreated

func (x *ImportSecretsRsp) GetCreated() int32

func (*ImportSecretsRsp) GetFailed

func (x *ImportSecretsRsp) GetFailed() []string

func (*ImportSecretsRsp) GetRetInfo

func (x *ImportSecretsRsp) GetRetInfo() *commonpb.RetInfo

func (*ImportSecretsRsp) GetSkipped

func (x *ImportSecretsRsp) GetSkipped() []string

func (*ImportSecretsRsp) GetUpdated

func (x *ImportSecretsRsp) GetUpdated() int32

func (*ImportSecretsRsp) ProtoMessage

func (*ImportSecretsRsp) ProtoMessage()

func (*ImportSecretsRsp) ProtoReflect

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

func (*ImportSecretsRsp) Reset

func (x *ImportSecretsRsp) Reset()

func (*ImportSecretsRsp) String

func (x *ImportSecretsRsp) String() string

type IssueRawSessionTicketReq

type IssueRawSessionTicketReq struct {
	Operation string `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
	SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*IssueRawSessionTicketReq) Descriptor deprecated

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

Deprecated: Use IssueRawSessionTicketReq.ProtoReflect.Descriptor instead.

func (*IssueRawSessionTicketReq) GetOperation

func (x *IssueRawSessionTicketReq) GetOperation() string

func (*IssueRawSessionTicketReq) GetSessionId

func (x *IssueRawSessionTicketReq) GetSessionId() string

func (*IssueRawSessionTicketReq) ProtoMessage

func (*IssueRawSessionTicketReq) ProtoMessage()

func (*IssueRawSessionTicketReq) ProtoReflect

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

func (*IssueRawSessionTicketReq) Reset

func (x *IssueRawSessionTicketReq) Reset()

func (*IssueRawSessionTicketReq) String

func (x *IssueRawSessionTicketReq) String() string

type IssueRawSessionTicketRsp

type IssueRawSessionTicketRsp struct {
	RetInfo   *commonpb.RetInfo `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	Ticket    string            `protobuf:"bytes,2,opt,name=ticket,proto3" json:"ticket,omitempty"`
	ExpiresAt int64             `protobuf:"varint,3,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	// contains filtered or unexported fields
}

func (*IssueRawSessionTicketRsp) Descriptor deprecated

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

Deprecated: Use IssueRawSessionTicketRsp.ProtoReflect.Descriptor instead.

func (*IssueRawSessionTicketRsp) GetExpiresAt

func (x *IssueRawSessionTicketRsp) GetExpiresAt() int64

func (*IssueRawSessionTicketRsp) GetRetInfo

func (x *IssueRawSessionTicketRsp) GetRetInfo() *commonpb.RetInfo

func (*IssueRawSessionTicketRsp) GetTicket

func (x *IssueRawSessionTicketRsp) GetTicket() string

func (*IssueRawSessionTicketRsp) ProtoMessage

func (*IssueRawSessionTicketRsp) ProtoMessage()

func (*IssueRawSessionTicketRsp) ProtoReflect

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

func (*IssueRawSessionTicketRsp) Reset

func (x *IssueRawSessionTicketRsp) Reset()

func (*IssueRawSessionTicketRsp) String

func (x *IssueRawSessionTicketRsp) String() string

type ListActivityLogsReq

type ListActivityLogsReq struct {

	// space_id 与 global 二选一:global 为 true 时只返回不属于任何空间的全局事件(如登录记录)。
	SpaceId  string `protobuf:"bytes,1,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
	Source   string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
	Category string `protobuf:"bytes,3,opt,name=category,proto3" json:"category,omitempty"`
	RefId    string `protobuf:"bytes,4,opt,name=ref_id,json=refId,proto3" json:"ref_id,omitempty"`
	// since 与 until 是 RFC3339 时间,均可为空。
	Since  string         `protobuf:"bytes,5,opt,name=since,proto3" json:"since,omitempty"`
	Until  string         `protobuf:"bytes,6,opt,name=until,proto3" json:"until,omitempty"`
	Page   *commonpb.Page `protobuf:"bytes,7,opt,name=page,proto3" json:"page,omitempty"`
	Global bool           `protobuf:"varint,8,opt,name=global,proto3" json:"global,omitempty"`
	// contains filtered or unexported fields
}

func (*ListActivityLogsReq) Descriptor deprecated

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

Deprecated: Use ListActivityLogsReq.ProtoReflect.Descriptor instead.

func (*ListActivityLogsReq) GetCategory

func (x *ListActivityLogsReq) GetCategory() string

func (*ListActivityLogsReq) GetGlobal

func (x *ListActivityLogsReq) GetGlobal() bool

func (*ListActivityLogsReq) GetPage

func (x *ListActivityLogsReq) GetPage() *commonpb.Page

func (*ListActivityLogsReq) GetRefId

func (x *ListActivityLogsReq) GetRefId() string

func (*ListActivityLogsReq) GetSince

func (x *ListActivityLogsReq) GetSince() string

func (*ListActivityLogsReq) GetSource

func (x *ListActivityLogsReq) GetSource() string

func (*ListActivityLogsReq) GetSpaceId

func (x *ListActivityLogsReq) GetSpaceId() string

func (*ListActivityLogsReq) GetUntil

func (x *ListActivityLogsReq) GetUntil() string

func (*ListActivityLogsReq) ProtoMessage

func (*ListActivityLogsReq) ProtoMessage()

func (*ListActivityLogsReq) ProtoReflect

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

func (*ListActivityLogsReq) Reset

func (x *ListActivityLogsReq) Reset()

func (*ListActivityLogsReq) String

func (x *ListActivityLogsReq) String() string

type ListActivityLogsRsp

type ListActivityLogsRsp struct {
	RetInfo *commonpb.RetInfo    `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	Items   []*ActivityLogItem   `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	Page    *commonpb.PageResult `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

func (*ListActivityLogsRsp) Descriptor deprecated

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

Deprecated: Use ListActivityLogsRsp.ProtoReflect.Descriptor instead.

func (*ListActivityLogsRsp) GetItems

func (x *ListActivityLogsRsp) GetItems() []*ActivityLogItem

func (*ListActivityLogsRsp) GetPage

func (x *ListActivityLogsRsp) GetPage() *commonpb.PageResult

func (*ListActivityLogsRsp) GetRetInfo

func (x *ListActivityLogsRsp) GetRetInfo() *commonpb.RetInfo

func (*ListActivityLogsRsp) ProtoMessage

func (*ListActivityLogsRsp) ProtoMessage()

func (*ListActivityLogsRsp) ProtoReflect

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

func (*ListActivityLogsRsp) Reset

func (x *ListActivityLogsRsp) Reset()

func (*ListActivityLogsRsp) String

func (x *ListActivityLogsRsp) String() string

type ListDeploymentHostsReq

type ListDeploymentHostsReq struct {
	HostId string         `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	Status string         `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	Page   *commonpb.Page `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

ListHostsReq/Rsp already belong to Ssh in this protobuf package.

func (*ListDeploymentHostsReq) Descriptor deprecated

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

Deprecated: Use ListDeploymentHostsReq.ProtoReflect.Descriptor instead.

func (*ListDeploymentHostsReq) GetHostId

func (x *ListDeploymentHostsReq) GetHostId() string

func (*ListDeploymentHostsReq) GetPage

func (x *ListDeploymentHostsReq) GetPage() *commonpb.Page

func (*ListDeploymentHostsReq) GetStatus

func (x *ListDeploymentHostsReq) GetStatus() string

func (*ListDeploymentHostsReq) ProtoMessage

func (*ListDeploymentHostsReq) ProtoMessage()

func (*ListDeploymentHostsReq) ProtoReflect

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

func (*ListDeploymentHostsReq) Reset

func (x *ListDeploymentHostsReq) Reset()

func (*ListDeploymentHostsReq) String

func (x *ListDeploymentHostsReq) String() string

type ListDeploymentHostsRsp

type ListDeploymentHostsRsp struct {
	RetInfo    *commonpb.RetInfo    `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	Hosts      []*DeploymentHost    `protobuf:"bytes,2,rep,name=hosts,proto3" json:"hosts,omitempty"`
	PageResult *commonpb.PageResult `protobuf:"bytes,3,opt,name=page_result,json=pageResult,proto3" json:"page_result,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDeploymentHostsRsp) Descriptor deprecated

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

Deprecated: Use ListDeploymentHostsRsp.ProtoReflect.Descriptor instead.

func (*ListDeploymentHostsRsp) GetHosts

func (x *ListDeploymentHostsRsp) GetHosts() []*DeploymentHost

func (*ListDeploymentHostsRsp) GetPageResult

func (x *ListDeploymentHostsRsp) GetPageResult() *commonpb.PageResult

func (*ListDeploymentHostsRsp) GetRetInfo

func (x *ListDeploymentHostsRsp) GetRetInfo() *commonpb.RetInfo

func (*ListDeploymentHostsRsp) ProtoMessage

func (*ListDeploymentHostsRsp) ProtoMessage()

func (*ListDeploymentHostsRsp) ProtoReflect

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

func (*ListDeploymentHostsRsp) Reset

func (x *ListDeploymentHostsRsp) Reset()

func (*ListDeploymentHostsRsp) String

func (x *ListDeploymentHostsRsp) String() string

type ListDeploymentsReq

type ListDeploymentsReq struct {
	HostId      string         `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	ComponentId string         `protobuf:"bytes,2,opt,name=component_id,json=componentId,proto3" json:"component_id,omitempty"`
	Status      string         `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Page        *commonpb.Page `protobuf:"bytes,4,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDeploymentsReq) Descriptor deprecated

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

Deprecated: Use ListDeploymentsReq.ProtoReflect.Descriptor instead.

func (*ListDeploymentsReq) GetComponentId

func (x *ListDeploymentsReq) GetComponentId() string

func (*ListDeploymentsReq) GetHostId

func (x *ListDeploymentsReq) GetHostId() string

func (*ListDeploymentsReq) GetPage

func (x *ListDeploymentsReq) GetPage() *commonpb.Page

func (*ListDeploymentsReq) GetStatus

func (x *ListDeploymentsReq) GetStatus() string

func (*ListDeploymentsReq) ProtoMessage

func (*ListDeploymentsReq) ProtoMessage()

func (*ListDeploymentsReq) ProtoReflect

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

func (*ListDeploymentsReq) Reset

func (x *ListDeploymentsReq) Reset()

func (*ListDeploymentsReq) String

func (x *ListDeploymentsReq) String() string

type ListDeploymentsRsp

type ListDeploymentsRsp struct {
	RetInfo     *commonpb.RetInfo      `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	Deployments []*ComponentDeployment `protobuf:"bytes,2,rep,name=deployments,proto3" json:"deployments,omitempty"`
	PageResult  *commonpb.PageResult   `protobuf:"bytes,3,opt,name=page_result,json=pageResult,proto3" json:"page_result,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDeploymentsRsp) Descriptor deprecated

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

Deprecated: Use ListDeploymentsRsp.ProtoReflect.Descriptor instead.

func (*ListDeploymentsRsp) GetDeployments

func (x *ListDeploymentsRsp) GetDeployments() []*ComponentDeployment

func (*ListDeploymentsRsp) GetPageResult

func (x *ListDeploymentsRsp) GetPageResult() *commonpb.PageResult

func (*ListDeploymentsRsp) GetRetInfo

func (x *ListDeploymentsRsp) GetRetInfo() *commonpb.RetInfo

func (*ListDeploymentsRsp) ProtoMessage

func (*ListDeploymentsRsp) ProtoMessage()

func (*ListDeploymentsRsp) ProtoReflect

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

func (*ListDeploymentsRsp) Reset

func (x *ListDeploymentsRsp) Reset()

func (*ListDeploymentsRsp) String

func (x *ListDeploymentsRsp) String() string

type ListSecretsReq

type ListSecretsReq struct {
	Keyword  string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"`   // 按名称/描述搜索
	Category string `protobuf:"bytes,2,opt,name=category,proto3" json:"category,omitempty"` // 按分类筛选
	Provider string `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"` // 按提供方筛选
	Status   string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`     // 按状态筛选
	Offset   int32  `protobuf:"varint,5,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit    int32  `protobuf:"varint,6,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSecretsReq) Descriptor deprecated

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

Deprecated: Use ListSecretsReq.ProtoReflect.Descriptor instead.

func (*ListSecretsReq) GetCategory

func (x *ListSecretsReq) GetCategory() string

func (*ListSecretsReq) GetKeyword

func (x *ListSecretsReq) GetKeyword() string

func (*ListSecretsReq) GetLimit

func (x *ListSecretsReq) GetLimit() int32

func (*ListSecretsReq) GetOffset

func (x *ListSecretsReq) GetOffset() int32

func (*ListSecretsReq) GetProvider

func (x *ListSecretsReq) GetProvider() string

func (*ListSecretsReq) GetStatus

func (x *ListSecretsReq) GetStatus() string

func (*ListSecretsReq) ProtoMessage

func (*ListSecretsReq) ProtoMessage()

func (*ListSecretsReq) ProtoReflect

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

func (*ListSecretsReq) Reset

func (x *ListSecretsReq) Reset()

func (*ListSecretsReq) String

func (x *ListSecretsReq) String() string

type ListSecretsRsp

type ListSecretsRsp struct {
	RetInfo *commonpb.RetInfo `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	Secrets []*Secret         `protobuf:"bytes,2,rep,name=secrets,proto3" json:"secrets,omitempty"`
	Total   int64             `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSecretsRsp) Descriptor deprecated

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

Deprecated: Use ListSecretsRsp.ProtoReflect.Descriptor instead.

func (*ListSecretsRsp) GetRetInfo

func (x *ListSecretsRsp) GetRetInfo() *commonpb.RetInfo

func (*ListSecretsRsp) GetSecrets

func (x *ListSecretsRsp) GetSecrets() []*Secret

func (*ListSecretsRsp) GetTotal

func (x *ListSecretsRsp) GetTotal() int64

func (*ListSecretsRsp) ProtoMessage

func (*ListSecretsRsp) ProtoMessage()

func (*ListSecretsRsp) ProtoReflect

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

func (*ListSecretsRsp) Reset

func (x *ListSecretsRsp) Reset()

func (*ListSecretsRsp) String

func (x *ListSecretsRsp) String() string

type ListSpacesReq

type ListSpacesReq struct {
	Owner  string         `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	Status string         `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	Page   *commonpb.Page `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSpacesReq) Descriptor deprecated

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

Deprecated: Use ListSpacesReq.ProtoReflect.Descriptor instead.

func (*ListSpacesReq) GetOwner

func (x *ListSpacesReq) GetOwner() string

func (*ListSpacesReq) GetPage

func (x *ListSpacesReq) GetPage() *commonpb.Page

func (*ListSpacesReq) GetStatus

func (x *ListSpacesReq) GetStatus() string

func (*ListSpacesReq) ProtoMessage

func (*ListSpacesReq) ProtoMessage()

func (*ListSpacesReq) ProtoReflect

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

func (*ListSpacesReq) Reset

func (x *ListSpacesReq) Reset()

func (*ListSpacesReq) String

func (x *ListSpacesReq) String() string

type ListSpacesRsp

type ListSpacesRsp struct {
	RetInfo    *commonpb.RetInfo    `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	Spaces     []*Space             `protobuf:"bytes,2,rep,name=spaces,proto3" json:"spaces,omitempty"`
	PageResult *commonpb.PageResult `protobuf:"bytes,3,opt,name=page_result,json=pageResult,proto3" json:"page_result,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSpacesRsp) Descriptor deprecated

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

Deprecated: Use ListSpacesRsp.ProtoReflect.Descriptor instead.

func (*ListSpacesRsp) GetPageResult

func (x *ListSpacesRsp) GetPageResult() *commonpb.PageResult

func (*ListSpacesRsp) GetRetInfo

func (x *ListSpacesRsp) GetRetInfo() *commonpb.RetInfo

func (*ListSpacesRsp) GetSpaces

func (x *ListSpacesRsp) GetSpaces() []*Space

func (*ListSpacesRsp) ProtoMessage

func (*ListSpacesRsp) ProtoMessage()

func (*ListSpacesRsp) ProtoReflect

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

func (*ListSpacesRsp) Reset

func (x *ListSpacesRsp) Reset()

func (*ListSpacesRsp) String

func (x *ListSpacesRsp) String() string

type LoginReq

type LoginReq struct {
	Username     string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	PasswordHash string `protobuf:"bytes,2,opt,name=password_hash,json=passwordHash,proto3" json:"password_hash,omitempty"` // 密码哈希值
	Salt         string `protobuf:"bytes,3,opt,name=salt,proto3" json:"salt,omitempty"`                                     // 从 GetLoginSalt 获取的盐值
	Timestamp    int64  `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`                          // 从 GetLoginSalt 获取的时间戳
	DeviceId     string `protobuf:"bytes,5,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	UserAgent    string `protobuf:"bytes,6,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`
	ClientIp     string `protobuf:"bytes,7,opt,name=client_ip,json=clientIp,proto3" json:"client_ip,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginReq) Descriptor deprecated

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

Deprecated: Use LoginReq.ProtoReflect.Descriptor instead.

func (*LoginReq) GetClientIp

func (x *LoginReq) GetClientIp() string

func (*LoginReq) GetDeviceId

func (x *LoginReq) GetDeviceId() string

func (*LoginReq) GetPasswordHash

func (x *LoginReq) GetPasswordHash() string

func (*LoginReq) GetSalt

func (x *LoginReq) GetSalt() string

func (*LoginReq) GetTimestamp

func (x *LoginReq) GetTimestamp() int64

func (*LoginReq) GetUserAgent

func (x *LoginReq) GetUserAgent() string

func (*LoginReq) GetUsername

func (x *LoginReq) GetUsername() string

func (*LoginReq) ProtoMessage

func (*LoginReq) ProtoMessage()

func (*LoginReq) ProtoReflect

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

func (*LoginReq) Reset

func (x *LoginReq) Reset()

func (*LoginReq) String

func (x *LoginReq) String() string

func (*LoginReq) Validate

func (r *LoginReq) Validate() error

type LoginRsp

type LoginRsp struct {
	RetInfo           *commonpb.RetInfo `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	AccessToken       string            `protobuf:"bytes,2,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` // 访问令牌
	ExpiresIn         int64             `protobuf:"varint,3,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"`      // 过期时间(秒)
	UserInfo          *UserInfo         `protobuf:"bytes,4,opt,name=user_info,json=userInfo,proto3" json:"user_info,omitempty"`
	SessionId         string            `protobuf:"bytes,5,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	RequestSigningKey string            `protobuf:"bytes,6,opt,name=request_signing_key,json=requestSigningKey,proto3" json:"request_signing_key,omitempty"`
	ExpiresAt         int64             `protobuf:"varint,7,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginRsp) Descriptor deprecated

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

Deprecated: Use LoginRsp.ProtoReflect.Descriptor instead.

func (*LoginRsp) GetAccessToken

func (x *LoginRsp) GetAccessToken() string

func (*LoginRsp) GetExpiresAt

func (x *LoginRsp) GetExpiresAt() int64

func (*LoginRsp) GetExpiresIn

func (x *LoginRsp) GetExpiresIn() int64

func (*LoginRsp) GetRequestSigningKey

func (x *LoginRsp) GetRequestSigningKey() string

func (*LoginRsp) GetRetInfo

func (x *LoginRsp) GetRetInfo() *commonpb.RetInfo

func (*LoginRsp) GetSessionId

func (x *LoginRsp) GetSessionId() string

func (*LoginRsp) GetUserInfo

func (x *LoginRsp) GetUserInfo() *UserInfo

func (*LoginRsp) ProtoMessage

func (*LoginRsp) ProtoMessage()

func (*LoginRsp) ProtoReflect

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

func (*LoginRsp) Reset

func (x *LoginRsp) Reset()

func (*LoginRsp) String

func (x *LoginRsp) String() string

type LogoutReq

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

func (*LogoutReq) Descriptor deprecated

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

Deprecated: Use LogoutReq.ProtoReflect.Descriptor instead.

func (*LogoutReq) ProtoMessage

func (*LogoutReq) ProtoMessage()

func (*LogoutReq) ProtoReflect

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

func (*LogoutReq) Reset

func (x *LogoutReq) Reset()

func (*LogoutReq) String

func (x *LogoutReq) String() string

type LogoutRsp

type LogoutRsp struct {
	RetInfo *commonpb.RetInfo `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	// contains filtered or unexported fields
}

func (*LogoutRsp) Descriptor deprecated

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

Deprecated: Use LogoutRsp.ProtoReflect.Descriptor instead.

func (*LogoutRsp) GetRetInfo

func (x *LogoutRsp) GetRetInfo() *commonpb.RetInfo

func (*LogoutRsp) ProtoMessage

func (*LogoutRsp) ProtoMessage()

func (*LogoutRsp) ProtoReflect

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

func (*LogoutRsp) Reset

func (x *LogoutRsp) Reset()

func (*LogoutRsp) String

func (x *LogoutRsp) String() string

type Page

type Page = commonpb.Page

type PageResult

type PageResult = commonpb.PageResult

type PathBreadcrumb

type PathBreadcrumb struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Dir  string `protobuf:"bytes,2,opt,name=dir,proto3" json:"dir,omitempty"`
	// contains filtered or unexported fields
}

PathBreadcrumb 路径面包屑。

func (*PathBreadcrumb) Descriptor deprecated

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

Deprecated: Use PathBreadcrumb.ProtoReflect.Descriptor instead.

func (*PathBreadcrumb) GetDir

func (x *PathBreadcrumb) GetDir() string

func (*PathBreadcrumb) GetName

func (x *PathBreadcrumb) GetName() string

func (*PathBreadcrumb) ProtoMessage

func (*PathBreadcrumb) ProtoMessage()

func (*PathBreadcrumb) ProtoReflect

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

func (*PathBreadcrumb) Reset

func (x *PathBreadcrumb) Reset()

func (*PathBreadcrumb) String

func (x *PathBreadcrumb) String() string

type PullSnapshotReq

type PullSnapshotReq struct {
	HostId      string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	CurrentHash string `protobuf:"bytes,2,opt,name=current_hash,json=currentHash,proto3" json:"current_hash,omitempty"`
	// contains filtered or unexported fields
}

func (*PullSnapshotReq) Descriptor deprecated

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

Deprecated: Use PullSnapshotReq.ProtoReflect.Descriptor instead.

func (*PullSnapshotReq) GetCurrentHash

func (x *PullSnapshotReq) GetCurrentHash() string

func (*PullSnapshotReq) GetHostId

func (x *PullSnapshotReq) GetHostId() string

func (*PullSnapshotReq) ProtoMessage

func (*PullSnapshotReq) ProtoMessage()

func (*PullSnapshotReq) ProtoReflect

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

func (*PullSnapshotReq) Reset

func (x *PullSnapshotReq) Reset()

func (*PullSnapshotReq) String

func (x *PullSnapshotReq) String() string

type PullSnapshotRsp

type PullSnapshotRsp struct {
	RetInfo  *commonpb.RetInfo    `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	Changed  bool                 `protobuf:"varint,2,opt,name=changed,proto3" json:"changed,omitempty"`
	Snapshot *HostGatewaySnapshot `protobuf:"bytes,3,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
	// contains filtered or unexported fields
}

func (*PullSnapshotRsp) Descriptor deprecated

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

Deprecated: Use PullSnapshotRsp.ProtoReflect.Descriptor instead.

func (*PullSnapshotRsp) GetChanged

func (x *PullSnapshotRsp) GetChanged() bool

func (*PullSnapshotRsp) GetRetInfo

func (x *PullSnapshotRsp) GetRetInfo() *commonpb.RetInfo

func (*PullSnapshotRsp) GetSnapshot

func (x *PullSnapshotRsp) GetSnapshot() *HostGatewaySnapshot

func (*PullSnapshotRsp) ProtoMessage

func (*PullSnapshotRsp) ProtoMessage()

func (*PullSnapshotRsp) ProtoReflect

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

func (*PullSnapshotRsp) Reset

func (x *PullSnapshotRsp) Reset()

func (*PullSnapshotRsp) String

func (x *PullSnapshotRsp) String() string

type PutConfigBackupReq

type PutConfigBackupReq struct {
	Envelope string `protobuf:"bytes,1,opt,name=envelope,proto3" json:"envelope,omitempty"` // 以 "MOOX-CONFIG-BACKUP v1" 开头的密文信封
	// contains filtered or unexported fields
}

配置备份:CLI 用管理员密码派生的密钥加密整份 moox.toml 后上传,服务端只保存密文信封(解不开), 入库时再用管理后台主密钥加密一层。换电脑时登录管理台取回,在本机用管理员密码解开。

func (*PutConfigBackupReq) Descriptor deprecated

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

Deprecated: Use PutConfigBackupReq.ProtoReflect.Descriptor instead.

func (*PutConfigBackupReq) GetEnvelope

func (x *PutConfigBackupReq) GetEnvelope() string

func (*PutConfigBackupReq) ProtoMessage

func (*PutConfigBackupReq) ProtoMessage()

func (*PutConfigBackupReq) ProtoReflect

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

func (*PutConfigBackupReq) Reset

func (x *PutConfigBackupReq) Reset()

func (*PutConfigBackupReq) String

func (x *PutConfigBackupReq) String() string

type PutConfigBackupRsp

type PutConfigBackupRsp struct {
	RetInfo   *commonpb.RetInfo `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	UpdatedAt int64             `protobuf:"varint,2,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // Unix 秒
	// contains filtered or unexported fields
}

func (*PutConfigBackupRsp) Descriptor deprecated

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

Deprecated: Use PutConfigBackupRsp.ProtoReflect.Descriptor instead.

func (*PutConfigBackupRsp) GetRetInfo

func (x *PutConfigBackupRsp) GetRetInfo() *commonpb.RetInfo

func (*PutConfigBackupRsp) GetUpdatedAt

func (x *PutConfigBackupRsp) GetUpdatedAt() int64

func (*PutConfigBackupRsp) ProtoMessage

func (*PutConfigBackupRsp) ProtoMessage()

func (*PutConfigBackupRsp) ProtoReflect

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

func (*PutConfigBackupRsp) Reset

func (x *PutConfigBackupRsp) Reset()

func (*PutConfigBackupRsp) String

func (x *PutConfigBackupRsp) String() string

type RelaySessionStatus

type RelaySessionStatus struct {
	HostId     string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	Online     bool   `protobuf:"varint,2,opt,name=online,proto3" json:"online,omitempty"`
	InstanceId string `protobuf:"bytes,3,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	// RFC3339,离线时为空。
	ConnectedAt string `protobuf:"bytes,4,opt,name=connected_at,json=connectedAt,proto3" json:"connected_at,omitempty"`
	Reconnects  int64  `protobuf:"varint,5,opt,name=reconnects,proto3" json:"reconnects,omitempty"`
	Streams     int32  `protobuf:"varint,6,opt,name=streams,proto3" json:"streams,omitempty"`
	// contains filtered or unexported fields
}

control 网关上一台出站主机的反向连接会话状态。

func (*RelaySessionStatus) Descriptor deprecated

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

Deprecated: Use RelaySessionStatus.ProtoReflect.Descriptor instead.

func (*RelaySessionStatus) GetConnectedAt

func (x *RelaySessionStatus) GetConnectedAt() string

func (*RelaySessionStatus) GetHostId

func (x *RelaySessionStatus) GetHostId() string

func (*RelaySessionStatus) GetInstanceId

func (x *RelaySessionStatus) GetInstanceId() string

func (*RelaySessionStatus) GetOnline

func (x *RelaySessionStatus) GetOnline() bool

func (*RelaySessionStatus) GetReconnects

func (x *RelaySessionStatus) GetReconnects() int64

func (*RelaySessionStatus) GetStreams

func (x *RelaySessionStatus) GetStreams() int32

func (*RelaySessionStatus) ProtoMessage

func (*RelaySessionStatus) ProtoMessage()

func (*RelaySessionStatus) ProtoReflect

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

func (*RelaySessionStatus) Reset

func (x *RelaySessionStatus) Reset()

func (*RelaySessionStatus) String

func (x *RelaySessionStatus) String() string

type ReleaseCollectorPublishLeaseReq

type ReleaseCollectorPublishLeaseReq struct {
	SpaceId      string `protobuf:"bytes,1,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
	LeaseId      string `protobuf:"bytes,2,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"`
	FencingToken int64  `protobuf:"varint,3,opt,name=fencing_token,json=fencingToken,proto3" json:"fencing_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ReleaseCollectorPublishLeaseReq) Descriptor deprecated

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

Deprecated: Use ReleaseCollectorPublishLeaseReq.ProtoReflect.Descriptor instead.

func (*ReleaseCollectorPublishLeaseReq) GetFencingToken

func (x *ReleaseCollectorPublishLeaseReq) GetFencingToken() int64

func (*ReleaseCollectorPublishLeaseReq) GetLeaseId

func (x *ReleaseCollectorPublishLeaseReq) GetLeaseId() string

func (*ReleaseCollectorPublishLeaseReq) GetSpaceId

func (x *ReleaseCollectorPublishLeaseReq) GetSpaceId() string

func (*ReleaseCollectorPublishLeaseReq) ProtoMessage

func (*ReleaseCollectorPublishLeaseReq) ProtoMessage()

func (*ReleaseCollectorPublishLeaseReq) ProtoReflect

func (*ReleaseCollectorPublishLeaseReq) Reset

func (*ReleaseCollectorPublishLeaseReq) String

type ReleaseCollectorPublishLeaseRsp

type ReleaseCollectorPublishLeaseRsp struct {
	RetInfo  *commonpb.RetInfo `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	Released bool              `protobuf:"varint,2,opt,name=released,proto3" json:"released,omitempty"`
	// contains filtered or unexported fields
}

func (*ReleaseCollectorPublishLeaseRsp) Descriptor deprecated

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

Deprecated: Use ReleaseCollectorPublishLeaseRsp.ProtoReflect.Descriptor instead.

func (*ReleaseCollectorPublishLeaseRsp) GetReleased

func (x *ReleaseCollectorPublishLeaseRsp) GetReleased() bool

func (*ReleaseCollectorPublishLeaseRsp) GetRetInfo

func (*ReleaseCollectorPublishLeaseRsp) ProtoMessage

func (*ReleaseCollectorPublishLeaseRsp) ProtoMessage()

func (*ReleaseCollectorPublishLeaseRsp) ProtoReflect

func (*ReleaseCollectorPublishLeaseRsp) Reset

func (*ReleaseCollectorPublishLeaseRsp) String

type RenewCollectorPublishLeaseReq

type RenewCollectorPublishLeaseReq struct {
	SpaceId      string `protobuf:"bytes,1,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
	LeaseId      string `protobuf:"bytes,2,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"`
	FencingToken int64  `protobuf:"varint,3,opt,name=fencing_token,json=fencingToken,proto3" json:"fencing_token,omitempty"`
	// contains filtered or unexported fields
}

func (*RenewCollectorPublishLeaseReq) Descriptor deprecated

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

Deprecated: Use RenewCollectorPublishLeaseReq.ProtoReflect.Descriptor instead.

func (*RenewCollectorPublishLeaseReq) GetFencingToken

func (x *RenewCollectorPublishLeaseReq) GetFencingToken() int64

func (*RenewCollectorPublishLeaseReq) GetLeaseId

func (x *RenewCollectorPublishLeaseReq) GetLeaseId() string

func (*RenewCollectorPublishLeaseReq) GetSpaceId

func (x *RenewCollectorPublishLeaseReq) GetSpaceId() string

func (*RenewCollectorPublishLeaseReq) ProtoMessage

func (*RenewCollectorPublishLeaseReq) ProtoMessage()

func (*RenewCollectorPublishLeaseReq) ProtoReflect

func (*RenewCollectorPublishLeaseReq) Reset

func (x *RenewCollectorPublishLeaseReq) Reset()

func (*RenewCollectorPublishLeaseReq) String

type ReportStatusReq

type ReportStatusReq struct {
	HostId      string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	InstanceId  string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	Version     string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	AppliedHash string `protobuf:"bytes,4,opt,name=applied_hash,json=appliedHash,proto3" json:"applied_hash,omitempty"`
	Error       string `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"`
	RouteCount  int32  `protobuf:"varint,6,opt,name=route_count,json=routeCount,proto3" json:"route_count,omitempty"`
	// 只有 control 网关上报。
	RelaySessions []*RelaySessionStatus `protobuf:"bytes,7,rep,name=relay_sessions,json=relaySessions,proto3" json:"relay_sessions,omitempty"`
	// contains filtered or unexported fields
}

func (*ReportStatusReq) Descriptor deprecated

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

Deprecated: Use ReportStatusReq.ProtoReflect.Descriptor instead.

func (*ReportStatusReq) GetAppliedHash

func (x *ReportStatusReq) GetAppliedHash() string

func (*ReportStatusReq) GetError

func (x *ReportStatusReq) GetError() string

func (*ReportStatusReq) GetHostId

func (x *ReportStatusReq) GetHostId() string

func (*ReportStatusReq) GetInstanceId

func (x *ReportStatusReq) GetInstanceId() string

func (*ReportStatusReq) GetRelaySessions

func (x *ReportStatusReq) GetRelaySessions() []*RelaySessionStatus

func (*ReportStatusReq) GetRouteCount

func (x *ReportStatusReq) GetRouteCount() int32

func (*ReportStatusReq) GetVersion

func (x *ReportStatusReq) GetVersion() string

func (*ReportStatusReq) ProtoMessage

func (*ReportStatusReq) ProtoMessage()

func (*ReportStatusReq) ProtoReflect

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

func (*ReportStatusReq) Reset

func (x *ReportStatusReq) Reset()

func (*ReportStatusReq) String

func (x *ReportStatusReq) String() string

type ReportStatusRsp

type ReportStatusRsp struct {
	RetInfo *commonpb.RetInfo `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	// contains filtered or unexported fields
}

func (*ReportStatusRsp) Descriptor deprecated

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

Deprecated: Use ReportStatusRsp.ProtoReflect.Descriptor instead.

func (*ReportStatusRsp) GetRetInfo

func (x *ReportStatusRsp) GetRetInfo() *commonpb.RetInfo

func (*ReportStatusRsp) ProtoMessage

func (*ReportStatusRsp) ProtoMessage()

func (*ReportStatusRsp) ProtoReflect

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

func (*ReportStatusRsp) Reset

func (x *ReportStatusRsp) Reset()

func (*ReportStatusRsp) String

func (x *ReportStatusRsp) String() string

type ResizeWindowReq

type ResizeWindowReq struct {
	SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	W         int32  `protobuf:"varint,2,opt,name=w,proto3" json:"w,omitempty"`
	H         int32  `protobuf:"varint,3,opt,name=h,proto3" json:"h,omitempty"`
	// contains filtered or unexported fields
}

func (*ResizeWindowReq) Descriptor deprecated

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

Deprecated: Use ResizeWindowReq.ProtoReflect.Descriptor instead.

func (*ResizeWindowReq) GetH

func (x *ResizeWindowReq) GetH() int32

func (*ResizeWindowReq) GetSessionId

func (x *ResizeWindowReq) GetSessionId() string

func (*ResizeWindowReq) GetW

func (x *ResizeWindowReq) GetW() int32

func (*ResizeWindowReq) ProtoMessage

func (*ResizeWindowReq) ProtoMessage()

func (*ResizeWindowReq) ProtoReflect

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

func (*ResizeWindowReq) Reset

func (x *ResizeWindowReq) Reset()

func (*ResizeWindowReq) String

func (x *ResizeWindowReq) String() string

type ResizeWindowRsp

type ResizeWindowRsp struct {
	RetInfo *commonpb.RetInfo `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	// contains filtered or unexported fields
}

func (*ResizeWindowRsp) Descriptor deprecated

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

Deprecated: Use ResizeWindowRsp.ProtoReflect.Descriptor instead.

func (*ResizeWindowRsp) GetRetInfo

func (x *ResizeWindowRsp) GetRetInfo() *commonpb.RetInfo

func (*ResizeWindowRsp) ProtoMessage

func (*ResizeWindowRsp) ProtoMessage()

func (*ResizeWindowRsp) ProtoReflect

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

func (*ResizeWindowRsp) Reset

func (x *ResizeWindowRsp) Reset()

func (*ResizeWindowRsp) String

func (x *ResizeWindowRsp) String() string

type RetInfo

type RetInfo = commonpb.RetInfo

type Secret

type Secret struct {
	Id          int32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	SecretId    string `protobuf:"bytes,2,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"`           // 唯一标识
	Name        string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`                                   // 名称
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`                     // 描述
	Category    string `protobuf:"bytes,5,opt,name=category,proto3" json:"category,omitempty"`                           // 分类: ssh/exchange/database/jwt/other
	Provider    string `protobuf:"bytes,6,opt,name=provider,proto3" json:"provider,omitempty"`                           // 提供方
	SecretType  string `protobuf:"bytes,7,opt,name=secret_type,json=secretType,proto3" json:"secret_type,omitempty"`     // 类型: api_key/password/token/certificate/ssh_key/other
	KeyId       string `protobuf:"bytes,8,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`                    // 公开标识,不脱敏
	SecretValue string `protobuf:"bytes,9,opt,name=secret_value,json=secretValue,proto3" json:"secret_value,omitempty"`  // 脱敏值(如 AKID****8j9k),创建/更新时传明文
	ExtraConfig string `protobuf:"bytes,10,opt,name=extra_config,json=extraConfig,proto3" json:"extra_config,omitempty"` // 额外配置 (JSON)
	Status      string `protobuf:"bytes,11,opt,name=status,proto3" json:"status,omitempty"`                              // active / inactive
	Creator     string `protobuf:"bytes,14,opt,name=creator,proto3" json:"creator,omitempty"`                            // 创建人
	CreateTime  string `protobuf:"bytes,15,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`    // 创建时间
	ModifyTime  string `protobuf:"bytes,16,opt,name=modify_time,json=modifyTime,proto3" json:"modify_time,omitempty"`    // 修改时间
	// contains filtered or unexported fields
}

Secret 秘钥信息(列表/详情返回时,secret_value 始终脱敏)。

func (*Secret) Descriptor deprecated

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

Deprecated: Use Secret.ProtoReflect.Descriptor instead.

func (*Secret) GetCategory

func (x *Secret) GetCategory() string

func (*Secret) GetCreateTime

func (x *Secret) GetCreateTime() string

func (*Secret) GetCreator

func (x *Secret) GetCreator() string

func (*Secret) GetDescription

func (x *Secret) GetDescription() string

func (*Secret) GetExtraConfig

func (x *Secret) GetExtraConfig() string

func (*Secret) GetId

func (x *Secret) GetId() int32

func (*Secret) GetKeyId

func (x *Secret) GetKeyId() string

func (*Secret) GetModifyTime

func (x *Secret) GetModifyTime() string

func (*Secret) GetName

func (x *Secret) GetName() string

func (*Secret) GetProvider

func (x *Secret) GetProvider() string

func (*Secret) GetSecretId

func (x *Secret) GetSecretId() string

func (*Secret) GetSecretType

func (x *Secret) GetSecretType() string

func (*Secret) GetSecretValue

func (x *Secret) GetSecretValue() string

func (*Secret) GetStatus

func (x *Secret) GetStatus() string

func (*Secret) Masking

func (x *Secret) Masking()

Masking implements the tRPC masking contract for ordinary secret responses.

func (*Secret) ProtoMessage

func (*Secret) ProtoMessage()

func (*Secret) ProtoReflect

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

func (*Secret) Reset

func (x *Secret) Reset()

func (*Secret) String

func (x *Secret) String() string

type SecretMaterial

type SecretMaterial struct {
	SecretId    string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Category    string `protobuf:"bytes,4,opt,name=category,proto3" json:"category,omitempty"`
	Provider    string `protobuf:"bytes,5,opt,name=provider,proto3" json:"provider,omitempty"`
	SecretType  string `protobuf:"bytes,6,opt,name=secret_type,json=secretType,proto3" json:"secret_type,omitempty"`
	KeyId       string `protobuf:"bytes,7,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	SecretValue string `protobuf:"bytes,8,opt,name=secret_value,json=secretValue,proto3" json:"secret_value,omitempty"`
	ExtraConfig string `protobuf:"bytes,9,opt,name=extra_config,json=extraConfig,proto3" json:"extra_config,omitempty"`
	Status      string `protobuf:"bytes,10,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

SecretMaterial is deliberately distinct from Secret so the masking filter cannot redact the service-auth-only plaintext response.

func (*SecretMaterial) Descriptor deprecated

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

Deprecated: Use SecretMaterial.ProtoReflect.Descriptor instead.

func (*SecretMaterial) GetCategory

func (x *SecretMaterial) GetCategory() string

func (*SecretMaterial) GetDescription

func (x *SecretMaterial) GetDescription() string

func (*SecretMaterial) GetExtraConfig

func (x *SecretMaterial) GetExtraConfig() string

func (*SecretMaterial) GetKeyId

func (x *SecretMaterial) GetKeyId() string

func (*SecretMaterial) GetName

func (x *SecretMaterial) GetName() string

func (*SecretMaterial) GetProvider

func (x *SecretMaterial) GetProvider() string

func (*SecretMaterial) GetSecretId

func (x *SecretMaterial) GetSecretId() string

func (*SecretMaterial) GetSecretType

func (x *SecretMaterial) GetSecretType() string

func (*SecretMaterial) GetSecretValue

func (x *SecretMaterial) GetSecretValue() string

func (*SecretMaterial) GetStatus

func (x *SecretMaterial) GetStatus() string

func (*SecretMaterial) ProtoMessage

func (*SecretMaterial) ProtoMessage()

func (*SecretMaterial) ProtoReflect

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

func (*SecretMaterial) Reset

func (x *SecretMaterial) Reset()

func (*SecretMaterial) String

func (x *SecretMaterial) String() string

type SecretMgrClientProxy

type SecretMgrClientProxy interface {
	ListSecrets(ctx context.Context, req *ListSecretsReq, opts ...client.Option) (rsp *ListSecretsRsp, err error)

	GetSecret(ctx context.Context, req *GetSecretReq, opts ...client.Option) (rsp *GetSecretRsp, err error)

	GetSecretValue(ctx context.Context, req *GetSecretValueReq, opts ...client.Option) (rsp *GetSecretValueRsp, err error)

	CreateSecret(ctx context.Context, req *CreateSecretReq, opts ...client.Option) (rsp *CreateSecretRsp, err error)

	UpdateSecret(ctx context.Context, req *UpdateSecretReq, opts ...client.Option) (rsp *UpdateSecretRsp, err error)

	DeleteSecret(ctx context.Context, req *DeleteSecretReq, opts ...client.Option) (rsp *DeleteSecretRsp, err error)

	ToggleSecretStatus(ctx context.Context, req *ToggleSecretStatusReq, opts ...client.Option) (rsp *ToggleSecretStatusRsp, err error)

	ExportSecrets(ctx context.Context, req *ExportSecretsReq, opts ...client.Option) (rsp *ExportSecretsRsp, err error)

	ImportSecrets(ctx context.Context, req *ImportSecretsReq, opts ...client.Option) (rsp *ImportSecretsRsp, err error)

	GetReadonlyExchangeKey(ctx context.Context, req *GetReadonlyExchangeKeyReq, opts ...client.Option) (rsp *GetReadonlyExchangeKeyRsp, err error)
}

SecretMgrClientProxy defines service client proxy

type SecretMgrClientProxyImpl

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

func (*SecretMgrClientProxyImpl) CreateSecret

func (*SecretMgrClientProxyImpl) DeleteSecret

func (*SecretMgrClientProxyImpl) ExportSecrets

func (*SecretMgrClientProxyImpl) GetReadonlyExchangeKey

func (*SecretMgrClientProxyImpl) GetSecret

func (c *SecretMgrClientProxyImpl) GetSecret(ctx context.Context, req *GetSecretReq, opts ...client.Option) (*GetSecretRsp, error)

func (*SecretMgrClientProxyImpl) GetSecretValue

func (*SecretMgrClientProxyImpl) ImportSecrets

func (*SecretMgrClientProxyImpl) ListSecrets

func (*SecretMgrClientProxyImpl) ToggleSecretStatus

func (*SecretMgrClientProxyImpl) UpdateSecret

type SecretMgrService

type SecretMgrService interface {
	ListSecrets(ctx context.Context, req *ListSecretsReq) (*ListSecretsRsp, error)

	GetSecret(ctx context.Context, req *GetSecretReq) (*GetSecretRsp, error)

	GetSecretValue(ctx context.Context, req *GetSecretValueReq) (*GetSecretValueRsp, error)

	CreateSecret(ctx context.Context, req *CreateSecretReq) (*CreateSecretRsp, error)

	UpdateSecret(ctx context.Context, req *UpdateSecretReq) (*UpdateSecretRsp, error)

	DeleteSecret(ctx context.Context, req *DeleteSecretReq) (*DeleteSecretRsp, error)

	ToggleSecretStatus(ctx context.Context, req *ToggleSecretStatusReq) (*ToggleSecretStatusRsp, error)

	ExportSecrets(ctx context.Context, req *ExportSecretsReq) (*ExportSecretsRsp, error)

	ImportSecrets(ctx context.Context, req *ImportSecretsReq) (*ImportSecretsRsp, error)

	GetReadonlyExchangeKey(ctx context.Context, req *GetReadonlyExchangeKeyReq) (*GetReadonlyExchangeKeyRsp, error)
}

SecretMgrService defines service.

type SetDeploymentStatusReq

type SetDeploymentStatusReq struct {
	HostId      string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	ComponentId string `protobuf:"bytes,2,opt,name=component_id,json=componentId,proto3" json:"component_id,omitempty"`
	Status      string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*SetDeploymentStatusReq) Descriptor deprecated

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

Deprecated: Use SetDeploymentStatusReq.ProtoReflect.Descriptor instead.

func (*SetDeploymentStatusReq) GetComponentId

func (x *SetDeploymentStatusReq) GetComponentId() string

func (*SetDeploymentStatusReq) GetHostId

func (x *SetDeploymentStatusReq) GetHostId() string

func (*SetDeploymentStatusReq) GetStatus

func (x *SetDeploymentStatusReq) GetStatus() string

func (*SetDeploymentStatusReq) ProtoMessage

func (*SetDeploymentStatusReq) ProtoMessage()

func (*SetDeploymentStatusReq) ProtoReflect

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

func (*SetDeploymentStatusReq) Reset

func (x *SetDeploymentStatusReq) Reset()

func (*SetDeploymentStatusReq) String

func (x *SetDeploymentStatusReq) String() string

type SetDeploymentStatusRsp

type SetDeploymentStatusRsp struct {
	RetInfo *commonpb.RetInfo `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	// contains filtered or unexported fields
}

func (*SetDeploymentStatusRsp) Descriptor deprecated

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

Deprecated: Use SetDeploymentStatusRsp.ProtoReflect.Descriptor instead.

func (*SetDeploymentStatusRsp) GetRetInfo

func (x *SetDeploymentStatusRsp) GetRetInfo() *commonpb.RetInfo

func (*SetDeploymentStatusRsp) ProtoMessage

func (*SetDeploymentStatusRsp) ProtoMessage()

func (*SetDeploymentStatusRsp) ProtoReflect

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

func (*SetDeploymentStatusRsp) Reset

func (x *SetDeploymentStatusRsp) Reset()

func (*SetDeploymentStatusRsp) String

func (x *SetDeploymentStatusRsp) String() string

type SetHostStatusReq

type SetHostStatusReq struct {
	HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*SetHostStatusReq) Descriptor deprecated

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

Deprecated: Use SetHostStatusReq.ProtoReflect.Descriptor instead.

func (*SetHostStatusReq) GetHostId

func (x *SetHostStatusReq) GetHostId() string

func (*SetHostStatusReq) GetStatus

func (x *SetHostStatusReq) GetStatus() string

func (*SetHostStatusReq) ProtoMessage

func (*SetHostStatusReq) ProtoMessage()

func (*SetHostStatusReq) ProtoReflect

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

func (*SetHostStatusReq) Reset

func (x *SetHostStatusReq) Reset()

func (*SetHostStatusReq) String

func (x *SetHostStatusReq) String() string

type SetHostStatusRsp

type SetHostStatusRsp struct {
	RetInfo *commonpb.RetInfo `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	// contains filtered or unexported fields
}

func (*SetHostStatusRsp) Descriptor deprecated

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

Deprecated: Use SetHostStatusRsp.ProtoReflect.Descriptor instead.

func (*SetHostStatusRsp) GetRetInfo

func (x *SetHostStatusRsp) GetRetInfo() *commonpb.RetInfo

func (*SetHostStatusRsp) ProtoMessage

func (*SetHostStatusRsp) ProtoMessage()

func (*SetHostStatusRsp) ProtoReflect

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

func (*SetHostStatusRsp) Reset

func (x *SetHostStatusRsp) Reset()

func (*SetHostStatusRsp) String

func (x *SetHostStatusRsp) String() string

type SetupAdmin

type SetupAdmin 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"`
	// contains filtered or unexported fields
}

func (*SetupAdmin) Descriptor deprecated

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

Deprecated: Use SetupAdmin.ProtoReflect.Descriptor instead.

func (*SetupAdmin) GetPassword

func (x *SetupAdmin) GetPassword() string

func (*SetupAdmin) GetUsername

func (x *SetupAdmin) GetUsername() string

func (*SetupAdmin) ProtoMessage

func (*SetupAdmin) ProtoMessage()

func (*SetupAdmin) ProtoReflect

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

func (*SetupAdmin) Reset

func (x *SetupAdmin) Reset()

func (*SetupAdmin) String

func (x *SetupAdmin) String() string

type SetupClientProxy

type SetupClientProxy interface {
	ApplySetup(ctx context.Context, req *ApplySetupReq, opts ...client.Option) (rsp *ApplySetupRsp, err error)

	GetSetupStatus(ctx context.Context, req *GetSetupStatusReq, opts ...client.Option) (rsp *GetSetupStatusRsp, err error)

	PutConfigBackup(ctx context.Context, req *PutConfigBackupReq, opts ...client.Option) (rsp *PutConfigBackupRsp, err error)

	GetConfigBackup(ctx context.Context, req *GetConfigBackupReq, opts ...client.Option) (rsp *GetConfigBackupRsp, err error)
}

SetupClientProxy defines service client proxy

type SetupClientProxyImpl

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

func (*SetupClientProxyImpl) ApplySetup

func (c *SetupClientProxyImpl) ApplySetup(ctx context.Context, req *ApplySetupReq, opts ...client.Option) (*ApplySetupRsp, error)

func (*SetupClientProxyImpl) GetConfigBackup

func (c *SetupClientProxyImpl) GetConfigBackup(ctx context.Context, req *GetConfigBackupReq, opts ...client.Option) (*GetConfigBackupRsp, error)

func (*SetupClientProxyImpl) GetSetupStatus

func (c *SetupClientProxyImpl) GetSetupStatus(ctx context.Context, req *GetSetupStatusReq, opts ...client.Option) (*GetSetupStatusRsp, error)

func (*SetupClientProxyImpl) PutConfigBackup

func (c *SetupClientProxyImpl) PutConfigBackup(ctx context.Context, req *PutConfigBackupReq, opts ...client.Option) (*PutConfigBackupRsp, error)

type SetupExchangeKey

type SetupExchangeKey struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Exchange    string `protobuf:"bytes,2,opt,name=exchange,proto3" json:"exchange,omitempty"`       // binance、okx
	Environment string `protobuf:"bytes,3,opt,name=environment,proto3" json:"environment,omitempty"` // production、testnet
	ApiKey      string `protobuf:"bytes,4,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
	SecretKey   string `protobuf:"bytes,5,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"`
	Passphrase  string `protobuf:"bytes,6,opt,name=passphrase,proto3" json:"passphrase,omitempty"` // OKX
	Readonly    bool   `protobuf:"varint,7,opt,name=readonly,proto3" json:"readonly,omitempty"`    // 只读密钥:额外写入 extra_config 的 readonly=true,Trade 据此拒绝用它建执行账户
	// contains filtered or unexported fields
}

moox.toml 的 [[exchange_keys]]:交易所密钥。固定 ID 为 exchange-<交易所>-<环境>-<名称>,只建不改。

func (*SetupExchangeKey) Descriptor deprecated

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

Deprecated: Use SetupExchangeKey.ProtoReflect.Descriptor instead.

func (*SetupExchangeKey) GetApiKey

func (x *SetupExchangeKey) GetApiKey() string

func (*SetupExchangeKey) GetEnvironment

func (x *SetupExchangeKey) GetEnvironment() string

func (*SetupExchangeKey) GetExchange

func (x *SetupExchangeKey) GetExchange() string

func (*SetupExchangeKey) GetName

func (x *SetupExchangeKey) GetName() string

func (*SetupExchangeKey) GetPassphrase

func (x *SetupExchangeKey) GetPassphrase() string

func (*SetupExchangeKey) GetReadonly

func (x *SetupExchangeKey) GetReadonly() bool

func (*SetupExchangeKey) GetSecretKey

func (x *SetupExchangeKey) GetSecretKey() string

func (*SetupExchangeKey) ProtoMessage

func (*SetupExchangeKey) ProtoMessage()

func (*SetupExchangeKey) ProtoReflect

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

func (*SetupExchangeKey) Reset

func (x *SetupExchangeKey) Reset()

func (*SetupExchangeKey) String

func (x *SetupExchangeKey) String() string

type SetupExchangeKeyResult

type SetupExchangeKeyResult struct {
	SecretId string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"`
	State    string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	Readonly bool   `protobuf:"varint,3,opt,name=readonly,proto3" json:"readonly,omitempty"`
	// contains filtered or unexported fields
}

一把交易所密钥在 SecretMgr 里的状态:created 本次新建;exists 已存在(以管理台为准,不覆盖); deleted 已在管理台删除(不重建);missing 还没有(只出现在状态查询里)。

func (*SetupExchangeKeyResult) Descriptor deprecated

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

Deprecated: Use SetupExchangeKeyResult.ProtoReflect.Descriptor instead.

func (*SetupExchangeKeyResult) GetReadonly

func (x *SetupExchangeKeyResult) GetReadonly() bool

func (*SetupExchangeKeyResult) GetSecretId

func (x *SetupExchangeKeyResult) GetSecretId() string

func (*SetupExchangeKeyResult) GetState

func (x *SetupExchangeKeyResult) GetState() string

func (*SetupExchangeKeyResult) ProtoMessage

func (*SetupExchangeKeyResult) ProtoMessage()

func (*SetupExchangeKeyResult) ProtoReflect

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

func (*SetupExchangeKeyResult) Reset

func (x *SetupExchangeKeyResult) Reset()

func (*SetupExchangeKeyResult) String

func (x *SetupExchangeKeyResult) String() string

type SetupService

type SetupService interface {
	ApplySetup(ctx context.Context, req *ApplySetupReq) (*ApplySetupRsp, error)

	GetSetupStatus(ctx context.Context, req *GetSetupStatusReq) (*GetSetupStatusRsp, error)

	PutConfigBackup(ctx context.Context, req *PutConfigBackupReq) (*PutConfigBackupRsp, error)

	GetConfigBackup(ctx context.Context, req *GetConfigBackupReq) (*GetConfigBackupRsp, error)
}

SetupService defines service.

type SetupSpace

type SetupSpace struct {
	SpaceId        string `protobuf:"bytes,1,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
	Name           string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description    string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Owner          string `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"`
	Market         string `protobuf:"bytes,5,opt,name=market,proto3" json:"market,omitempty"`
	Timezone       string `protobuf:"bytes,6,opt,name=timezone,proto3" json:"timezone,omitempty"`
	Status         string `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"`
	AttributesJson string `protobuf:"bytes,8,opt,name=attributes_json,json=attributesJson,proto3" json:"attributes_json,omitempty"`
	// contains filtered or unexported fields
}

func (*SetupSpace) Descriptor deprecated

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

Deprecated: Use SetupSpace.ProtoReflect.Descriptor instead.

func (*SetupSpace) GetAttributesJson

func (x *SetupSpace) GetAttributesJson() string

func (*SetupSpace) GetDescription

func (x *SetupSpace) GetDescription() string

func (*SetupSpace) GetMarket

func (x *SetupSpace) GetMarket() string

func (*SetupSpace) GetName

func (x *SetupSpace) GetName() string

func (*SetupSpace) GetOwner

func (x *SetupSpace) GetOwner() string

func (*SetupSpace) GetSpaceId

func (x *SetupSpace) GetSpaceId() string

func (*SetupSpace) GetStatus

func (x *SetupSpace) GetStatus() string

func (*SetupSpace) GetTimezone

func (x *SetupSpace) GetTimezone() string

func (*SetupSpace) ProtoMessage

func (*SetupSpace) ProtoMessage()

func (*SetupSpace) ProtoReflect

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

func (*SetupSpace) Reset

func (x *SetupSpace) Reset()

func (*SetupSpace) String

func (x *SetupSpace) String() string

type SetupTencentCloud

type SetupTencentCloud struct {
	SecretId  string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"`
	SecretKey string `protobuf:"bytes,2,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"`
	// contains filtered or unexported fields
}

func (*SetupTencentCloud) Descriptor deprecated

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

Deprecated: Use SetupTencentCloud.ProtoReflect.Descriptor instead.

func (*SetupTencentCloud) GetSecretId

func (x *SetupTencentCloud) GetSecretId() string

func (*SetupTencentCloud) GetSecretKey

func (x *SetupTencentCloud) GetSecretKey() string

func (*SetupTencentCloud) ProtoMessage

func (*SetupTencentCloud) ProtoMessage()

func (*SetupTencentCloud) ProtoReflect

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

func (*SetupTencentCloud) Reset

func (x *SetupTencentCloud) Reset()

func (*SetupTencentCloud) String

func (x *SetupTencentCloud) String() string

type SftpDeleteReq

type SftpDeleteReq struct {
	SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	Path      string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*SftpDeleteReq) Descriptor deprecated

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

Deprecated: Use SftpDeleteReq.ProtoReflect.Descriptor instead.

func (*SftpDeleteReq) GetPath

func (x *SftpDeleteReq) GetPath() string

func (*SftpDeleteReq) GetSessionId

func (x *SftpDeleteReq) GetSessionId() string

func (*SftpDeleteReq) ProtoMessage

func (*SftpDeleteReq) ProtoMessage()

func (*SftpDeleteReq) ProtoReflect

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

func (*SftpDeleteReq) Reset

func (x *SftpDeleteReq) Reset()

func (*SftpDeleteReq) String

func (x *SftpDeleteReq) String() string

type SftpDeleteRsp

type SftpDeleteRsp struct {
	RetInfo *commonpb.RetInfo `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	// contains filtered or unexported fields
}

func (*SftpDeleteRsp) Descriptor deprecated

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

Deprecated: Use SftpDeleteRsp.ProtoReflect.Descriptor instead.

func (*SftpDeleteRsp) GetRetInfo

func (x *SftpDeleteRsp) GetRetInfo() *commonpb.RetInfo

func (*SftpDeleteRsp) ProtoMessage

func (*SftpDeleteRsp) ProtoMessage()

func (*SftpDeleteRsp) ProtoReflect

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

func (*SftpDeleteRsp) Reset

func (x *SftpDeleteRsp) Reset()

func (*SftpDeleteRsp) String

func (x *SftpDeleteRsp) String() string

type SftpFileItem

type SftpFileItem struct {
	Path    string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Name    string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Mode    string `protobuf:"bytes,3,opt,name=mode,proto3" json:"mode,omitempty"`
	Size    int64  `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
	ModTime string `protobuf:"bytes,5,opt,name=mod_time,json=modTime,proto3" json:"mod_time,omitempty"`
	Type    string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"` // d | f
	// contains filtered or unexported fields
}

SftpFileItem SFTP 目录条目。

func (*SftpFileItem) Descriptor deprecated

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

Deprecated: Use SftpFileItem.ProtoReflect.Descriptor instead.

func (*SftpFileItem) GetModTime

func (x *SftpFileItem) GetModTime() string

func (*SftpFileItem) GetMode

func (x *SftpFileItem) GetMode() string

func (*SftpFileItem) GetName

func (x *SftpFileItem) GetName() string

func (*SftpFileItem) GetPath

func (x *SftpFileItem) GetPath() string

func (*SftpFileItem) GetSize

func (x *SftpFileItem) GetSize() int64

func (*SftpFileItem) GetType

func (x *SftpFileItem) GetType() string

func (*SftpFileItem) ProtoMessage

func (*SftpFileItem) ProtoMessage()

func (*SftpFileItem) ProtoReflect

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

func (*SftpFileItem) Reset

func (x *SftpFileItem) Reset()

func (*SftpFileItem) String

func (x *SftpFileItem) String() string

type SftpListReq

type SftpListReq struct {
	SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	Path      string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*SftpListReq) Descriptor deprecated

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

Deprecated: Use SftpListReq.ProtoReflect.Descriptor instead.

func (*SftpListReq) GetPath

func (x *SftpListReq) GetPath() string

func (*SftpListReq) GetSessionId

func (x *SftpListReq) GetSessionId() string

func (*SftpListReq) ProtoMessage

func (*SftpListReq) ProtoMessage()

func (*SftpListReq) ProtoReflect

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

func (*SftpListReq) Reset

func (x *SftpListReq) Reset()

func (*SftpListReq) String

func (x *SftpListReq) String() string

type SftpListRsp

type SftpListRsp struct {
	RetInfo    *commonpb.RetInfo `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	Files      []*SftpFileItem   `protobuf:"bytes,2,rep,name=files,proto3" json:"files,omitempty"`
	FileCount  int32             `protobuf:"varint,3,opt,name=file_count,json=fileCount,proto3" json:"file_count,omitempty"`
	DirCount   int32             `protobuf:"varint,4,opt,name=dir_count,json=dirCount,proto3" json:"dir_count,omitempty"`
	Paths      []*PathBreadcrumb `protobuf:"bytes,5,rep,name=paths,proto3" json:"paths,omitempty"`
	CurrentDir string            `protobuf:"bytes,6,opt,name=current_dir,json=currentDir,proto3" json:"current_dir,omitempty"`
	// contains filtered or unexported fields
}

func (*SftpListRsp) Descriptor deprecated

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

Deprecated: Use SftpListRsp.ProtoReflect.Descriptor instead.

func (*SftpListRsp) GetCurrentDir

func (x *SftpListRsp) GetCurrentDir() string

func (*SftpListRsp) GetDirCount

func (x *SftpListRsp) GetDirCount() int32

func (*SftpListRsp) GetFileCount

func (x *SftpListRsp) GetFileCount() int32

func (*SftpListRsp) GetFiles

func (x *SftpListRsp) GetFiles() []*SftpFileItem

func (*SftpListRsp) GetPaths

func (x *SftpListRsp) GetPaths() []*PathBreadcrumb

func (*SftpListRsp) GetRetInfo

func (x *SftpListRsp) GetRetInfo() *commonpb.RetInfo

func (*SftpListRsp) ProtoMessage

func (*SftpListRsp) ProtoMessage()

func (*SftpListRsp) ProtoReflect

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

func (*SftpListRsp) Reset

func (x *SftpListRsp) Reset()

func (*SftpListRsp) String

func (x *SftpListRsp) String() string

type SftpMkdirReq

type SftpMkdirReq struct {
	SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	Path      string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*SftpMkdirReq) Descriptor deprecated

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

Deprecated: Use SftpMkdirReq.ProtoReflect.Descriptor instead.

func (*SftpMkdirReq) GetPath

func (x *SftpMkdirReq) GetPath() string

func (*SftpMkdirReq) GetSessionId

func (x *SftpMkdirReq) GetSessionId() string

func (*SftpMkdirReq) ProtoMessage

func (*SftpMkdirReq) ProtoMessage()

func (*SftpMkdirReq) ProtoReflect

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

func (*SftpMkdirReq) Reset

func (x *SftpMkdirReq) Reset()

func (*SftpMkdirReq) String

func (x *SftpMkdirReq) String() string

type SftpMkdirRsp

type SftpMkdirRsp struct {
	RetInfo *commonpb.RetInfo `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	// contains filtered or unexported fields
}

func (*SftpMkdirRsp) Descriptor deprecated

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

Deprecated: Use SftpMkdirRsp.ProtoReflect.Descriptor instead.

func (*SftpMkdirRsp) GetRetInfo

func (x *SftpMkdirRsp) GetRetInfo() *commonpb.RetInfo

func (*SftpMkdirRsp) ProtoMessage

func (*SftpMkdirRsp) ProtoMessage()

func (*SftpMkdirRsp) ProtoReflect

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

func (*SftpMkdirRsp) Reset

func (x *SftpMkdirRsp) Reset()

func (*SftpMkdirRsp) String

func (x *SftpMkdirRsp) String() string

type Space

type Space struct {
	Id          int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	SpaceId     string `protobuf:"bytes,2,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
	Name        string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	Owner       string `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty"`
	Market      string `protobuf:"bytes,6,opt,name=market,proto3" json:"market,omitempty"`
	Timezone    string `protobuf:"bytes,7,opt,name=timezone,proto3" json:"timezone,omitempty"`
	Status      string `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"`
	Attributes  string `protobuf:"bytes,9,opt,name=attributes,proto3" json:"attributes,omitempty"`
	CreatedAt   string `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt   string `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Space) Descriptor deprecated

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

Deprecated: Use Space.ProtoReflect.Descriptor instead.

func (*Space) GetAttributes

func (x *Space) GetAttributes() string

func (*Space) GetCreatedAt

func (x *Space) GetCreatedAt() string

func (*Space) GetDescription

func (x *Space) GetDescription() string

func (*Space) GetId

func (x *Space) GetId() int64

func (*Space) GetMarket

func (x *Space) GetMarket() string

func (*Space) GetName

func (x *Space) GetName() string

func (*Space) GetOwner

func (x *Space) GetOwner() string

func (*Space) GetSpaceId

func (x *Space) GetSpaceId() string

func (*Space) GetStatus

func (x *Space) GetStatus() string

func (*Space) GetTimezone

func (x *Space) GetTimezone() string

func (*Space) GetUpdatedAt

func (x *Space) GetUpdatedAt() string

func (*Space) ProtoMessage

func (*Space) ProtoMessage()

func (*Space) ProtoReflect

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

func (*Space) Reset

func (x *Space) Reset()

func (*Space) String

func (x *Space) String() string

type SpaceMgrClientProxy

type SpaceMgrClientProxy interface {
	CreateSpace(ctx context.Context, req *CreateSpaceReq, opts ...client.Option) (rsp *CreateSpaceRsp, err error)

	UpdateSpace(ctx context.Context, req *UpdateSpaceReq, opts ...client.Option) (rsp *UpdateSpaceRsp, err error)

	DeleteSpace(ctx context.Context, req *DeleteSpaceReq, opts ...client.Option) (rsp *DeleteSpaceRsp, err error)

	ListSpaces(ctx context.Context, req *ListSpacesReq, opts ...client.Option) (rsp *ListSpacesRsp, err error)
}

SpaceMgrClientProxy defines service client proxy

type SpaceMgrClientProxyImpl

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

func (*SpaceMgrClientProxyImpl) CreateSpace

func (c *SpaceMgrClientProxyImpl) CreateSpace(ctx context.Context, req *CreateSpaceReq, opts ...client.Option) (*CreateSpaceRsp, error)

func (*SpaceMgrClientProxyImpl) DeleteSpace

func (c *SpaceMgrClientProxyImpl) DeleteSpace(ctx context.Context, req *DeleteSpaceReq, opts ...client.Option) (*DeleteSpaceRsp, error)

func (*SpaceMgrClientProxyImpl) ListSpaces

func (c *SpaceMgrClientProxyImpl) ListSpaces(ctx context.Context, req *ListSpacesReq, opts ...client.Option) (*ListSpacesRsp, error)

func (*SpaceMgrClientProxyImpl) UpdateSpace

func (c *SpaceMgrClientProxyImpl) UpdateSpace(ctx context.Context, req *UpdateSpaceReq, opts ...client.Option) (*UpdateSpaceRsp, error)

type SpaceMgrService

type SpaceMgrService interface {
	CreateSpace(ctx context.Context, req *CreateSpaceReq) (*CreateSpaceRsp, error)

	UpdateSpace(ctx context.Context, req *UpdateSpaceReq) (*UpdateSpaceRsp, error)

	DeleteSpace(ctx context.Context, req *DeleteSpaceReq) (*DeleteSpaceRsp, error)

	ListSpaces(ctx context.Context, req *ListSpacesReq) (*ListSpacesRsp, error)
}

SpaceMgrService defines service.

type SshClientProxy

type SshClientProxy interface {
	// CreateSession SSH 会话
	CreateSession(ctx context.Context, req *CreateSessionReq, opts ...client.Option) (rsp *CreateSessionRsp, err error)

	DisconnectSession(ctx context.Context, req *DisconnectSessionReq, opts ...client.Option) (rsp *DisconnectSessionRsp, err error)

	ResizeWindow(ctx context.Context, req *ResizeWindowReq, opts ...client.Option) (rsp *ResizeWindowRsp, err error)
	// SftpList SFTP 操作
	SftpList(ctx context.Context, req *SftpListReq, opts ...client.Option) (rsp *SftpListRsp, err error)

	SftpMkdir(ctx context.Context, req *SftpMkdirReq, opts ...client.Option) (rsp *SftpMkdirRsp, err error)

	SftpDelete(ctx context.Context, req *SftpDeleteReq, opts ...client.Option) (rsp *SftpDeleteRsp, err error)
}

SshClientProxy defines service client proxy

type SshClientProxyImpl

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

func (*SshClientProxyImpl) CreateSession

func (c *SshClientProxyImpl) CreateSession(ctx context.Context, req *CreateSessionReq, opts ...client.Option) (*CreateSessionRsp, error)

func (*SshClientProxyImpl) DisconnectSession

func (c *SshClientProxyImpl) DisconnectSession(ctx context.Context, req *DisconnectSessionReq, opts ...client.Option) (*DisconnectSessionRsp, error)

func (*SshClientProxyImpl) ResizeWindow

func (c *SshClientProxyImpl) ResizeWindow(ctx context.Context, req *ResizeWindowReq, opts ...client.Option) (*ResizeWindowRsp, error)

func (*SshClientProxyImpl) SftpDelete

func (c *SshClientProxyImpl) SftpDelete(ctx context.Context, req *SftpDeleteReq, opts ...client.Option) (*SftpDeleteRsp, error)

func (*SshClientProxyImpl) SftpList

func (c *SshClientProxyImpl) SftpList(ctx context.Context, req *SftpListReq, opts ...client.Option) (*SftpListRsp, error)

func (*SshClientProxyImpl) SftpMkdir

func (c *SshClientProxyImpl) SftpMkdir(ctx context.Context, req *SftpMkdirReq, opts ...client.Option) (*SftpMkdirRsp, error)

type SshService

type SshService interface {
	// CreateSession SSH 会话
	CreateSession(ctx context.Context, req *CreateSessionReq) (*CreateSessionRsp, error)

	DisconnectSession(ctx context.Context, req *DisconnectSessionReq) (*DisconnectSessionRsp, error)

	ResizeWindow(ctx context.Context, req *ResizeWindowReq) (*ResizeWindowRsp, error)
	// SftpList SFTP 操作
	SftpList(ctx context.Context, req *SftpListReq) (*SftpListRsp, error)

	SftpMkdir(ctx context.Context, req *SftpMkdirReq) (*SftpMkdirRsp, error)

	SftpDelete(ctx context.Context, req *SftpDeleteReq) (*SftpDeleteRsp, error)
}

SshService defines service.

type SyncHostDeploymentsReq

type SyncHostDeploymentsReq struct {
	HostId         string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	Address        string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	PrivateAddress string `protobuf:"bytes,3,opt,name=private_address,json=privateAddress,proto3" json:"private_address,omitempty"`
	Region         string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"`
	Description    string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Complete business component list. Host-scope components are automatic.
	ComponentIds []string `protobuf:"bytes,6,rep,name=component_ids,json=componentIds,proto3" json:"component_ids,omitempty"`
	// 空或 direct 表示可直达,outbound 表示只能出站。
	Reachability string `protobuf:"bytes,7,opt,name=reachability,proto3" json:"reachability,omitempty"`
	Label        string `protobuf:"bytes,8,opt,name=label,proto3" json:"label,omitempty"`
	// SSH 登录信息:ssh_port 为 0 表示控制台不能 SSH(同时清除已存的凭据)。
	// ssh_auth_type 为 password 或 private_key,ssh_secret 是对应的密码或私钥;ssh_passphrase 是私钥口令。
	SshPort       int32  `protobuf:"varint,9,opt,name=ssh_port,json=sshPort,proto3" json:"ssh_port,omitempty"`
	SshUser       string `protobuf:"bytes,10,opt,name=ssh_user,json=sshUser,proto3" json:"ssh_user,omitempty"`
	SshAuthType   string `protobuf:"bytes,11,opt,name=ssh_auth_type,json=sshAuthType,proto3" json:"ssh_auth_type,omitempty"`
	SshSecret     string `protobuf:"bytes,12,opt,name=ssh_secret,json=sshSecret,proto3" json:"ssh_secret,omitempty"`
	SshPassphrase string `protobuf:"bytes,13,opt,name=ssh_passphrase,json=sshPassphrase,proto3" json:"ssh_passphrase,omitempty"`
	// contains filtered or unexported fields
}

func (*SyncHostDeploymentsReq) Descriptor deprecated

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

Deprecated: Use SyncHostDeploymentsReq.ProtoReflect.Descriptor instead.

func (*SyncHostDeploymentsReq) GetAddress

func (x *SyncHostDeploymentsReq) GetAddress() string

func (*SyncHostDeploymentsReq) GetComponentIds

func (x *SyncHostDeploymentsReq) GetComponentIds() []string

func (*SyncHostDeploymentsReq) GetDescription

func (x *SyncHostDeploymentsReq) GetDescription() string

func (*SyncHostDeploymentsReq) GetHostId

func (x *SyncHostDeploymentsReq) GetHostId() string

func (*SyncHostDeploymentsReq) GetLabel

func (x *SyncHostDeploymentsReq) GetLabel() string

func (*SyncHostDeploymentsReq) GetPrivateAddress

func (x *SyncHostDeploymentsReq) GetPrivateAddress() string

func (*SyncHostDeploymentsReq) GetReachability

func (x *SyncHostDeploymentsReq) GetReachability() string

func (*SyncHostDeploymentsReq) GetRegion

func (x *SyncHostDeploymentsReq) GetRegion() string

func (*SyncHostDeploymentsReq) GetSshAuthType

func (x *SyncHostDeploymentsReq) GetSshAuthType() string

func (*SyncHostDeploymentsReq) GetSshPassphrase

func (x *SyncHostDeploymentsReq) GetSshPassphrase() string

func (*SyncHostDeploymentsReq) GetSshPort

func (x *SyncHostDeploymentsReq) GetSshPort() int32

func (*SyncHostDeploymentsReq) GetSshSecret

func (x *SyncHostDeploymentsReq) GetSshSecret() string

func (*SyncHostDeploymentsReq) GetSshUser

func (x *SyncHostDeploymentsReq) GetSshUser() string

func (*SyncHostDeploymentsReq) ProtoMessage

func (*SyncHostDeploymentsReq) ProtoMessage()

func (*SyncHostDeploymentsReq) ProtoReflect

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

func (*SyncHostDeploymentsReq) Reset

func (x *SyncHostDeploymentsReq) Reset()

func (*SyncHostDeploymentsReq) String

func (x *SyncHostDeploymentsReq) String() string

type SyncHostDeploymentsRsp

type SyncHostDeploymentsRsp struct {
	RetInfo *commonpb.RetInfo `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	// contains filtered or unexported fields
}

func (*SyncHostDeploymentsRsp) Descriptor deprecated

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

Deprecated: Use SyncHostDeploymentsRsp.ProtoReflect.Descriptor instead.

func (*SyncHostDeploymentsRsp) GetRetInfo

func (x *SyncHostDeploymentsRsp) GetRetInfo() *commonpb.RetInfo

func (*SyncHostDeploymentsRsp) ProtoMessage

func (*SyncHostDeploymentsRsp) ProtoMessage()

func (*SyncHostDeploymentsRsp) ProtoReflect

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

func (*SyncHostDeploymentsRsp) Reset

func (x *SyncHostDeploymentsRsp) Reset()

func (*SyncHostDeploymentsRsp) String

func (x *SyncHostDeploymentsRsp) String() string

type SysDeployClientProxy

type SysDeployClientProxy interface {
	GetCatalog(ctx context.Context, req *GetCatalogReq, opts ...client.Option) (rsp *GetCatalogRsp, err error)

	ListHosts(ctx context.Context, req *ListDeploymentHostsReq, opts ...client.Option) (rsp *ListDeploymentHostsRsp, err error)

	ListDeployments(ctx context.Context, req *ListDeploymentsReq, opts ...client.Option) (rsp *ListDeploymentsRsp, err error)

	GetHostRoutes(ctx context.Context, req *GetHostRoutesReq, opts ...client.Option) (rsp *GetHostRoutesRsp, err error)

	GetDirectory(ctx context.Context, req *GetDirectoryReq, opts ...client.Option) (rsp *GetDirectoryRsp, err error)

	SetHostStatus(ctx context.Context, req *SetHostStatusReq, opts ...client.Option) (rsp *SetHostStatusRsp, err error)

	SetDeploymentStatus(ctx context.Context, req *SetDeploymentStatusReq, opts ...client.Option) (rsp *SetDeploymentStatusRsp, err error)

	SyncHostDeployments(ctx context.Context, req *SyncHostDeploymentsReq, opts ...client.Option) (rsp *SyncHostDeploymentsRsp, err error)

	DeleteHost(ctx context.Context, req *DeleteDeploymentHostReq, opts ...client.Option) (rsp *DeleteDeploymentHostRsp, err error)
}

SysDeployClientProxy defines service client proxy

type SysDeployClientProxyImpl

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

func (*SysDeployClientProxyImpl) DeleteHost

func (*SysDeployClientProxyImpl) GetCatalog

func (c *SysDeployClientProxyImpl) GetCatalog(ctx context.Context, req *GetCatalogReq, opts ...client.Option) (*GetCatalogRsp, error)

func (*SysDeployClientProxyImpl) GetDirectory

func (*SysDeployClientProxyImpl) GetHostRoutes

func (*SysDeployClientProxyImpl) ListDeployments

func (*SysDeployClientProxyImpl) ListHosts

func (*SysDeployClientProxyImpl) SetDeploymentStatus

func (*SysDeployClientProxyImpl) SetHostStatus

func (*SysDeployClientProxyImpl) SyncHostDeployments

type SysDeployService

type SysDeployService interface {
	GetCatalog(ctx context.Context, req *GetCatalogReq) (*GetCatalogRsp, error)

	ListHosts(ctx context.Context, req *ListDeploymentHostsReq) (*ListDeploymentHostsRsp, error)

	ListDeployments(ctx context.Context, req *ListDeploymentsReq) (*ListDeploymentsRsp, error)

	GetHostRoutes(ctx context.Context, req *GetHostRoutesReq) (*GetHostRoutesRsp, error)

	GetDirectory(ctx context.Context, req *GetDirectoryReq) (*GetDirectoryRsp, error)

	SetHostStatus(ctx context.Context, req *SetHostStatusReq) (*SetHostStatusRsp, error)

	SetDeploymentStatus(ctx context.Context, req *SetDeploymentStatusReq) (*SetDeploymentStatusRsp, error)

	SyncHostDeployments(ctx context.Context, req *SyncHostDeploymentsReq) (*SyncHostDeploymentsRsp, error)

	DeleteHost(ctx context.Context, req *DeleteDeploymentHostReq) (*DeleteDeploymentHostRsp, error)
}

SysDeployService defines service.

type ToggleSecretStatusReq

type ToggleSecretStatusReq struct {
	SecretId string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"`
	Status   string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // active / inactive
	// contains filtered or unexported fields
}

func (*ToggleSecretStatusReq) Descriptor deprecated

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

Deprecated: Use ToggleSecretStatusReq.ProtoReflect.Descriptor instead.

func (*ToggleSecretStatusReq) GetSecretId

func (x *ToggleSecretStatusReq) GetSecretId() string

func (*ToggleSecretStatusReq) GetStatus

func (x *ToggleSecretStatusReq) GetStatus() string

func (*ToggleSecretStatusReq) ProtoMessage

func (*ToggleSecretStatusReq) ProtoMessage()

func (*ToggleSecretStatusReq) ProtoReflect

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

func (*ToggleSecretStatusReq) Reset

func (x *ToggleSecretStatusReq) Reset()

func (*ToggleSecretStatusReq) String

func (x *ToggleSecretStatusReq) String() string

type ToggleSecretStatusRsp

type ToggleSecretStatusRsp struct {
	RetInfo *commonpb.RetInfo `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	// contains filtered or unexported fields
}

func (*ToggleSecretStatusRsp) Descriptor deprecated

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

Deprecated: Use ToggleSecretStatusRsp.ProtoReflect.Descriptor instead.

func (*ToggleSecretStatusRsp) GetRetInfo

func (x *ToggleSecretStatusRsp) GetRetInfo() *commonpb.RetInfo

func (*ToggleSecretStatusRsp) ProtoMessage

func (*ToggleSecretStatusRsp) ProtoMessage()

func (*ToggleSecretStatusRsp) ProtoReflect

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

func (*ToggleSecretStatusRsp) Reset

func (x *ToggleSecretStatusRsp) Reset()

func (*ToggleSecretStatusRsp) String

func (x *ToggleSecretStatusRsp) String() string

type UnimplementedActivityLog

type UnimplementedActivityLog struct{}

func (*UnimplementedActivityLog) AppendActivityLogs

func (*UnimplementedActivityLog) ListActivityLogs

type UnimplementedAuth

type UnimplementedAuth struct{}

func (*UnimplementedAuth) GetLoginSalt

func (s *UnimplementedAuth) GetLoginSalt(ctx context.Context, req *GetLoginSaltReq) (*GetLoginSaltRsp, error)

GetLoginSalt 获取登录盐值

func (*UnimplementedAuth) GetUserInfo

func (s *UnimplementedAuth) GetUserInfo(ctx context.Context, req *GetUserInfoReq) (*GetUserInfoRsp, error)

GetUserInfo 获取用户信息

func (*UnimplementedAuth) IssueRawSessionTicket

func (*UnimplementedAuth) Login

func (s *UnimplementedAuth) Login(ctx context.Context, req *LoginReq) (*LoginRsp, error)

Login 用户登录

func (*UnimplementedAuth) Logout

func (s *UnimplementedAuth) Logout(ctx context.Context, req *LogoutReq) (*LogoutRsp, error)

type UnimplementedCollectorPublishLease

type UnimplementedCollectorPublishLease struct{}

func (*UnimplementedCollectorPublishLease) AcquireCollectorPublishLease

func (*UnimplementedCollectorPublishLease) BeginCollectorPublishOperation

func (*UnimplementedCollectorPublishLease) EndCollectorPublishOperation

func (*UnimplementedCollectorPublishLease) ReleaseCollectorPublishLease

func (*UnimplementedCollectorPublishLease) RenewCollectorPublishLease

func (*UnimplementedCollectorPublishLease) RenewCollectorPublishOperation

func (*UnimplementedCollectorPublishLease) ValidateCollectorPublishLease

type UnimplementedGatewayControl

type UnimplementedGatewayControl struct{}

func (*UnimplementedGatewayControl) PullSnapshot

func (*UnimplementedGatewayControl) ReportStatus

type UnimplementedSecretMgr

type UnimplementedSecretMgr struct{}

func (*UnimplementedSecretMgr) CreateSecret

func (*UnimplementedSecretMgr) DeleteSecret

func (*UnimplementedSecretMgr) ExportSecrets

func (*UnimplementedSecretMgr) GetReadonlyExchangeKey

func (*UnimplementedSecretMgr) GetSecret

func (*UnimplementedSecretMgr) GetSecretValue

func (*UnimplementedSecretMgr) ImportSecrets

func (*UnimplementedSecretMgr) ListSecrets

func (*UnimplementedSecretMgr) ToggleSecretStatus

func (*UnimplementedSecretMgr) UpdateSecret

type UnimplementedSetup

type UnimplementedSetup struct{}

func (*UnimplementedSetup) ApplySetup

func (s *UnimplementedSetup) ApplySetup(ctx context.Context, req *ApplySetupReq) (*ApplySetupRsp, error)

func (*UnimplementedSetup) GetConfigBackup

func (*UnimplementedSetup) GetSetupStatus

func (*UnimplementedSetup) PutConfigBackup

type UnimplementedSpaceMgr

type UnimplementedSpaceMgr struct{}

func (*UnimplementedSpaceMgr) CreateSpace

func (*UnimplementedSpaceMgr) DeleteSpace

func (*UnimplementedSpaceMgr) ListSpaces

func (*UnimplementedSpaceMgr) UpdateSpace

type UnimplementedSsh

type UnimplementedSsh struct{}

func (*UnimplementedSsh) CreateSession

func (s *UnimplementedSsh) CreateSession(ctx context.Context, req *CreateSessionReq) (*CreateSessionRsp, error)

CreateSession SSH 会话

func (*UnimplementedSsh) DisconnectSession

func (s *UnimplementedSsh) DisconnectSession(ctx context.Context, req *DisconnectSessionReq) (*DisconnectSessionRsp, error)

func (*UnimplementedSsh) ResizeWindow

func (s *UnimplementedSsh) ResizeWindow(ctx context.Context, req *ResizeWindowReq) (*ResizeWindowRsp, error)

func (*UnimplementedSsh) SftpDelete

func (s *UnimplementedSsh) SftpDelete(ctx context.Context, req *SftpDeleteReq) (*SftpDeleteRsp, error)

func (*UnimplementedSsh) SftpList

func (s *UnimplementedSsh) SftpList(ctx context.Context, req *SftpListReq) (*SftpListRsp, error)

SftpList SFTP 操作

func (*UnimplementedSsh) SftpMkdir

func (s *UnimplementedSsh) SftpMkdir(ctx context.Context, req *SftpMkdirReq) (*SftpMkdirRsp, error)

type UnimplementedSysDeploy

type UnimplementedSysDeploy struct{}

func (*UnimplementedSysDeploy) DeleteHost

func (*UnimplementedSysDeploy) GetCatalog

func (*UnimplementedSysDeploy) GetDirectory

func (*UnimplementedSysDeploy) GetHostRoutes

func (*UnimplementedSysDeploy) ListDeployments

func (*UnimplementedSysDeploy) ListHosts

func (*UnimplementedSysDeploy) SetDeploymentStatus

func (*UnimplementedSysDeploy) SetHostStatus

func (*UnimplementedSysDeploy) SyncHostDeployments

type UpdateSecretReq

type UpdateSecretReq struct {
	SecretId    string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	KeyId       string `protobuf:"bytes,4,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	SecretValue string `protobuf:"bytes,5,opt,name=secret_value,json=secretValue,proto3" json:"secret_value,omitempty"` // 为空表示不修改秘钥值
	ExtraConfig string `protobuf:"bytes,6,opt,name=extra_config,json=extraConfig,proto3" json:"extra_config,omitempty"`
	Category    string `protobuf:"bytes,7,opt,name=category,proto3" json:"category,omitempty"`
	Provider    string `protobuf:"bytes,8,opt,name=provider,proto3" json:"provider,omitempty"`
	SecretType  string `protobuf:"bytes,9,opt,name=secret_type,json=secretType,proto3" json:"secret_type,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateSecretReq) Descriptor deprecated

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

Deprecated: Use UpdateSecretReq.ProtoReflect.Descriptor instead.

func (*UpdateSecretReq) GetCategory

func (x *UpdateSecretReq) GetCategory() string

func (*UpdateSecretReq) GetDescription

func (x *UpdateSecretReq) GetDescription() string

func (*UpdateSecretReq) GetExtraConfig

func (x *UpdateSecretReq) GetExtraConfig() string

func (*UpdateSecretReq) GetKeyId

func (x *UpdateSecretReq) GetKeyId() string

func (*UpdateSecretReq) GetName

func (x *UpdateSecretReq) GetName() string

func (*UpdateSecretReq) GetProvider

func (x *UpdateSecretReq) GetProvider() string

func (*UpdateSecretReq) GetSecretId

func (x *UpdateSecretReq) GetSecretId() string

func (*UpdateSecretReq) GetSecretType

func (x *UpdateSecretReq) GetSecretType() string

func (*UpdateSecretReq) GetSecretValue

func (x *UpdateSecretReq) GetSecretValue() string

func (*UpdateSecretReq) ProtoMessage

func (*UpdateSecretReq) ProtoMessage()

func (*UpdateSecretReq) ProtoReflect

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

func (*UpdateSecretReq) Reset

func (x *UpdateSecretReq) Reset()

func (*UpdateSecretReq) String

func (x *UpdateSecretReq) String() string

type UpdateSecretRsp

type UpdateSecretRsp struct {
	RetInfo *commonpb.RetInfo `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateSecretRsp) Descriptor deprecated

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

Deprecated: Use UpdateSecretRsp.ProtoReflect.Descriptor instead.

func (*UpdateSecretRsp) GetRetInfo

func (x *UpdateSecretRsp) GetRetInfo() *commonpb.RetInfo

func (*UpdateSecretRsp) ProtoMessage

func (*UpdateSecretRsp) ProtoMessage()

func (*UpdateSecretRsp) ProtoReflect

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

func (*UpdateSecretRsp) Reset

func (x *UpdateSecretRsp) Reset()

func (*UpdateSecretRsp) String

func (x *UpdateSecretRsp) String() string

type UpdateSpaceReq

type UpdateSpaceReq struct {
	Space *Space `protobuf:"bytes,1,opt,name=space,proto3" json:"space,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateSpaceReq) Descriptor deprecated

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

Deprecated: Use UpdateSpaceReq.ProtoReflect.Descriptor instead.

func (*UpdateSpaceReq) GetSpace

func (x *UpdateSpaceReq) GetSpace() *Space

func (*UpdateSpaceReq) ProtoMessage

func (*UpdateSpaceReq) ProtoMessage()

func (*UpdateSpaceReq) ProtoReflect

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

func (*UpdateSpaceReq) Reset

func (x *UpdateSpaceReq) Reset()

func (*UpdateSpaceReq) String

func (x *UpdateSpaceReq) String() string

type UpdateSpaceRsp

type UpdateSpaceRsp struct {
	RetInfo *commonpb.RetInfo `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	Space   *Space            `protobuf:"bytes,2,opt,name=space,proto3" json:"space,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateSpaceRsp) Descriptor deprecated

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

Deprecated: Use UpdateSpaceRsp.ProtoReflect.Descriptor instead.

func (*UpdateSpaceRsp) GetRetInfo

func (x *UpdateSpaceRsp) GetRetInfo() *commonpb.RetInfo

func (*UpdateSpaceRsp) GetSpace

func (x *UpdateSpaceRsp) GetSpace() *Space

func (*UpdateSpaceRsp) ProtoMessage

func (*UpdateSpaceRsp) ProtoMessage()

func (*UpdateSpaceRsp) ProtoReflect

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

func (*UpdateSpaceRsp) Reset

func (x *UpdateSpaceRsp) Reset()

func (*UpdateSpaceRsp) String

func (x *UpdateSpaceRsp) String() string

type UserInfo

type UserInfo struct {
	UserId      string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Username    string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	CreatedAt   int64  `protobuf:"varint,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`         // 创建时间戳
	LastLoginAt int64  `protobuf:"varint,4,opt,name=last_login_at,json=lastLoginAt,proto3" json:"last_login_at,omitempty"` // 最后登录时间戳
	LastLoginIp string `protobuf:"bytes,5,opt,name=last_login_ip,json=lastLoginIp,proto3" json:"last_login_ip,omitempty"`
	// contains filtered or unexported fields
}

UserInfo 用户信息。系统只有一个超级用户,登录即拥有全部权限,没有角色与状态。

func (*UserInfo) Descriptor deprecated

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

Deprecated: Use UserInfo.ProtoReflect.Descriptor instead.

func (*UserInfo) GetCreatedAt

func (x *UserInfo) GetCreatedAt() int64

func (*UserInfo) GetLastLoginAt

func (x *UserInfo) GetLastLoginAt() int64

func (*UserInfo) GetLastLoginIp

func (x *UserInfo) GetLastLoginIp() string

func (*UserInfo) GetUserId

func (x *UserInfo) GetUserId() string

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

type ValidateCollectorPublishLeaseReq

type ValidateCollectorPublishLeaseReq struct {
	SpaceId      string `protobuf:"bytes,1,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
	LeaseId      string `protobuf:"bytes,2,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"`
	FencingToken int64  `protobuf:"varint,3,opt,name=fencing_token,json=fencingToken,proto3" json:"fencing_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidateCollectorPublishLeaseReq) Descriptor deprecated

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

Deprecated: Use ValidateCollectorPublishLeaseReq.ProtoReflect.Descriptor instead.

func (*ValidateCollectorPublishLeaseReq) GetFencingToken

func (x *ValidateCollectorPublishLeaseReq) GetFencingToken() int64

func (*ValidateCollectorPublishLeaseReq) GetLeaseId

func (x *ValidateCollectorPublishLeaseReq) GetLeaseId() string

func (*ValidateCollectorPublishLeaseReq) GetSpaceId

func (x *ValidateCollectorPublishLeaseReq) GetSpaceId() string

func (*ValidateCollectorPublishLeaseReq) ProtoMessage

func (*ValidateCollectorPublishLeaseReq) ProtoMessage()

func (*ValidateCollectorPublishLeaseReq) ProtoReflect

func (*ValidateCollectorPublishLeaseReq) Reset

func (*ValidateCollectorPublishLeaseReq) String

type ValidateCollectorPublishLeaseRsp

type ValidateCollectorPublishLeaseRsp struct {
	RetInfo             *commonpb.RetInfo `protobuf:"bytes,1,opt,name=ret_info,json=retInfo,proto3" json:"ret_info,omitempty"`
	Valid               bool              `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty"`
	CurrentFencingToken int64             `protobuf:"varint,3,opt,name=current_fencing_token,json=currentFencingToken,proto3" json:"current_fencing_token,omitempty"`
	ExpiresAt           string            `protobuf:"bytes,4,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidateCollectorPublishLeaseRsp) Descriptor deprecated

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

Deprecated: Use ValidateCollectorPublishLeaseRsp.ProtoReflect.Descriptor instead.

func (*ValidateCollectorPublishLeaseRsp) GetCurrentFencingToken

func (x *ValidateCollectorPublishLeaseRsp) GetCurrentFencingToken() int64

func (*ValidateCollectorPublishLeaseRsp) GetExpiresAt

func (x *ValidateCollectorPublishLeaseRsp) GetExpiresAt() string

func (*ValidateCollectorPublishLeaseRsp) GetRetInfo

func (*ValidateCollectorPublishLeaseRsp) GetValid

func (x *ValidateCollectorPublishLeaseRsp) GetValid() bool

func (*ValidateCollectorPublishLeaseRsp) ProtoMessage

func (*ValidateCollectorPublishLeaseRsp) ProtoMessage()

func (*ValidateCollectorPublishLeaseRsp) ProtoReflect

func (*ValidateCollectorPublishLeaseRsp) Reset

func (*ValidateCollectorPublishLeaseRsp) String

Jump to

Keyboard shortcuts

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