names

package
v1.62.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2025 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetServiceName

func GetServiceName(s string) string

Types

type Config

type Config struct {
	Services []Service `hcl:"service,block"`
}

func ParseServicesFile

func ParseServicesFile(filename string) (*Config, error)

type Resource

type Resource struct {
	TFResourceName     string `hcl:",label"`
	HasMutableIdentity bool   `hcl:"has_mutable_identity,optional"`
}

type Service

type Service struct {
	IsGlobal    bool       `hcl:"is_global,optional"`
	ServiceName string     `hcl:",label"`
	Resources   []Resource `hcl:"resource,block"`
}

Jump to

Keyboard shortcuts

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