metadatascriptrunner

package
v0.0.0-...-507ffb6 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2025 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package metadatascriptrunner handles the running of metadata scripts on Google Compute Engine instances. Its generally triggered on VM startup or shutdown.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, mdsClient metadata.MDSClientInterface, event string) error

Run is the entrypoint for metadata script runner. This is expected to invoked on receiving VM startup/shutdown/specialze(windows sysprep) event.

Types

This section is empty.

Jump to

Keyboard shortcuts

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