default_index_pattern

package
v0.11.8 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpenSearchRequestBody

type OpenSearchRequestBody struct {
	IndexPatternId *string `json:"index_pattern_id"`
}

type Provider

type Provider struct {
	Url string

	SyncIndexPatternFields bool
	// contains filtered or unexported fields
}

func NewProvider

func NewProvider(baseUrl string, client *http.Client) *Provider

func (*Provider) GetDefaultIndexPattern

func (p *Provider) GetDefaultIndexPattern(ctx context.Context) (*OpenSearchRequestBody, diag.Diagnostics)

func (*Provider) SetDefaultIndexPattern

func (p *Provider) SetDefaultIndexPattern(ctx context.Context, indexPatternId *string) diag.Diagnostics

Jump to

Keyboard shortcuts

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