Documentation ¶
Overview ¶
Package client contains the implementation of CRUD operations on MAAS resources.
Index ¶
- type APIClient
- type BlockDevice
- func (b *BlockDevice) AddTag(systemID string, id int, tag string) (*entity.BlockDevice, error)
- func (b *BlockDevice) Delete(systemID string, id int) error
- func (b *BlockDevice) Format(systemID string, id int, fsType string) (*entity.BlockDevice, error)
- func (b *BlockDevice) Get(systemID string, id int) (*entity.BlockDevice, error)
- func (b *BlockDevice) Mount(systemID string, id int, mountPoint string, mountOptions string) (*entity.BlockDevice, error)
- func (b *BlockDevice) RemoveTag(systemID string, id int, tag string) (*entity.BlockDevice, error)
- func (b *BlockDevice) SetBootDisk(systemID string, id int) error
- func (b *BlockDevice) Unformat(systemID string, id int) (*entity.BlockDevice, error)
- func (b *BlockDevice) Unmount(systemID string, id int) (*entity.BlockDevice, error)
- func (b *BlockDevice) Update(systemID string, id int, params *entity.BlockDeviceParams) (*entity.BlockDevice, error)
- type BlockDevicePartition
- func (p *BlockDevicePartition) AddTag(systemID string, blockDeviceID int, id int, tag string) (*entity.BlockDevicePartition, error)
- func (p *BlockDevicePartition) Delete(systemID string, blockDeviceID int, id int) error
- func (p *BlockDevicePartition) Format(systemID string, blockDeviceID int, id int, fsType string, label string) (*entity.BlockDevicePartition, error)
- func (p *BlockDevicePartition) Get(systemID string, blockDeviceID int, id int) (*entity.BlockDevicePartition, error)
- func (p *BlockDevicePartition) Mount(systemID string, blockDeviceID int, id int, mountPoint string, ...) (*entity.BlockDevicePartition, error)
- func (p *BlockDevicePartition) RemoveTag(systemID string, blockDeviceID int, id int, tag string) (*entity.BlockDevicePartition, error)
- func (p *BlockDevicePartition) Unformat(systemID string, blockDeviceID int, id int) (*entity.BlockDevicePartition, error)
- func (p *BlockDevicePartition) Unmount(systemID string, blockDeviceID int, id int) (*entity.BlockDevicePartition, error)
- type BlockDevicePartitions
- type BlockDevices
- type Client
- type DNSResource
- type DNSResourceRecord
- type DNSResourceRecords
- type DNSResources
- type Device
- type Devices
- type Domain
- type Domains
- type Fabric
- type Fabrics
- type IPAddresses
- type IPRange
- type IPRanges
- type Machine
- func (m *Machine) ClearDefaultGateways(systemID string) (*entity.Machine, error)
- func (m *Machine) Commission(systemID string, params *entity.MachineCommissionParams) (*entity.Machine, error)
- func (m *Machine) Delete(systemID string) error
- func (m *Machine) Deploy(systemID string, params *entity.MachineDeployParams) (*entity.Machine, error)
- func (m *Machine) Get(systemID string) (*entity.Machine, error)
- func (m *Machine) GetPowerParameters(systemID string) (map[string]interface{}, error)
- func (m *Machine) Lock(systemID string, comment string) (*entity.Machine, error)
- func (m *Machine) Release(systemID string, params *entity.MachineReleaseParams) (*entity.Machine, error)
- func (m *Machine) Update(systemID string, machineParams *entity.MachineParams, ...) (*entity.Machine, error)
- type Machines
- func (m *Machines) AcceptAll() error
- func (m *Machines) Allocate(params *entity.MachineAllocateParams) (*entity.Machine, error)
- func (m *Machines) Create(machineParams *entity.MachineParams, powerParams map[string]interface{}) (*entity.Machine, error)
- func (m *Machines) Get() ([]entity.Machine, error)
- func (m *Machines) Release(systemIDs []string, comment string) error
- type NetworkInterface
- func (n *NetworkInterface) AddTag(systemID string, id int, tag string) (*entity.NetworkInterface, error)
- func (n *NetworkInterface) Delete(systemID string, id int) error
- func (n *NetworkInterface) Disconnect(systemID string, id int) (*entity.NetworkInterface, error)
- func (n *NetworkInterface) Get(systemID string, id int) (*entity.NetworkInterface, error)
- func (n *NetworkInterface) LinkSubnet(systemID string, id int, params *entity.NetworkInterfaceLinkParams) (*entity.NetworkInterface, error)
- func (n *NetworkInterface) RemoveTag(systemID string, id int, tag string) (*entity.NetworkInterface, error)
- func (n *NetworkInterface) SetDefaultGateway(systemID string, id int, linkID int) (*entity.NetworkInterface, error)
- func (n *NetworkInterface) UnlinkSubnet(systemID string, id int, linkID int) (*entity.NetworkInterface, error)
- func (n *NetworkInterface) Update(systemID string, id int, params *entity.NetworkInterfaceUpdateParams) (*entity.NetworkInterface, error)
- type NetworkInterfaces
- func (n *NetworkInterfaces) CreateBond(systemID string, params *entity.NetworkInterfaceBondParams) (*entity.NetworkInterface, error)
- func (n *NetworkInterfaces) CreateBridge(systemID string, params *entity.NetworkInterfaceBridgeParams) (*entity.NetworkInterface, error)
- func (n *NetworkInterfaces) CreatePhysical(systemID string, params *entity.NetworkInterfacePhysicalParams) (*entity.NetworkInterface, error)
- func (n *NetworkInterfaces) CreateVLAN(systemID string, params *entity.NetworkInterfaceVLANParams) (*entity.NetworkInterface, error)
- func (n *NetworkInterfaces) Get(systemID string) ([]entity.NetworkInterface, error)
- type RAID
- type RAIDs
- type ResourcePool
- type ResourcePools
- type Space
- type Spaces
- type Subnet
- func (s *Subnet) Delete(id int) error
- func (s *Subnet) Get(id int) (*entity.Subnet, error)
- func (s *Subnet) GetIPAddresses(id int) ([]subnet.IPAddress, error)
- func (s *Subnet) GetReservedIPRanges(id int) ([]subnet.ReservedIPRange, error)
- func (s *Subnet) GetStatistics(id int) (*subnet.Statistics, error)
- func (s *Subnet) GetUnreservedIPRanges(id int) ([]subnet.IPRange, error)
- func (s *Subnet) Update(id int, params *entity.SubnetParams) (*entity.Subnet, error)
- type Subnets
- type Tag
- func (t *Tag) AddMachines(name string, machineIds []string) error
- func (t *Tag) Delete(name string) error
- func (t *Tag) Get(name string) (*entity.Tag, error)
- func (t *Tag) GetMachines(name string) ([]entity.Machine, error)
- func (t *Tag) RemoveMachines(name string, machineIds []string) error
- func (t *Tag) Update(name string, tagParams *entity.TagParams) (*entity.Tag, error)
- type Tags
- type User
- type Users
- type VLAN
- type VLANs
- type VMHost
- func (p *VMHost) Compose(id int, params *entity.VMHostMachineParams) (*entity.Machine, error)
- func (p *VMHost) Delete(id int) error
- func (p *VMHost) Get(id int) (*entity.VMHost, error)
- func (p *VMHost) GetParameters(id int) (map[string]string, error)
- func (p *VMHost) Refresh(id int) (*entity.VMHost, error)
- func (p *VMHost) Update(id int, params *entity.VMHostParams) (*entity.VMHost, error)
- type VMHosts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIClient ¶
type APIClient struct { AuthClient gomaasapi.Client *gomaasapi.MAASObject }
func GetAPIClient
deprecated
func (APIClient) GetSubObject ¶
type BlockDevice ¶
type BlockDevice struct {
APIClient APIClient
}
BlockDevice implements the api.BlockDevice interface
func (*BlockDevice) AddTag ¶
func (b *BlockDevice) AddTag(systemID string, id int, tag string) (*entity.BlockDevice, error)
AddTag adds a tag to a given BlockDevice
func (*BlockDevice) Delete ¶
func (b *BlockDevice) Delete(systemID string, id int) error
Delete deletes a given BlockDevice
func (*BlockDevice) Format ¶
func (b *BlockDevice) Format(systemID string, id int, fsType string) (*entity.BlockDevice, error)
Format configures a BlockDevice to be formatted for a new file system
func (*BlockDevice) Get ¶
func (b *BlockDevice) Get(systemID string, id int) (*entity.BlockDevice, error)
Get fetches a given BlockDevice based on the given Node's system_id and BlockDevice's id
func (*BlockDevice) Mount ¶
func (b *BlockDevice) Mount(systemID string, id int, mountPoint string, mountOptions string) (*entity.BlockDevice, error)
Mount sets the mount point and options of a given BlockDevice
func (*BlockDevice) RemoveTag ¶
func (b *BlockDevice) RemoveTag(systemID string, id int, tag string) (*entity.BlockDevice, error)
RemoveTag removes a tag from a given BlockDevice
func (*BlockDevice) SetBootDisk ¶
func (b *BlockDevice) SetBootDisk(systemID string, id int) error
SetBootDisk configures the given BlockDevice as the boot disk
func (*BlockDevice) Unformat ¶
func (b *BlockDevice) Unformat(systemID string, id int) (*entity.BlockDevice, error)
Unformat removes the configured file system
func (*BlockDevice) Unmount ¶
func (b *BlockDevice) Unmount(systemID string, id int) (*entity.BlockDevice, error)
Unmount unsets the mount of a BlockDevice
func (*BlockDevice) Update ¶
func (b *BlockDevice) Update(systemID string, id int, params *entity.BlockDeviceParams) (*entity.BlockDevice, error)
Update updates a given BlockDevice
type BlockDevicePartition ¶
type BlockDevicePartition struct {
APIClient APIClient
}
BlockDevicePartition implements the api.BlockDevicePartition interface
func (*BlockDevicePartition) AddTag ¶
func (p *BlockDevicePartition) AddTag(systemID string, blockDeviceID int, id int, tag string) (*entity.BlockDevicePartition, error)
AddTag adds a tag to a given BlockDevicePartition
func (*BlockDevicePartition) Delete ¶
func (p *BlockDevicePartition) Delete(systemID string, blockDeviceID int, id int) error
Delete deletes a given BlockDevicePartition
func (*BlockDevicePartition) Format ¶
func (p *BlockDevicePartition) Format(systemID string, blockDeviceID int, id int, fsType string, label string) (*entity.BlockDevicePartition, error)
Format sets the BlockDevicePartition to be formatted with a given file system
func (*BlockDevicePartition) Get ¶
func (p *BlockDevicePartition) Get(systemID string, blockDeviceID int, id int) (*entity.BlockDevicePartition, error)
Get fetches a given BlockDevicePartion for a given system_id, BlockDevice id and partition id
func (*BlockDevicePartition) Mount ¶
func (p *BlockDevicePartition) Mount(systemID string, blockDeviceID int, id int, mountPoint string, mountOptions string) (*entity.BlockDevicePartition, error)
Mount sets a mount point and options for a given BlockDevicePartition
func (*BlockDevicePartition) RemoveTag ¶
func (p *BlockDevicePartition) RemoveTag(systemID string, blockDeviceID int, id int, tag string) (*entity.BlockDevicePartition, error)
RemoveTag removes a tag from a given BlockDevicePartition
func (*BlockDevicePartition) Unformat ¶
func (p *BlockDevicePartition) Unformat(systemID string, blockDeviceID int, id int) (*entity.BlockDevicePartition, error)
Unformat unsets a file system for a given BlockDevicePartition
func (*BlockDevicePartition) Unmount ¶
func (p *BlockDevicePartition) Unmount(systemID string, blockDeviceID int, id int) (*entity.BlockDevicePartition, error)
Unmount unsets a mount point for a given BlockDevicePartition
type BlockDevicePartitions ¶
type BlockDevicePartitions struct {
APIClient APIClient
}
BlockDevicePartitions implements api.BlockDevicePartitions
func (*BlockDevicePartitions) Create ¶
func (p *BlockDevicePartitions) Create(systemID string, blockDeviceID int, params *entity.BlockDevicePartitionParams) (*entity.BlockDevicePartition, error)
Create creats a new BlockDevicePartition for a given system_id and BlockDevice id
func (*BlockDevicePartitions) Get ¶
func (p *BlockDevicePartitions) Get(systemID string, blockDeviceID int) ([]entity.BlockDevicePartition, error)
Get lists the BlockDevicePartition objects for a given system_id and BlockDevice id
type BlockDevices ¶
type BlockDevices struct {
APIClient APIClient
}
BlockDevices implements api.BlockDevices
func (*BlockDevices) Create ¶
func (b *BlockDevices) Create(systemID string, params *entity.BlockDeviceParams) (*entity.BlockDevice, error)
Create creates a new BlockDevice for a given system_id
func (*BlockDevices) Get ¶
func (b *BlockDevices) Get(systemID string) ([]entity.BlockDevice, error)
Get fetches a list of BlockDevices for a given system_id
type Client ¶
type Client struct { Device api.Device Devices api.Devices DNSResource api.DNSResource DNSResources api.DNSResources DNSResourceRecord api.DNSResourceRecord DNSResourceRecords api.DNSResourceRecords Domain api.Domain Domains api.Domains Fabric api.Fabric Fabrics api.Fabrics VLAN api.VLAN VLANs api.VLANs Space api.Space Spaces api.Spaces Machine api.Machine Machines api.Machines VMHost api.VMHost VMHosts api.VMHosts NetworkInterface api.NetworkInterface NetworkInterfaces api.NetworkInterfaces RAID api.RAID RAIDs api.RAIDs Subnet api.Subnet Subnets api.Subnets IPRange api.IPRange IPRanges api.IPRanges IPAddresses api.IPAddresses Tag api.Tag Tags api.Tags BlockDevice api.BlockDevice BlockDevices api.BlockDevices BlockDevicePartition api.BlockDevicePartition BlockDevicePartitions api.BlockDevicePartitions User api.User Users api.Users ResourcePool api.ResourcePool ResourcePools api.ResourcePools }
Client is an object providing API interactions with a configured MAAS installation
type DNSResource ¶
type DNSResource struct {
APIClient APIClient
}
DNSResource implements api.DNSResource
func (*DNSResource) Delete ¶
func (d *DNSResource) Delete(id int) error
Delete deletes a given DNSResource
func (*DNSResource) Get ¶
func (d *DNSResource) Get(id int) (*entity.DNSResource, error)
Get fetches a given DNSResource
func (*DNSResource) Update ¶
func (d *DNSResource) Update(id int, params *entity.DNSResourceParams) (*entity.DNSResource, error)
Update updates a given DNSResource
type DNSResourceRecord ¶
type DNSResourceRecord struct {
APIClient APIClient
}
DNSResourceRecord implements api.DNSResourceRecord
func (*DNSResourceRecord) Delete ¶
func (d *DNSResourceRecord) Delete(id int) error
Delete deletes a given DNSResourceRecord
func (*DNSResourceRecord) Get ¶
func (d *DNSResourceRecord) Get(id int) (*entity.DNSResourceRecord, error)
Get fetches a given DNSResourceRecord
func (*DNSResourceRecord) Update ¶
func (d *DNSResourceRecord) Update(id int, params *entity.DNSResourceRecordParams) (*entity.DNSResourceRecord, error)
Update updates a given DNSResourceRecord
type DNSResourceRecords ¶
type DNSResourceRecords struct {
APIClient APIClient
}
DNSResourceRecords implements api.DNSResourceRecords
func (*DNSResourceRecords) Create ¶
func (d *DNSResourceRecords) Create(params *entity.DNSResourceRecordParams) (*entity.DNSResourceRecord, error)
Create creates a new DNSResourceRecord
func (*DNSResourceRecords) Get ¶
func (d *DNSResourceRecords) Get() ([]entity.DNSResourceRecord, error)
Get fetches a list of DNSResourceRecord objectts
type DNSResources ¶
type DNSResources struct {
APIClient APIClient
}
DNSResources implements api.DNSResources
func (*DNSResources) Create ¶
func (d *DNSResources) Create(params *entity.DNSResourceParams) (*entity.DNSResource, error)
Create creates a new DNSResource
func (*DNSResources) Get ¶
func (d *DNSResources) Get() ([]entity.DNSResource, error)
Get fetches a list of DNSResource objects
type Device ¶
type Device struct {
APIClient APIClient
}
Device implements api.Device
type Devices ¶
type Devices struct {
APIClient APIClient
}
Devices implements api.Devices
type Domain ¶
type Domain struct {
APIClient APIClient
}
Domain implements api.Domain
func (*Domain) SetDefault ¶
SetDefault sets the given Domain as the default Domain
type Domains ¶
type Domains struct {
APIClient APIClient
}
Domains implements api.Domains
type Fabric ¶
type Fabric struct {
APIClient APIClient
}
Fabric implments api.Fabric
type Fabrics ¶
type Fabrics struct {
APIClient APIClient
}
Fabrics implements api.Fabrics
type IPAddresses ¶
type IPAddresses struct {
APIClient APIClient
}
IPAddresses implements api.IPAddresses
func (*IPAddresses) Get ¶
func (i *IPAddresses) Get(params *entity.IPAddressesParams) ([]entity.IPAddress, error)
Get fetches a specified set of IPAddresses
func (*IPAddresses) Release ¶
func (i *IPAddresses) Release(params *entity.IPAddressesParams) error
Release releases a set of allocated IPAddresses
func (*IPAddresses) Reserve ¶
func (i *IPAddresses) Reserve(params *entity.IPAddressesParams) (*entity.IPAddress, error)
Reserve reserves a set of IPAddresses
type IPRange ¶
type IPRange struct {
APIClient APIClient
}
IPRange implements api.IPRange
type IPRanges ¶
type IPRanges struct {
APIClient APIClient
}
IPRanges implements api.IPRanges
type Machine ¶
type Machine struct {
APIClient APIClient
}
Machine contains functionality for manipulating the Machine entity.
func (*Machine) ClearDefaultGateways ¶
ClearDefaultGateways clears default gateways.
func (*Machine) Commission ¶
func (m *Machine) Commission(systemID string, params *entity.MachineCommissionParams) (*entity.Machine, error)
Commission machine.
func (*Machine) Deploy ¶
func (m *Machine) Deploy(systemID string, params *entity.MachineDeployParams) (*entity.Machine, error)
Deploy machine.
func (*Machine) GetPowerParameters ¶
GetPowerParameters fetches the power parameters of a given Machine
type Machines ¶
type Machines struct {
APIClient APIClient
}
Machines contains functionality for manipulating the Machines entity.
func (*Machines) Create ¶
func (m *Machines) Create(machineParams *entity.MachineParams, powerParams map[string]interface{}) (*entity.Machine, error)
Create machine.
type NetworkInterface ¶
type NetworkInterface struct {
APIClient APIClient
}
NetworkInterface implements api.NetworkInterface
func (*NetworkInterface) AddTag ¶
func (n *NetworkInterface) AddTag(systemID string, id int, tag string) (*entity.NetworkInterface, error)
AddTag adds a given tag to a given NetworkInterface
func (*NetworkInterface) Delete ¶
func (n *NetworkInterface) Delete(systemID string, id int) error
Delete deletes a given NetworkInterface
func (*NetworkInterface) Disconnect ¶
func (n *NetworkInterface) Disconnect(systemID string, id int) (*entity.NetworkInterface, error)
Disconnect marks a given NetworkInterface as disconnected
func (*NetworkInterface) Get ¶
func (n *NetworkInterface) Get(systemID string, id int) (*entity.NetworkInterface, error)
Get fetches a NetworkInterface for the given system_id and NetworkInterface id
func (*NetworkInterface) LinkSubnet ¶
func (n *NetworkInterface) LinkSubnet(systemID string, id int, params *entity.NetworkInterfaceLinkParams) (*entity.NetworkInterface, error)
LinkSubnet links a given Subnet to a given NetworkInterface
func (*NetworkInterface) RemoveTag ¶
func (n *NetworkInterface) RemoveTag(systemID string, id int, tag string) (*entity.NetworkInterface, error)
RemoveTag removes a given tag from a given NetworkInterface
func (*NetworkInterface) SetDefaultGateway ¶
func (n *NetworkInterface) SetDefaultGateway(systemID string, id int, linkID int) (*entity.NetworkInterface, error)
SetDefaultGateway sets the default gateway of the given NetworkInterface
func (*NetworkInterface) UnlinkSubnet ¶
func (n *NetworkInterface) UnlinkSubnet(systemID string, id int, linkID int) (*entity.NetworkInterface, error)
UnlinkSubnet removes a given link
func (*NetworkInterface) Update ¶
func (n *NetworkInterface) Update(systemID string, id int, params *entity.NetworkInterfaceUpdateParams) (*entity.NetworkInterface, error)
Update updates a give NetworkInterface
type NetworkInterfaces ¶
type NetworkInterfaces struct {
APIClient APIClient
}
NetworkInterfaces implements api.NetworkInterfaces
func (*NetworkInterfaces) CreateBond ¶
func (n *NetworkInterfaces) CreateBond(systemID string, params *entity.NetworkInterfaceBondParams) (*entity.NetworkInterface, error)
CreateBond creates a Bond interface from two or more given NetworkInterface objects
func (*NetworkInterfaces) CreateBridge ¶
func (n *NetworkInterfaces) CreateBridge(systemID string, params *entity.NetworkInterfaceBridgeParams) (*entity.NetworkInterface, error)
CreateBridge creates a Bridge type interface
func (*NetworkInterfaces) CreatePhysical ¶
func (n *NetworkInterfaces) CreatePhysical(systemID string, params *entity.NetworkInterfacePhysicalParams) (*entity.NetworkInterface, error)
CreatePhysical creates a new physical interface
func (*NetworkInterfaces) CreateVLAN ¶
func (n *NetworkInterfaces) CreateVLAN(systemID string, params *entity.NetworkInterfaceVLANParams) (*entity.NetworkInterface, error)
CreateVLAN creates an interface tagged for a given VLAN
func (*NetworkInterfaces) Get ¶
func (n *NetworkInterfaces) Get(systemID string) ([]entity.NetworkInterface, error)
Get fetches a list of NetworkInterface objects
type RAID ¶
type RAID struct {
APIClient APIClient
}
RAID Contains functionality for manipulating the RAID entity.
type RAIDs ¶
type RAIDs struct {
APIClient APIClient
}
RAIDs contains functionality for manipulating the RAIDs entity.
type ResourcePool ¶
type ResourcePool struct {
APIClient APIClient
}
ResourcePool implements api.ResourcePool
func (*ResourcePool) Delete ¶
func (r *ResourcePool) Delete(id int) error
Delete deletes a given ResourcePool
func (*ResourcePool) Get ¶
func (r *ResourcePool) Get(id int) (*entity.ResourcePool, error)
Get fetches a given ResourcePool
func (*ResourcePool) Update ¶
func (r *ResourcePool) Update(id int, params *entity.ResourcePoolParams) (*entity.ResourcePool, error)
Update updates a given ResourcePool
type ResourcePools ¶
type ResourcePools struct {
APIClient APIClient
}
ResourcePools implements api.ResourcePools
func (*ResourcePools) Create ¶
func (r *ResourcePools) Create(params *entity.ResourcePoolParams) (*entity.ResourcePool, error)
Create creates a new ResourcePool
func (*ResourcePools) Get ¶
func (r *ResourcePools) Get() ([]entity.ResourcePool, error)
Get fetches a list of ResourcePool objects
type Spaces ¶
type Spaces struct {
APIClient APIClient
}
Spaces implements api.Spaces
type Subnet ¶
type Subnet struct {
APIClient APIClient
}
Subnet implements api.Subnet
func (*Subnet) GetIPAddresses ¶
GetIPAddresses fetches the allocated IPAddresses in the given subnet
func (*Subnet) GetReservedIPRanges ¶
func (s *Subnet) GetReservedIPRanges(id int) ([]subnet.ReservedIPRange, error)
GetReservedIPRanges fetches the reserved IPRange objects for the given Subnet
func (*Subnet) GetStatistics ¶
func (s *Subnet) GetStatistics(id int) (*subnet.Statistics, error)
GetStatistics gets the stats of the given subnet
func (*Subnet) GetUnreservedIPRanges ¶
GetUnreservedIPRanges gets the IPRange objects for allocation use
type Subnets ¶
type Subnets struct {
APIClient APIClient
}
Subnets contains functionality for manipulating the Subnets entity.
type Tag ¶
type Tag struct {
APIClient APIClient
}
Tag implements api.Tag
func (*Tag) AddMachines ¶
AddMachines adds a set of Machines to a given tag
func (*Tag) GetMachines ¶
GetMachines fetches a list of machines with a given tag
func (*Tag) RemoveMachines ¶
RemoveMachines removes a set of Machines
type Tags ¶
type Tags struct {
APIClient APIClient
}
Tags implements api.Tags
type Users ¶
type Users struct {
APIClient APIClient
}
Users implements api.Users
type VLAN ¶
type VLAN struct {
APIClient APIClient
}
VLAN implements api.VLAN
type VLANs ¶
type VLANs struct {
APIClient APIClient
}
VLANs implements api.VLANs
type VMHost ¶
type VMHost struct { APIClient APIClient // contains filtered or unexported fields }
VMHost contains functionality for manipulating the VMHost entity.
func (*VMHost) GetParameters ¶
GetParameters fetches the configured parameters of a given VMHost
Source Files ¶
- block_device.go
- block_device_partition.go
- block_device_partitions.go
- block_devices.go
- client.go
- device.go
- devices.go
- dns_resource.go
- dns_resource_record.go
- dns_resource_records.go
- dns_resources.go
- domain.go
- domains.go
- fabric.go
- fabrics.go
- ip_addresses.go
- ip_range.go
- ip_ranges.go
- machine.go
- machines.go
- network_interface.go
- network_interfaces.go
- raid.go
- raids.go
- resource_pool.go
- resource_pools.go
- space.go
- spaces.go
- subnet.go
- subnets.go
- tag.go
- tags.go
- user.go
- users.go
- utils.go
- vlan.go
- vlans.go
- vm_host.go
- vm_hosts.go