entity

package
v1.59.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const SchemaID = "v2:environment:entity"

Variables

This section is empty.

Functions

func DataSourceService added in v1.56.0

func DataSourceService(credentials *settings.Credentials) settings.RService[*entity.Entity]

func Service

func Service(credentials *settings.Credentials) settings.RService[*entity.Entity]

Types

type EntitiesListResponse added in v1.56.0

type EntitiesListResponse struct {
	TotalCount int `json:"totalCount"`
	PageSize   int `json:"pageSize"`
	Entities   []struct {
		ID          string `json:"entityId"`
		Type        string `json:"type"`
		DisplayName string `json:"displayName"`
		Tags        []struct {
			Context              string  `json:"context"`
			Key                  string  `json:"key"`
			Value                *string `json:"value,omitempty"`
			StringRepresentation *string `json:"stringRepresentation,omitempty"`
		} `json:"tags,omitempty"`
	} `json:"entities"`
	NextPageKey string `json:"nextPageKey"`
}

type EntitiesRecord added in v1.56.0

type EntitiesRecord struct {
	Lock       sync.Mutex
	EntityType string
	Entities   map[string]*entity.Entity
}

type EntityCache added in v1.56.0

type EntityCache struct {
	Lock     sync.RWMutex
	Entities map[string]*EntitiesRecord
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL