Documentation
¶
Index ¶
- func CreateDedicatedHost(args *MacDedicatedHostRequestArgs) (dhi *mac.HostInformation, err error)
- func CreatePoolDedicatedHost(args *PoolMacDedicatedHostRequestArgs) (dhi *mac.HostInformation, err error)
- func GetHostInformation(h ec2Types.Host) *mac.HostInformation
- func GetMatchingHostsInStateInformation(matchingTags map[string]string, state *ec2Types.AllocationState) ([]*mac.HostInformation, error)
- func GetMatchingHostsInformation(arch string) ([]*mac.HostInformation, error)
- func GetPoolDedicatedHostsInformation(id *PoolID) ([]*mac.HostInformation, error)
- type MacDedicatedHostRequestArgs
- type PoolID
- type PoolMacDedicatedHostRequestArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDedicatedHost ¶
func CreateDedicatedHost(args *MacDedicatedHostRequestArgs) (dhi *mac.HostInformation, err error)
this creates the stack for the dedicated host
func CreatePoolDedicatedHost ¶
func CreatePoolDedicatedHost(args *PoolMacDedicatedHostRequestArgs) (dhi *mac.HostInformation, err error)
func GetHostInformation ¶
func GetHostInformation(h ec2Types.Host) *mac.HostInformation
Compose information around dedicated host
func GetMatchingHostsInStateInformation ¶
func GetMatchingHostsInStateInformation(matchingTags map[string]string, state *ec2Types.AllocationState) ([]*mac.HostInformation, error)
Get all dedicated hosts by tag and state
func GetMatchingHostsInformation ¶
func GetMatchingHostsInformation(arch string) ([]*mac.HostInformation, error)
Get all dedicated hosts matching the tags + arch it will return the list ordered by allocation time
func GetPoolDedicatedHostsInformation ¶
func GetPoolDedicatedHostsInformation(id *PoolID) ([]*mac.HostInformation, error)
Get all dedicated hosts matching the tags + arch it will return the list ordered by allocation time
Types ¶
type PoolMacDedicatedHostRequestArgs ¶
type PoolMacDedicatedHostRequestArgs struct { BackedURL string MacDedicatedHost *MacDedicatedHostRequestArgs PoolID *PoolID }
Click to show internal directories.
Click to hide internal directories.