Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPPoolClientset ¶
type IPPoolClientset struct { fakeversioned.Clientset // contains filtered or unexported fields }
Simple client is not sufficient for pool allocator testing, since pool allocator relies on both crd client and pool informer to work in sync. This client extension mimics the real client in conflict handling functionality - pool update will return conflict error unless ResourceVersion for the updated pool reflect the version stored in the client.
func NewIPPoolClient ¶
func NewIPPoolClient() *IPPoolClientset
func (*IPPoolClientset) InitPool ¶
func (c *IPPoolClientset) InitPool(pool *crdv1a2.IPPool)
Click to show internal directories.
Click to hide internal directories.