Documentation ¶
Overview ¶
Package util encloses a series of packages within its structure, util used in the sense that these packages aren't specific or directly tied to the cloud sdk.
Index ¶
Constants ¶
View Source
const ( // Apm kind Apm = "apm" // Appsearch kind Appsearch = "appsearch" // Elasticsearch kind Elasticsearch = "elasticsearch" // EnterpriseSearch kind EnterpriseSearch = "enterprise_search" // Kibana kind Kibana = "kibana" // IntegrationsServer kind IntegrationsServer = "integrations_server" )
View Source
const ( // DefaultRetries retries for the plan.TrackParams which accounts // for the Pending plan not being present in the backend, it will retry // the request the times specified here. 2 is the default anectdotically // because it provides a maximum sleeping time of (PollFrequency * 2)^2 // or math.Exp2(2). Increasing this value will cause the PlanTracker to // sleep for more time than it's required, thus making ecctl less efficient. DefaultRetries = 2 // DefaultPollFrequency is frequency on which the API is polled for updates // on pending plans. This value is also used as the cooldown time when used // with MaxRetries > 0. DefaultPollFrequency = time.Second * 10 )
Variables ¶
View Source
var AllKinds = []string{Elasticsearch, Kibana, Apm, Appsearch, EnterpriseSearch, IntegrationsServer}
Functions ¶
func CompareStructs ¶
CompareStructs two structs and return the differences
Types ¶
Directories ¶
Path | Synopsis |
---|---|
Package maps provides a set of functions around maps.
|
Package maps provides a set of functions around maps. |
Package slice provides a set of functions around slices.
|
Package slice provides a set of functions around slices. |
Click to show internal directories.
Click to hide internal directories.