sourcemap

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: Apache-2.0 Imports: 21 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSourceMapResource

func NewSourceMapResource() resource.Resource

NewSourceMapResource returns the resource.Resource for use in provider registration.

Types

type Attr

type Attr struct {
	JSON   types.String `tfsdk:"json"`
	Binary types.String `tfsdk:"binary"`
	File   *FileAttr    `tfsdk:"file"`
}

Attr holds the nested sourcemap content attributes. Exactly one of JSON, Binary, or File must be set.

type FileAttr

type FileAttr struct {
	Path     types.String `tfsdk:"path"`
	Checksum types.String `tfsdk:"checksum"`
}

FileAttr holds the path and computed checksum for a local file upload.

type SourceMap

type SourceMap struct {
	entitycore.KibanaConnectionField
	ID             types.String `tfsdk:"id"`
	BundleFilepath types.String `tfsdk:"bundle_filepath"`
	ServiceName    types.String `tfsdk:"service_name"`
	ServiceVersion types.String `tfsdk:"service_version"`
	Sourcemap      *Attr        `tfsdk:"sourcemap"`
	SpaceID        types.String `tfsdk:"space_id"`
}

SourceMap holds the state for the elasticstack_apm_source_map resource.

Jump to

Keyboard shortcuts

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