discovery

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

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.

Jump to

Keyboard shortcuts

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