Documentation
¶
Index ¶
- type AlertAPI
- type AlertingAPI
- type ClusterAPI
- type ISMApi
- type IndicesAPI
- func (a *IndicesAPI) AddDocument(ctx context.Context, index, documentID string, body io.Reader) (*Response, error)
- func (a *IndicesAPI) AsyncDeleteByQuery(ctx context.Context, indices []string, body io.Reader) (*Response, error)
- func (a *IndicesAPI) CatIndices(ctx context.Context, indices []string) (*Response, error)
- func (a *IndicesAPI) CreateIndex(ctx context.Context, name string, body io.Reader) (*Response, error)
- func (a *IndicesAPI) DeleteByID(ctx context.Context, index, id string) (*Response, error)
- func (a *IndicesAPI) DeleteIndexTemplate(ctx context.Context, name string) (*Response, error)
- func (a *IndicesAPI) DeleteIndices(ctx context.Context, names []string) (*Response, error)
- func (a *IndicesAPI) GetDocument(ctx context.Context, index, documentID string) (*Response, error)
- func (a *IndicesAPI) GetIndexTemplates(ctx context.Context, names []string) (*Response, error)
- func (a *IndicesAPI) PutIndexTemplate(ctx context.Context, name string, body io.Reader) (*Response, error)
- func (a *IndicesAPI) SynchronousReindex(ctx context.Context, body io.Reader) (*Response, error)
- func (a *IndicesAPI) UpdateAlias(ctx context.Context, body io.Reader) (*Response, error)
- func (a *IndicesAPI) UpdateDocument(ctx context.Context, index, documentID string, body io.Reader) (*Response, error)
- func (a *IndicesAPI) UpdateIndicesSettings(ctx context.Context, indices []string, body io.Reader) (*Response, error)
- type IngestAPI
- func (a *IngestAPI) DeleteIngestPipeline(ctx context.Context, pipelineID string) (*Response, error)
- func (a *IngestAPI) GetIngestPipeline(ctx context.Context, pipelineID string) (*Response, error)
- func (a *IngestAPI) PutIngestTemplate(ctx context.Context, pipelineID string, body io.Reader) (*Response, error)
- type MonitorAPI
- func (m *MonitorAPI) CreateMonitor(ctx context.Context, body io.Reader) (*Response, error)
- func (m *MonitorAPI) DeleteMonitor(ctx context.Context, monitorId string) (*Response, error)
- func (m *MonitorAPI) GetMonitor(ctx context.Context, monitorId string) (*Response, error)
- func (m *MonitorAPI) UpdateMonitor(ctx context.Context, monitorId string, body io.Reader) (*Response, error)
- type NotificationAPI
- func (d *NotificationAPI) CreateNotification(ctx context.Context, body io.Reader) (*Response, error)
- func (d *NotificationAPI) DeleteNotification(ctx context.Context, channelId string) (*Response, error)
- func (d *NotificationAPI) GetNotification(ctx context.Context, channelId string) (*Response, error)
- func (d *NotificationAPI) ListNotifications(ctx context.Context) (*Response, error)
- func (d *NotificationAPI) UpdateNotification(ctx context.Context, channelId string, body io.Reader) (*Response, error)
- type Response
- type SecurityAPI
- func (c *SecurityAPI) CreateRole(ctx context.Context, name string, body io.Reader) (*Response, error)
- func (c *SecurityAPI) CreateRolesMapping(ctx context.Context, name string, body io.Reader) (*Response, error)
- func (c *SecurityAPI) CreateUser(ctx context.Context, name string, body io.Reader) (*Response, error)
- func (c *SecurityAPI) DeleteRole(ctx context.Context, name string) (*Response, error)
- func (c *SecurityAPI) DeleteRolesMapping(ctx context.Context, name string) (*Response, error)
- func (c *SecurityAPI) DeleteUser(ctx context.Context, name string) (*Response, error)
- func (c *SecurityAPI) GetRole(ctx context.Context, name string) (*Response, error)
- func (c *SecurityAPI) GetRolesMapping(ctx context.Context, name string) (*Response, error)
- func (c *SecurityAPI) GetUser(ctx context.Context, name string) (*Response, error)
- type TasksAPI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlertAPI ¶ added in v0.11.0
type AlertAPI struct {
*opensearchtransport.Client
}
func (*AlertAPI) AcknowledgeAlert ¶ added in v0.11.0
type AlertingAPI ¶ added in v0.11.0
type AlertingAPI struct { MonitorAPI NotificationAPI AlertAPI }
type ClusterAPI ¶
type ClusterAPI struct {
*opensearchtransport.Client
}
func (*ClusterAPI) GetClusterHealth ¶
func (a *ClusterAPI) GetClusterHealth(ctx context.Context) (*Response, error)
type ISMApi ¶
type ISMApi struct {
*opensearchtransport.Client
}
type IndicesAPI ¶
type IndicesAPI struct {
*opensearchtransport.Client
}
func (*IndicesAPI) AddDocument ¶ added in v0.9.1
func (*IndicesAPI) AsyncDeleteByQuery ¶
func (*IndicesAPI) CatIndices ¶
func (*IndicesAPI) CreateIndex ¶
func (*IndicesAPI) DeleteByID ¶ added in v0.10.0
func (*IndicesAPI) DeleteIndexTemplate ¶
func (*IndicesAPI) DeleteIndices ¶
func (*IndicesAPI) GetDocument ¶
func (*IndicesAPI) GetIndexTemplates ¶
func (*IndicesAPI) PutIndexTemplate ¶
func (*IndicesAPI) SynchronousReindex ¶
func (*IndicesAPI) UpdateAlias ¶
func (*IndicesAPI) UpdateDocument ¶
func (*IndicesAPI) UpdateIndicesSettings ¶
type IngestAPI ¶
type IngestAPI struct {
*opensearchtransport.Client
}
func (*IngestAPI) DeleteIngestPipeline ¶
func (*IngestAPI) GetIngestPipeline ¶
type MonitorAPI ¶ added in v0.11.0
type MonitorAPI struct {
*opensearchtransport.Client
}
func (*MonitorAPI) CreateMonitor ¶ added in v0.11.0
func (*MonitorAPI) DeleteMonitor ¶ added in v0.11.0
func (*MonitorAPI) GetMonitor ¶ added in v0.11.0
func (*MonitorAPI) UpdateMonitor ¶ added in v0.11.0
type NotificationAPI ¶ added in v0.11.0
type NotificationAPI struct {
*opensearchtransport.Client
}
func (*NotificationAPI) CreateNotification ¶ added in v0.11.0
func (*NotificationAPI) DeleteNotification ¶ added in v0.11.0
func (*NotificationAPI) GetNotification ¶ added in v0.11.0
func (*NotificationAPI) ListNotifications ¶ added in v0.11.0
func (d *NotificationAPI) ListNotifications(ctx context.Context) (*Response, error)
func (*NotificationAPI) UpdateNotification ¶ added in v0.11.0
type SecurityAPI ¶
type SecurityAPI struct {
*opensearchtransport.Client
}
func (*SecurityAPI) CreateRole ¶
func (*SecurityAPI) CreateRolesMapping ¶
func (*SecurityAPI) CreateUser ¶
func (*SecurityAPI) DeleteRole ¶
func (*SecurityAPI) DeleteRolesMapping ¶
func (*SecurityAPI) DeleteUser ¶
func (*SecurityAPI) GetRolesMapping ¶
Click to show internal directories.
Click to hide internal directories.