appyaml

package
v0.0.0-...-ff81de2 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package appyaml provides utilities for parsing and working with app.yaml files for Google App Engine flexible environment deployments.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppYAML

type AppYAML struct {
	Runtime string `yaml:"runtime"`
	Service string `yaml:"service"`
	Env     string `yaml:"env"`
}

AppYAML represents the structure of an app.yaml file. See https://cloud.google.com/appengine/docs/flexible/reference/app-yaml

func ParseAppYAML

func ParseAppYAML(data []byte) (*AppYAML, error)

ParseAppYAML parses the provided app.yaml data (in byte format) and returns a pointer to an `AppYAML` struct containing the parsed data.

Jump to

Keyboard shortcuts

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