Example #1
0
func (c *FakeNodes) Delete(name string, options *api.DeleteOptions) error {
	_, err := c.Fake.
		Invokes(core.NewRootDeleteAction("nodes", name), &api.Node{})
	return err
}
func (c *FakeSecurityContextConstraints) Delete(name string, options *api.DeleteOptions) error {
	_, err := c.Fake.
		Invokes(core.NewRootDeleteAction(securitycontextconstraintsResource, name), &v1.SecurityContextConstraints{})
	return err
}
Example #3
0
func (c *FakeClusters) Delete(name string, options *api.DeleteOptions) error {
	_, err := c.Fake.
		Invokes(core.NewRootDeleteAction(clustersResource, name), &federation.Cluster{})
	return err
}
Example #4
0
func (c *FakeProjects) Delete(name string, options *pkg_api.DeleteOptions) error {
	_, err := c.Fake.
		Invokes(core.NewRootDeleteAction(projectsResource, name), &api.Project{})
	return err
}
Example #5
0
func (c *FakeOAuthClient) Delete(name string) error {
	_, err := c.Fake.Invokes(core.NewRootDeleteAction(oAuthClientsResource, name), &oauthapi.OAuthClient{})
	return err
}
func (c *FakeThirdPartyResources) Delete(name string, options *api.DeleteOptions) error {
	_, err := c.Fake.
		Invokes(core.NewRootDeleteAction(thirdpartyresourcesResource, name), &extensions.ThirdPartyResource{})
	return err
}
Example #7
0
func (c *FakePersistentVolumes) Delete(name string, options *api.DeleteOptions) error {
	_, err := c.Fake.
		Invokes(core.NewRootDeleteAction("persistentvolumes", name), &api.PersistentVolume{})
	return err
}
func (c *FakePersistentVolumes) Delete(name string, options *v1.DeleteOptions) error {
	_, err := c.Fake.
		Invokes(core.NewRootDeleteAction(persistentvolumesResource, name), &v1.PersistentVolume{})
	return err
}
func (c *FakeOAuthAuthorizeTokens) Delete(name string) error {
	_, err := c.Fake.Invokes(core.NewRootDeleteAction(oAuthAuthorizeTokensResource, name), &oauthapi.OAuthAuthorizeToken{})
	return err
}
Example #10
0
func (c *FakeComponentStatus) Delete(name string, options *api.DeleteOptions) error {
	_, err := c.Fake.
		Invokes(core.NewRootDeleteAction("componentStatus", name), &api.ComponentStatus{})
	return err
}
func (c *FakeUserIdentityMappings) Delete(name string) error {
	_, err := c.Fake.Invokes(core.NewRootDeleteAction(userIdentityMappingsResource, name), &userapi.UserIdentityMapping{})
	return err
}
Example #12
0
func (c *FakeIdentities) Delete(name string) error {
	_, err := c.Fake.Invokes(core.NewRootDeleteAction(identitiesResource, name), nil)
	return err
}
func (c *FakeClusterResourceQuotas) Delete(name string) error {
	_, err := c.Fake.Invokes(core.NewRootDeleteAction(clusteResourceQuotasResource, name), &quotaapi.ClusterResourceQuota{})
	return err
}
Example #14
0
func (c *FakeStorageClasses) Delete(name string, options *api.DeleteOptions) error {
	_, err := c.Fake.
		Invokes(core.NewRootDeleteAction(storageclassesResource, name), &storage.StorageClass{})
	return err
}
func (c *FakeClusterPolicyBindings) Delete(name string) error {
	_, err := c.Fake.Invokes(core.NewRootDeleteAction(clusterPolicyBindingsResource, name), &authorizationapi.ClusterPolicyBinding{})
	return err
}
Example #16
0
func (c *FakeImages) Delete(name string) error {
	_, err := c.Fake.Invokes(core.NewRootDeleteAction(imagesResource, name), &imageapi.Image{})
	return err
}
func (c *FakeComponentStatuses) Delete(name string, options *api.DeleteOptions) error {
	_, err := c.Fake.
		Invokes(core.NewRootDeleteAction(componentstatusesResource, name), &v1.ComponentStatus{})
	return err
}
func (c *FakeCertificateSigningRequests) Delete(name string, options *api.DeleteOptions) error {
	_, err := c.Fake.
		Invokes(core.NewRootDeleteAction(certificatesigningrequestsResource, name), &certificates.CertificateSigningRequest{})
	return err
}
func (c *FakeSecurityContextConstraints) Delete(name string) error {
	_, err := c.Fake.Invokes(core.NewRootDeleteAction("securitycontextconstraints", name), &api.SecurityContextConstraints{})
	return err
}
func (c *FakeClusterRoleBindings) Delete(name string, options *v1.DeleteOptions) error {
	_, err := c.Fake.
		Invokes(core.NewRootDeleteAction(clusterrolebindingsResource, name), &v1alpha1.ClusterRoleBinding{})
	return err
}
Example #21
0
func (c *FakeAPIServices) Delete(name string, options *api.DeleteOptions) error {
	_, err := c.Fake.
		Invokes(core.NewRootDeleteAction(apiservicesResource, name), &apiregistration.APIService{})
	return err
}
Example #22
0
func (c *FakeClusterRoles) Delete(name string, options *api.DeleteOptions) error {
	_, err := c.Fake.
		Invokes(core.NewRootDeleteAction(clusterrolesResource, name), &rbac.ClusterRole{})
	return err
}
func (c *FakePodSecurityPolicies) Delete(name string, options *v1.DeleteOptions) error {
	_, err := c.Fake.
		Invokes(core.NewRootDeleteAction(podsecuritypoliciesResource, name), &v1beta1.PodSecurityPolicy{})
	return err
}
Example #24
0
func (c *FakeNamespaces) Delete(name string, options *api.DeleteOptions) error {
	_, err := c.Fake.
		Invokes(core.NewRootDeleteAction(namespacesResource, name), &v1.Namespace{})
	return err
}
Example #25
0
func (c *FakeNetworks) Delete(name string, options *api.DeleteOptions) error {
	_, err := c.Fake.
		Invokes(core.NewRootDeleteAction(networksResource, name), &api.Network{})
	return err
}