Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Apis ¶
type Apis struct { Bootstrap BootstrapApi `json:"bootstrap"` DataplaneToken DataplaneTokenApi `json:"dataplaneToken"` // DEPRECATED: remove in next major version of Kuma Admin AdminApi `json:"admin"` MonitoringAssignment MonitoringAssignmentApi `json:"monitoringAssignment"` }
type BootstrapApi ¶
type BootstrapApi struct {
Url string `json:"url"`
}
type Catalog ¶
type Catalog struct {
Apis Apis `json:"apis"`
}
func FromConfig ¶
func FromConfig(cfg catalog.CatalogConfig) Catalog
type DataplaneTokenApi ¶
type DataplaneTokenApi struct { LocalUrl string `json:"localUrl"` PublicUrl string `json:"publicUrl"` }
func (*DataplaneTokenApi) Enabled ¶
func (d *DataplaneTokenApi) Enabled() bool
type MonitoringAssignmentApi ¶
type MonitoringAssignmentApi struct {
Url string `json:"url"`
}
Click to show internal directories.
Click to hide internal directories.