예제 #1
0
파일: command.go 프로젝트: kristinn/govmomi
func init() {
	if gitVersion == "" {
		gitVersion = "unknown"
	}

	cli.Register("version", &version{})
}
예제 #2
0
파일: command.go 프로젝트: hmahmood/govmomi
func init() {
	// Check that git tag in the release builds match the hardcoded version
	if gitVersion != "" && gitVersion[1:] != Version {
		log.Panicf("version mismatch: git=%s vs govc=%s", gitVersion, Version)
	}

	cli.Register("version", &version{})
}
예제 #3
0
파일: create.go 프로젝트: EricYT/govmomi
func init() {
	spec := NewResourceConfigSpecFlag()
	spec.SetAllocation(func(a *types.ResourceAllocationInfo) {
		a.Shares.Level = types.SharesLevelNormal
		a.ExpandableReservation = types.NewBool(true)
	})

	cli.Register("pool.create", &create{ResourceConfigSpecFlag: spec})
}
예제 #4
0
파일: remove.go 프로젝트: kristinn/govmomi
func init() {
	cli.Register("host.portgroup.remove", &remove{})
}
예제 #5
0
파일: clone.go 프로젝트: hmahmood/govmomi
func init() {
	cli.Register("vm.clone", &clone{})
}
예제 #6
0
파일: info.go 프로젝트: hmahmood/govmomi
func init() {
	cli.Register("vm.info", &info{})
}
예제 #7
0
파일: assign.go 프로젝트: vmware/vic
func init() {
	cli.Register("license.assign", &assign{})
}
예제 #8
0
파일: spec.go 프로젝트: fdawg4l/govmomi
func init() {
	cli.Register("import.spec", &spec{})
}
예제 #9
0
파일: disconnect.go 프로젝트: vmware/vic
func init() {
	cli.Register("host.disconnect", &disconnect{})
}
예제 #10
0
func init() {
	cli.Register("host.esxcli", &esxcli{})
}
예제 #11
0
파일: remove.go 프로젝트: vmware/vic
func init() {
	cli.Register("device.remove", &remove{})
}
예제 #12
0
파일: rm.go 프로젝트: MerlinDMC/machine
func init() {
	cli.Register("datastore.rm", &rm{})
	cli.Alias("datastore.rm", "datastore.delete")
}
예제 #13
0
파일: ovf.go 프로젝트: tjyang/govmomi
func init() {
	cli.Register("import.ovf", &ovfx{})
}
예제 #14
0
파일: create.go 프로젝트: MerlinDMC/machine
func init() {
	cli.Register("vm.disk.create", &create{})
}
예제 #15
0
파일: list.go 프로젝트: frapposelli/govmomi
func init() {
	cli.Register("license.list", &list{})
}
예제 #16
0
파일: register.go 프로젝트: jak-atx/vic
func init() {
	cli.Register("extension.register", &register{})
}
예제 #17
0
파일: change.go 프로젝트: kristinn/govmomi
func init() {
	cli.Register("cluster.change", &change{})
}
예제 #18
0
파일: info.go 프로젝트: fdawg4l/govmomi
func init() {
	cli.Register("pool.info", &info{})
}
예제 #19
0
func init() {
	cli.Register("host.portgroup.add", &add{})
}
예제 #20
0
func init() {
	cli.Register("datacenter.destroy", &destroy{})
}
예제 #21
0
func init() {
	cli.Register("guest.mkdir", &mkdir{})
}
예제 #22
0
func init() {
	cli.Register("guest.mktemp", &mktemp{})
}
예제 #23
0
파일: add.go 프로젝트: vmware/vic
func init() {
	cli.Register("device.serial.add", &add{})
}
예제 #24
0
파일: change.go 프로젝트: kristinn/govmomi
func init() {
	spec := NewResourceConfigSpecFlag()
	cli.Register("pool.change", &change{ResourceConfigSpecFlag: spec})
}
예제 #25
0
파일: connect.go 프로젝트: tjyang/govmomi
func init() {
	cli.Register("device.serial.connect", &connect{})
}
예제 #26
0
func init() {
	cli.Register("fields.set", &set{})
}
예제 #27
0
파일: ls.go 프로젝트: kristinn/govmomi
func init() {
	cli.Register("fields.ls", &ls{})
}
예제 #28
0
func init() {
	cli.Register("host.autostart.configure", &configure{})
}
예제 #29
0
파일: eject.go 프로젝트: vmware/vic
func init() {
	cli.Register("device.cdrom.eject", &eject{})
}
예제 #30
0
파일: find.go 프로젝트: kristinn/govmomi
func init() {
	cli.Register("firewall.ruleset.find", &find{})
}