func (c *FakeLocalResourceAccessReviews) Create(inObj *authorizationapi.LocalResourceAccessReview) (*authorizationapi.ResourceAccessReviewResponse, error) { obj, err := c.Fake.Invokes(core.NewCreateAction(localResourceAccessReviewsResource, c.Namespace, inObj), &authorizationapi.ResourceAccessReviewResponse{}) if cast, ok := obj.(*authorizationapi.ResourceAccessReviewResponse); ok { return cast, err } return nil, err }
func (c *FakeSubjectRulesReviews) Create(inObj *authorizationapi.SubjectRulesReview) (*authorizationapi.SubjectRulesReview, error) { obj, err := c.Fake.Invokes(core.NewCreateAction(selfSubjectRulesReviewsResource, c.Namespace, inObj), &authorizationapi.SubjectRulesReview{}) if cast, ok := obj.(*authorizationapi.SubjectRulesReview); ok { return cast, err } return nil, err }
func (c *FakeDeploymentConfigs) RollbackDeprecated(inObj *deployapi.DeploymentConfigRollback) (result *deployapi.DeploymentConfig, err error) { obj, err := c.Fake.Invokes(core.NewCreateAction(deployapi.SchemeGroupVersion.WithResource("deploymentconfigrollbacks"), c.Namespace, inObj), inObj) if obj == nil { return nil, err } return obj.(*deployapi.DeploymentConfig), err }
func (c *FakeDeploymentConfigs) Create(inObj *deployapi.DeploymentConfig) (*deployapi.DeploymentConfig, error) { obj, err := c.Fake.Invokes(core.NewCreateAction(deploymentConfigsResource, c.Namespace, inObj), inObj) if obj == nil { return nil, err } return obj.(*deployapi.DeploymentConfig), err }
func (c *FakePolicyBindings) Create(inObj *authorizationapi.PolicyBinding) (*authorizationapi.PolicyBinding, error) { obj, err := c.Fake.Invokes(core.NewCreateAction(policyBindingsResource, c.Namespace, inObj), inObj) if obj == nil { return nil, err } return obj.(*authorizationapi.PolicyBinding), err }
func (c *FakeBuildConfigs) Create(inObj *buildapi.BuildConfig) (*buildapi.BuildConfig, error) { obj, err := c.Fake.Invokes(core.NewCreateAction(buildConfigsResource, c.Namespace, inObj), inObj) if obj == nil { return nil, err } return obj.(*buildapi.BuildConfig), err }
func (c *FakeTemplates) Create(inObj *templateapi.Template) (*templateapi.Template, error) { obj, err := c.Fake.Invokes(core.NewCreateAction(templatesResource, c.Namespace, inObj), inObj) if obj == nil { return nil, err } return obj.(*templateapi.Template), err }
func (c *FakePodDisruptionBudgets) Create(podDisruptionBudget *v1alpha1.PodDisruptionBudget) (result *v1alpha1.PodDisruptionBudget, err error) { obj, err := c.Fake. Invokes(core.NewCreateAction(poddisruptionbudgetsResource, c.ns, podDisruptionBudget), &v1alpha1.PodDisruptionBudget{}) if obj == nil { return nil, err } return obj.(*v1alpha1.PodDisruptionBudget), err }
func (c *FakeLimitRanges) Create(limitRange *v1.LimitRange) (result *v1.LimitRange, err error) { obj, err := c.Fake. Invokes(core.NewCreateAction(limitrangesResource, c.ns, limitRange), &v1.LimitRange{}) if obj == nil { return nil, err } return obj.(*v1.LimitRange), err }
func (c *FakePodTemplates) Create(podTemplate *v1.PodTemplate) (result *v1.PodTemplate, err error) { obj, err := c.Fake. Invokes(core.NewCreateAction(podtemplatesResource, c.ns, podTemplate), &v1.PodTemplate{}) if obj == nil { return nil, err } return obj.(*v1.PodTemplate), err }
func (c *FakePodTemplates) Create(podTemplate *api.PodTemplate) (result *api.PodTemplate, err error) { obj, err := c.Fake. Invokes(core.NewCreateAction("podtemplates", c.ns, podTemplate), &api.PodTemplate{}) if obj == nil { return nil, err } return obj.(*api.PodTemplate), err }
func (c *FakeStatefulSets) Create(statefulSet *v1beta1.StatefulSet) (result *v1beta1.StatefulSet, err error) { obj, err := c.Fake. Invokes(core.NewCreateAction(statefulsetsResource, c.ns, statefulSet), &v1beta1.StatefulSet{}) if obj == nil { return nil, err } return obj.(*v1beta1.StatefulSet), err }
func (c *FakeLimitRanges) Create(limitRange *api.LimitRange) (result *api.LimitRange, err error) { obj, err := c.Fake. Invokes(core.NewCreateAction("limitranges", c.ns, limitRange), &api.LimitRange{}) if obj == nil { return nil, err } return obj.(*api.LimitRange), err }
func (c *FakeHorizontalPodAutoscalers) Create(horizontalPodAutoscaler *v1beta1.HorizontalPodAutoscaler) (result *v1beta1.HorizontalPodAutoscaler, err error) { obj, err := c.Fake. Invokes(core.NewCreateAction("horizontalpodautoscalers", c.ns, horizontalPodAutoscaler), &v1beta1.HorizontalPodAutoscaler{}) if obj == nil { return nil, err } return obj.(*v1beta1.HorizontalPodAutoscaler), err }
func (c *FakeJobs) Create(job *v1beta1.Job) (result *v1beta1.Job, err error) { obj, err := c.Fake. Invokes(core.NewCreateAction(jobsResource, c.ns, job), &v1beta1.Job{}) if obj == nil { return nil, err } return obj.(*v1beta1.Job), err }
func (c *FakeSecrets) Create(secret *api.Secret) (result *api.Secret, err error) { obj, err := c.Fake. Invokes(core.NewCreateAction("secrets", c.ns, secret), &api.Secret{}) if obj == nil { return nil, err } return obj.(*api.Secret), err }
func (c *FakeDeployments) Create(deployment *v1beta1.Deployment) (result *v1beta1.Deployment, err error) { obj, err := c.Fake. Invokes(core.NewCreateAction(deploymentsResource, c.ns, deployment), &v1beta1.Deployment{}) if obj == nil { return nil, err } return obj.(*v1beta1.Deployment), err }
func (c *FakePods) Create(pod *v1.Pod) (result *v1.Pod, err error) { obj, err := c.Fake. Invokes(core.NewCreateAction("pods", c.ns, pod), &v1.Pod{}) if obj == nil { return nil, err } return obj.(*v1.Pod), err }
func (c *FakeUsers) Create(user *api.User) (result *api.User, err error) { obj, err := c.Fake. Invokes(core.NewCreateAction(usersResource, c.ns, user), &api.User{}) if obj == nil { return nil, err } return obj.(*api.User), err }
func (c *FakeDeploymentConfigs) Create(deploymentConfig *v1.DeploymentConfig) (result *v1.DeploymentConfig, err error) { obj, err := c.Fake. Invokes(core.NewCreateAction(deploymentconfigsResource, c.ns, deploymentConfig), &v1.DeploymentConfig{}) if obj == nil { return nil, err } return obj.(*v1.DeploymentConfig), err }
func (c *FakePolicies) Create(policy *api.Policy) (result *api.Policy, err error) { obj, err := c.Fake. Invokes(core.NewCreateAction(policiesResource, c.ns, policy), &api.Policy{}) if obj == nil { return nil, err } return obj.(*api.Policy), err }
func (c *FakeReplicaSets) Create(replicaSet *v1beta1.ReplicaSet) (result *v1beta1.ReplicaSet, err error) { obj, err := c.Fake. Invokes(core.NewCreateAction(replicasetsResource, c.ns, replicaSet), &v1beta1.ReplicaSet{}) if obj == nil { return nil, err } return obj.(*v1beta1.ReplicaSet), err }
func (c *FakeReplicationControllers) Create(replicationController *v1.ReplicationController) (result *v1.ReplicationController, err error) { obj, err := c.Fake. Invokes(core.NewCreateAction(replicationcontrollersResource, c.ns, replicationController), &v1.ReplicationController{}) if obj == nil { return nil, err } return obj.(*v1.ReplicationController), err }
func (c *FakeBuilds) Create(build *api.Build) (result *api.Build, err error) { obj, err := c.Fake. Invokes(core.NewCreateAction(buildsResource, c.ns, build), &api.Build{}) if obj == nil { return nil, err } return obj.(*api.Build), err }
func (c *FakePods) Create(pod *api.Pod) (result *api.Pod, err error) { obj, err := c.Fake. Invokes(core.NewCreateAction(podsResource, c.ns, pod), &api.Pod{}) if obj == nil { return nil, err } return obj.(*api.Pod), err }
func (c *FakeHorizontalPodAutoscalers) Create(horizontalPodAutoscaler *autoscaling.HorizontalPodAutoscaler) (result *autoscaling.HorizontalPodAutoscaler, err error) { obj, err := c.Fake. Invokes(core.NewCreateAction(horizontalpodautoscalersResource, c.ns, horizontalPodAutoscaler), &autoscaling.HorizontalPodAutoscaler{}) if obj == nil { return nil, err } return obj.(*autoscaling.HorizontalPodAutoscaler), err }
func (c *FakeCronJobs) Create(cronJob *batch.CronJob) (result *batch.CronJob, err error) { obj, err := c.Fake. Invokes(core.NewCreateAction(cronjobsResource, c.ns, cronJob), &batch.CronJob{}) if obj == nil { return nil, err } return obj.(*batch.CronJob), err }
func (c *FakeResourceQuotas) Create(resourceQuota *api.ResourceQuota) (result *api.ResourceQuota, err error) { obj, err := c.Fake. Invokes(core.NewCreateAction(resourcequotasResource, c.ns, resourceQuota), &api.ResourceQuota{}) if obj == nil { return nil, err } return obj.(*api.ResourceQuota), err }
func (c *FakeConfigMaps) Create(configMap *v1.ConfigMap) (result *v1.ConfigMap, err error) { obj, err := c.Fake. Invokes(core.NewCreateAction(configmapsResource, c.ns, configMap), &v1.ConfigMap{}) if obj == nil { return nil, err } return obj.(*v1.ConfigMap), err }
func (c *FakeIngresses) Create(ingress *extensions.Ingress) (result *extensions.Ingress, err error) { obj, err := c.Fake. Invokes(core.NewCreateAction(ingressesResource, c.ns, ingress), &extensions.Ingress{}) if obj == nil { return nil, err } return obj.(*extensions.Ingress), err }