package
1.24.0
Repository: https://github.com/elastic/cloud-sdk-go.git
Documentation: pkg.go.dev

# Functions

Delete removes a specified snapshot repository.
Get obtains the specified snapshot repository configuration.
List obtains all the configured platform snapshot repositories.
ParseGenericConfig reads the contents of an io.Reader and tries to parse its contents as YAML or JSON, returns an error if parsing fails in both formats.
ParseS3Config reads the contents of an io.Reader and tries to parse its contents as YAML or JSON, returns an error if parsing fails in both formats.
Set adds or updates a snapshot repository from a config.

# Structs

DeleteParams is used for the Delete call.
GetParams is used for the Get call.
ListParams is embedded in all of the specific action functions.
S3Config is used to configure an S3 snapshot repository Full list of settings in the Elasticsearch official documentation: https://www.elastic.co/guide/en/elasticsearch/reference/current/repository-s3.html#repository-s3-repository https://www.elastic.co/guide/en/elasticsearch/reference/current/repository-s3.html#repository-s3-client nolint.
S3TypeConfig is used by the text formatter to wrwap the S3 config with the type field.
SetParams is used for the Set Call, which will create or update a snapshot repository.

# Type aliases

GenericConfig wraps a map[string]interface{} type so it implements the common.Validator interface.