Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeTestTypes
- func (c *FakeTestTypes) Create(testType *testgroup_k8s_io.TestType) (result *testgroup_k8s_io.TestType, err error)
- func (c *FakeTestTypes) Delete(name string, options *api.DeleteOptions) error
- func (c *FakeTestTypes) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
- func (c *FakeTestTypes) Get(name string) (result *testgroup_k8s_io.TestType, err error)
- func (c *FakeTestTypes) Hello() string
- func (c *FakeTestTypes) List(opts api.ListOptions) (result *testgroup_k8s_io.TestTypeList, err error)
- func (c *FakeTestTypes) Patch(name string, pt api.PatchType, data []byte) (result *testgroup_k8s_io.TestType, err error)
- func (c *FakeTestTypes) Update(testType *testgroup_k8s_io.TestType) (result *testgroup_k8s_io.TestType, err error)
- func (c *FakeTestTypes) UpdateStatus(testType *testgroup_k8s_io.TestType) (*testgroup_k8s_io.TestType, error)
- func (c *FakeTestTypes) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakeTestgroup
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeTestTypes ¶
type FakeTestTypes struct { Fake *FakeTestgroup // contains filtered or unexported fields }
FakeTestTypes implements TestTypeInterface
func (*FakeTestTypes) Create ¶
func (c *FakeTestTypes) Create(testType *testgroup_k8s_io.TestType) (result *testgroup_k8s_io.TestType, err error)
func (*FakeTestTypes) Delete ¶
func (c *FakeTestTypes) Delete(name string, options *api.DeleteOptions) error
func (*FakeTestTypes) DeleteCollection ¶
func (c *FakeTestTypes) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
func (*FakeTestTypes) Get ¶
func (c *FakeTestTypes) Get(name string) (result *testgroup_k8s_io.TestType, err error)
func (*FakeTestTypes) Hello ¶
func (c *FakeTestTypes) Hello() string
func (*FakeTestTypes) List ¶
func (c *FakeTestTypes) List(opts api.ListOptions) (result *testgroup_k8s_io.TestTypeList, err error)
func (*FakeTestTypes) Patch ¶ added in v1.4.1
func (c *FakeTestTypes) Patch(name string, pt api.PatchType, data []byte) (result *testgroup_k8s_io.TestType, err error)
Patch applies the patch and returns the patched testType.
func (*FakeTestTypes) Update ¶
func (c *FakeTestTypes) Update(testType *testgroup_k8s_io.TestType) (result *testgroup_k8s_io.TestType, err error)
func (*FakeTestTypes) UpdateStatus ¶
func (c *FakeTestTypes) UpdateStatus(testType *testgroup_k8s_io.TestType) (*testgroup_k8s_io.TestType, error)
func (*FakeTestTypes) Watch ¶
func (c *FakeTestTypes) Watch(opts api.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested testTypes.
type FakeTestgroup ¶
func (*FakeTestgroup) GetRESTClient ¶
func (c *FakeTestgroup) GetRESTClient() *restclient.RESTClient
GetRESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeTestgroup) TestTypes ¶
func (c *FakeTestgroup) TestTypes(namespace string) unversioned.TestTypeInterface
Click to show internal directories.
Click to hide internal directories.