package
0.0.0-20250308170929-48bd8ed27534
Repository: https://github.com/evergreen-ci/evergreen.git
Documentation: pkg.go.dev
# Packages
Package parameterstore provides interfaces to interact with parameters (including sensitive secrets) stored in AWS Systems Manager Parameter Store.
No description provided by the author
# Functions
No description provided by the author
No description provided by the author
AztoRegion takes an availability zone and returns the region id.
assumes distro already modified to have one region.
ConvertContainerManager converts a regular manager into a container manager, errors if type conversion not possible.
CreateSpawnHost spawns a host with the given options.
No description provided by the author
No description provided by the author
No description provided by the author
ExportECSPod exports the pod DB model to its equivalent cocoa.ECSPod backed by the given ECS client and secret vault.
ExportECSPodDefinition exports the pod definition into an cocoa.ECSTaskDefinition.
ExportECSPodDefinitionOptions exports the ECS pod creation options into cocoa.ECSPodDefinitionOptions to create the pod definition.
ExportECSPodExecutionOptions exports the ECS configuration into cocoa.ECSPodExecutionOptions.
GetCloudHost returns an instance of CloudHost wrapping the given model.Host, giving access to the provider-specific methods to manipulate on the host.
No description provided by the author
No description provided by the author
GetFilteredResourceIDs gets resources that match the given resource and tag filters.
GetManager returns an implementation of Manager for the given manager options.
GetManagerOptions gets the manager options from the provider settings object for a given provider name.
No description provided by the author
No description provided by the author
GetSettings returns an uninitialized ProviderSettings based on the given provider.
GetSTSManager returns either a real or mock STSManager.
Gp2EquivalentIOPSForGp3 returns an IOPS value for gp3 volumes that's at least equivalent to the IOPS of gp2 volumes.
Gp2EquivalentThroughputForGp3 returns a throughput value for gp3 volumes that's at least equivalent to the throughput of gp2 volumes.
ImportECSPodResources imports the ECS pod resource information into the equivalent pod.ResourceInfo.
IsEC2InstanceID returns whether or not a host's ID is an EC2 instance ID or not.
MakeECSClient creates a cocoa.ECSClient to interact with ECS.
MakeECSPodCreator creates a cocoa.ECSPodCreator to create pods backed by ECS and secrets backed by an optional cocoa.Vault.
MakeECSPodDefinitionManager creates a cocoa.ECSPodDefinitionManager that creates pod definitions in ECS and secrets backed by an optional cocoa.Vault.
No description provided by the author
MakeSecretsManagerClient creates a cocoa.SecretsManagerClient to interact with Secrets Manager.
MakeSecretsManagerVault creates a cocoa.Vault backed by Secrets Manager with an optional cocoa.SecretCache.
MakeTagClient creates a cocoa.TagClient to interact with the Resource Groups Tagging API.
No description provided by the author
No description provided by the author
No description provided by the author
SetHostRDPPassword is a shared utility function to change the password on a windows host.
No description provided by the author
UsesHourlyBilling returns if a distro is billed hourly.
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PodDefinitionResourceFilter is the name of the resource filter to find ECS pod definitions.
SecretsManagerResourceFilter is the name of the resource filter to find Secrets Manager secrets.
StatusFailed indicates that an attempt to start the instance has failed.
StatusInitializing means the instance request has been successfully fulfilled, but it's not yet done booting up.
StatusNonExistent indicates that the instance doesn't exist.
StatusPending indicates that it is not yet clear if the instance has been successfully started or not (e.g.
StatusRunning means the machine is done booting, and active.
StatusStopped indicates that the instance is shut down, but can be started again.
StatusStopping indicates that the instance is in the processing of stopping but has not yet stopped completely.
StatusTerminated indicates that the instance is deleted.
StatusUnknown is a catch-all for unrecognized status codes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
bson fields for the EC2ProviderSettings struct.
No description provided by the author
No description provided by the author
bson fields for the StaticSettings struct.
No description provided by the author
No description provided by the author
No description provided by the author
bson fields for the Host struct.
No description provided by the author
No description provided by the author
No description provided by the author
bson fields for the MountPoint struct.
No description provided by the author
# Structs
AssumeRoleCredentials are the credentials to be returned from assuming a role.
AssumeRoleOptions are the options for assuming a role.
CloudHost is a provider-agnostic host object that delegates methods like status checks, ssh options, DNS name checks, termination, etc.
No description provided by the author
No description provided by the author
No description provided by the author
EC2ManagerOptions are used to construct a new ec2Manager.
EC2ProviderSettings describes properties of managed instances.
FleetConfig specifies how the EC2 Fleet manager should spawn hosts.
ManagerOpts is a struct containing the fields needed to get a new cloud manager of the proper type.
MockInstance mocks a running server that Evergreen knows about.
No description provided by the author
No description provided by the author
No description provided by the author
NoopECSPodDefinitionCache is an implementation of cocoa.ECSPodDefinitionCache that no-ops for all operations.
NoopSecretCache is an implementation of cocoa.SecretCache that no-ops for all operations.
Options holds the required parameters for spawning a host.
No description provided by the author
No description provided by the author
VolumeAttachment contains information about a volume attached to a host.
# Interfaces
AWSClient is a wrapper for aws-sdk-go so we can use a mock in testing.
BatchManager is an interface for cloud providers that support batch operations.
No description provided by the author
The DockerClient interface wraps the Docker dockerClient interaction.
Manager is an interface which handles creating new hosts or modifying them via some third-party API.
No description provided by the author
ProviderSettings exposes provider-specific configuration settings for a Manager.
STSManager is an interface which handles STS operations.
# Type aliases
No description provided by the author