host

package
v0.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2025 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

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 MacDedicatedHostRequestArgs

type MacDedicatedHostRequestArgs struct {
	// Allow orquestrate
	Prefix string

	Architecture  string
	FixedLocation bool
}

type PoolID

type PoolID struct {
	PoolName  string
	Arch      string
	OSVersion string
}

type PoolMacDedicatedHostRequestArgs

type PoolMacDedicatedHostRequestArgs struct {
	BackedURL        string
	MacDedicatedHost *MacDedicatedHostRequestArgs
	PoolID           *PoolID
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL