Documentation ¶
Index ¶
- type FakeThirdPartyResources
- func (c *FakeThirdPartyResources) Create(daemon *extensions.ThirdPartyResource) (*extensions.ThirdPartyResource, error)
- func (c *FakeThirdPartyResources) Delete(name string) error
- func (c *FakeThirdPartyResources) Get(name string) (*extensions.ThirdPartyResource, error)
- func (c *FakeThirdPartyResources) List(opts api.ListOptions) (*extensions.ThirdPartyResourceList, error)
- func (c *FakeThirdPartyResources) Update(daemon *extensions.ThirdPartyResource) (*extensions.ThirdPartyResource, error)
- func (c *FakeThirdPartyResources) UpdateStatus(daemon *extensions.ThirdPartyResource) (*extensions.ThirdPartyResource, error)
- func (c *FakeThirdPartyResources) Watch(opts api.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeThirdPartyResources ¶
type FakeThirdPartyResources struct { Fake *FakeExperimental Namespace string }
FakeThirdPartyResources implements ThirdPartyResourceInterface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the method you want to test easier.
func (*FakeThirdPartyResources) Create ¶
func (c *FakeThirdPartyResources) Create(daemon *extensions.ThirdPartyResource) (*extensions.ThirdPartyResource, error)
func (*FakeThirdPartyResources) Delete ¶
func (c *FakeThirdPartyResources) Delete(name string) error
func (*FakeThirdPartyResources) Get ¶
func (c *FakeThirdPartyResources) Get(name string) (*extensions.ThirdPartyResource, error)
func (*FakeThirdPartyResources) List ¶
func (c *FakeThirdPartyResources) List(opts api.ListOptions) (*extensions.ThirdPartyResourceList, error)
func (*FakeThirdPartyResources) Update ¶
func (c *FakeThirdPartyResources) Update(daemon *extensions.ThirdPartyResource) (*extensions.ThirdPartyResource, error)
func (*FakeThirdPartyResources) UpdateStatus ¶
func (c *FakeThirdPartyResources) UpdateStatus(daemon *extensions.ThirdPartyResource) (*extensions.ThirdPartyResource, error)
func (*FakeThirdPartyResources) Watch ¶
func (c *FakeThirdPartyResources) Watch(opts api.ListOptions) (watch.Interface, error)
Click to show internal directories.
Click to hide internal directories.