Documentation ¶
Index ¶
- Variables
- func Is(rawString string, expected Variant) bool
- func RangesInvalidErr() error
- func StringMustBe(rawString string, expected Variant)
- func ValidationError(rawString string, expectedEnum Variant) error
- type Variant
- func (it Variant) AllNameValues() []string
- func (it Variant) AsBasicByteEnumContractsBinder() enuminf.BasicByteEnumContractsBinder
- func (it Variant) AsBasicEnumContractsBinder() enuminf.BasicEnumContractsBinder
- func (it *Variant) AsJsonContractsBinder() corejson.JsonContractsBinder
- func (it *Variant) AsJsonMarshaller() corejson.JsonMarshaller
- func (it *Variant) AsJsoner() corejson.Jsoner
- func (it Variant) EnumType() enuminf.EnumTyper
- func (it Variant) Format(format string) (compiled string)
- func (it Variant) IntegerEnumRanges() []int
- func (it Variant) IsAnyNamesOf(names ...string) bool
- func (it Variant) IsAnyOf(anyOfItems ...Variant) bool
- func (it Variant) IsAnyValuesEqual(anyByteValues ...byte) bool
- func (it Variant) IsApache() bool
- func (it Variant) IsByteValueEqual(value byte) bool
- func (it Variant) IsCompress() bool
- func (it Variant) IsCronTabs() bool
- func (it Variant) IsDecompress() bool
- func (it Variant) IsDependsOn() bool
- func (it Variant) IsDownloadDecompress() bool
- func (it Variant) IsEnvironmentPaths() bool
- func (it Variant) IsEnvironmentVariables() bool
- func (it Variant) IsEthernet() bool
- func (it Variant) IsFileSystem() bool
- func (it Variant) IsFirewall() bool
- func (it Variant) IsFirewallIpTables() bool
- func (it Variant) IsInstallPackages() bool
- func (it Variant) IsInvalid() bool
- func (it Variant) IsLinuxServiceCreate() bool
- func (it Variant) IsMySql() bool
- func (it Variant) IsNameEqual(name string) bool
- func (it Variant) IsNameOf(anyNames ...string) bool
- func (it Variant) IsNginx() bool
- func (it Variant) IsOsGroupsManage() bool
- func (it Variant) IsOsServices() bool
- func (it Variant) IsOsServicesCreate() bool
- func (it Variant) IsOsUsersManage() bool
- func (it Variant) IsPathModifiers() bool
- func (it Variant) IsPhpMyAdmin() bool
- func (it Variant) IsPhpPgAdmin() bool
- func (it Variant) IsPostgreSql() bool
- func (it Variant) IsPowerDns() bool
- func (it Variant) IsPureFtp() bool
- func (it Variant) IsScoping() bool
- func (it Variant) IsScriptsCollection() bool
- func (it Variant) IsSsh() bool
- func (it Variant) IsSsl() bool
- func (it Variant) IsUninitialized() bool
- func (it Variant) IsValid() bool
- func (it Variant) IsValueEqual(value byte) bool
- func (it Variant) IsVerify() bool
- func (it Variant) Json() corejson.Result
- func (it *Variant) JsonParseSelfInject(jsonResult *corejson.Result) error
- func (it Variant) JsonPtr() *corejson.Result
- func (it Variant) MarshalJSON() ([]byte, error)
- func (it Variant) MaxByte() byte
- func (it Variant) MaxInt() int
- func (it Variant) MaxValueString() string
- func (it Variant) MinByte() byte
- func (it Variant) MinInt() int
- func (it Variant) MinMaxAny() (min, max interface{})
- func (it Variant) MinValueString() string
- func (it Variant) Name() string
- func (it Variant) NameValue() string
- func (it Variant) OnlySupportedErr(names ...string) error
- func (it Variant) OnlySupportedMsgErr(message string, names ...string) error
- func (it Variant) RangeNamesCsv() string
- func (it Variant) RangesByte() []byte
- func (it Variant) RangesDynamicMap() map[string]interface{}
- func (it Variant) String() string
- func (it Variant) ToNumberString() string
- func (it Variant) ToPtr() *Variant
- func (it *Variant) ToSimple() Variant
- func (it Variant) TypeName() string
- func (it *Variant) UnmarshalJSON(data []byte) error
- func (it Variant) UnmarshallEnumToValue(jsonUnmarshallingValue []byte) (byte, error)
- func (it Variant) Value() byte
- func (it Variant) ValueByte() byte
- func (it Variant) ValueInt() int
- func (it Variant) ValueInt16() int16
- func (it Variant) ValueInt32() int32
- func (it Variant) ValueInt8() int8
- func (it Variant) ValueString() string
- func (it Variant) ValueUInt16() uint16
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Ranges = [...]string{ Invalid: "Invalid", Scoping: "Scoping", DependsOn: "DependsOn", InstallPackages: "InstallPackages", OsServices: "OsServices", EnvironmentVariables: "EnvironmentVariables", EnvironmentPaths: "EnvironmentPaths", Ssl: "Ssl", CronTabs: "CronTabs", Ethernet: "Ethernet", PowerDns: "PowerDns", MySql: "MySql", PostgreSql: "PostgreSql", PhpMyAdmin: "PhpMyAdmin", PhpPgAdmin: "PhpPgAdmin", Nginx: "Nginx", Apache: "Apache", PureFtp: "PureFtp", FtpUser: "FtpUser", Compress: "Compress", Decompress: "Decompress", DownloadDecompress: "DownloadDecompress", OsUsersManage: "OsUsersManage", OsGroupsManage: "OsGroupsManage", OsServicesCreate: "OsServicesCreate", LinuxServiceCreate: "LinuxServiceCreate", Ssh: "Ssh", PathModifiers: "PathModifiers", FileSystem: "FileSystem", ScriptsCollection: "ScriptsCollection", Firewall: "Firewall", FirewallIpTables: "FirewallIpTables", Verify: "Verify", } BasicEnumImpl = enumimpl.New.BasicByte.UsingTypeSlice( coredynamic.TypeName(Invalid), Ranges[:]) )
Functions ¶
func RangesInvalidErr ¶
func RangesInvalidErr() error
func StringMustBe ¶ added in v0.1.3
func ValidationError ¶ added in v0.1.3
Types ¶
type Variant ¶
type Variant byte
const ( Invalid Variant = iota Scoping DependsOn InstallPackages OsServices EnvironmentVariables EnvironmentPaths Ssl CronTabs Ethernet PowerDns MySql PostgreSql PhpMyAdmin PhpPgAdmin Nginx Apache PureFtp FtpUser Compress Decompress DownloadDecompress OsUsersManage OsGroupsManage OsServicesCreate LinuxServiceCreate Ssh PathModifiers FileSystem ScriptsCollection Firewall FirewallIpTables Verify )
func (Variant) AllNameValues ¶ added in v0.0.4
func (Variant) AsBasicByteEnumContractsBinder ¶
func (it Variant) AsBasicByteEnumContractsBinder() enuminf.BasicByteEnumContractsBinder
func (Variant) AsBasicEnumContractsBinder ¶
func (it Variant) AsBasicEnumContractsBinder() enuminf.BasicEnumContractsBinder
func (*Variant) AsJsonContractsBinder ¶
func (it *Variant) AsJsonContractsBinder() corejson.JsonContractsBinder
func (*Variant) AsJsonMarshaller ¶
func (it *Variant) AsJsonMarshaller() corejson.JsonMarshaller
func (Variant) IntegerEnumRanges ¶ added in v0.0.4
func (Variant) IsAnyNamesOf ¶ added in v0.0.4
func (Variant) IsAnyValuesEqual ¶ added in v0.0.4
func (Variant) IsByteValueEqual ¶ added in v0.0.4
func (Variant) IsCompress ¶
func (Variant) IsCronTabs ¶
func (Variant) IsDecompress ¶
func (Variant) IsDependsOn ¶
func (Variant) IsDownloadDecompress ¶
func (Variant) IsEnvironmentPaths ¶
func (Variant) IsEnvironmentVariables ¶
func (Variant) IsEthernet ¶
func (Variant) IsFileSystem ¶
func (Variant) IsFirewall ¶ added in v0.0.4
func (Variant) IsFirewallIpTables ¶ added in v0.0.4
func (Variant) IsInstallPackages ¶
func (Variant) IsLinuxServiceCreate ¶
func (Variant) IsNameEqual ¶ added in v0.0.4
func (Variant) IsOsGroupsManage ¶
func (Variant) IsOsServices ¶
func (Variant) IsOsServicesCreate ¶
func (Variant) IsOsUsersManage ¶
func (Variant) IsPathModifiers ¶
func (Variant) IsPhpMyAdmin ¶
func (Variant) IsPhpPgAdmin ¶
func (Variant) IsPostgreSql ¶
func (Variant) IsPowerDns ¶ added in v0.0.4
func (Variant) IsScriptsCollection ¶
func (Variant) IsUninitialized ¶
func (Variant) IsValueEqual ¶ added in v0.0.4
func (*Variant) JsonParseSelfInject ¶
func (Variant) MarshalJSON ¶
func (Variant) MaxValueString ¶ added in v0.0.4
func (Variant) MinValueString ¶ added in v0.0.4
func (Variant) OnlySupportedErr ¶ added in v0.0.4
func (Variant) OnlySupportedMsgErr ¶ added in v0.0.4
func (Variant) RangeNamesCsv ¶
func (Variant) RangesByte ¶
func (Variant) RangesDynamicMap ¶ added in v0.0.4
func (Variant) ToNumberString ¶
func (*Variant) UnmarshalJSON ¶
func (Variant) UnmarshallEnumToValue ¶
func (Variant) ValueInt16 ¶ added in v0.0.4
func (Variant) ValueInt32 ¶ added in v0.0.4
func (Variant) ValueString ¶ added in v0.0.4
func (Variant) ValueUInt16 ¶ added in v0.0.4
Click to show internal directories.
Click to hide internal directories.