-
Notifications
You must be signed in to change notification settings - Fork 71
/
bccimage.go
43 lines (35 loc) · 916 Bytes
/
bccimage.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// Copyright 2019 Baidu Inc. All rights reserved
// Use of this source code is governed by a CCE
// license that can be found in the LICENSE file.
/*
modification history
--------------------
2020/07/28 16:26:00, by jichao04@baidu.com, create
*/
package types
import bccapi "github.com/baidubce/bce-sdk-go/services/bcc/api"
const (
ImageTypeService bccapi.ImageType = "service"
)
// OSType 操作系统类型
type OSType string
const (
// OSTypeLinux linux
OSTypeLinux OSType = "linux"
// OSTypeWindows windows
OSTypeWindows OSType = "windows"
)
// OSName 操作系统名字
type OSName string
const (
// OSNameCentOS centos
OSNameCentOS OSName = "CentOS"
// OSNameUbuntu ubuntu
OSNameUbuntu OSName = "Ubuntu"
// OSNameWindows windows
OSNameWindows OSName = "Windows Server"
// OSNameDebian debian
OSNameDebian OSName = "Debian"
// OSNameOpensuse opensuse
OSNameOpensuse OSName = "opensuse"
)