synthetics

package
v0.11.10 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MetadataPrefix = "_kibana_synthetics_"
)

Variables

This section is empty.

Functions

func GeoConfigSchema

func GeoConfigSchema() schema.Attribute

func GetCompositeId added in v0.11.6

func GetCompositeId(id string) (*clients.CompositeId, diag.Diagnostics)

func GetKibanaClient added in v0.11.6

func GetKibanaClient(c ESApiClient, dg diag.Diagnostics) *kibana.Client

func Map added in v0.11.6

func Map[T, U any](ts []T, f func(T) U) []U

func StringSliceValue added in v0.11.6

func StringSliceValue(v []string) []types.String

func ValueStringSlice added in v0.11.6

func ValueStringSlice(v []types.String) []string

Types

type ESApiClient added in v0.11.6

type ESApiClient interface {
	GetClient() *clients.ApiClient
}

type Resource added in v0.11.6

type Resource struct {
	ESApiClient
	// contains filtered or unexported fields
}

func (*Resource) ConfigValidators added in v0.11.6

func (r *Resource) ConfigValidators(ctx context.Context) []resource.ConfigValidator

func (*Resource) Configure added in v0.11.6

func (r *Resource) Configure(ctx context.Context, request resource.ConfigureRequest, response *resource.ConfigureResponse)

func (*Resource) Create added in v0.11.6

func (r *Resource) Create(ctx context.Context, request resource.CreateRequest, response *resource.CreateResponse)

func (*Resource) Delete added in v0.11.6

func (r *Resource) Delete(ctx context.Context, request resource.DeleteRequest, response *resource.DeleteResponse)

func (*Resource) GetClient added in v0.11.6

func (r *Resource) GetClient() *clients.ApiClient

func (*Resource) ImportState added in v0.11.6

func (r *Resource) ImportState(ctx context.Context, request resource.ImportStateRequest, response *resource.ImportStateResponse)

func (*Resource) Metadata added in v0.11.6

func (r *Resource) Metadata(ctx context.Context, request resource.MetadataRequest, response *resource.MetadataResponse)

func (*Resource) Read added in v0.11.6

func (r *Resource) Read(ctx context.Context, request resource.ReadRequest, response *resource.ReadResponse)

func (*Resource) Schema added in v0.11.6

func (r *Resource) Schema(ctx context.Context, request resource.SchemaRequest, response *resource.SchemaResponse)

func (*Resource) Update added in v0.11.6

func (r *Resource) Update(ctx context.Context, request resource.UpdateRequest, response *resource.UpdateResponse)

type TFGeoConfigV0

type TFGeoConfigV0 struct {
	Lat types.Float64 `tfsdk:"lat"`
	Lon types.Float64 `tfsdk:"lon"`
}

func FromSyntheticGeoConfig

func FromSyntheticGeoConfig(v *kbapi.SyntheticGeoConfig) *TFGeoConfigV0

func (*TFGeoConfigV0) ToSyntheticGeoConfig

func (m *TFGeoConfigV0) ToSyntheticGeoConfig() *kbapi.SyntheticGeoConfig

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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