Documentation ¶
Index ¶
- Constants
- func GeoConfigSchema() schema.Attribute
- func GetCompositeId(id string) (*clients.CompositeId, diag.Diagnostics)
- func GetKibanaClient(c ESApiClient, dg diag.Diagnostics) *kibana.Client
- func Map[T, U any](ts []T, f func(T) U) []U
- func StringSliceValue(v []string) []types.String
- func ValueStringSlice(v []types.String) []string
- type ESApiClient
- type Resource
- func (r *Resource) ConfigValidators(ctx context.Context) []resource.ConfigValidator
- func (r *Resource) Configure(ctx context.Context, request resource.ConfigureRequest, ...)
- func (r *Resource) Create(ctx context.Context, request resource.CreateRequest, ...)
- func (r *Resource) Delete(ctx context.Context, request resource.DeleteRequest, ...)
- func (r *Resource) GetClient() *clients.ApiClient
- func (r *Resource) ImportState(ctx context.Context, request resource.ImportStateRequest, ...)
- func (r *Resource) Metadata(ctx context.Context, request resource.MetadataRequest, ...)
- func (r *Resource) Read(ctx context.Context, request resource.ReadRequest, ...)
- func (r *Resource) Schema(ctx context.Context, request resource.SchemaRequest, ...)
- func (r *Resource) Update(ctx context.Context, request resource.UpdateRequest, ...)
- type TFGeoConfigV0
Constants ¶
View Source
const (
MetadataPrefix = "_kibana_synthetics_"
)
Variables ¶
This section is empty.
Functions ¶
func GeoConfigSchema ¶
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 StringSliceValue ¶ added in v0.11.6
func ValueStringSlice ¶ added in v0.11.6
Types ¶
type ESApiClient ¶ added in v0.11.6
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) 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 ¶
func FromSyntheticGeoConfig ¶
func FromSyntheticGeoConfig(v *kbapi.SyntheticGeoConfig) *TFGeoConfigV0
func (*TFGeoConfigV0) ToSyntheticGeoConfig ¶
func (m *TFGeoConfigV0) ToSyntheticGeoConfig() *kbapi.SyntheticGeoConfig
Click to show internal directories.
Click to hide internal directories.