2022-08-09 11:43:02 +00:00
|
|
|
// Copyright 2022 Linka Cloud All rights reserved.
|
|
|
|
//
|
|
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
// you may not use this file except in compliance with the License.
|
|
|
|
// You may obtain a copy of the License at
|
|
|
|
//
|
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
//
|
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
// limitations under the License.
|
|
|
|
|
2022-04-21 19:15:39 +00:00
|
|
|
package d2vm
|
|
|
|
|
2022-11-23 18:21:58 +00:00
|
|
|
import (
|
2023-09-13 13:37:29 +00:00
|
|
|
"fmt"
|
|
|
|
"runtime"
|
|
|
|
|
2022-11-23 18:21:58 +00:00
|
|
|
"go.linka.cloud/d2vm/pkg/qemu_img"
|
|
|
|
)
|
|
|
|
|
2022-04-21 19:15:39 +00:00
|
|
|
var (
|
2023-09-13 13:37:29 +00:00
|
|
|
Arch = fmt.Sprintf("%s/%s", runtime.GOOS, runtime.GOARCH)
|
2022-04-21 19:15:39 +00:00
|
|
|
Version = ""
|
|
|
|
BuildDate = ""
|
2022-09-13 13:02:38 +00:00
|
|
|
Image = "linkacloud/d2vm"
|
2022-04-21 19:15:39 +00:00
|
|
|
)
|
2022-11-23 18:21:58 +00:00
|
|
|
|
|
|
|
func init() {
|
|
|
|
qemu_img.DockerImageName = Image
|
|
|
|
qemu_img.DockerImageVersion = Version
|
|
|
|
}
|