Discover Packages
github.com/elastic/cloud-sdk-go
pkg
api
deploymentapi
noteapi
package
Version:
v1.13.0
Opens a new window with list of versions in this module.
Published: Aug 15, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
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.
Add posts a new message to the specified deployment
Get obtains a note from a deployment and note ID
List lists all of the notes for the deployment
Update updates a note from its deployment and note ID
AddParams is consumed by Add.
Validate ensures the parameters are valid
GetParams is used on List
Validate confirms the parmeters are valid
type ListParams struct {
Params
}
ListParams is used by List
Params is used on Get and Update Notes
Validate ensures that the parameters are usable by the consuming function.
UpdateParams is used on Update
Validate confirms the parmeters are valid
Source Files
¶
Click to show internal directories.
Click to hide internal directories.