Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var StandardApiPropertyNameOfGetAllResponse = "values"
Functions ¶
Types ¶
type API ¶
type API struct {
ID string
URLPath string
PropertyNameOfGetAllResponse string
// SingleConfiguration are those APIs that configure an environment global setting.
// Such settings require additional handling and can't be deleted.
SingleConfiguration bool
// NonUniqueName name APIs are those APIs that don't work with an environment wide unique ID.
// For such APIs, the name attribute can't be used as a ID (Monaco default behavior), hence
// such APIs require additional handling.
NonUniqueName bool
DeprecatedBy string
// SkipDownload indicates whether an API should be downloaded or not.
//
// Some APIs are not re-uploadable by design, either as they require hidden credentials,
// or if they require a special format, e.g. a zip file.
//
// Those configs include all configs handling credentials, as well as the extension-API.
SkipDownload bool
}
API structure present definition of config endpoints
func (API) IsStandardAPI ¶
type APIs ¶
APIs is a collection of API
func NewAPIs ¶
func NewAPIs() APIs
NewAPIs returns collection of predefined API to work with Dynatrace
func NewV1APIs ¶
func NewV1APIs() APIs
NewV1APIs returns collection of predefined API to work with Dynatrace Deprecated: Please use NewAPIs. This one is legacy and is used only to convert old to new stype of
func (APIs) GetApiNameLookup ¶
type Filter ¶
Filter return true iff specific api needs to be filtered/ removed from list
func RetainByName ¶
RetainByName creates a Filter that leaves the API in the map if API.ID is part of the provided list. If the provided list is empty, a no-op filter is returned.
Click to show internal directories.
Click to hide internal directories.