domain

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComputilityAccount

type ComputilityAccount struct {
	ComputilityAccountIndex

	Id         primitive.Identity
	UsedQuota  int
	QuotaCount int
	CreatedAt  int64

	Version int
}

ComputilityAccount represents an account in the Computility system.

type ComputilityAccountIndex

type ComputilityAccountIndex struct {
	UserName    primitive.Account
	ComputeType primitive.ComputilityType
}

ComputilityAccountIndex represents an index for Computility accounts.

type ComputilityAccountRecord

type ComputilityAccountRecord struct {
	ComputilityAccountRecordIndex

	Id         primitive.Identity
	CreatedAt  int64
	QuotaCount int

	Version int
}

ComputilityAccountRecord represents a record of a Computility account.

type ComputilityAccountRecordIndex

type ComputilityAccountRecordIndex struct {
	UserName    primitive.Account
	SpaceId     primitive.Identity
	ComputeType primitive.ComputilityType
}

ComputilityAccountRecordIndex represents an index for Computility account records.

type ComputilityDetail

type ComputilityDetail struct {
	ComputilityIndex

	Id          primitive.Identity
	CreatedAt   int64
	QuotaCount  int
	ComputeType primitive.ComputilityType

	Version int
}

ComputilityDetail represents the detail of computility

type ComputilityIndex

type ComputilityIndex struct {
	OrgName  primitive.Account
	UserName primitive.Account
}

ComputilityIndex represents an index for Computility entities.

type ComputilityOrg

type ComputilityOrg struct {
	Id                 primitive.Identity
	OrgId              primitive.Identity
	OrgName            primitive.Account
	UsedQuota          int
	QuotaCount         int
	ComputeType        primitive.ComputilityType
	DefaultAssignQuota int

	Version int
}

ComputilityOrg represents an organization in the Computility system.

type RecallInfo

type RecallInfo struct {
	UserName    primitive.Account
	QuotaCount  int
	ComputeType primitive.ComputilityType
}

RecallInfo represents recall information for a user.

type RecallInfoList

type RecallInfoList struct {
	InfoList []RecallInfo
}

RecallInfoList represents a list of recall information.

Directories

Path Synopsis
Package primitive provides a primitive function in the application.
Package primitive provides a primitive function in the application.
Package repository provides interfaces for interacting with computility-related data.
Package repository provides interfaces for interacting with computility-related data.

Jump to

Keyboard shortcuts

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