externalname

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2023 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Watcher

type Watcher struct {
	// contains filtered or unexported fields
}

func New

func New(clientset *kubernetes.Clientset, listener chan<- watch.Event, resyncInterval time.Duration) *Watcher

func (*Watcher) Create

func (i *Watcher) Create(item *corev1.Service) error

func (*Watcher) Delete

func (i *Watcher) Delete(item *corev1.Service) error

func (*Watcher) FilterRelevant

func (i *Watcher) FilterRelevant(items []*corev1.Service) []*corev1.Service

func (*Watcher) IsTypeClusterIP

func (i *Watcher) IsTypeClusterIP(item *corev1.Service) bool

func (*Watcher) IsTypeExternalName

func (i *Watcher) IsTypeExternalName(item *corev1.Service) bool

func (*Watcher) List

func (i *Watcher) List() ([]*corev1.Service, error)

func (*Watcher) Relevant

func (i *Watcher) Relevant(item *corev1.Service) bool

func (*Watcher) Update

func (i *Watcher) Update(item *corev1.Service) error

func (*Watcher) Watch

func (i *Watcher) Watch()

Jump to

Keyboard shortcuts

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