Documentation ¶
Index ¶
- Constants
- Variables
- type AccessKeyIdentityType
- func (v AccessKeyIdentityType) ConstValues() []enum.IntStringerEnum
- func (v AccessKeyIdentityType) Int() int
- func (v AccessKeyIdentityType) Label() string
- func (v AccessKeyIdentityType) MarshalText() ([]byte, error)
- func (v *AccessKeyIdentityType) Scan(src interface{}) error
- func (v AccessKeyIdentityType) String() string
- func (v AccessKeyIdentityType) TypeName() string
- func (v *AccessKeyIdentityType) UnmarshalText(data []byte) error
- func (v AccessKeyIdentityType) Value() (driver.Value, error)
- type AccessPermission
- func (v AccessPermission) ConstValues() []enum.IntStringerEnum
- func (v AccessPermission) Int() int
- func (v AccessPermission) Label() string
- func (v AccessPermission) MarshalText() ([]byte, error)
- func (v *AccessPermission) Scan(src interface{}) error
- func (v AccessPermission) String() string
- func (v AccessPermission) TypeName() string
- func (v *AccessPermission) UnmarshalText(data []byte) error
- func (v AccessPermission) Value() (driver.Value, error)
- type AccountIdentityType
- func (v AccountIdentityType) ConstValues() []enum.IntStringerEnum
- func (v AccountIdentityType) Int() int
- func (v AccountIdentityType) Label() string
- func (v AccountIdentityType) MarshalText() ([]byte, error)
- func (v *AccountIdentityType) Scan(src interface{}) error
- func (v AccountIdentityType) String() string
- func (v AccountIdentityType) TypeName() string
- func (v *AccountIdentityType) UnmarshalText(data []byte) error
- func (v AccountIdentityType) Value() (driver.Value, error)
- type AccountRole
- func (v AccountRole) ConstValues() []enum.IntStringerEnum
- func (v AccountRole) Int() int
- func (v AccountRole) Label() string
- func (v AccountRole) MarshalText() ([]byte, error)
- func (v *AccountRole) Scan(src interface{}) error
- func (v AccountRole) String() string
- func (v AccountRole) TypeName() string
- func (v *AccountRole) UnmarshalText(data []byte) error
- func (v AccountRole) Value() (driver.Value, error)
- type AccountSource
- func (v AccountSource) ConstValues() []enum.IntStringerEnum
- func (v AccountSource) Int() int
- func (v AccountSource) Label() string
- func (v AccountSource) MarshalText() ([]byte, error)
- func (v *AccountSource) Scan(src interface{}) error
- func (v AccountSource) String() string
- func (v AccountSource) TypeName() string
- func (v *AccountSource) UnmarshalText(data []byte) error
- func (v AccountSource) Value() (driver.Value, error)
- type AccountState
- func (v AccountState) ConstValues() []enum.IntStringerEnum
- func (v AccountState) Int() int
- func (v AccountState) Label() string
- func (v AccountState) MarshalText() ([]byte, error)
- func (v *AccountState) Scan(src interface{}) error
- func (v AccountState) String() string
- func (v AccountState) TypeName() string
- func (v *AccountState) UnmarshalText(data []byte) error
- func (v AccountState) Value() (driver.Value, error)
- type ApiOperatorAttr
- func (v ApiOperatorAttr) ConstValues() []enum.IntStringerEnum
- func (v ApiOperatorAttr) Int() int
- func (v ApiOperatorAttr) Label() string
- func (v ApiOperatorAttr) MarshalText() ([]byte, error)
- func (v *ApiOperatorAttr) Scan(src interface{}) error
- func (v ApiOperatorAttr) String() string
- func (v ApiOperatorAttr) TypeName() string
- func (v *ApiOperatorAttr) UnmarshalText(data []byte) error
- func (v ApiOperatorAttr) Value() (driver.Value, error)
- type CacheMode
- func (v CacheMode) ConstValues() []enum.IntStringerEnum
- func (v CacheMode) Int() int
- func (v CacheMode) Label() string
- func (v CacheMode) MarshalText() ([]byte, error)
- func (v *CacheMode) Scan(src interface{}) error
- func (v CacheMode) String() string
- func (v CacheMode) TypeName() string
- func (v *CacheMode) UnmarshalText(data []byte) error
- func (v CacheMode) Value() (driver.Value, error)
- type ChainName
- type ConfigType
- func (v ConfigType) ConfigType() ConfigType
- func (v ConfigType) ConstValues() []enum.IntStringerEnum
- func (v ConfigType) Int() int
- func (v ConfigType) Label() string
- func (v ConfigType) MarshalText() ([]byte, error)
- func (v *ConfigType) Scan(src interface{}) error
- func (v ConfigType) String() string
- func (v ConfigType) TypeName() string
- func (v *ConfigType) UnmarshalText(data []byte) error
- func (v ConfigType) Value() (driver.Value, error)
- func (v ConfigType) WithContext(ctx context.Context) context.Context
- type DeployCmd
- func (v DeployCmd) ConstValues() []enum.IntStringerEnum
- func (v DeployCmd) Int() int
- func (v DeployCmd) Label() string
- func (v DeployCmd) MarshalText() ([]byte, error)
- func (v *DeployCmd) Scan(src interface{}) error
- func (v DeployCmd) String() string
- func (v DeployCmd) TypeName() string
- func (v *DeployCmd) UnmarshalText(data []byte) error
- func (v DeployCmd) Value() (driver.Value, error)
- type EventSource
- func (v EventSource) ConstValues() []enum.IntStringerEnum
- func (v EventSource) Int() int
- func (v EventSource) Label() string
- func (v EventSource) MarshalText() ([]byte, error)
- func (v *EventSource) Scan(src interface{}) error
- func (v EventSource) String() string
- func (v EventSource) TypeName() string
- func (v *EventSource) UnmarshalText(data []byte) error
- func (v EventSource) Value() (driver.Value, error)
- type EventStage
- func (v EventStage) ConstValues() []enum.IntStringerEnum
- func (v EventStage) Int() int
- func (v EventStage) Label() string
- func (v EventStage) MarshalText() ([]byte, error)
- func (v *EventStage) Scan(src interface{}) error
- func (v EventStage) String() string
- func (v EventStage) TypeName() string
- func (v *EventStage) UnmarshalText(data []byte) error
- func (v EventStage) Value() (driver.Value, error)
- type FileSystemMode
- func (v FileSystemMode) ConstValues() []enum.IntStringerEnum
- func (v FileSystemMode) Int() int
- func (v FileSystemMode) Label() string
- func (v FileSystemMode) MarshalText() ([]byte, error)
- func (v *FileSystemMode) Scan(src interface{}) error
- func (v FileSystemMode) String() string
- func (v FileSystemMode) TypeName() string
- func (v *FileSystemMode) UnmarshalText(data []byte) error
- func (v FileSystemMode) Value() (driver.Value, error)
- type FlowOperator
- func (v FlowOperator) ConstValues() []enum.IntStringerEnum
- func (v FlowOperator) Int() int
- func (v FlowOperator) Label() string
- func (v FlowOperator) MarshalText() ([]byte, error)
- func (v *FlowOperator) Scan(src interface{}) error
- func (v FlowOperator) String() string
- func (v FlowOperator) TypeName() string
- func (v *FlowOperator) UnmarshalText(data []byte) error
- func (v FlowOperator) Value() (driver.Value, error)
- type FlowSink
- func (v FlowSink) ConstValues() []enum.IntStringerEnum
- func (v FlowSink) Int() int
- func (v FlowSink) Label() string
- func (v FlowSink) MarshalText() ([]byte, error)
- func (v *FlowSink) Scan(src interface{}) error
- func (v FlowSink) String() string
- func (v FlowSink) TypeName() string
- func (v *FlowSink) UnmarshalText(data []byte) error
- func (v FlowSink) Value() (driver.Value, error)
- type InstanceState
- func (v InstanceState) ConstValues() []enum.IntStringerEnum
- func (v InstanceState) Int() int
- func (v InstanceState) Label() string
- func (v InstanceState) MarshalText() ([]byte, error)
- func (v *InstanceState) Scan(src interface{}) error
- func (v InstanceState) String() string
- func (v InstanceState) TypeName() string
- func (v *InstanceState) UnmarshalText(data []byte) error
- func (v InstanceState) Value() (driver.Value, error)
- type MonitorCmd
- func (v MonitorCmd) ConstValues() []enum.IntStringerEnum
- func (v MonitorCmd) Int() int
- func (v MonitorCmd) Label() string
- func (v MonitorCmd) MarshalText() ([]byte, error)
- func (v *MonitorCmd) Scan(src interface{}) error
- func (v MonitorCmd) String() string
- func (v MonitorCmd) TypeName() string
- func (v *MonitorCmd) UnmarshalText(data []byte) error
- func (v MonitorCmd) Value() (driver.Value, error)
- type MqttQOS
- func (v MqttQOS) ConstValues() []enum.IntStringerEnum
- func (v MqttQOS) Int() int
- func (v MqttQOS) Label() string
- func (v MqttQOS) MarshalText() ([]byte, error)
- func (v *MqttQOS) Scan(src interface{}) error
- func (v MqttQOS) String() string
- func (v MqttQOS) TypeName() string
- func (v *MqttQOS) UnmarshalText(data []byte) error
- func (v MqttQOS) Value() (driver.Value, error)
- type OperatorKeyType
- type PasswordType
- func (v PasswordType) ConstValues() []enum.IntStringerEnum
- func (v PasswordType) Int() int
- func (v PasswordType) Label() string
- func (v PasswordType) MarshalText() ([]byte, error)
- func (v *PasswordType) Scan(src interface{}) error
- func (v PasswordType) String() string
- func (v PasswordType) TypeName() string
- func (v *PasswordType) UnmarshalText(data []byte) error
- func (v PasswordType) Value() (driver.Value, error)
- type Protocol
- func (v Protocol) ConstValues() []enum.IntStringerEnum
- func (v Protocol) Int() int
- func (v Protocol) Label() string
- func (v Protocol) MarshalText() ([]byte, error)
- func (v *Protocol) Scan(src interface{}) error
- func (v Protocol) String() string
- func (v Protocol) TypeName() string
- func (v *Protocol) UnmarshalText(data []byte) error
- func (v Protocol) Value() (driver.Value, error)
- type TrafficLimitType
- func (v TrafficLimitType) ConstValues() []enum.IntStringerEnum
- func (v TrafficLimitType) Int() int
- func (v TrafficLimitType) Label() string
- func (v TrafficLimitType) MarshalText() ([]byte, error)
- func (v *TrafficLimitType) Scan(src interface{}) error
- func (v TrafficLimitType) String() string
- func (v TrafficLimitType) TypeName() string
- func (v *TrafficLimitType) UnmarshalText(data []byte) error
- func (v TrafficLimitType) Value() (driver.Value, error)
- type TransactionState
- func (v TransactionState) ConstValues() []enum.IntStringerEnum
- func (v TransactionState) Int() int
- func (v TransactionState) Label() string
- func (v TransactionState) MarshalText() ([]byte, error)
- func (v *TransactionState) Scan(src interface{}) error
- func (v TransactionState) String() string
- func (v TransactionState) TypeName() string
- func (v *TransactionState) UnmarshalText(data []byte) error
- func (v TransactionState) Value() (driver.Value, error)
- type WasmDBDatatype
- func (v WasmDBDatatype) ConstValues() []enum.IntStringerEnum
- func (v WasmDBDatatype) Int() int
- func (v WasmDBDatatype) Label() string
- func (v WasmDBDatatype) MarshalText() ([]byte, error)
- func (v *WasmDBDatatype) Scan(src interface{}) error
- func (v WasmDBDatatype) String() string
- func (v WasmDBDatatype) TypeName() string
- func (v *WasmDBDatatype) UnmarshalText(data []byte) error
- func (v WasmDBDatatype) Value() (driver.Value, error)
- type WasmDBDialect
- func (v WasmDBDialect) ConstValues() []enum.IntStringerEnum
- func (v WasmDBDialect) Int() int
- func (v WasmDBDialect) Label() string
- func (v WasmDBDialect) MarshalText() ([]byte, error)
- func (v *WasmDBDialect) Scan(src interface{}) error
- func (v WasmDBDialect) String() string
- func (v WasmDBDialect) TypeName() string
- func (v *WasmDBDialect) UnmarshalText(data []byte) error
- func (v WasmDBDialect) Value() (driver.Value, error)
Constants ¶
View Source
const ( EVENTTYPEDEFAULT = "DEFAULT" MONITOR_EVENTTYPEDEFAULT = "MONITOR_DEFAULT" )
View Source
const ( ApiGroupAccount = "Account" ApiGroupAccountDesc = "View and manage account" ApiGroupAccountRegister = "Account Register" ApiGroupAccountRegisterDesc = "Account register" ApiGroupAccountAccessKey = "Account Access Key" ApiGroupAccountAccessKeyDesc = "View and manage access token" ApiGroupApplet = "Applet" ApiGroupAppletDesc = "View and manage applet" ApiGroupConfiguration = "Configuration" ApiGroupConfigurationDesc = "View global configuration" ApiGroupCronjob = "Cronjob" ApiGroupCronjobDesc = "View and manage system cronjob" ApiGroupDeploy = "Deploy" ApiGroupDeployDesc = "View and manage wasm vm instances" ApiGroupEvent = "Event" ApiGroupEventDesc = "Event handle entry" ApiGroupLogin = "Login" ApiGroupLoginDesc = "Account login" ApiGroupMonitor = "Monitor" ApiGroupMonitorDesc = "View and manage blockchain related monitor" ApiGroupOperator = "Operator" ApiGroupOperatorDesc = "View and manage account blockchain operator" ApiGroupProject = "Project" ApiGroupProjectDesc = "View and manage project" ApiGroupProjectConfig = "Project Config" ApiGroupProjectConfigDesc = "View and manage project config" ApiGroupProjectOperator = "Project Operator" ApiGroupProjectOperatorDesc = "View and manage project blockchain operator" ApiGroupPublisher = "Publisher" ApiGroupPublisherDesc = "View and manage publisher (device)" ApiGroupResource = "Resource" ApiGroupResourceDesc = "View and manage wasm resource" ApiGroupStrategy = "Strategy" ApiGroupStrategyDesc = "View and manage event routing strategy" ApiGroupTrafficLimit = "Traffic Limit" ApiGroupTrafficLimitDesc = "View and manage system traffic" ApiGroupWasmLog = "Wasm Log" ApiGroupWasmLogDesc = "View and manage wasm logs" )
View Source
const (
WasmLogMaxLength = 1024
)
Variables ¶
View Source
var InvalidAccessKeyIdentityType = errors.New("invalid AccessKeyIdentityType type")
View Source
var InvalidAccessPermission = errors.New("invalid AccessPermission type")
View Source
var InvalidAccountIdentityType = errors.New("invalid AccountIdentityType type")
View Source
var InvalidAccountRole = errors.New("invalid AccountRole type")
View Source
var InvalidAccountSource = errors.New("invalid AccountSource type")
View Source
var InvalidAccountState = errors.New("invalid AccountState type")
View Source
var InvalidApiOperatorAttr = errors.New("invalid ApiOperatorAttr type")
View Source
var InvalidCacheMode = errors.New("invalid CacheMode type")
View Source
var InvalidConfigType = errors.New("invalid ConfigType type")
View Source
var InvalidDeployCmd = errors.New("invalid DeployCmd type")
View Source
var InvalidEventSource = errors.New("invalid EventSource type")
View Source
var InvalidEventStage = errors.New("invalid EventStage type")
View Source
var InvalidFileSystemMode = errors.New("invalid FileSystemMode type")
View Source
var InvalidFlowOperator = errors.New("invalid FlowOperator type")
View Source
var InvalidFlowSink = errors.New("invalid FlowSink type")
View Source
var InvalidInstanceState = errors.New("invalid InstanceState type")
View Source
var InvalidMonitorCmd = errors.New("invalid MonitorCmd type")
View Source
var InvalidMqttQOS = errors.New("invalid MqttQOS type")
View Source
var InvalidPasswordType = errors.New("invalid PasswordType type")
View Source
var InvalidProtocol = errors.New("invalid Protocol type")
View Source
var InvalidTrafficLimitType = errors.New("invalid TrafficLimitType type")
View Source
var InvalidTransactionState = errors.New("invalid TransactionState type")
View Source
var InvalidWasmDBDatatype = errors.New("invalid WasmDBDatatype type")
View Source
var InvalidWasmDBDialect = errors.New("invalid WasmDBDialect type")
Functions ¶
This section is empty.
Types ¶
type AccessKeyIdentityType ¶ added in v1.4.0
type AccessKeyIdentityType uint8
const ( ACCESS_KEY_IDENTITY_TYPE_UNKNOWN AccessKeyIdentityType = iota ACCESS_KEY_IDENTITY_TYPE__ACCOUNT ACCESS_KEY_IDENTITY_TYPE__PUBLISHER )
func ParseAccessKeyIdentityTypeFromLabel ¶ added in v1.4.0
func ParseAccessKeyIdentityTypeFromLabel(s string) (AccessKeyIdentityType, error)
func ParseAccessKeyIdentityTypeFromString ¶ added in v1.4.0
func ParseAccessKeyIdentityTypeFromString(s string) (AccessKeyIdentityType, error)
func (AccessKeyIdentityType) ConstValues ¶ added in v1.4.0
func (v AccessKeyIdentityType) ConstValues() []enum.IntStringerEnum
func (AccessKeyIdentityType) Int ¶ added in v1.4.0
func (v AccessKeyIdentityType) Int() int
func (AccessKeyIdentityType) Label ¶ added in v1.4.0
func (v AccessKeyIdentityType) Label() string
func (AccessKeyIdentityType) MarshalText ¶ added in v1.4.0
func (v AccessKeyIdentityType) MarshalText() ([]byte, error)
func (*AccessKeyIdentityType) Scan ¶ added in v1.4.0
func (v *AccessKeyIdentityType) Scan(src interface{}) error
func (AccessKeyIdentityType) String ¶ added in v1.4.0
func (v AccessKeyIdentityType) String() string
func (AccessKeyIdentityType) TypeName ¶ added in v1.4.0
func (v AccessKeyIdentityType) TypeName() string
func (*AccessKeyIdentityType) UnmarshalText ¶ added in v1.4.0
func (v *AccessKeyIdentityType) UnmarshalText(data []byte) error
type AccessPermission ¶ added in v1.4.6
type AccessPermission uint8
const ( ACCESS_PERMISSION_UNKNOWN AccessPermission = iota ACCESS_PERMISSION__NO_ACCESS ACCESS_PERMISSION__READONLY ACCESS_PERMISSION__READ_WRITE )
func ParseAccessPermissionFromLabel ¶ added in v1.4.6
func ParseAccessPermissionFromLabel(s string) (AccessPermission, error)
func ParseAccessPermissionFromString ¶ added in v1.4.6
func ParseAccessPermissionFromString(s string) (AccessPermission, error)
func (AccessPermission) ConstValues ¶ added in v1.4.6
func (v AccessPermission) ConstValues() []enum.IntStringerEnum
func (AccessPermission) Int ¶ added in v1.4.6
func (v AccessPermission) Int() int
func (AccessPermission) Label ¶ added in v1.4.6
func (v AccessPermission) Label() string
func (AccessPermission) MarshalText ¶ added in v1.4.6
func (v AccessPermission) MarshalText() ([]byte, error)
func (*AccessPermission) Scan ¶ added in v1.4.6
func (v *AccessPermission) Scan(src interface{}) error
func (AccessPermission) String ¶ added in v1.4.6
func (v AccessPermission) String() string
func (AccessPermission) TypeName ¶ added in v1.4.6
func (v AccessPermission) TypeName() string
func (*AccessPermission) UnmarshalText ¶ added in v1.4.6
func (v *AccessPermission) UnmarshalText(data []byte) error
type AccountIdentityType ¶
type AccountIdentityType uint8
const ( ACCOUNT_IDENTITY_TYPE_UNKNOWN AccountIdentityType = iota ACCOUNT_IDENTITY_TYPE__MOBILE ACCOUNT_IDENTITY_TYPE__EMAIL ACCOUNT_IDENTITY_TYPE__USERNAME ACCOUNT_IDENTITY_TYPE__ETHADDRESS )
func ParseAccountIdentityTypeFromLabel ¶
func ParseAccountIdentityTypeFromLabel(s string) (AccountIdentityType, error)
func ParseAccountIdentityTypeFromString ¶
func ParseAccountIdentityTypeFromString(s string) (AccountIdentityType, error)
func (AccountIdentityType) ConstValues ¶
func (v AccountIdentityType) ConstValues() []enum.IntStringerEnum
func (AccountIdentityType) Int ¶
func (v AccountIdentityType) Int() int
func (AccountIdentityType) Label ¶
func (v AccountIdentityType) Label() string
func (AccountIdentityType) MarshalText ¶
func (v AccountIdentityType) MarshalText() ([]byte, error)
func (*AccountIdentityType) Scan ¶
func (v *AccountIdentityType) Scan(src interface{}) error
func (AccountIdentityType) String ¶
func (v AccountIdentityType) String() string
func (AccountIdentityType) TypeName ¶
func (v AccountIdentityType) TypeName() string
func (*AccountIdentityType) UnmarshalText ¶
func (v *AccountIdentityType) UnmarshalText(data []byte) error
type AccountRole ¶ added in v1.1.0
type AccountRole uint8
const ( ACCOUNT_ROLE_UNKNOWN AccountRole = iota ACCOUNT_ROLE__ADMIN ACCOUNT_ROLE__DEVELOPER )
func ParseAccountRoleFromLabel ¶ added in v1.1.0
func ParseAccountRoleFromLabel(s string) (AccountRole, error)
func ParseAccountRoleFromString ¶ added in v1.1.0
func ParseAccountRoleFromString(s string) (AccountRole, error)
func (AccountRole) ConstValues ¶ added in v1.1.0
func (v AccountRole) ConstValues() []enum.IntStringerEnum
func (AccountRole) Int ¶ added in v1.1.0
func (v AccountRole) Int() int
func (AccountRole) Label ¶ added in v1.1.0
func (v AccountRole) Label() string
func (AccountRole) MarshalText ¶ added in v1.1.0
func (v AccountRole) MarshalText() ([]byte, error)
func (*AccountRole) Scan ¶ added in v1.1.0
func (v *AccountRole) Scan(src interface{}) error
func (AccountRole) String ¶ added in v1.1.0
func (v AccountRole) String() string
func (AccountRole) TypeName ¶ added in v1.1.0
func (v AccountRole) TypeName() string
func (*AccountRole) UnmarshalText ¶ added in v1.1.0
func (v *AccountRole) UnmarshalText(data []byte) error
type AccountSource ¶ added in v1.1.0
type AccountSource uint8
const ( ACCOUNT_SOURCE_UNKNOWN AccountSource = iota ACCOUNT_SOURCE__INIT ACCOUNT_SOURCE__SUBMIT )
func ParseAccountSourceFromLabel ¶ added in v1.1.0
func ParseAccountSourceFromLabel(s string) (AccountSource, error)
func ParseAccountSourceFromString ¶ added in v1.1.0
func ParseAccountSourceFromString(s string) (AccountSource, error)
func (AccountSource) ConstValues ¶ added in v1.1.0
func (v AccountSource) ConstValues() []enum.IntStringerEnum
func (AccountSource) Int ¶ added in v1.1.0
func (v AccountSource) Int() int
func (AccountSource) Label ¶ added in v1.1.0
func (v AccountSource) Label() string
func (AccountSource) MarshalText ¶ added in v1.1.0
func (v AccountSource) MarshalText() ([]byte, error)
func (*AccountSource) Scan ¶ added in v1.1.0
func (v *AccountSource) Scan(src interface{}) error
func (AccountSource) String ¶ added in v1.1.0
func (v AccountSource) String() string
func (AccountSource) TypeName ¶ added in v1.1.0
func (v AccountSource) TypeName() string
func (*AccountSource) UnmarshalText ¶ added in v1.1.0
func (v *AccountSource) UnmarshalText(data []byte) error
type AccountState ¶
type AccountState uint8
const ( ACCOUNT_STATE_UNKNOWN AccountState = iota ACCOUNT_STATE__ENABLED ACCOUNT_STATE__DISABLED )
func ParseAccountStateFromLabel ¶
func ParseAccountStateFromLabel(s string) (AccountState, error)
func ParseAccountStateFromString ¶
func ParseAccountStateFromString(s string) (AccountState, error)
func (AccountState) ConstValues ¶
func (v AccountState) ConstValues() []enum.IntStringerEnum
func (AccountState) Int ¶
func (v AccountState) Int() int
func (AccountState) Label ¶
func (v AccountState) Label() string
func (AccountState) MarshalText ¶
func (v AccountState) MarshalText() ([]byte, error)
func (*AccountState) Scan ¶
func (v *AccountState) Scan(src interface{}) error
func (AccountState) String ¶
func (v AccountState) String() string
func (AccountState) TypeName ¶
func (v AccountState) TypeName() string
func (*AccountState) UnmarshalText ¶
func (v *AccountState) UnmarshalText(data []byte) error
type ApiOperatorAttr ¶ added in v1.4.6
type ApiOperatorAttr uint8
const ( API_OPERATOR_ATTR_UNKNOWN ApiOperatorAttr = iota API_OPERATOR_ATTR__COMMON // common operator for all users with authorization, used for default attr API_OPERATOR_ATTR__INTERNAL // internal for debugging or maintaining only API_OPERATOR_ATTR__ADMIN_ONLY // only admin can access API_OPERATOR_ATTR__PUBLIC // can access without authorization )
func ParseApiOperatorAttrFromLabel ¶ added in v1.4.6
func ParseApiOperatorAttrFromLabel(s string) (ApiOperatorAttr, error)
func ParseApiOperatorAttrFromString ¶ added in v1.4.6
func ParseApiOperatorAttrFromString(s string) (ApiOperatorAttr, error)
func (ApiOperatorAttr) ConstValues ¶ added in v1.4.6
func (v ApiOperatorAttr) ConstValues() []enum.IntStringerEnum
func (ApiOperatorAttr) Int ¶ added in v1.4.6
func (v ApiOperatorAttr) Int() int
func (ApiOperatorAttr) Label ¶ added in v1.4.6
func (v ApiOperatorAttr) Label() string
func (ApiOperatorAttr) MarshalText ¶ added in v1.4.6
func (v ApiOperatorAttr) MarshalText() ([]byte, error)
func (*ApiOperatorAttr) Scan ¶ added in v1.4.6
func (v *ApiOperatorAttr) Scan(src interface{}) error
func (ApiOperatorAttr) String ¶ added in v1.4.6
func (v ApiOperatorAttr) String() string
func (ApiOperatorAttr) TypeName ¶ added in v1.4.6
func (v ApiOperatorAttr) TypeName() string
func (*ApiOperatorAttr) UnmarshalText ¶ added in v1.4.6
func (v *ApiOperatorAttr) UnmarshalText(data []byte) error
type CacheMode ¶ added in v1.0.0
type CacheMode uint8
func ParseCacheModeFromLabel ¶ added in v1.0.0
func ParseCacheModeFromString ¶ added in v1.0.0
func (CacheMode) ConstValues ¶ added in v1.0.0
func (v CacheMode) ConstValues() []enum.IntStringerEnum
func (CacheMode) MarshalText ¶ added in v1.0.0
func (*CacheMode) UnmarshalText ¶ added in v1.0.0
type ChainName ¶ added in v1.5.3
type ChainName string
const ( IOTEX_MAINNET ChainName = "iotex-mainnet" IOTEX_TESTNET ChainName = "iotex-testnet" ETHEREUM_MAINNET ChainName = "ethereum-mainnet" GOERLI ChainName = "goerli" POLYGON_MAINNET ChainName = "polygon-mainnet" MUMBAI ChainName = "mumbai" SOLANA_MAINNET_BETA ChainName = "solana-mainnet-beta" SOLANA_TESTNET ChainName = "solana-testnet" SOLANA_DEVNET ChainName = "solana-devnet" ARBITRUM_ONE ChainName = "arbitrum-one" ARBITRUM_GOERLI ChainName = "arbitrum-goerli" OP_MAINNET ChainName = "op-mainnet" OP_GOERLI ChainName = "op-goerli" BASE_MAINNET ChainName = "base-mainnet" BASE_GOERLI ChainName = "base-goerli" ZKSYNC_ERA_MAINNET ChainName = "zksync-era-mainnet" ZKSYNC_ERA_TESTNET ChainName = "zksync-era-testnet" CONFLUX_EPSACE_MAINNET ChainName = "conflux-espace-mainnet" CONFLUX_EPSACE_TESTNET ChainName = "conflux-espace-testnet" )
type ConfigType ¶ added in v1.0.0
type ConfigType uint8
const ( CONFIG_TYPE_UNKNOWN ConfigType = iota CONFIG_TYPE__PROJECT_DATABASE CONFIG_TYPE__INSTANCE_CACHE CONFIG_TYPE__PROJECT_ENV CONFIG_TYPE__PROJECT_FLOW )
func ParseConfigTypeFromLabel ¶ added in v1.0.0
func ParseConfigTypeFromLabel(s string) (ConfigType, error)
func ParseConfigTypeFromString ¶ added in v1.0.0
func ParseConfigTypeFromString(s string) (ConfigType, error)
func (ConfigType) ConfigType ¶ added in v1.1.0
func (v ConfigType) ConfigType() ConfigType
func (ConfigType) ConstValues ¶ added in v1.0.0
func (v ConfigType) ConstValues() []enum.IntStringerEnum
func (ConfigType) Int ¶ added in v1.0.0
func (v ConfigType) Int() int
func (ConfigType) Label ¶ added in v1.0.0
func (v ConfigType) Label() string
func (ConfigType) MarshalText ¶ added in v1.0.0
func (v ConfigType) MarshalText() ([]byte, error)
func (*ConfigType) Scan ¶ added in v1.0.0
func (v *ConfigType) Scan(src interface{}) error
func (ConfigType) String ¶ added in v1.0.0
func (v ConfigType) String() string
func (ConfigType) TypeName ¶ added in v1.0.0
func (v ConfigType) TypeName() string
func (*ConfigType) UnmarshalText ¶ added in v1.0.0
func (v *ConfigType) UnmarshalText(data []byte) error
func (ConfigType) WithContext ¶ added in v1.1.0
func (v ConfigType) WithContext(ctx context.Context) context.Context
type DeployCmd ¶
type DeployCmd uint8
func ParseDeployCmdFromLabel ¶
func (DeployCmd) ConstValues ¶
func (v DeployCmd) ConstValues() []enum.IntStringerEnum
func (DeployCmd) MarshalText ¶
func (*DeployCmd) UnmarshalText ¶
type EventSource ¶
type EventSource int8
const ( EVENT_SOURCE_UNKNOWN EventSource = iota EVENT_SOURCE__MQTT EVENT_SOURCE__HTTP )
func ParseEventSourceFromLabel ¶
func ParseEventSourceFromLabel(s string) (EventSource, error)
func ParseEventSourceFromString ¶
func ParseEventSourceFromString(s string) (EventSource, error)
func (EventSource) ConstValues ¶
func (v EventSource) ConstValues() []enum.IntStringerEnum
func (EventSource) Int ¶
func (v EventSource) Int() int
func (EventSource) Label ¶
func (v EventSource) Label() string
func (EventSource) MarshalText ¶
func (v EventSource) MarshalText() ([]byte, error)
func (*EventSource) Scan ¶
func (v *EventSource) Scan(src interface{}) error
func (EventSource) String ¶
func (v EventSource) String() string
func (EventSource) TypeName ¶
func (v EventSource) TypeName() string
func (*EventSource) UnmarshalText ¶
func (v *EventSource) UnmarshalText(data []byte) error
type EventStage ¶
type EventStage int8
const ( EVENT_STAGE_UNKNOWN EventStage = iota EVENT_STAGE__RECEIVED EVENT_STAGE__HANDLED EVENT_STAGE__COMPLETED )
func ParseEventStageFromLabel ¶
func ParseEventStageFromLabel(s string) (EventStage, error)
func ParseEventStageFromString ¶
func ParseEventStageFromString(s string) (EventStage, error)
func (EventStage) ConstValues ¶
func (v EventStage) ConstValues() []enum.IntStringerEnum
func (EventStage) Int ¶
func (v EventStage) Int() int
func (EventStage) Label ¶
func (v EventStage) Label() string
func (EventStage) MarshalText ¶
func (v EventStage) MarshalText() ([]byte, error)
func (*EventStage) Scan ¶
func (v *EventStage) Scan(src interface{}) error
func (EventStage) String ¶
func (v EventStage) String() string
func (EventStage) TypeName ¶
func (v EventStage) TypeName() string
func (*EventStage) UnmarshalText ¶
func (v *EventStage) UnmarshalText(data []byte) error
type FileSystemMode ¶ added in v1.1.0
type FileSystemMode uint8
const ( FILE_SYSTEM_MODE_UNKNOWN FileSystemMode = iota FILE_SYSTEM_MODE__LOCAL FILE_SYSTEM_MODE__S3 )
func ParseFileSystemModeFromLabel ¶ added in v1.1.0
func ParseFileSystemModeFromLabel(s string) (FileSystemMode, error)
func ParseFileSystemModeFromString ¶ added in v1.1.0
func ParseFileSystemModeFromString(s string) (FileSystemMode, error)
func (FileSystemMode) ConstValues ¶ added in v1.1.0
func (v FileSystemMode) ConstValues() []enum.IntStringerEnum
func (FileSystemMode) Int ¶ added in v1.1.0
func (v FileSystemMode) Int() int
func (FileSystemMode) Label ¶ added in v1.1.0
func (v FileSystemMode) Label() string
func (FileSystemMode) MarshalText ¶ added in v1.1.0
func (v FileSystemMode) MarshalText() ([]byte, error)
func (*FileSystemMode) Scan ¶ added in v1.1.0
func (v *FileSystemMode) Scan(src interface{}) error
func (FileSystemMode) String ¶ added in v1.1.0
func (v FileSystemMode) String() string
func (FileSystemMode) TypeName ¶ added in v1.1.0
func (v FileSystemMode) TypeName() string
func (*FileSystemMode) UnmarshalText ¶ added in v1.1.0
func (v *FileSystemMode) UnmarshalText(data []byte) error
type FlowOperator ¶ added in v1.4.6
type FlowOperator uint8
const ( FLOW_OPERATOR_UNKNOWN FlowOperator = iota FLOW_OPERATOR__FILTER FLOW_OPERATOR__MAP FLOW_OPERATOR__FLATMAP FLOW_OPERATOR__WINDOW FLOW_OPERATOR__GROUP FLOW_OPERATOR__REDUCE )
func ParseFlowOperatorFromLabel ¶ added in v1.4.6
func ParseFlowOperatorFromLabel(s string) (FlowOperator, error)
func ParseFlowOperatorFromString ¶ added in v1.4.6
func ParseFlowOperatorFromString(s string) (FlowOperator, error)
func (FlowOperator) ConstValues ¶ added in v1.4.6
func (v FlowOperator) ConstValues() []enum.IntStringerEnum
func (FlowOperator) Int ¶ added in v1.4.6
func (v FlowOperator) Int() int
func (FlowOperator) Label ¶ added in v1.4.6
func (v FlowOperator) Label() string
func (FlowOperator) MarshalText ¶ added in v1.4.6
func (v FlowOperator) MarshalText() ([]byte, error)
func (*FlowOperator) Scan ¶ added in v1.4.6
func (v *FlowOperator) Scan(src interface{}) error
func (FlowOperator) String ¶ added in v1.4.6
func (v FlowOperator) String() string
func (FlowOperator) TypeName ¶ added in v1.4.6
func (v FlowOperator) TypeName() string
func (*FlowOperator) UnmarshalText ¶ added in v1.4.6
func (v *FlowOperator) UnmarshalText(data []byte) error
type FlowSink ¶ added in v1.4.6
type FlowSink uint8
func ParseFlowSinkFromLabel ¶ added in v1.4.6
func ParseFlowSinkFromString ¶ added in v1.4.6
func (FlowSink) ConstValues ¶ added in v1.4.6
func (v FlowSink) ConstValues() []enum.IntStringerEnum
func (FlowSink) MarshalText ¶ added in v1.4.6
func (*FlowSink) UnmarshalText ¶ added in v1.4.6
type InstanceState ¶
type InstanceState uint8
InstanceState presents if wasm was loaded to memory and if it can receive data
const ( INSTANCE_STATE_UNKNOWN InstanceState = iota INSTANCE_STATE__STARTED // ready to receive data INSTANCE_STATE__STOPPED // stopped to receive data )
func ParseInstanceStateFromLabel ¶
func ParseInstanceStateFromLabel(s string) (InstanceState, error)
func ParseInstanceStateFromString ¶
func ParseInstanceStateFromString(s string) (InstanceState, error)
func (InstanceState) ConstValues ¶
func (v InstanceState) ConstValues() []enum.IntStringerEnum
func (InstanceState) Int ¶
func (v InstanceState) Int() int
func (InstanceState) Label ¶
func (v InstanceState) Label() string
func (InstanceState) MarshalText ¶
func (v InstanceState) MarshalText() ([]byte, error)
func (*InstanceState) Scan ¶
func (v *InstanceState) Scan(src interface{}) error
func (InstanceState) String ¶
func (v InstanceState) String() string
func (InstanceState) TypeName ¶
func (v InstanceState) TypeName() string
func (*InstanceState) UnmarshalText ¶
func (v *InstanceState) UnmarshalText(data []byte) error
type MonitorCmd ¶ added in v1.2.5
type MonitorCmd uint8
const ( MONITOR_CMD_UNKNOWN MonitorCmd = iota MONITOR_CMD__START MONITOR_CMD__PAUSE )
func ParseMonitorCmdFromLabel ¶ added in v1.2.5
func ParseMonitorCmdFromLabel(s string) (MonitorCmd, error)
func ParseMonitorCmdFromString ¶ added in v1.2.5
func ParseMonitorCmdFromString(s string) (MonitorCmd, error)
func (MonitorCmd) ConstValues ¶ added in v1.2.5
func (v MonitorCmd) ConstValues() []enum.IntStringerEnum
func (MonitorCmd) Int ¶ added in v1.2.5
func (v MonitorCmd) Int() int
func (MonitorCmd) Label ¶ added in v1.2.5
func (v MonitorCmd) Label() string
func (MonitorCmd) MarshalText ¶ added in v1.2.5
func (v MonitorCmd) MarshalText() ([]byte, error)
func (*MonitorCmd) Scan ¶ added in v1.2.5
func (v *MonitorCmd) Scan(src interface{}) error
func (MonitorCmd) String ¶ added in v1.2.5
func (v MonitorCmd) String() string
func (MonitorCmd) TypeName ¶ added in v1.2.5
func (v MonitorCmd) TypeName() string
func (*MonitorCmd) UnmarshalText ¶ added in v1.2.5
func (v *MonitorCmd) UnmarshalText(data []byte) error
type MqttQOS ¶
type MqttQOS int8
func ParseMqttQOSFromLabel ¶
func ParseMqttQOSFromString ¶
func (MqttQOS) ConstValues ¶
func (v MqttQOS) ConstValues() []enum.IntStringerEnum
func (MqttQOS) MarshalText ¶
func (*MqttQOS) UnmarshalText ¶
type OperatorKeyType ¶ added in v1.5.3
type OperatorKeyType uint8
const ( OPERATOR_KEY_UNKNOWN OperatorKeyType = iota OPERATOR_KEY__ECDSA OPERATOR_KEY__ED25519 )
type PasswordType ¶
type PasswordType uint8
const ( PASSWORD_TYPE_UNKNOWN PasswordType = iota PASSWORD_TYPE__LOGIN PASSWORD_TYPE__PERSONAL_TOKEN )
func ParsePasswordTypeFromLabel ¶
func ParsePasswordTypeFromLabel(s string) (PasswordType, error)
func ParsePasswordTypeFromString ¶
func ParsePasswordTypeFromString(s string) (PasswordType, error)
func (PasswordType) ConstValues ¶
func (v PasswordType) ConstValues() []enum.IntStringerEnum
func (PasswordType) Int ¶
func (v PasswordType) Int() int
func (PasswordType) Label ¶
func (v PasswordType) Label() string
func (PasswordType) MarshalText ¶
func (v PasswordType) MarshalText() ([]byte, error)
func (*PasswordType) Scan ¶
func (v *PasswordType) Scan(src interface{}) error
func (PasswordType) String ¶
func (v PasswordType) String() string
func (PasswordType) TypeName ¶
func (v PasswordType) TypeName() string
func (*PasswordType) UnmarshalText ¶
func (v *PasswordType) UnmarshalText(data []byte) error
type Protocol ¶
type Protocol int8
Protocol
func ParseProtocolFromLabel ¶
func ParseProtocolFromString ¶
func (Protocol) ConstValues ¶
func (v Protocol) ConstValues() []enum.IntStringerEnum
func (Protocol) MarshalText ¶
func (*Protocol) UnmarshalText ¶
type TrafficLimitType ¶ added in v1.2.5
type TrafficLimitType uint8
const ( TRAFFIC_LIMIT_TYPE_UNKNOWN TrafficLimitType = iota TRAFFIC_LIMIT_TYPE__EVENT TRAFFIC_LIMIT_TYPE__BLOCKCHAIN )
func ParseTrafficLimitTypeFromLabel ¶ added in v1.2.5
func ParseTrafficLimitTypeFromLabel(s string) (TrafficLimitType, error)
func ParseTrafficLimitTypeFromString ¶ added in v1.2.5
func ParseTrafficLimitTypeFromString(s string) (TrafficLimitType, error)
func (TrafficLimitType) ConstValues ¶ added in v1.2.5
func (v TrafficLimitType) ConstValues() []enum.IntStringerEnum
func (TrafficLimitType) Int ¶ added in v1.2.5
func (v TrafficLimitType) Int() int
func (TrafficLimitType) Label ¶ added in v1.2.5
func (v TrafficLimitType) Label() string
func (TrafficLimitType) MarshalText ¶ added in v1.2.5
func (v TrafficLimitType) MarshalText() ([]byte, error)
func (*TrafficLimitType) Scan ¶ added in v1.2.5
func (v *TrafficLimitType) Scan(src interface{}) error
func (TrafficLimitType) String ¶ added in v1.2.5
func (v TrafficLimitType) String() string
func (TrafficLimitType) TypeName ¶ added in v1.2.5
func (v TrafficLimitType) TypeName() string
func (*TrafficLimitType) UnmarshalText ¶ added in v1.2.5
func (v *TrafficLimitType) UnmarshalText(data []byte) error
type TransactionState ¶ added in v1.5.9
type TransactionState uint8
const ( TRANSACTION_STATE_UNKNOWN TransactionState = iota TRANSACTION_STATE__INIT TRANSACTION_STATE__PENDING TRANSACTION_STATE__IN_BLOCK TRANSACTION_STATE__CONFIRMED TRANSACTION_STATE__FAILED )
func ParseTransactionStateFromLabel ¶ added in v1.5.9
func ParseTransactionStateFromLabel(s string) (TransactionState, error)
func ParseTransactionStateFromString ¶ added in v1.5.9
func ParseTransactionStateFromString(s string) (TransactionState, error)
func (TransactionState) ConstValues ¶ added in v1.5.9
func (v TransactionState) ConstValues() []enum.IntStringerEnum
func (TransactionState) Int ¶ added in v1.5.9
func (v TransactionState) Int() int
func (TransactionState) Label ¶ added in v1.5.9
func (v TransactionState) Label() string
func (TransactionState) MarshalText ¶ added in v1.5.9
func (v TransactionState) MarshalText() ([]byte, error)
func (*TransactionState) Scan ¶ added in v1.5.9
func (v *TransactionState) Scan(src interface{}) error
func (TransactionState) String ¶ added in v1.5.9
func (v TransactionState) String() string
func (TransactionState) TypeName ¶ added in v1.5.9
func (v TransactionState) TypeName() string
func (*TransactionState) UnmarshalText ¶ added in v1.5.9
func (v *TransactionState) UnmarshalText(data []byte) error
type WasmDBDatatype ¶ added in v1.1.0
type WasmDBDatatype uint8
const ( WASM_DB_DATATYPE_UNKNOWN WasmDBDatatype = iota WASM_DB_DATATYPE__INT WASM_DB_DATATYPE__INT8 WASM_DB_DATATYPE__INT16 WASM_DB_DATATYPE__INT32 WASM_DB_DATATYPE__INT64 WASM_DB_DATATYPE__UINT WASM_DB_DATATYPE__UINT8 WASM_DB_DATATYPE__UINT16 WASM_DB_DATATYPE__UINT32 WASM_DB_DATATYPE__UINT64 WASM_DB_DATATYPE__FLOAT32 WASM_DB_DATATYPE__FLOAT64 WASM_DB_DATATYPE__TEXT WASM_DB_DATATYPE__BOOL WASM_DB_DATATYPE__TIMESTAMP // use epoch timestamp (integer, UTC) WASM_DB_DATATYPE__DECIMAL WASM_DB_DATATYPE__NUMERIC )
func ParseWasmDBDatatypeFromLabel ¶ added in v1.1.0
func ParseWasmDBDatatypeFromLabel(s string) (WasmDBDatatype, error)
func ParseWasmDBDatatypeFromString ¶ added in v1.1.0
func ParseWasmDBDatatypeFromString(s string) (WasmDBDatatype, error)
func (WasmDBDatatype) ConstValues ¶ added in v1.1.0
func (v WasmDBDatatype) ConstValues() []enum.IntStringerEnum
func (WasmDBDatatype) Int ¶ added in v1.1.0
func (v WasmDBDatatype) Int() int
func (WasmDBDatatype) Label ¶ added in v1.1.0
func (v WasmDBDatatype) Label() string
func (WasmDBDatatype) MarshalText ¶ added in v1.1.0
func (v WasmDBDatatype) MarshalText() ([]byte, error)
func (*WasmDBDatatype) Scan ¶ added in v1.1.0
func (v *WasmDBDatatype) Scan(src interface{}) error
func (WasmDBDatatype) String ¶ added in v1.1.0
func (v WasmDBDatatype) String() string
func (WasmDBDatatype) TypeName ¶ added in v1.1.0
func (v WasmDBDatatype) TypeName() string
func (*WasmDBDatatype) UnmarshalText ¶ added in v1.1.0
func (v *WasmDBDatatype) UnmarshalText(data []byte) error
type WasmDBDialect ¶ added in v1.1.0
type WasmDBDialect uint8
const ( WASM_DB_DIALECT_UNKNOWN WasmDBDialect = iota WASM_DB_DIALECT__POSTGRES )
func ParseWasmDBDialectFromLabel ¶ added in v1.1.0
func ParseWasmDBDialectFromLabel(s string) (WasmDBDialect, error)
func ParseWasmDBDialectFromString ¶ added in v1.1.0
func ParseWasmDBDialectFromString(s string) (WasmDBDialect, error)
func (WasmDBDialect) ConstValues ¶ added in v1.1.0
func (v WasmDBDialect) ConstValues() []enum.IntStringerEnum
func (WasmDBDialect) Int ¶ added in v1.1.0
func (v WasmDBDialect) Int() int
func (WasmDBDialect) Label ¶ added in v1.1.0
func (v WasmDBDialect) Label() string
func (WasmDBDialect) MarshalText ¶ added in v1.1.0
func (v WasmDBDialect) MarshalText() ([]byte, error)
func (*WasmDBDialect) Scan ¶ added in v1.1.0
func (v *WasmDBDialect) Scan(src interface{}) error
func (WasmDBDialect) String ¶ added in v1.1.0
func (v WasmDBDialect) String() string
func (WasmDBDialect) TypeName ¶ added in v1.1.0
func (v WasmDBDialect) TypeName() string
func (*WasmDBDialect) UnmarshalText ¶ added in v1.1.0
func (v *WasmDBDialect) UnmarshalText(data []byte) error
Source Files ¶
- access_key_identity_type.go
- access_key_identity_type__generated.go
- access_permission.go
- access_permission__generated.go
- account_identity_type.go
- account_identity_type__generated.go
- account_role.go
- account_role__generated.go
- account_source.go
- account_source__generated.go
- account_state.go
- account_state__generated.go
- api_operator_attr.go
- api_operator_attr__generated.go
- cache_mode.go
- cache_mode__generated.go
- chain_name.go
- comms.go
- config_type.go
- config_type__generated.go
- deploy_cmd.go
- deploy_cmd__generated.go
- event_source.go
- event_source__generated.go
- event_stage.go
- event_stage__generated.go
- file_system_mode.go
- file_system_mode__generated.go
- flow_operator.go
- flow_operator__generated.go
- flow_sink.go
- flow_sink__generated.go
- global.go
- instance_state.go
- instance_state__generated.go
- monitor_cmd.go
- monitor_cmd__generated.go
- mqtt_qos.go
- mqtt_qos__generated.go
- operator_key_type.go
- password_type.go
- password_type__generated.go
- protocol.go
- protocol__generated.go
- traffic_limit_type.go
- traffic_limit_type__generated.go
- transaction_state.go
- transaction_state__generated.go
- wasm_db_datatype.go
- wasm_db_datatype__generated.go
- wasm_db_dialect.go
- wasm_db_dialect__generated.go
Click to show internal directories.
Click to hide internal directories.