boskos/crds/client.go
func (c *dummyClient) Update(obj Object) (Object, error) {
	_, ok := c.objects[obj.GetName()]
	if !ok {
		return nil, fmt.Errorf("cannot find object %s", obj.GetName())
	}
	c.objects[obj.GetName()] = obj
	return obj, nil
}
func (c *dummyClient) Update(obj Object) (Object, error) {
	_, ok := c.objects[obj.GetName()]
	if !ok {
		return nil, fmt.Errorf("cannot find object %s", obj.GetName())
	}
	c.objects[obj.GetName()] = obj
	return obj, nil
}
func ( c * dummyClient ) Update ( obj Object ) ( Object , error ) { _ , ok := c . objects [ obj . GetName ( ) ] if ! ok { return nil , fmt . Errorf ( " " , obj . GetName ( ) ) } c . objects [ obj . GetName ( ) ] = obj return obj , nil }
// Update implements ClientInterface
Update implements ClientInterface