Documentation ¶
Index ¶
- func IsAlreadyExists(err error) bool
- func NewAlreadyExistsErr(err error) *alreadyExistsErr
- type AttributeEventHandler
- type AttributeEventHandlerFuncs
- type Attributes
- type Interface
- type RoleEventHandler
- type RoleEventHandlerFuncs
- type Roles
- type UpstreamEventHandler
- type UpstreamEventHandlerFuncs
- type Upstreams
- type V1
- type VirtualServiceEventHandler
- type VirtualServiceEventHandlerFuncs
- func (r VirtualServiceEventHandlerFuncs) OnAdd(updatedList []*v1.VirtualService, obj *v1.VirtualService)
- func (r VirtualServiceEventHandlerFuncs) OnDelete(updatedList []*v1.VirtualService, obj *v1.VirtualService)
- func (r VirtualServiceEventHandlerFuncs) OnUpdate(updatedList []*v1.VirtualService, newObj *v1.VirtualService)
- type VirtualServices
- type Watcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAlreadyExists ¶
func NewAlreadyExistsErr ¶
func NewAlreadyExistsErr(err error) *alreadyExistsErr
Types ¶
type AttributeEventHandler ¶
type AttributeEventHandlerFuncs ¶
type AttributeEventHandlerFuncs struct { AddFunc func(updatedList []*v1.Attribute, obj *v1.Attribute) UpdateFunc func(updatedList []*v1.Attribute, newObj *v1.Attribute) DeleteFunc func(updatedList []*v1.Attribute, obj *v1.Attribute) }
AttributeEventHandlerFuncs is an adaptor to let you easily specify as many or as few of the notification functions as you want while still implementing AttributeEventHandler.
func (AttributeEventHandlerFuncs) OnAdd ¶
func (r AttributeEventHandlerFuncs) OnAdd(updatedList []*v1.Attribute, obj *v1.Attribute)
OnAdd calls AddFunc if it's not nil.
type Attributes ¶
type RoleEventHandler ¶
type RoleEventHandlerFuncs ¶
type RoleEventHandlerFuncs struct { AddFunc func(updatedList []*v1.Role, obj *v1.Role) UpdateFunc func(updatedList []*v1.Role, newObj *v1.Role) DeleteFunc func(updatedList []*v1.Role, obj *v1.Role) }
RoleEventHandlerFuncs is an adaptor to let you easily specify as many or as few of the notification functions as you want while still implementing RoleEventHandler.
func (RoleEventHandlerFuncs) OnAdd ¶
func (r RoleEventHandlerFuncs) OnAdd(updatedList []*v1.Role, obj *v1.Role)
OnAdd calls AddFunc if it's not nil.
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 VirtualServices() VirtualServices Roles() Roles Attributes() Attributes }
type VirtualServiceEventHandler ¶
type VirtualServiceEventHandler interface { OnAdd(updatedList []*v1.VirtualService, obj *v1.VirtualService) OnUpdate(updatedList []*v1.VirtualService, newObj *v1.VirtualService) OnDelete(updatedList []*v1.VirtualService, obj *v1.VirtualService) }
type VirtualServiceEventHandlerFuncs ¶
type VirtualServiceEventHandlerFuncs struct { AddFunc func(updatedList []*v1.VirtualService, obj *v1.VirtualService) UpdateFunc func(updatedList []*v1.VirtualService, newObj *v1.VirtualService) DeleteFunc func(updatedList []*v1.VirtualService, obj *v1.VirtualService) }
VirtualServiceEventHandlerFuncs is an adaptor to let you easily specify as many or as few of the notification functions as you want while still implementing VirtualServiceEventHandler.
func (VirtualServiceEventHandlerFuncs) OnAdd ¶
func (r VirtualServiceEventHandlerFuncs) OnAdd(updatedList []*v1.VirtualService, obj *v1.VirtualService)
OnAdd calls AddFunc if it's not nil.
func (VirtualServiceEventHandlerFuncs) OnDelete ¶
func (r VirtualServiceEventHandlerFuncs) OnDelete(updatedList []*v1.VirtualService, obj *v1.VirtualService)
OnDelete calls DeleteFunc if it's not nil.
func (VirtualServiceEventHandlerFuncs) OnUpdate ¶
func (r VirtualServiceEventHandlerFuncs) OnUpdate(updatedList []*v1.VirtualService, newObj *v1.VirtualService)
OnUpdate calls UpdateFunc if it's not nil.
type VirtualServices ¶
type VirtualServices interface { Create(*v1.VirtualService) (*v1.VirtualService, error) Update(*v1.VirtualService) (*v1.VirtualService, error) Delete(name string) error Get(name string) (*v1.VirtualService, error) List() ([]*v1.VirtualService, error) Watch(...VirtualServiceEventHandler) (*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. |