Documentation ¶
Index ¶
- func Register(name string, source Source)
- type Source
- func Lookup(name string) Source
- func LookupMultiple(names []string) ([]Source, error)
- func NewDedupSource(source Source) Source
- func NewFakeSource(dnsName string) (Source, error)
- func NewIngressSource(client kubernetes.Interface, namespace string, fqdntemplate string) (Source, error)
- 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 NewDedupSource ¶ added in v0.3.0
NewDedupSource creates a new dedupSource wrapping the provided Source.
func NewFakeSource ¶ added in v0.4.0
NewFakeSource creates a new fakeSource with the given client and namespace scope.
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 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.