ostype

package
v1.36.2 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2020 License: Apache-2.0 Imports: 1 Imported by: 6

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", "centos8", "centos7", "centos6",
	"ubuntu", "ubuntu1804", "ubuntu1604",
	"debian", "debian10", "debian9",
	"coreos", "rancheros", "k3os", "kusanagi", "sophos-utm", "freebsd",
	"netwiser", "opnsense",
	"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
	// CentOS8 OS種別:CentOS8
	CentOS8
	// CentOS7 OS種別:CentOS7
	CentOS7
	// CentOS6 OS種別:CentOS6
	CentOS6
	// Ubuntu OS種別:Ubuntu
	Ubuntu
	// Ubuntu1804 OS種別:Ubuntu(Bionic)
	Ubuntu1804
	// Ubuntu1604 OS種別:Ubuntu(Xenial)
	Ubuntu1604
	// Debian OS種別:Debian
	Debian
	// Debian10 OS種別:Debian10
	Debian10
	// Debian9 OS種別:Debian9
	Debian9
	// CoreOS OS種別:CoreOS
	CoreOS
	// RancherOS OS種別:RancherOS
	RancherOS
	// K3OS OS種別: k3OS
	K3OS
	// Kusanagi OS種別:Kusanagi(CentOS)
	Kusanagi
	// SophosUTM OS種別:Sophos UTM
	SophosUTM
	// FreeBSD OS種別:FreeBSD
	FreeBSD
	// Netwiser OS種別: Netwiser Virtual Edition
	Netwiser
	// OPNsense OS種別: OPNsense
	OPNsense
	// 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) IsWindows

func (o ArchiveOSTypes) IsWindows() bool

IsWindows Windowsか

func (ArchiveOSTypes) String

func (i ArchiveOSTypes) String() string

Jump to

Keyboard shortcuts

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