Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAlreadyExists ¶
func NewAlreadyExistsErr ¶
func NewAlreadyExistsErr(err error) *alreadyExistsErr
Types ¶
type UpstreamEventHandler ¶
type UpstreamEventHandlerFuncs ¶
type UpstreamEventHandlerFuncs struct { AddFunc func(updatedList []*v1.Upstream, obj *v1.Upstream) UpdateFunc func(updatedList []*v1.Upstream, newObj *v1.Upstream) DeleteFunc func(updatedList []*v1.Upstream, obj *v1.Upstream) }
UpstreamEventHandlerFuncs is an adaptor to let you easily specify as many or as few of the notification functions as you want while still implementing UpstreamEventHandler.
func (UpstreamEventHandlerFuncs) OnAdd ¶
func (r UpstreamEventHandlerFuncs) OnAdd(updatedList []*v1.Upstream, obj *v1.Upstream)
OnAdd calls AddFunc if it's not nil.
type V1 ¶
type V1 interface { Register() error Upstreams() Upstreams VirtualHosts() VirtualHosts }
type VirtualHostEventHandler ¶
type VirtualHostEventHandler interface { OnAdd(updatedList []*v1.VirtualHost, obj *v1.VirtualHost) OnUpdate(updatedList []*v1.VirtualHost, newObj *v1.VirtualHost) OnDelete(updatedList []*v1.VirtualHost, obj *v1.VirtualHost) }
type VirtualHostEventHandlerFuncs ¶
type VirtualHostEventHandlerFuncs struct { AddFunc func(updatedList []*v1.VirtualHost, obj *v1.VirtualHost) UpdateFunc func(updatedList []*v1.VirtualHost, newObj *v1.VirtualHost) DeleteFunc func(updatedList []*v1.VirtualHost, obj *v1.VirtualHost) }
VirtualHostEventHandlerFuncs is an adaptor to let you easily specify as many or as few of the notification functions as you want while still implementing VirtualHostEventHandler.
func (VirtualHostEventHandlerFuncs) OnAdd ¶
func (r VirtualHostEventHandlerFuncs) OnAdd(updatedList []*v1.VirtualHost, obj *v1.VirtualHost)
OnAdd calls AddFunc if it's not nil.
func (VirtualHostEventHandlerFuncs) OnDelete ¶
func (r VirtualHostEventHandlerFuncs) OnDelete(updatedList []*v1.VirtualHost, obj *v1.VirtualHost)
OnDelete calls DeleteFunc if it's not nil.
func (VirtualHostEventHandlerFuncs) OnUpdate ¶
func (r VirtualHostEventHandlerFuncs) OnUpdate(updatedList []*v1.VirtualHost, newObj *v1.VirtualHost)
OnUpdate calls UpdateFunc if it's not nil.
type VirtualHosts ¶
type VirtualHosts interface { Create(*v1.VirtualHost) (*v1.VirtualHost, error) Update(*v1.VirtualHost) (*v1.VirtualHost, error) Delete(name string) error Get(name string) (*v1.VirtualHost, error) List() ([]*v1.VirtualHost, error) Watch(...VirtualHostEventHandler) (*Watcher, error) }
Directories ¶
Path | Synopsis |
---|---|
client/clientset/versioned
This package has the automatically generated clientset.
|
This package has the automatically generated clientset. |
client/clientset/versioned/fake
This package has the automatically generated fake clientset.
|
This package has the automatically generated fake clientset. |
client/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
|
This package contains the scheme of the automatically generated clientset. |
client/clientset/versioned/typed/solo.io/v1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
client/clientset/versioned/typed/solo.io/v1/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
solo.io/v1
Package v1 is the v1 version of the API.
|
Package v1 is the v1 version of the API. |
internal
|
|
Click to show internal directories.
Click to hide internal directories.