func (r felixConfigurations) Update(ctx context.Context, res *apiv3.FelixConfiguration, opts options.SetOptions) (*apiv3.FelixConfiguration, error) {
	if err := validator.Validate(res); err != nil {
		return nil, err
	}
	out, err := r.client.resources.Update(ctx, opts, apiv3.KindFelixConfiguration, res)
	if out != nil {
		return out.(*apiv3.FelixConfiguration), err
	}
	return nil, err
}
Update takes the representation of a FelixConfiguration and updates it.
Returns the stored representation of the FelixConfiguration, and an error
if there is any.
package clientv3
import (
	"context"
	apiv3 "github.com/projectcalico/api/pkg/apis/projectcalico/v3"
	"github.com/projectcalico/libcalico-go/lib/options"
	validator "github.com/projectcalico/libcalico-go/lib/validator/v3"
	"github.com/projectcalico/libcalico-go/lib/watch"
)
type FelixConfigurationInterface interface {
	Create(ctx context.Context, res *apiv3.FelixConfiguration, opts options.SetOptions) (*apiv3.FelixConfiguration, error)
	Update(ctx context.Context, res *apiv3.FelixConfiguration, opts options.SetOptions) (*apiv3.FelixConfiguration, error)
	Delete(ctx context.Context, name string, opts options.DeleteOptions) (*apiv3.FelixConfiguration, error)
	Get(ctx context.Context, name string, opts options.GetOptions) (*apiv3.FelixConfiguration, error)
	List(ctx context.Context, opts options.ListOptions) (*apiv3.FelixConfigurationList, error)
	Watch(ctx context.Context, opts options.ListOptions) (watch.Interface, error)
}
type felixConfigurations struct {
	client client
}
func (r felixConfigurations) Create(ctx context.Context, res *apiv3.FelixConfiguration, opts options.SetOptions) (*apiv3.FelixConfiguration, error) {
	if err := validator.Validate(res); err != nil {
		return nil, err
	}
	out, err := r.client.resources.Create(ctx, opts, apiv3.KindFelixConfiguration, res)
	if out != nil {
		return out.(*apiv3.FelixConfiguration), err
	}
	return nil, err
}