Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EndpointConfig ¶
type EndpointConfig struct { Endpoints EndpointList Primary *Endpoint }
func NewEndpointConfig ¶
func NewEndpointConfig() *EndpointConfig
type EndpointList ¶
type EndpointList []Endpoint
func EndpointListFromSubset ¶
func EndpointListFromSubset(ep v1.EndpointSubset, portName string) (EndpointList, error)
func (EndpointList) Contains ¶
func (l EndpointList) Contains(b *Endpoint) bool
func (EndpointList) EqualsEndpoints ¶
func (l EndpointList) EqualsEndpoints(ep v1.EndpointSubset) bool
type EndpointProbe ¶
type EndpointWatcher ¶
type EndpointWatcher struct {
// contains filtered or unexported fields
}
func NewEndpointWatcher ¶
func NewEndpointWatcher(client kubernetes.Interface, namespace, serviceName, portName string, retryBackoff time.Duration) *EndpointWatcher
func (*EndpointWatcher) Run ¶
func (v *EndpointWatcher) Run() (chan *EndpointConfig, chan error)
type TemplateWatcher ¶
func MustNewTemplateWatcher ¶
func MustNewTemplateWatcher(filename string, polling bool) TemplateWatcher
func NewTemplateWatcher ¶
func NewTemplateWatcher(filename string, polling bool) (TemplateWatcher, error)
Click to show internal directories.
Click to hide internal directories.