コード例 #1
0
func (c *FakeNamespaces) Delete(name string, options *api.DeleteOptions) error {
	_, err := c.Fake.
		Invokes(core.NewRootDeleteAction("namespaces", name), &api.Namespace{})
	return err
}
コード例 #2
0
func (c *FakePersistentVolumes) Delete(name string, options *api.DeleteOptions) error {
	_, err := c.Fake.
		Invokes(core.NewRootDeleteAction("persistentvolumes", name), &api.PersistentVolume{})
	return err
}
コード例 #3
0
func (c *FakeComponentStatuses) Delete(name string, options *api.DeleteOptions) error {
	_, err := c.Fake.
		Invokes(core.NewRootDeleteAction("componentstatuses", name), &api.ComponentStatus{})
	return err
}