Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeProject
- type FakeProjects
- func (c *FakeProjects) Create(projectResource *project.Project) (result *project.Project, err error)
- func (c *FakeProjects) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeProjects) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeProjects) Get(name string, options v1.GetOptions) (result *project.Project, err error)
- func (c *FakeProjects) List(opts v1.ListOptions) (result *project.ProjectList, err error)
- func (c *FakeProjects) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *project.Project, err error)
- func (c *FakeProjects) Update(projectResource *project.Project) (result *project.Project, err error)
- func (c *FakeProjects) UpdateStatus(projectResource *project.Project) (*project.Project, error)
- func (c *FakeProjects) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeProject ¶
func (*FakeProject) Projects ¶
func (c *FakeProject) Projects() internalversion.ProjectResourceInterface
func (*FakeProject) RESTClient ¶
func (c *FakeProject) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeProjects ¶
type FakeProjects struct {
Fake *FakeProject
}
FakeProjects implements ProjectResourceInterface
func (*FakeProjects) Delete ¶
func (c *FakeProjects) Delete(name string, options *v1.DeleteOptions) error
func (*FakeProjects) DeleteCollection ¶
func (c *FakeProjects) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
func (*FakeProjects) Get ¶
func (c *FakeProjects) Get(name string, options v1.GetOptions) (result *project.Project, err error)
func (*FakeProjects) List ¶
func (c *FakeProjects) List(opts v1.ListOptions) (result *project.ProjectList, err error)
func (*FakeProjects) Patch ¶
func (c *FakeProjects) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *project.Project, err error)
Patch applies the patch and returns the patched projectResource.
func (*FakeProjects) UpdateStatus ¶
func (*FakeProjects) Watch ¶
func (c *FakeProjects) Watch(opts 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.