override

package
v1.33.3 Latest Latest
Warning

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

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

Documentation

Overview

Package override provides functionality to replace content from vended templates.

Index

Constants

View Source
const (
	// PathSegmentSeparator is the separator for path segments.
	PathSegmentSeparator = "."
)

Variables

This section is empty.

Functions

func CloudFormationTemplate

func CloudFormationTemplate(overrideRules []Rule, origTemp []byte) ([]byte, error)

CloudFormationTemplate overrides the given CloudFormation template by applying the override rules.

Types

type Rule

type Rule struct {
	Path  string // example: "ContainerDefinitions[0].Ulimits[-].HardLimit"
	Value yaml.Node
}

Rule is the override rule override package uses.

Jump to

Keyboard shortcuts

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