instructiontype

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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",
		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

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
	Compress
	Decompress
	DownloadDecompress
	OsUsersManage
	OsGroupsManage
	OsServicesCreate
	LinuxServiceCreate
	Ssh
	PathModifiers
	FileSystem
	ScriptsCollection
	Firewall
	FirewallIpTables
	Verify
)

func Max

func Max() Variant

func Min

func Min() Variant

func New

func New(name string) (Variant, error)

func NewMust

func NewMust(name string) Variant

func (Variant) AllNameValues added in v0.0.4

func (it Variant) AllNameValues() []string

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) AsJsoner

func (it *Variant) AsJsoner() corejson.Jsoner

func (Variant) EnumType added in v0.0.4

func (it Variant) EnumType() enuminf.EnumTyper

func (Variant) Format added in v0.0.4

func (it Variant) Format(format string) (compiled string)

func (Variant) IntegerEnumRanges added in v0.0.4

func (it Variant) IntegerEnumRanges() []int

func (Variant) IsAnyNamesOf added in v0.0.4

func (it Variant) IsAnyNamesOf(names ...string) bool

func (Variant) IsAnyOf

func (it Variant) IsAnyOf(anyOfItems ...Variant) bool

func (Variant) IsAnyValuesEqual added in v0.0.4

func (it Variant) IsAnyValuesEqual(anyByteValues ...byte) bool

func (Variant) IsApache

func (it Variant) IsApache() bool

func (Variant) IsByteValueEqual added in v0.0.4

func (it Variant) IsByteValueEqual(value byte) bool

func (Variant) IsCompress

func (it Variant) IsCompress() bool

func (Variant) IsCronTabs

func (it Variant) IsCronTabs() bool

func (Variant) IsDecompress

func (it Variant) IsDecompress() bool

func (Variant) IsDependsOn

func (it Variant) IsDependsOn() bool

func (Variant) IsDownloadDecompress

func (it Variant) IsDownloadDecompress() bool

func (Variant) IsEnvironmentPaths

func (it Variant) IsEnvironmentPaths() bool

func (Variant) IsEnvironmentVariables

func (it Variant) IsEnvironmentVariables() bool

func (Variant) IsEthernet

func (it Variant) IsEthernet() bool

func (Variant) IsFileSystem

func (it Variant) IsFileSystem() bool

func (Variant) IsFirewall added in v0.0.4

func (it Variant) IsFirewall() bool

func (Variant) IsFirewallIpTables added in v0.0.4

func (it Variant) IsFirewallIpTables() bool

func (Variant) IsInstallPackages

func (it Variant) IsInstallPackages() bool

func (Variant) IsInvalid added in v0.0.4

func (it Variant) IsInvalid() bool

func (Variant) IsLinuxServiceCreate

func (it Variant) IsLinuxServiceCreate() bool

func (Variant) IsMySql

func (it Variant) IsMySql() bool

func (Variant) IsNameEqual added in v0.0.4

func (it Variant) IsNameEqual(name string) bool

func (Variant) IsNameOf added in v0.0.4

func (it Variant) IsNameOf(anyNames ...string) bool

func (Variant) IsNginx

func (it Variant) IsNginx() bool

func (Variant) IsOsGroupsManage

func (it Variant) IsOsGroupsManage() bool

func (Variant) IsOsServices

func (it Variant) IsOsServices() bool

func (Variant) IsOsServicesCreate

func (it Variant) IsOsServicesCreate() bool

func (Variant) IsOsUsersManage

func (it Variant) IsOsUsersManage() bool

func (Variant) IsPathModifiers

func (it Variant) IsPathModifiers() bool

func (Variant) IsPhpMyAdmin

func (it Variant) IsPhpMyAdmin() bool

func (Variant) IsPhpPgAdmin

func (it Variant) IsPhpPgAdmin() bool

func (Variant) IsPostgreSql

func (it Variant) IsPostgreSql() bool

func (Variant) IsPowerDns added in v0.0.4

func (it Variant) IsPowerDns() bool

func (Variant) IsPureFtp

func (it Variant) IsPureFtp() bool

func (Variant) IsScoping

func (it Variant) IsScoping() bool

func (Variant) IsScriptsCollection

func (it Variant) IsScriptsCollection() bool

func (Variant) IsSsh

func (it Variant) IsSsh() bool

func (Variant) IsSsl

func (it Variant) IsSsl() bool

func (Variant) IsUninitialized

func (it Variant) IsUninitialized() bool

func (Variant) IsValid added in v0.0.4

func (it Variant) IsValid() bool

func (Variant) IsValueEqual added in v0.0.4

func (it Variant) IsValueEqual(value byte) bool

func (Variant) IsVerify

func (it Variant) IsVerify() bool

func (Variant) Json

func (it Variant) Json() corejson.Result

func (*Variant) JsonParseSelfInject

func (it *Variant) JsonParseSelfInject(jsonResult *corejson.Result) error

func (Variant) JsonPtr

func (it Variant) JsonPtr() *corejson.Result

func (Variant) MarshalJSON

func (it Variant) MarshalJSON() ([]byte, error)

func (Variant) MaxByte

func (it Variant) MaxByte() byte

func (Variant) MaxInt added in v0.0.4

func (it Variant) MaxInt() int

func (Variant) MaxMaxAny added in v0.0.4

func (it Variant) MaxMaxAny() (min, max interface{})

func (Variant) MaxValueString added in v0.0.4

func (it Variant) MaxValueString() string

func (Variant) MinByte

func (it Variant) MinByte() byte

func (Variant) MinInt added in v0.0.4

func (it Variant) MinInt() int

func (Variant) MinValueString added in v0.0.4

func (it Variant) MinValueString() string

func (Variant) Name

func (it Variant) Name() string

func (Variant) NameValue

func (it Variant) NameValue() string

func (Variant) OnlySupportedErr added in v0.0.4

func (it Variant) OnlySupportedErr(names ...string) error

func (Variant) OnlySupportedMsgErr added in v0.0.4

func (it Variant) OnlySupportedMsgErr(message string, names ...string) error

func (Variant) RangeNamesCsv

func (it Variant) RangeNamesCsv() string

func (Variant) RangesByte

func (it Variant) RangesByte() []byte

func (Variant) RangesDynamicMap added in v0.0.4

func (it Variant) RangesDynamicMap() map[string]interface{}

func (Variant) String

func (it Variant) String() string

func (Variant) ToNumberString

func (it Variant) ToNumberString() string

func (Variant) ToPtr

func (it Variant) ToPtr() *Variant

func (*Variant) ToSimple

func (it *Variant) ToSimple() Variant

func (Variant) TypeName

func (it Variant) TypeName() string

func (*Variant) UnmarshalJSON

func (it *Variant) UnmarshalJSON(data []byte) error

func (Variant) UnmarshallEnumToValue

func (it Variant) UnmarshallEnumToValue(
	jsonUnmarshallingValue []byte,
) (byte, error)

func (Variant) Value

func (it Variant) Value() byte

func (Variant) ValueByte

func (it Variant) ValueByte() byte

func (Variant) ValueInt

func (it Variant) ValueInt() int

func (Variant) ValueInt16 added in v0.0.4

func (it Variant) ValueInt16() int16

func (Variant) ValueInt32 added in v0.0.4

func (it Variant) ValueInt32() int32

func (Variant) ValueInt8 added in v0.0.4

func (it Variant) ValueInt8() int8

func (Variant) ValueString added in v0.0.4

func (it Variant) ValueString() string

func (Variant) ValueUInt16 added in v0.0.4

func (it Variant) ValueUInt16() uint16

Jump to

Keyboard shortcuts

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