Documentation ¶
Overview ¶
Package ostype is define OS type of SakuraCloud public archive
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var OSTypeShortNames = []string{
"centos", "centos6", "ubuntu", "debian", "vyos", "coreos",
"rancheros", "kusanagi", "sophos-utm", "freebsd",
"netwiser", "opnsense",
"windows2012", "windows2012-rds", "windows2012-rds-office",
"windows2016", "windows2016-rds", "windows2016-rds-office",
"windows2016-sql-web", "windows2016-sql-standard", "windows2016-sql-standard-all",
"windows2016-sql2017-standard", "windows2016-sql2017-standard-all",
"windows2019",
}
OSTypeShortNames OSTypeとして利用できる文字列のリスト
Functions ¶
This section is empty.
Types ¶
type ArchiveOSTypes ¶
type ArchiveOSTypes int
ArchiveOSTypes パブリックアーカイブOS種別
const ( // CentOS OS種別:CentOS CentOS ArchiveOSTypes = iota // CentOS6 OS種別:CentOS6 CentOS6 // Ubuntu OS種別:Ubuntu Ubuntu // Debian OS種別:Debian Debian // VyOS OS種別:VyOS VyOS // CoreOS OS種別:CoreOS CoreOS // RancherOS OS種別:RancherOS RancherOS // Kusanagi OS種別:Kusanagi(CentOS) Kusanagi // SophosUTM OS種別:Sophos UTM SophosUTM // FreeBSD OS種別:FreeBSD FreeBSD // Netwiser OS種別: Netwiser Virtual Edition Netwiser // OPNsense OS種別: OPNsense OPNsense // Windows2012 OS種別:Windows Server 2012 R2 Datacenter Edition Windows2012 // Windows2012RDS OS種別:Windows Server 2012 R2 for RDS Windows2012RDS // Windows2012RDSOffice OS種別:Windows Server 2012 R2 for RDS(Office) Windows2012RDSOffice // Windows2016 OS種別:Windows Server 2016 Datacenter Edition Windows2016 // Windows2016RDS OS種別:Windows Server 2016 RDS Windows2016RDS // Windows2016RDSOffice OS種別:Windows Server 2016 RDS(Office) Windows2016RDSOffice // Windows2016SQLServerWeb OS種別:Windows Server 2016 SQLServer(Web) Windows2016SQLServerWeb // Windows2016SQLServerStandard OS種別:Windows Server 2016 SQLServer 2016(Standard) Windows2016SQLServerStandard // Windows2016SQLServer2017Standard OS種別:Windows Server 2016 SQLServer 2017(Standard) Windows2016SQLServer2017Standard // Windows2016SQLServerStandardAll OS種別:Windows Server 2016 SQLServer(Standard) + RDS + Office Windows2016SQLServerStandardAll // Windows2016SQLServer2017StandardAll OS種別:Windows Server 2016 SQLServer 2017(Standard) + RDS + Office Windows2016SQLServer2017StandardAll // Windows2019 OS種別:Windows Server 2019 Datacenter Edition Windows2019 // Custom OS種別:カスタム Custom )
func StrToOSType ¶
func StrToOSType(osType string) ArchiveOSTypes
StrToOSType 文字列からArchiveOSTypesへの変換
func (ArchiveOSTypes) IsSupportDiskEdit ¶
func (o ArchiveOSTypes) IsSupportDiskEdit() bool
IsSupportDiskEdit ディスクの修正機能をフルサポートしているか(Windowsは一部サポートのためfalseを返す)
func (ArchiveOSTypes) String ¶
func (i ArchiveOSTypes) String() string
Click to show internal directories.
Click to hide internal directories.