systemProbe

package
v0.50.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AgentQAPrimaryAZ   = "subnet-03061a1647c63c3c3"
	AgentQASecondaryAZ = "subnet-0f1ca3e929eb3fb8b"
	AgentQABackupAZ    = "subnet-071213aedb0e1ae54"

	SandboxPrimaryAz   = "subnet-b89e00e2"
	SandboxSecondaryAz = "subnet-8ee8b1c6"
	SandboxBackupAz    = "subnet-3f5db45b"

	DatadogAgentQAEnv = "aws/agent-qa"
	SandboxEnv        = "aws/sandbox"

	Aria2cMissingStatusError = "error: wait: remote command exited without exit status or exit signal: running \" aria2c"
)

Variables

View Source
var (
	MicroVMsDependenciesPath = filepath.Join("/", "opt", "kernel-version-testing", "dependencies-%s.tar.gz")
	CustomAMIWorkingDir      = filepath.Join("/", "home", "kernel-version-testing")

	CI_PROJECT_DIR = GetEnv("CI_PROJECT_DIR", "/tmp")
)

Functions

func Destroy

func Destroy(name string) error

func GetEnv

func GetEnv(key, fallback string) string

Types

type SystemProbeEnvOpts

type SystemProbeEnvOpts struct {
	X86AmiID              string
	ArmAmiID              string
	SSHKeyPath            string
	SSHKeyName            string
	InfraEnv              string
	Provision             bool
	ShutdownPeriod        int
	FailOnMissing         bool
	DependenciesDirectory string
	VMConfigPath          string
	Local                 bool
}

type TestEnv

type TestEnv struct {
	ARM64InstanceIP  string
	X86_64InstanceIP string
	StackOutput      auto.UpResult
	// contains filtered or unexported fields
}

func NewTestEnv

func NewTestEnv(name, x86InstanceType, armInstanceType string, opts *SystemProbeEnvOpts) (*TestEnv, error)

func (*TestEnv) RemoveStack

func (env *TestEnv) RemoveStack() error

Directories

Path Synopsis
Package main implements the SSH connector between gitlab runners, metal instances, and micro VMs
Package main implements the SSH connector between gitlab runners, metal instances, and micro VMs
sshtools
Package sshtools allows execution of SSH commands easily
Package sshtools allows execution of SSH commands easily

Jump to

Keyboard shortcuts

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