Ejemplo n.º 1
0
func init() {
	if gitVersion == "" {
		gitVersion = "unknown"
	}

	cli.Register("version", &version{})
}
Ejemplo n.º 2
0
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{})
}
Ejemplo n.º 3
0
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})
}
Ejemplo n.º 4
0
func init() {
	cli.Register("host.portgroup.remove", &remove{})
}
Ejemplo n.º 5
0
func init() {
	cli.Register("vm.clone", &clone{})
}
Ejemplo n.º 6
0
func init() {
	cli.Register("vm.info", &info{})
}
Ejemplo n.º 7
0
Archivo: assign.go Proyecto: vmware/vic
func init() {
	cli.Register("license.assign", &assign{})
}
Ejemplo n.º 8
0
func init() {
	cli.Register("import.spec", &spec{})
}
Ejemplo n.º 9
0
func init() {
	cli.Register("host.disconnect", &disconnect{})
}
Ejemplo n.º 10
0
func init() {
	cli.Register("host.esxcli", &esxcli{})
}
Ejemplo n.º 11
0
Archivo: remove.go Proyecto: vmware/vic
func init() {
	cli.Register("device.remove", &remove{})
}
Ejemplo n.º 12
0
func init() {
	cli.Register("datastore.rm", &rm{})
	cli.Alias("datastore.rm", "datastore.delete")
}
Ejemplo n.º 13
0
func init() {
	cli.Register("import.ovf", &ovfx{})
}
Ejemplo n.º 14
0
func init() {
	cli.Register("vm.disk.create", &create{})
}
Ejemplo n.º 15
0
func init() {
	cli.Register("license.list", &list{})
}
Ejemplo n.º 16
0
func init() {
	cli.Register("extension.register", &register{})
}
Ejemplo n.º 17
0
func init() {
	cli.Register("cluster.change", &change{})
}
Ejemplo n.º 18
0
func init() {
	cli.Register("pool.info", &info{})
}
Ejemplo n.º 19
0
func init() {
	cli.Register("host.portgroup.add", &add{})
}
Ejemplo n.º 20
0
func init() {
	cli.Register("datacenter.destroy", &destroy{})
}
Ejemplo n.º 21
0
func init() {
	cli.Register("guest.mkdir", &mkdir{})
}
Ejemplo n.º 22
0
func init() {
	cli.Register("guest.mktemp", &mktemp{})
}
Ejemplo n.º 23
0
Archivo: add.go Proyecto: vmware/vic
func init() {
	cli.Register("device.serial.add", &add{})
}
Ejemplo n.º 24
0
func init() {
	spec := NewResourceConfigSpecFlag()
	cli.Register("pool.change", &change{ResourceConfigSpecFlag: spec})
}
Ejemplo n.º 25
0
func init() {
	cli.Register("device.serial.connect", &connect{})
}
Ejemplo n.º 26
0
func init() {
	cli.Register("fields.set", &set{})
}
Ejemplo n.º 27
0
func init() {
	cli.Register("fields.ls", &ls{})
}
Ejemplo n.º 28
0
func init() {
	cli.Register("host.autostart.configure", &configure{})
}
Ejemplo n.º 29
0
Archivo: eject.go Proyecto: vmware/vic
func init() {
	cli.Register("device.cdrom.eject", &eject{})
}
Ejemplo n.º 30
0
func init() {
	cli.Register("firewall.ruleset.find", &find{})
}