Documentation ¶
Index ¶
- func Register(name string, source Source)
- type Source
- func Lookup(name string) Source
- func LookupMultiple(names []string) ([]Source, error)
- func NewIngressSource(client kubernetes.Interface, namespace string, fqdntemplate string) (Source, error)
- func NewMockSource(endpoints []*endpoint.Endpoint) Source
- func NewMultiSource(children []Source) Source
- func NewServiceSource(client kubernetes.Interface, namespace, fqdntemplate string, ...) (Source, error)
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, fqdntemplate string) (Source, error)
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, fqdntemplate string, compatibility string) (Source, error)
NewServiceSource creates a new serviceSource with the given client and namespace scope.
Click to show internal directories.
Click to hide internal directories.