Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
generator
contains the logic for the generator command the aim of this is to process the swagger definition that's obtained from Elastic Cloud and make a few changes in order for the SDK to be fully usable by Golang It will go over the swagger specification and set all of the boolean types to nullable using the vendor extension "x-nullable", this will cause any bool type to be converted to *bool in the Cloud SDK.
|
contains the logic for the generator command the aim of this is to process the swagger definition that's obtained from Elastic Cloud and make a few changes in order for the SDK to be fully usable by Golang It will go over the swagger specification and set all of the boolean types to nullable using the vendor extension "x-nullable", this will cause any bool type to be converted to *bool in the Cloud SDK. |
examples
|
|
pkg
|
|
api/mock
Package mock provides functions and types to help test and stub external calls that the API structures would otherwise perform causing external calls through the network.
|
Package mock provides functions and types to help test and stub external calls that the API structures would otherwise perform causing external calls through the network. |
auth
Package auth contains all the possible ways to authenticate against the Elastic Cloud API.
|
Package auth contains all the possible ways to authenticate against the Elastic Cloud API. |
input
Package input provides a series of functions and structures to read and process i/o from readers.
|
Package input provides a series of functions and structures to read and process i/o from readers. |
output
Package output provides a series of functions and structures to use to print text to outut devices.
|
Package output provides a series of functions and structures to use to print text to outut devices. |
plan
Package plan provides an API to interact with a cluster's pending plan.
|
Package plan provides an API to interact with a cluster's pending plan. |
sync
Package sync contains a series of functions, types and subpackages which can be used for concurrent purposes.
|
Package sync contains a series of functions, types and subpackages which can be used for concurrent purposes. |
sync/pool
Package pool provies an API to queue and concurrently execute a series of tasks or work.
|
Package pool provies an API to queue and concurrently execute a series of tasks or work. |
util
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.
|
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. |
util/maps
Package maps provides a set of functions around maps.
|
Package maps provides a set of functions around maps. |
util/slice
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.