task

package
v1.29.8 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2025 License: AGPL-3.0 Imports: 41 Imported by: 0

Documentation

Index

Constants

View Source
const IndicesExists = "elasticsearch_indices_exists"
View Source
const TemplateExists = "elasticsearch_template_exists"
View Source
const VersionNotSupport = "unknown_cluster_version"
View Source
const VersionTooOld = "elasticsearch_version_too_old"

Variables

View Source
var GlobalSystemElasticsearchID = "infini_default_system_cluster"

Functions

func InvokeSetupCallback

func InvokeSetupCallback()

func RegisterSetupCallback

func RegisterSetupCallback(f func())

Types

type Module

type Module struct {
	api.Handler
}

func (*Module) Name

func (module *Module) Name() string

func (*Module) Setup

func (module *Module) Setup()

func (*Module) Start

func (module *Module) Start() error

func (*Module) Stop

func (module *Module) Stop() error

type SetupRequest

type SetupRequest struct {
	Cluster struct {
		Host     string   `json:"host"`
		Schema   string   `json:"schema"`
		Endpoint string   `json:"endpoint"`
		Username string   `json:"username"`
		Password string   `json:"password"`
		Hosts    []string `json:"hosts"`
	} `json:"cluster"`

	Skip               bool   `json:"skip"`
	BootstrapUsername  string `json:"bootstrap_username"`
	BootstrapPassword  string `json:"bootstrap_password"`
	CredentialSecret   string `json:"credential_secret"`
	InitializeTemplate string `json:"initialize_template"`
}

Jump to

Keyboard shortcuts

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