autonaming

package
v3.0.0-...-a5432f4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Autonamer

type Autonamer interface {
	// AutonamingForResource returns the autonaming options for a resource, and whether it
	// should be required to be deleted before creating.
	AutonamingForResource(urn urn.URN, randomSeed []byte) (opts *plugin.AutonamingOptions, deleteBeforeReplace bool)
}

Autonamer resolves custom autonaming options for a given resource URN.

func ParseAutonamingConfig

func ParseAutonamingConfig(s StackContext, cfg config.Map, decrypter config.Decrypter) (Autonamer, error)

type StackContext

type StackContext struct {
	Organization string
	Project      string
	Stack        string
}

Jump to

Keyboard shortcuts

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