Skip to content

Commit

Permalink
feat: add vmware/govmomi/govc (#20510)
Browse files Browse the repository at this point in the history
* feat: add vmware/govmomi/govc

[vmware/govmomi/govc](https://github.com/vmware/govmomi): a vSphere CLI built on top of govmomi

* refactor(vmware/govmomi/govc): fix the indent and remove unecessary files

---------

Co-authored-by: Shunsuke Suzuki <suzuki.shunsuke.1989@gmail.com>
  • Loading branch information
NikitaCOEUR and suzuki-shunsuke committed Mar 6, 2024
1 parent 026a243 commit d4cc829
Show file tree
Hide file tree
Showing 3 changed files with 265 additions and 0 deletions.
14 changes: 14 additions & 0 deletions pkgs/vmware/govmomi/govc/pkg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
packages:
- name: vmware/govmomi/govc@v0.35.0
- name: vmware/govmomi/govc
version: v0.27.4
- name: vmware/govmomi/govc
version: v0.25.0
- name: vmware/govmomi/govc
version: v0.24.0
- name: vmware/govmomi/govc
version: v0.18.0
- name: vmware/govmomi/govc
version: v0.17.1
- name: vmware/govmomi/govc
version: v0.9.0
126 changes: 126 additions & 0 deletions pkgs/vmware/govmomi/govc/registry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
packages:
- name: vmware/govmomi/govc
type: github_release
repo_owner: vmware
repo_name: govmomi
description: a vSphere CLI built on top of govmomi
version_constraint: "false"
version_overrides:
- version_constraint: semver("<= 0.9.0")
asset: govc_{{.OS}}_{{.Arch}}.{{.Format}}
format: gz
rosetta2: true
windows_arm_emulation: true
overrides:
- goos: windows
asset: govc_{{.OS}}_{{.Arch}}.exe.{{.Format}}
files:
- name: govc
src: govc_{{.OS}}_{{.Arch}}
supported_envs:
- darwin
- windows
- amd64
- version_constraint: semver("<= 0.17.1")
asset: govc_{{.OS}}_{{.Arch}}.{{.Format}}
format: gz
rosetta2: true
windows_arm_emulation: true
files:
- name: govc
src: govc_{{.OS}}_{{.Arch}}
overrides:
- goos: windows
format: zip
asset: govc_{{.OS}}_{{.Arch}}.exe.{{.Format}}
supported_envs:
- darwin
- windows
- amd64
- version_constraint: Version == "v0.18.0"
asset: govc_{{.OS}}_{{.Arch}}.{{.Format}}
format: gz
rosetta2: true
windows_arm_emulation: true
checksum:
type: github_release
asset: govc_{{trimV .Version}}_checksums.txt
algorithm: sha1
overrides:
- goos: windows
format: zip
asset: govc_{{.OS}}_{{.Arch}}.exe.{{.Format}}
files:
- name: govc
src: govc.exe
files:
- name: govc
src: govc_{{.OS}}_{{.Arch}}
supported_envs:
- darwin
- windows
- amd64
- version_constraint: semver("<= 0.24.0")
asset: govc_{{.OS}}_{{.Arch}}.{{.Format}}
format: gz
rosetta2: true
windows_arm_emulation: true
files:
- name: govc
src: govc_{{.OS}}_{{.Arch}}
overrides:
- goos: windows
format: zip
asset: govc_{{.OS}}_{{.Arch}}.exe.{{.Format}}
supported_envs:
- darwin
- windows
- amd64
- version_constraint: Version == "v0.25.0"
asset: govc_{{.OS}}_{{.Arch}}.{{.Format}}
format: tar.gz
windows_arm_emulation: true
replacements:
amd64: x86_64
darwin: Darwin
linux: Linux
windows: Windows
checksum:
type: github_release
asset: checksums.txt
algorithm: sha256
overrides:
- goos: windows
format: zip
- version_constraint: semver("<= 0.27.4")
asset: govc_{{.OS}}_{{.Arch}}.{{.Format}}
format: tar.gz
rosetta2: true
windows_arm_emulation: true
replacements:
amd64: x86_64
darwin: Darwin
linux: Linux
windows: Windows
checksum:
type: github_release
asset: checksums.txt
algorithm: sha256
overrides:
- goos: windows
format: zip
- version_constraint: "true"
asset: govc_{{.OS}}_{{.Arch}}.{{.Format}}
format: tar.gz
replacements:
amd64: x86_64
darwin: Darwin
linux: Linux
windows: Windows
checksum:
type: github_release
asset: checksums.txt
algorithm: sha256
overrides:
- goos: windows
format: zip
125 changes: 125 additions & 0 deletions registry.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d4cc829

Please sign in to comment.