func (c *FakeJwtConfigs) Update(jwtConfig *policiesv1.JwtConfig) (result *policiesv1.JwtConfig, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewUpdateAction(jwtconfigsResource, c.ns, jwtConfig), &policiesv1.JwtConfig{})
	if obj == nil {
		return nil, err
	}
	return obj.(*policiesv1.JwtConfig), err
}
Update takes the representation of a jwtConfig and updates it. Returns the server's representation of the jwtConfig, and an error, if there is any.
package fake
import (
	policiesv1 "github.com/ibm-cloud-security/app-identity-and-access-adapter/adapter/pkg/apis/policies/v1"
	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
	labels "k8s.io/apimachinery/pkg/labels"
	schema "k8s.io/apimachinery/pkg/runtime/schema"
	types "k8s.io/apimachinery/pkg/types"
	watch "k8s.io/apimachinery/pkg/watch"
	testing "k8s.io/client-go/testing"
)
type FakeJwtConfigs struct {
	Fake *FakeAppidV1
	ns   string
}
var jwtconfigsResource = schema.GroupVersionResource{Group: "security.cloud.ibm.com", Version: "v1", Resource: "jwtconfigs"}
var jwtconfigsKind = schema.GroupVersionKind{Group: "security.cloud.ibm.com", Version: "v1", Kind: "JwtConfig"}
func (c *FakeJwtConfigs) Get(name string, options v1.GetOptions) (result *policiesv1.JwtConfig, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewGetAction(jwtconfigsResource, c.ns, name), &policiesv1.JwtConfig{})
	if obj == nil {
		return nil, err
	}
	return obj.(*policiesv1.JwtConfig), err
}
func (c *FakeJwtConfigs) List(opts v1.ListOptions) (result *policiesv1.JwtConfigList, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewListAction(jwtconfigsResource, jwtconfigsKind, c.ns, opts), &policiesv1.JwtConfigList{})
	if obj == nil {
		return nil, err
	}
	label, _, _ := testing.ExtractFromListOptions(opts)
	if label == nil {
		label = labels.Everything()
	}
	list := &policiesv1.JwtConfigList{ListMeta: obj.(*policiesv1.JwtConfigList).ListMeta}
	for _, item := range obj.(*policiesv1.JwtConfigList).Items {
		if label.Matches(labels.Set(item.Labels)) {
			list.Items = append(list.Items, item)
		}
	}
	return list, err
}
func (c *FakeJwtConfigs) Watch(opts v1.ListOptions) (watch.Interface, error) {
	return c.Fake.
		InvokesWatch(testing.NewWatchAction(jwtconfigsResource, c.ns, opts))
}
func (c *FakeJwtConfigs) Create(jwtConfig *policiesv1.JwtConfig) (result *policiesv1.JwtConfig, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewCreateAction(jwtconfigsResource, c.ns, jwtConfig), &policiesv1.JwtConfig{})
	if obj == nil {
		return nil, err
	}
	return obj.(*policiesv1.JwtConfig), err
}