Documentation
¶
Index ¶
- func ParseNamespaceID(namespaceID string) (string, string, string, error)
- func SetSatelliteForApplication(application applicationv1.ApplicationSpec, satellite string) applicationv1.ApplicationSpec
- func SetSatelliteForDashboard(dashboard dashboardv1.DashboardSpec, satellite string) dashboardv1.DashboardSpec
- func SetSatelliteForTeam(team teamv1.TeamSpec, satellite string) teamv1.TeamSpec
- func SetSatelliteForUser(user userv1.UserSpec, satellite string) userv1.UserSpec
- type Cluster
- type Namespace
- type Resource
- type Tag
- type Topology
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetSatelliteForApplication ¶
func SetSatelliteForApplication(application applicationv1.ApplicationSpec, satellite string) applicationv1.ApplicationSpec
func SetSatelliteForDashboard ¶
func SetSatelliteForDashboard(dashboard dashboardv1.DashboardSpec, satellite string) dashboardv1.DashboardSpec
func SetSatelliteForTeam ¶
Types ¶
type Resource ¶
type Resource struct {
ID string `json:"id"`
IsCRD bool `json:"isCRD"`
Path string `json:"path"`
Resource string `json:"resource"`
Title string `json:"title"`
Description string `json:"description"`
Scope string `json:"scope"`
Colums []cluster.CRDColumn `json:"columns"`
}
func CRDToResource ¶
func GetResourceByID ¶
func GetResources ¶
type Topology ¶
type Topology struct {
ID string `json:"id" bson:"_id"`
SourceID string `json:"sourceID"`
SourceSatellite string `json:"sourceSatellite"`
SourceCluster string `json:"sourceCluster"`
SourceNamespace string `json:"SourceNamespace"`
SourceName string `json:"SourceName"`
TargetID string `json:"targetID"`
TargetSatellite string `json:"targetSatellite"`
TargetCluster string `json:"targetCluster"`
TargetNamespace string `json:"targetNamespace"`
TargetName string `json:"targetName"`
TopologyExternal bool `json:"topologyExternal"`
TopologyDescription string `json:"topologyDescription"`
UpdatedAt int64 `json:"updatedAt"`
}
Topology is the structure of the saved topology data in our store.
Click to show internal directories.
Click to hide internal directories.