Documentation
¶
Index ¶
Constants ¶
View Source
const ( // PropertyOrganization identifies the organization property. PropertyOrganization = "organization" // PropertyMetricsPath identifies the metrics path property. PropertyMetricsPath = "metrics_path" // PropertyAPIVersion identifies the API version property. PropertyAPIVersion = "api_version" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MeshData ¶
type MeshData struct {
Sites []*Site
ServiceTypes []*ServiceType
}
MeshData holds the entire mesh data managed by Mentix.
func (*MeshData) Clear ¶
func (meshData *MeshData) Clear()
Clear removes all saved data, leaving an empty mesh.
func (*MeshData) Compare ¶
Compare checks whether the stored data equals the data of another MeshData object.
type Service ¶
type Service struct {
*ServiceEndpoint
Host string
AdditionalEndpoints []*ServiceEndpoint
}
Service represents a service managed by Mentix.
type ServiceEndpoint ¶
type ServiceEndpoint struct {
Type *ServiceType
Name string
URL string
IsMonitored bool
Properties map[string]string
}
ServiceEndpoint represents a service endpoint managed by Mentix.
type ServiceType ¶
ServiceType represents a service type managed by Mentix.
type Site ¶
type Site struct {
Name string
FullName string
Organization string
Domain string
Homepage string
Email string
Description string
Country string
CountryCode string
Location string
Latitude float32
Longitude float32
Services []*Service
Properties map[string]string
}
Site represents a single site managed by Mentix.
Click to show internal directories.
Click to hide internal directories.