func (c *FakeScales) Get(kind string, name string) (result *v1beta1.Scale, err error) { action := core.GetActionImpl{} action.Verb = "get" action.Namespace = c.ns action.Resource = schema.GroupVersionResource{Resource: kind} action.Subresource = "scale" action.Name = name obj, err := c.Fake.Invokes(action, &v1beta1.Scale{}) result = obj.(*v1beta1.Scale) return }
func (c *FakeScales) Get(kind string, name string) (result *extensions.Scale, err error) { action := core.GetActionImpl{} action.Verb = "get" action.Namespace = c.ns action.Resource = kind action.Subresource = "scale" action.Name = name obj, err := c.Fake.Invokes(action, &extensions.Scale{}) result = obj.(*extensions.Scale) return }