necogcp

package module
v0.0.0-...-2cf41ae Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

README

main PkgGoDev Go Report Card

neco-gcp

Project Status: Initial development

necogcp is a command-line tool for GCP provisioning.

Documentation

docs directory contains documents about designs and specifications.

License

neco-gcp is licensed under the Apache License, Version 2.0.

Documentation

Index

Constants

View Source
const (
	NecoTestProject = "neco-test"
	NecoTestZone    = "asia-northeast2-c"
)

The target project and zone for the instance deleter.

View Source
const (
	VMXEnabledBaseImageProject = "ubuntu-os-cloud"
	VMXEnabledBaseImage        = "ubuntu-2204-jammy-v20240319"
)

The base image of the VMXEnabled image. This setting is used by both "necogcp create-image" and "necogcp neco-test create-image".

Variables

View Source
var VMXEnabledArtifacts = setup.ArtifactSet{
	GoVersion:       "1.22.2",
	EtcdVersion:     "3.5.13",
	PlacematVersion: "2.4.5",
	CoreOSVersion:   "3815.2.1",
	CtVersion:       "0.9.3",
	DebPackages: []string{
		"git",
		"build-essential",
		"less",
		"wget",
		"systemd-container",
		"lldpd",
		"qemu",
		"qemu-kvm",
		"socat",
		"picocom",
		"swtpm",
		"cloud-utils",
		"bird2",
		"squid",
		"chrony",
		"dnsmasq",
		"xauth",
		"bash-completion",
		"dbus",
		"jq",
		"libgpgme11",
		"freeipmi-tools",
		"unzip",
		"skopeo",

		"fakeroot",

		"docker-ce",
		"docker-ce-cli",
		"docker-buildx-plugin",
		"containerd.io",
	},
}

The settings of software which installed in the VMXEnabled image. This setting is used by both "necogcp create-image" and "necogcp neco-test create-image".

Functions

func AutoDCTestEntryPoint

func AutoDCTestEntryPoint(ctx context.Context, m *pubsub.Message) error

AutoDCTestEntryPoint is the entrypoint for the "auto-dctest" function.

func ExtendEntryPoint

func ExtendEntryPoint(w http.ResponseWriter, r *http.Request)

func ShutdownEntryPoint

func ShutdownEntryPoint(ctx context.Context, m *pubsub.Message) error

func SlackNotifierEntryPoint

func SlackNotifierEntryPoint(ctx context.Context, m *pubsub.Message) error

SlackNotifierEntryPoint is the entrypoint for the "slack-notifier" function.

Types

This section is empty.

Directories

Path Synopsis
cmd
dev
pkg
gcp

Jump to

Keyboard shortcuts

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