func (c *FakeThirdPartyResources) Get(name string) (result *extensions.ThirdPartyResource, err error) {
	obj, err := c.Fake.
		Invokes(core.NewGetAction("thirdpartyresources", c.ns, name), &extensions.ThirdPartyResource{})

	if obj == nil {
		return nil, err
	}
	return obj.(*extensions.ThirdPartyResource), err
}
func (c *FakeHorizontalPodAutoscalers) Get(name string) (result *extensions.HorizontalPodAutoscaler, err error) {
	obj, err := c.Fake.
		Invokes(core.NewGetAction("horizontalpodautoscalers", c.ns, name), &extensions.HorizontalPodAutoscaler{})

	if obj == nil {
		return nil, err
	}
	return obj.(*extensions.HorizontalPodAutoscaler), err
}
Example #3
0
func (c *FakeSecrets) Get(name string) (result *api.Secret, err error) {
	obj, err := c.Fake.
		Invokes(core.NewGetAction("secrets", c.ns, name), &api.Secret{})

	if obj == nil {
		return nil, err
	}
	return obj.(*api.Secret), err
}
Example #4
0
func (c *FakePods) Get(name string) (result *api.Pod, err error) {
	obj, err := c.Fake.
		Invokes(core.NewGetAction("pods", c.ns, name), &api.Pod{})

	if obj == nil {
		return nil, err
	}
	return obj.(*api.Pod), err
}
Example #5
0
func (c *FakeJobs) Get(name string) (result *extensions.Job, err error) {
	obj, err := c.Fake.
		Invokes(core.NewGetAction("jobs", c.ns, name), &extensions.Job{})

	if obj == nil {
		return nil, err
	}
	return obj.(*extensions.Job), err
}
Example #6
0
func (c *FakeReplicaSets) Get(name string) (result *extensions.ReplicaSet, err error) {
	obj, err := c.Fake.
		Invokes(core.NewGetAction("replicasets", c.ns, name), &extensions.ReplicaSet{})

	if obj == nil {
		return nil, err
	}
	return obj.(*extensions.ReplicaSet), err
}
func (c *FakeReplicationControllers) Get(name string) (result *api.ReplicationController, err error) {
	obj, err := c.Fake.
		Invokes(core.NewGetAction("replicationcontrollers", c.ns, name), &api.ReplicationController{})

	if obj == nil {
		return nil, err
	}
	return obj.(*api.ReplicationController), err
}
Example #8
0
func (c *FakeConfigMaps) Get(name string) (result *api.ConfigMap, err error) {
	obj, err := c.Fake.
		Invokes(core.NewGetAction("configmaps", c.ns, name), &api.ConfigMap{})

	if obj == nil {
		return nil, err
	}
	return obj.(*api.ConfigMap), err
}
func (c *FakeResourceQuotas) Get(name string) (result *api.ResourceQuota, err error) {
	obj, err := c.Fake.
		Invokes(core.NewGetAction("resourcequotas", c.ns, name), &api.ResourceQuota{})

	if obj == nil {
		return nil, err
	}
	return obj.(*api.ResourceQuota), err
}
Example #10
0
func (c *FakeEndpoints) Get(name string) (result *api.Endpoints, err error) {
	obj, err := c.Fake.
		Invokes(core.NewGetAction("endpoints", c.ns, name), &api.Endpoints{})

	if obj == nil {
		return nil, err
	}
	return obj.(*api.Endpoints), err
}
Example #11
0
func (c *FakeIngresses) Get(name string) (result *extensions.Ingress, err error) {
	obj, err := c.Fake.
		Invokes(core.NewGetAction("ingresses", c.ns, name), &extensions.Ingress{})

	if obj == nil {
		return nil, err
	}
	return obj.(*extensions.Ingress), err
}
func (c *FakePersistentVolumeClaims) Get(name string) (result *api.PersistentVolumeClaim, err error) {
	obj, err := c.Fake.
		Invokes(core.NewGetAction("persistentvolumeclaims", c.ns, name), &api.PersistentVolumeClaim{})

	if obj == nil {
		return nil, err
	}
	return obj.(*api.PersistentVolumeClaim), err
}
Example #13
0
func (c *FakeLimitRanges) Get(name string) (result *api.LimitRange, err error) {
	obj, err := c.Fake.
		Invokes(core.NewGetAction("limitranges", c.ns, name), &api.LimitRange{})

	if obj == nil {
		return nil, err
	}
	return obj.(*api.LimitRange), err
}
Example #14
0
func (c *FakeDeployments) Get(name string) (result *extensions.Deployment, err error) {
	obj, err := c.Fake.
		Invokes(core.NewGetAction("deployments", c.ns, name), &extensions.Deployment{})

	if obj == nil {
		return nil, err
	}
	return obj.(*extensions.Deployment), err
}