Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Discovery ¶
type Discovery struct {
ServiceList service.ServiceList `json:"serviceList"`
IngressList ingress.IngressList `json:"ingressList"`
// List of non-critical errors, that occurred during resource retrieval.
Errors []error `json:"errors"`
}
Discovery structure contains all resource lists grouped into the servicesAndDiscovery category.
func GetDiscovery ¶
func GetDiscovery(client kubernetes.Interface, nsQuery *common.NamespaceQuery, dsQuery *dataselect.DataSelectQuery) (*Discovery, error)
GetDiscovery returns a list of all servicesAndDiscovery resources in the cluster.
func GetDiscoveryFromChannels ¶
func GetDiscoveryFromChannels(channels *common.ResourceChannels, dsQuery *dataselect.DataSelectQuery) (*Discovery, error)
GetDiscoveryFromChannels returns a list of all servicesAndDiscovery in the cluster, from the channel sources.
Source Files
¶
- discovery.go
Click to show internal directories.
Click to hide internal directories.