Documentation ¶
Overview ¶
Package cloudid contains functions for parsing the cloud.id and cloud.auth settings and modifying the configuration to take them into account.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OverwriteSettings ¶
OverwriteSettings modifies the received config object by overwriting the output.elasticsearch.hosts, output.elasticsearch.username, output.elasticsearch.password, setup.kibana.host settings based on values derived from the cloud.id and cloud.auth settings.
Types ¶
type CloudID ¶
type CloudID struct {
// contains filtered or unexported fields
}
CloudID encapsulates the encoded (i.e. raw) and decoded parts of Elastic Cloud ID.
func NewCloudID ¶
NewCloudID constructs a new CloudID object by decoding the given cloud ID and cloud auth.
func (*CloudID) ElasticsearchURL ¶
ElasticsearchURL returns the Elasticsearch URL decoded from the cloud ID.
Click to show internal directories.
Click to hide internal directories.