Logo
Explore Help
Sign In
iSharkFly-Docs/packer-cn
1
0
Fork 0
You've already forked packer-cn
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
packer-cn/post-processor/compress/artifact_test.go

16 lines
289 B
Go
Raw Permalink Normal View History

[post-processor/compress] Add support for compress. This commit adds support for a post-processor that produces a compressed archive that can be uploaded to an OpenStack cluster through either the Horizon web interface or Glance.
2014-04-26 12:22:10 -04:00
package compress
import (
"testing"
run goimports
2018-01-22 17:21:10 -08:00
remove sdk
2020-12-17 13:29:25 -08:00
packersdk "github.com/hashicorp/packer-plugin-sdk/packer"
[post-processor/compress] Add support for compress. This commit adds support for a post-processor that produces a compressed archive that can be uploaded to an OpenStack cluster through either the Horizon web interface or Glance.
2014-04-26 12:22:10 -04:00
)
func TestArtifact_ImplementsArtifact(t *testing.T) {
var raw interface{}
raw = &Artifact{}
move Artifact and artifact mock to the sdk
2020-11-19 12:17:11 -08:00
if _, ok := raw.(packersdk.Artifact); !ok {
[post-processor/compress] Add support for compress. This commit adds support for a post-processor that produces a compressed archive that can be uploaded to an OpenStack cluster through either the Horizon web interface or Glance.
2014-04-26 12:22:10 -04:00
t.Fatalf("Artifact should be a Artifact!")
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 165ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API