Exemplo n.º 1
0
func (c *FakeImages) Delete(name string) error {
	_, err := c.Fake.Invokes(ktestclient.NewRootDeleteAction("images", name), &imageapi.Image{})
	return err
}
func (c *FakeClusterRoleBindings) Delete(name string) error {
	_, err := c.Fake.Invokes(ktestclient.NewRootDeleteAction("clusterrolebindings", name), &authorizationapi.ClusterRoleBinding{})
	return err
}
func (c *FakeOAuthAccessTokens) Delete(name string) error {
	_, err := c.Fake.Invokes(ktestclient.NewRootDeleteAction("oauthaccesstokens", name), &oauthapi.OAuthAccessToken{})
	return err
}
Exemplo n.º 4
0
func (c *FakeProjects) Delete(name string) error {
	_, err := c.Fake.Invokes(ktestclient.NewRootDeleteAction("projects", name), &projectapi.Project{})
	return err
}
Exemplo n.º 5
0
func (c *FakeGroups) Delete(name string) error {
	_, err := c.Fake.Invokes(ktestclient.NewRootDeleteAction("groups", name), &userapi.Group{})
	return err
}
func (c *FakeNetNamespace) Delete(name string) error {
	_, err := c.Fake.Invokes(ktestclient.NewRootDeleteAction("netnamespaces", name), &sdnapi.NetNamespace{})
	return err
}
Exemplo n.º 7
0
func (c *FakeHostSubnet) Delete(name string) error {
	_, err := c.Fake.Invokes(ktestclient.NewRootDeleteAction("hostsubnets", name), &sdnapi.HostSubnet{})
	return err
}
func (c *FakeUserIdentityMappings) Delete(name string) error {
	_, err := c.Fake.Invokes(ktestclient.NewRootDeleteAction("useridentitymappings", name), &userapi.UserIdentityMapping{})
	return err
}
func (c *FakeClusterPolicies) Delete(name string) error {
	_, err := c.Fake.Invokes(ktestclient.NewRootDeleteAction("clusterpolicies", name), &authorizationapi.ClusterPolicy{})
	return err
}