Documentation ¶
Index ¶
- Constants
- func GETEntities(entityType string, client rest.Client, c chan Entity) error
- func GETEntitiesWithTags(entityType string, tags []Tag, client rest.Client, c chan Entity) error
- func GetCustomTags(entity Entity, client rest.Client, results chan EntityTags)
- func GetEntities(entityType EntityType, client rest.Client, results chan EntityTags)
- func List(client rest.Client) (api.Stubs, error)
- type Entity
- type EntityTag
- type EntityTags
- type EntityType
- type EntityTypeProperty
- type GETEntitiesResponse
- type GetCustomTagsResponse
- type GetEntityTypesResponse
- type Tag
Constants ¶
View Source
const TIME_FRAME = "now-3y"
Variables ¶
This section is empty.
Functions ¶
func GETEntitiesWithTags ¶
func GetCustomTags ¶
func GetCustomTags(entity Entity, client rest.Client, results chan EntityTags)
func GetEntities ¶
func GetEntities(entityType EntityType, client rest.Client, results chan EntityTags)
Types ¶
type EntityTags ¶
type EntityType ¶
type EntityType struct { DimensionKey string `json:"dimensionKey,omitempty"` Type string `json:"type,omitempty"` FromRelationships any `json:"fromRelationships,omitempty"` ToRelationships any `json:"toRelationships,omitempty"` EntityLimitExceeded bool `json:"entityLimitExceeded,omitempty"` ManagementZones string `json:"managementZones,omitempty"` Tags string `json:"tags,omitempty"` DisplayName string `json:"displayName,omitempty"` Properties []EntityTypeProperty `json:"properties,omitempty"` }
func GETEntityTypes ¶
func GETEntityTypes(client rest.Client) ([]EntityType, error)
func (EntityType) GetCustomTags ¶
func (et EntityType) GetCustomTags(client rest.Client) ([]Tag, error)
type EntityTypeProperty ¶
type GETEntitiesResponse ¶
type GetCustomTagsResponse ¶
type GetEntityTypesResponse ¶
type GetEntityTypesResponse struct { TotalCount int `json:"totalCount"` NextPageKey string `json:"nextPageKey"` Types []EntityType `json:"types"` }
Click to show internal directories.
Click to hide internal directories.