func (c *FakeClusterSubjectAccessReviews) Create(inObj *authorizationapi.SubjectAccessReview) (*authorizationapi.SubjectAccessReviewResponse, error) { obj, err := c.Fake.Invokes(ktestclient.NewRootCreateAction("subjectaccessreviews", inObj), &authorizationapi.SubjectAccessReviewResponse{}) if cast, ok := obj.(*authorizationapi.SubjectAccessReviewResponse); ok { return cast, err } return nil, err }
func (c *FakeProjects) Create(inObj *projectapi.Project) (*projectapi.Project, error) { obj, err := c.Fake.Invokes(ktestclient.NewRootCreateAction("projects", inObj), inObj) if obj == nil { return nil, err } return obj.(*projectapi.Project), err }
func (c *FakeClusterNetwork) Create(inObj *sdnapi.ClusterNetwork) (*sdnapi.ClusterNetwork, error) { obj, err := c.Fake.Invokes(ktestclient.NewRootCreateAction("clusternetworks", inObj), inObj) if obj == nil { return nil, err } return obj.(*sdnapi.ClusterNetwork), err }
func (c *FakeUserIdentityMappings) Create(inObj *userapi.UserIdentityMapping) (*userapi.UserIdentityMapping, error) { obj, err := c.Fake.Invokes(ktestclient.NewRootCreateAction("useridentitymappings", inObj), inObj) if obj == nil { return nil, err } return obj.(*userapi.UserIdentityMapping), err }
func (c *FakeOAuthClient) Create(inObj *oauthapi.OAuthClient) (*oauthapi.OAuthClient, error) { obj, err := c.Fake.Invokes(ktestclient.NewRootCreateAction("oauthclients", inObj), inObj) if obj == nil { return nil, err } return obj.(*oauthapi.OAuthClient), err }
func (c *FakeGroups) Create(inObj *userapi.Group) (*userapi.Group, error) { obj, err := c.Fake.Invokes(ktestclient.NewRootCreateAction("groups", inObj), inObj) if obj == nil { return nil, err } return obj.(*userapi.Group), err }
func (c *FakeNetNamespace) Create(inObj *sdnapi.NetNamespace) (*sdnapi.NetNamespace, error) { obj, err := c.Fake.Invokes(ktestclient.NewRootCreateAction("netnamespaces", inObj), inObj) if obj == nil { return nil, err } return obj.(*sdnapi.NetNamespace), err }
func (c *FakeOAuthAccessTokens) Create(inObj *oauthapi.OAuthAccessToken) (*oauthapi.OAuthAccessToken, error) { obj, err := c.Fake.Invokes(ktestclient.NewRootCreateAction("oauthaccesstokens", inObj), inObj) if obj == nil { return nil, err } return obj.(*oauthapi.OAuthAccessToken), err }
func (c *FakeUsers) Create(inObj *userapi.User) (*userapi.User, error) { obj, err := c.Fake.Invokes(ktestclient.NewRootCreateAction("users", inObj), inObj) if obj == nil { return nil, err } return obj.(*userapi.User), err }
func (c *FakeClusterRoleBindings) Create(inObj *authorizationapi.ClusterRoleBinding) (*authorizationapi.ClusterRoleBinding, error) { obj, err := c.Fake.Invokes(ktestclient.NewRootCreateAction("clusterrolebindings", inObj), inObj) if obj == nil { return nil, err } return obj.(*authorizationapi.ClusterRoleBinding), err }
func (c *FakeClusterResourceQuotas) Create(inObj *quotaapi.ClusterResourceQuota) (*quotaapi.ClusterResourceQuota, error) { obj, err := c.Fake.Invokes(ktestclient.NewRootCreateAction("clusterresourcequotas", inObj), inObj) if obj == nil { return nil, err } return obj.(*quotaapi.ClusterResourceQuota), err }
func (c *FakeIdentities) Create(inObj *userapi.Identity) (*userapi.Identity, error) { obj, err := c.Fake.Invokes(ktestclient.NewRootCreateAction("identities", inObj), inObj) if obj == nil { return nil, err } return obj.(*userapi.Identity), err }
func (c *FakeHostSubnet) Create(inObj *sdnapi.HostSubnet) (*sdnapi.HostSubnet, error) { obj, err := c.Fake.Invokes(ktestclient.NewRootCreateAction("hostsubnets", inObj), inObj) if obj == nil { return nil, err } return obj.(*sdnapi.HostSubnet), err }
func (c *FakeImages) Create(inObj *imageapi.Image) (*imageapi.Image, error) { obj, err := c.Fake.Invokes(ktestclient.NewRootCreateAction("images", inObj), inObj) if obj == nil { return nil, err } return obj.(*imageapi.Image), err }
func (c *FakeServiceBrokers) Create(inObj *servicebrokerapi.ServiceBroker) (*servicebrokerapi.ServiceBroker, error) { obj, err := c.Fake.Invokes(ktestclient.NewRootCreateAction("servicebroker", inObj), inObj) if obj == nil { return nil, err } return obj.(*servicebrokerapi.ServiceBroker), err }
func (c *FakeImageSignatures) Create(inObj *imageapi.ImageSignature) (*imageapi.ImageSignature, error) { _, err := c.Fake.Invokes(ktestclient.NewRootCreateAction("imagesignatures", inObj), inObj) return inObj, err }