Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCore
- type FakeProjects
- func (c *FakeProjects) Create(project *api.Project) (result *api.Project, err error)
- func (c *FakeProjects) Delete(name string, options *pkg_api.DeleteOptions) error
- func (c *FakeProjects) DeleteCollection(options *pkg_api.DeleteOptions, listOptions pkg_api.ListOptions) error
- func (c *FakeProjects) Get(name string) (result *api.Project, err error)
- func (c *FakeProjects) List(opts pkg_api.ListOptions) (result *api.ProjectList, err error)
- func (c *FakeProjects) Patch(name string, pt pkg_api.PatchType, data []byte, subresources ...string) (result *api.Project, err error)
- func (c *FakeProjects) Update(project *api.Project) (result *api.Project, err error)
- func (c *FakeProjects) Watch(opts pkg_api.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCore ¶
func (*FakeCore) Projects ¶
func (c *FakeCore) Projects() internalversion.ProjectInterface
func (*FakeCore) RESTClient ¶
func (c *FakeCore) 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 *FakeCore
}
FakeProjects implements ProjectInterface
func (*FakeProjects) Delete ¶
func (c *FakeProjects) Delete(name string, options *pkg_api.DeleteOptions) error
func (*FakeProjects) DeleteCollection ¶
func (c *FakeProjects) DeleteCollection(options *pkg_api.DeleteOptions, listOptions pkg_api.ListOptions) error
func (*FakeProjects) List ¶
func (c *FakeProjects) List(opts pkg_api.ListOptions) (result *api.ProjectList, err error)
func (*FakeProjects) Patch ¶
func (c *FakeProjects) Patch(name string, pt pkg_api.PatchType, data []byte, subresources ...string) (result *api.Project, err error)
Patch applies the patch and returns the patched project.
func (*FakeProjects) Watch ¶
func (c *FakeProjects) Watch(opts pkg_api.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested projects.
Click to show internal directories.
Click to hide internal directories.