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
|
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 |
examples
|
|
internal
|
|
pkg
|
|
api
Package api provides an way to interact with Elastic Cloud APIs, including ESS, ECE and ESSP.
|
Package api provides an way to interact with Elastic Cloud APIs, including ESS, ECE and ESSP. |
api/deploymentapi
Package deploymentapi contains curated functions which iteract with the deployments API, exposing an API which its usage is preferred over the direct client calls.
|
Package deploymentapi contains curated functions which iteract with the deployments API, exposing an API which its usage is preferred over the direct client calls. |
api/deploymentapi/depresourceapi
Package depresourceapi contains curated functions which iteract with the deployment resources API, exposing an API which its usage is preferred over the direct client calls.
|
Package depresourceapi contains curated functions which iteract with the deployment resources API, exposing an API which its usage is preferred over the direct client calls. |
api/deploymentapi/noteapi
Package noteapi contains curated functions which iteract with the deployment notes API, exposing an API which its usage is preferred over the direct client calls.
|
Package noteapi contains curated functions which iteract with the deployment notes API, exposing an API which its usage is preferred over the direct client calls. |
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. |
api/platformapi/snaprepoapi
Package snaprepoapi contains the a set of functions to interact with the platform repositories
|
Package snaprepoapi contains the a set of functions to interact with the platform repositories |
api/userapi
Package userapi contains the methods required to manage platform users.
|
Package userapi contains the methods required to manage platform users. |
api/userapi/authapi
Package userauthapi contains the self service logic required to manage a user's authentication settings, such as API keys.
|
Package userauthapi contains the self service logic required to manage a user's authentication settings, such as API keys. |
api/userapi/authapi/adminapi
Package userauthadminapi contains the logic required to manage a user's authentication settings, such as API keys.
|
Package userauthadminapi contains the logic required to manage a user's authentication settings, such as API keys. |
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. |
multierror
Package multierror can be leveraged as an opinionated to handle multiple errors providing appropriate wrapping for them.
|
Package multierror can be leveraged as an opinionated to handle multiple errors providing appropriate wrapping for them. |
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 deployment's pending plan.
|
Package plan provides an API to interact with a deployment's pending plan. |
plan/planutil
Package planutil takes the functionality from the plan package and presents a more high-level API.
|
Package planutil takes the functionality from the plan package and presents a more high-level API. |
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.