sourcemap

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

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 {
	KibanaConnection types.List   `tfsdk:"kibana_connection"`
	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