sdk

package
v1.11.1 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2021 License: Apache-2.0 Imports: 13 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*services.BaseClient
	// ActionService talks to Splunk Cloud action service
	ActionService *action.Service
	// CatalogService talks to the Splunk Cloud catalog service
	CatalogService *catalog.Service
	// CollectService talks to the Splunk Cloud collect service
	CollectService *collect.Service
	// IdentityService talks to Splunk Cloud IAC service
	IdentityService *identity.Service
	// IngestService talks to the Splunk Cloud ingest service
	IngestService *ingest.Service
	// KVStoreService talks to Splunk Cloud kvstore service
	KVStoreService *kvstore.Service
	// SearchService talks to the Splunk Cloud search service
	SearchService *search.Service
	// StreamsService talks to the Splunk Cloud streams service
	StreamsService *streams.Service
	// ForwardersService talks to the Splunk Cloud forwarders service
	ForwardersService *forwarders.Service
	// appRegistryService talks to the Splunk Cloud app registry service
	AppRegistryService *appregistry.Service
	// MachineLearningService talks to the Splunk Cloud machine learning service
	MachineLearningService *ml.Service
	// ProvisionerService talks to the Splunk Cloud provisioner service
	ProvisionerService *provisioner.Service
}

Client to communicate with Splunk Cloud service endpoints

func NewClient

func NewClient(config *services.Config) (*Client, error)

NewClient returns a Splunk Cloud client for communicating with any service

func (*Client) NewBatchEventsSender

func (c *Client) NewBatchEventsSender(batchSize int, interval int64) (*ingest.BatchEventsSender, error)

NewBatchEventsSender is Deprecated: please use client.IngestService.NewBatchEventsSender

func (*Client) NewBatchEventsSenderWithMaxAllowedError

func (c *Client) NewBatchEventsSenderWithMaxAllowedError(batchSize int, interval int64, maxErrorsAllowed int) (*ingest.BatchEventsSender, error)

NewBatchEventsSenderWithMaxAllowedError is Deprecated: please use client.IngestService.NewBatchEventsSenderWithMaxAllowedError

Jump to

Keyboard shortcuts

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