Help us shape the future of Go! Take the 2026 Go Developer Survey

host

package
v0.14.5 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDedicatedHost

func CreateDedicatedHost(mCtx *mc.Context, args *MacDedicatedHostRequestArgs) (dhi *mac.HostInformation, err error)

this creates the stack for the dedicated host

func CreatePoolDedicatedHost

func CreatePoolDedicatedHost(mCtx *mc.Context, 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(ctx context.Context, matchingTags map[string]string, state *ec2Types.AllocationState) ([]*mac.HostInformation, error)

Get all dedicated hosts by tag and state

func GetMatchingHostsInformation

func GetMatchingHostsInformation(mCtx *maptContext.Context, 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(ctx context.Context, 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