package fake
import "k8s.io/client-go/1.5/kubernetes/typed/apps/v1alpha1/fake"
Package fake has the automatically generated clients.
Index ¶
- type FakeApps
- func (c *FakeApps) GetRESTClient() *rest.RESTClient
- func (c *FakeApps) PetSets(namespace string) v1alpha1.PetSetInterface
- type FakePetSets
- func (c *FakePetSets) Create(petSet *v1alpha1.PetSet) (result *v1alpha1.PetSet, err error)
- func (c *FakePetSets) Delete(name string, options *api.DeleteOptions) error
- func (c *FakePetSets) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
- func (c *FakePetSets) Get(name string) (result *v1alpha1.PetSet, err error)
- func (c *FakePetSets) List(opts api.ListOptions) (result *v1alpha1.PetSetList, err error)
- func (c *FakePetSets) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1alpha1.PetSet, err error)
- func (c *FakePetSets) Update(petSet *v1alpha1.PetSet) (result *v1alpha1.PetSet, err error)
- func (c *FakePetSets) UpdateStatus(petSet *v1alpha1.PetSet) (*v1alpha1.PetSet, error)
- func (c *FakePetSets) Watch(opts api.ListOptions) (watch.Interface, error)
Types ¶
type FakeApps ¶
func (*FakeApps) GetRESTClient ¶
func (c *FakeApps) GetRESTClient() *rest.RESTClient
GetRESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeApps) PetSets ¶
func (c *FakeApps) PetSets(namespace string) v1alpha1.PetSetInterface
type FakePetSets ¶
type FakePetSets struct { Fake *FakeApps // contains filtered or unexported fields }
FakePetSets implements PetSetInterface
func (*FakePetSets) Create ¶
func (*FakePetSets) Delete ¶
func (c *FakePetSets) Delete(name string, options *api.DeleteOptions) error
func (*FakePetSets) DeleteCollection ¶
func (c *FakePetSets) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
func (*FakePetSets) Get ¶
func (c *FakePetSets) Get(name string) (result *v1alpha1.PetSet, err error)
func (*FakePetSets) List ¶
func (c *FakePetSets) List(opts api.ListOptions) (result *v1alpha1.PetSetList, err error)
func (*FakePetSets) Patch ¶
func (c *FakePetSets) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1alpha1.PetSet, err error)
Patch applies the patch and returns the patched petSet.
func (*FakePetSets) Update ¶
func (*FakePetSets) UpdateStatus ¶
func (*FakePetSets) Watch ¶
func (c *FakePetSets) Watch(opts api.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested petSets.
Source Files ¶
doc.go fake_apps_client.go fake_petset.go
- Version
- v1.5.2
- Published
- Feb 25, 2021
- Platform
- linux/amd64
- Imports
- 8 packages
- Last checked
- 4 minutes ago –
Tools for package owners.