Documentation ¶
Index ¶
- func NewClient(cfg *rest.Config) (*rest.RESTClient, *runtime.Scheme, error)
- func WaitForInstanceProcessed(exampleClient *rest.RESTClient, name string) error
- type CRDClient
- func (f *CRDClient) Create(obj *crdexamplev1.Item) (*crdexamplev1.Item, error)
- func (f *CRDClient) Delete(name string, options *metav1.DeleteOptions) error
- func (f *CRDClient) Get(name string) (*crdexamplev1.Item, error)
- func (f *CRDClient) List(opts metav1.ListOptions) (*crdexamplev1.ItemList, error)
- func (f *CRDClient) NewListWatch() *cache.ListWatch
- func (f *CRDClient) Update(name string, obj *crdexamplev1.Item) (*crdexamplev1.Item, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WaitForInstanceProcessed ¶
func WaitForInstanceProcessed(exampleClient *rest.RESTClient, name string) error
Types ¶
type CRDClient ¶
type CRDClient struct {
// contains filtered or unexported fields
}
func NewCrdClient ¶
NewCrdClient returns a CRD client interface.
func (*CRDClient) Create ¶
func (f *CRDClient) Create(obj *crdexamplev1.Item) (*crdexamplev1.Item, error)
func (*CRDClient) Delete ¶
func (f *CRDClient) Delete(name string, options *metav1.DeleteOptions) error
func (*CRDClient) List ¶
func (f *CRDClient) List(opts metav1.ListOptions) (*crdexamplev1.ItemList, error)
func (*CRDClient) NewListWatch ¶
NewListWatch creates a new List watch for CRD.
func (*CRDClient) Update ¶
func (f *CRDClient) Update(name string, obj *crdexamplev1.Item) (*crdexamplev1.Item, error)
Click to show internal directories.
Click to hide internal directories.