environment

package
v0.0.0-...-c4a3a4a Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: MIT-0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultEC2AgentStartCommand = "sudo /opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent-ctl -a fetch-config -m ec2 -s -c "
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MetaData

type MetaData struct {
	ComputeType               computetype.ComputeType
	EcsLaunchType             ecslaunchtype.ECSLaunchType
	EcsDeploymentStrategy     ecsdeploymenttype.ECSDeploymentType
	EksDeploymentStrategy     eksdeploymenttype.EKSDeploymentType
	EcsClusterArn             string
	EcsClusterName            string
	CwagentConfigSsmParamName string
	EcsServiceName            string
	EC2PluginTests            map[string]struct{} // set of EC2 plugin names
	ExcludedTests             map[string]struct{} // set of excluded names
	Bucket                    string
	S3Key                     string
	CwaCommitSha              string
	CaCertPath                string
	EKSClusterName            string
	ProxyUrl                  string
	AssumeRoleArn             string
	InstanceId                string
	InstancePlatform          string
	AgentStartCommand         string
	EksGpuType                string
}

func GetEnvironmentMetaData

func GetEnvironmentMetaData() *MetaData

type MetaDataStrings

type MetaDataStrings struct {
	ComputeType               string
	EcsLaunchType             string
	EcsDeploymentStrategy     string
	EksDeploymentStrategy     string
	EcsClusterArn             string
	CwagentConfigSsmParamName string
	EcsServiceName            string
	EC2PluginTests            string // input comma delimited list of plugin names
	ExcludedTests             string // Exclude specific tests from OS
	Bucket                    string
	S3Key                     string
	CwaCommitSha              string
	CaCertPath                string
	EKSClusterName            string
	ProxyUrl                  string
	AssumeRoleArn             string
	InstanceId                string
	InstancePlatform          string
	AgentStartCommand         string
	EksGpuType                string
}

func RegisterEnvironmentMetaDataFlags

func RegisterEnvironmentMetaDataFlags() *MetaDataStrings

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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