host

package
v0.14.6 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2026 License: Apache-2.0 Imports: 21 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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