Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCoreV1
- type FakeProjects
- func (c *FakeProjects) Create(project *v1.Project) (result *v1.Project, err error)
- func (c *FakeProjects) Delete(name string, options *api_v1.DeleteOptions) error
- func (c *FakeProjects) DeleteCollection(options *api_v1.DeleteOptions, listOptions api_v1.ListOptions) error
- func (c *FakeProjects) Get(name string) (result *v1.Project, err error)
- func (c *FakeProjects) List(opts api_v1.ListOptions) (result *v1.ProjectList, err error)
- func (c *FakeProjects) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.Project, err error)
- func (c *FakeProjects) Update(project *v1.Project) (result *v1.Project, err error)
- func (c *FakeProjects) UpdateStatus(project *v1.Project) (*v1.Project, error)
- func (c *FakeProjects) Watch(opts api_v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCoreV1 ¶
func (*FakeCoreV1) Projects ¶
func (c *FakeCoreV1) Projects() v1.ProjectInterface
func (*FakeCoreV1) RESTClient ¶
func (c *FakeCoreV1) RESTClient() restclient.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeProjects ¶
type FakeProjects struct {
Fake *FakeCoreV1
}
FakeProjects implements ProjectInterface
func (*FakeProjects) Delete ¶
func (c *FakeProjects) Delete(name string, options *api_v1.DeleteOptions) error
func (*FakeProjects) DeleteCollection ¶
func (c *FakeProjects) DeleteCollection(options *api_v1.DeleteOptions, listOptions api_v1.ListOptions) error
func (*FakeProjects) List ¶
func (c *FakeProjects) List(opts api_v1.ListOptions) (result *v1.ProjectList, err error)
func (*FakeProjects) Patch ¶
func (c *FakeProjects) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.Project, err error)
Patch applies the patch and returns the patched project.
func (*FakeProjects) UpdateStatus ¶
func (*FakeProjects) Watch ¶
func (c *FakeProjects) Watch(opts api_v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested projects.
Click to show internal directories.
Click to hide internal directories.