Documentation ¶
Index ¶
- Constants
- Variables
- 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 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 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 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)
- 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 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 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 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)
Constants ¶
View Source
const ( EVENTTYPEDEFAULT = "DEFAULT" MONITOR_EVENTTYPEDEFAULT = "MONITOR_DEFAULT" )
Variables ¶
View Source
var InvalidAccountIdentityType = errors.New("invalid AccountIdentityType type")
View Source
var InvalidAccountState = errors.New("invalid AccountState 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 InvalidInstanceState = errors.New("invalid InstanceState 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")
Functions ¶
This section is empty.
Types ¶
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__BUILTIN )
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 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 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 ConfigType ¶ added in v1.0.0
type ConfigType uint8
const ( CONFIG_TYPE_UNKNOWN ConfigType = iota CONFIG_TYPE__PROJECT_SCHEMA CONFIG_TYPE__INSTANCE_CACHE CONFIG_TYPE__PROJECT_ENV )
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) 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
type DeployCmd ¶
type DeployCmd uint8
func ParseDeployCmdFromLabel ¶
func (DeployCmd) ConstValues ¶
func (v DeployCmd) ConstValues() []enum.IntStringerEnum
func (DeployCmd) MarshalText ¶
func (*DeployCmd) UnmarshalText ¶
type InstanceState ¶
type InstanceState uint8
const ( INSTANCE_STATE_UNKNOWN InstanceState = iota INSTANCE_STATE__CREATED INSTANCE_STATE__STARTED INSTANCE_STATE__STOPPED )
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 MqttQOS ¶
type MqttQOS int8
func ParseMqttQOSFromLabel ¶
func ParseMqttQOSFromString ¶
func (MqttQOS) ConstValues ¶
func (v MqttQOS) ConstValues() []enum.IntStringerEnum
func (MqttQOS) MarshalText ¶
func (*MqttQOS) UnmarshalText ¶
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 ¶
Source Files ¶
- account_identity_type.go
- account_identity_type__generated.go
- account_state.go
- account_state__generated.go
- cache_mode.go
- cache_mode__generated.go
- config_type.go
- config_type__generated.go
- deploy_cmd.go
- deploy_cmd__generated.go
- global.go
- instance_state.go
- instance_state__generated.go
- mqtt_qos.go
- mqtt_qos__generated.go
- password_type.go
- password_type__generated.go
- protocol.go
- protocol__generated.go
Click to show internal directories.
Click to hide internal directories.