Documentation ¶
Index ¶
- func Register(name string, source Source)
- type Source
- func Lookup(name string) Source
- func LookupMultiple(names ...string) (sources []Source)
- func NewIngressSource(client kubernetes.Interface, namespace string) Source
- func NewMockSource(endpoints []*endpoint.Endpoint) Source
- func NewMultiSource(children ...Source) Source
- func NewServiceSource(client kubernetes.Interface, namespace string) Source
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Source ¶
Source defines the interface Endpoint sources should implement.
func LookupMultiple ¶
LookupMultiple returns multiple Sources given multiple names.
func NewIngressSource ¶
func NewIngressSource(client kubernetes.Interface, namespace string) Source
NewIngressSource creates a new ingressSource with the given client and namespace scope.
func NewMockSource ¶
NewMockSource creates a new mockSource returning the given endpoints.
func NewMultiSource ¶
NewMultiSource creates a new multiSource.
func NewServiceSource ¶
func NewServiceSource(client kubernetes.Interface, namespace string) Source
NewServiceSource creates a new serviceSource with the given client and namespace scope.
Click to show internal directories.
Click to hide internal directories.