mirror of
https://github.com/rancher/types.git
synced 2025-09-24 19:39:13 +00:00
generate changes
This commit is contained in:
committed by
Darren Shepherd
parent
c87a032791
commit
19db764316
@@ -6,6 +6,22 @@ import (
|
||||
runtime "k8s.io/apimachinery/pkg/runtime"
|
||||
)
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *Action) DeepCopyInto(out *Action) {
|
||||
*out = *in
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Action.
|
||||
func (in *Action) DeepCopy() *Action {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(Action)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *AmazonEC2Config) DeepCopyInto(out *AmazonEC2Config) {
|
||||
*out = *in
|
||||
@@ -514,6 +530,151 @@ func (in *DigitalOceanConfig) DeepCopy() *DigitalOceanConfig {
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *DynamicSchema) DeepCopyInto(out *DynamicSchema) {
|
||||
*out = *in
|
||||
out.TypeMeta = in.TypeMeta
|
||||
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
||||
in.Spec.DeepCopyInto(&out.Spec)
|
||||
out.Status = in.Status
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicSchema.
|
||||
func (in *DynamicSchema) DeepCopy() *DynamicSchema {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(DynamicSchema)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||||
func (in *DynamicSchema) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *DynamicSchemaList) DeepCopyInto(out *DynamicSchemaList) {
|
||||
*out = *in
|
||||
out.TypeMeta = in.TypeMeta
|
||||
out.ListMeta = in.ListMeta
|
||||
if in.Items != nil {
|
||||
in, out := &in.Items, &out.Items
|
||||
*out = make([]DynamicSchema, len(*in))
|
||||
for i := range *in {
|
||||
(*in)[i].DeepCopyInto(&(*out)[i])
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicSchemaList.
|
||||
func (in *DynamicSchemaList) DeepCopy() *DynamicSchemaList {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(DynamicSchemaList)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||||
func (in *DynamicSchemaList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *DynamicSchemaSpec) DeepCopyInto(out *DynamicSchemaSpec) {
|
||||
*out = *in
|
||||
if in.ResourceMethods != nil {
|
||||
in, out := &in.ResourceMethods, &out.ResourceMethods
|
||||
*out = make([]string, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
if in.ResourceFields != nil {
|
||||
in, out := &in.ResourceFields, &out.ResourceFields
|
||||
*out = make(map[string]Field, len(*in))
|
||||
for key, val := range *in {
|
||||
(*out)[key] = *val.DeepCopy()
|
||||
}
|
||||
}
|
||||
if in.ResourceActions != nil {
|
||||
in, out := &in.ResourceActions, &out.ResourceActions
|
||||
*out = make(map[string]Action, len(*in))
|
||||
for key, val := range *in {
|
||||
(*out)[key] = val
|
||||
}
|
||||
}
|
||||
if in.CollectionMethods != nil {
|
||||
in, out := &in.CollectionMethods, &out.CollectionMethods
|
||||
*out = make([]string, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
if in.CollectionFields != nil {
|
||||
in, out := &in.CollectionFields, &out.CollectionFields
|
||||
*out = make(map[string]Field, len(*in))
|
||||
for key, val := range *in {
|
||||
(*out)[key] = *val.DeepCopy()
|
||||
}
|
||||
}
|
||||
if in.CollectionActions != nil {
|
||||
in, out := &in.CollectionActions, &out.CollectionActions
|
||||
*out = make(map[string]Action, len(*in))
|
||||
for key, val := range *in {
|
||||
(*out)[key] = val
|
||||
}
|
||||
}
|
||||
if in.CollectionFilters != nil {
|
||||
in, out := &in.CollectionFilters, &out.CollectionFilters
|
||||
*out = make(map[string]Filter, len(*in))
|
||||
for key, val := range *in {
|
||||
(*out)[key] = *val.DeepCopy()
|
||||
}
|
||||
}
|
||||
if in.IncludeableLinks != nil {
|
||||
in, out := &in.IncludeableLinks, &out.IncludeableLinks
|
||||
*out = make([]string, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicSchemaSpec.
|
||||
func (in *DynamicSchemaSpec) DeepCopy() *DynamicSchemaSpec {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(DynamicSchemaSpec)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *DynamicSchemaStatus) DeepCopyInto(out *DynamicSchemaStatus) {
|
||||
*out = *in
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicSchemaStatus.
|
||||
func (in *DynamicSchemaStatus) DeepCopy() *DynamicSchemaStatus {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(DynamicSchemaStatus)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *ETCDService) DeepCopyInto(out *ETCDService) {
|
||||
*out = *in
|
||||
@@ -531,6 +692,28 @@ func (in *ETCDService) DeepCopy() *ETCDService {
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *Field) DeepCopyInto(out *Field) {
|
||||
*out = *in
|
||||
in.Default.DeepCopyInto(&out.Default)
|
||||
if in.Options != nil {
|
||||
in, out := &in.Options, &out.Options
|
||||
*out = make([]string, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Field.
|
||||
func (in *Field) DeepCopy() *Field {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(Field)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *File) DeepCopyInto(out *File) {
|
||||
*out = *in
|
||||
@@ -547,6 +730,27 @@ func (in *File) DeepCopy() *File {
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *Filter) DeepCopyInto(out *Filter) {
|
||||
*out = *in
|
||||
if in.Modifiers != nil {
|
||||
in, out := &in.Modifiers, &out.Modifiers
|
||||
*out = make([]string, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Filter.
|
||||
func (in *Filter) DeepCopy() *Filter {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(Filter)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *GoogleKubernetesEngineConfig) DeepCopyInto(out *GoogleKubernetesEngineConfig) {
|
||||
*out = *in
|
||||
@@ -833,6 +1037,29 @@ func (in *KubeproxyService) DeepCopy() *KubeproxyService {
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *ListOpts) DeepCopyInto(out *ListOpts) {
|
||||
*out = *in
|
||||
if in.Filters != nil {
|
||||
in, out := &in.Filters, &out.Filters
|
||||
*out = make(map[string]string, len(*in))
|
||||
for key, val := range *in {
|
||||
(*out)[key] = val
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListOpts.
|
||||
func (in *ListOpts) DeepCopy() *ListOpts {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(ListOpts)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *Machine) DeepCopyInto(out *Machine) {
|
||||
*out = *in
|
||||
@@ -2023,3 +2250,24 @@ func (in *UserList) DeepCopyObject() runtime.Object {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *Values) DeepCopyInto(out *Values) {
|
||||
*out = *in
|
||||
if in.StringSliceValue != nil {
|
||||
in, out := &in.StringSliceValue, &out.StringSliceValue
|
||||
*out = make([]string, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Values.
|
||||
func (in *Values) DeepCopy() *Values {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(Values)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
@@ -0,0 +1,187 @@
|
||||
package v3
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/rancher/norman/clientbase"
|
||||
"github.com/rancher/norman/controller"
|
||||
"k8s.io/apimachinery/pkg/api/errors"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
"k8s.io/apimachinery/pkg/labels"
|
||||
"k8s.io/apimachinery/pkg/runtime"
|
||||
"k8s.io/apimachinery/pkg/runtime/schema"
|
||||
"k8s.io/apimachinery/pkg/watch"
|
||||
"k8s.io/client-go/tools/cache"
|
||||
)
|
||||
|
||||
var (
|
||||
DynamicSchemaGroupVersionKind = schema.GroupVersionKind{
|
||||
Version: "v3",
|
||||
Group: "management.cattle.io",
|
||||
Kind: "DynamicSchema",
|
||||
}
|
||||
DynamicSchemaResource = metav1.APIResource{
|
||||
Name: "dynamicschemas",
|
||||
SingularName: "dynamicschema",
|
||||
Namespaced: false,
|
||||
Kind: DynamicSchemaGroupVersionKind.Kind,
|
||||
}
|
||||
)
|
||||
|
||||
type DynamicSchemaList struct {
|
||||
metav1.TypeMeta `json:",inline"`
|
||||
metav1.ListMeta `json:"metadata,omitempty"`
|
||||
Items []DynamicSchema
|
||||
}
|
||||
|
||||
type DynamicSchemaHandlerFunc func(key string, obj *DynamicSchema) error
|
||||
|
||||
type DynamicSchemaLister interface {
|
||||
List(namespace string, selector labels.Selector) (ret []*DynamicSchema, err error)
|
||||
Get(namespace, name string) (*DynamicSchema, error)
|
||||
}
|
||||
|
||||
type DynamicSchemaController interface {
|
||||
Informer() cache.SharedIndexInformer
|
||||
Lister() DynamicSchemaLister
|
||||
AddHandler(handler DynamicSchemaHandlerFunc)
|
||||
Enqueue(namespace, name string)
|
||||
Sync(ctx context.Context) error
|
||||
Start(ctx context.Context, threadiness int) error
|
||||
}
|
||||
|
||||
type DynamicSchemaInterface interface {
|
||||
ObjectClient() *clientbase.ObjectClient
|
||||
Create(*DynamicSchema) (*DynamicSchema, error)
|
||||
Get(name string, opts metav1.GetOptions) (*DynamicSchema, error)
|
||||
Update(*DynamicSchema) (*DynamicSchema, error)
|
||||
Delete(name string, options *metav1.DeleteOptions) error
|
||||
List(opts metav1.ListOptions) (*DynamicSchemaList, error)
|
||||
Watch(opts metav1.ListOptions) (watch.Interface, error)
|
||||
DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error
|
||||
Controller() DynamicSchemaController
|
||||
}
|
||||
|
||||
type dynamicSchemaLister struct {
|
||||
controller *dynamicSchemaController
|
||||
}
|
||||
|
||||
func (l *dynamicSchemaLister) List(namespace string, selector labels.Selector) (ret []*DynamicSchema, err error) {
|
||||
err = cache.ListAllByNamespace(l.controller.Informer().GetIndexer(), namespace, selector, func(obj interface{}) {
|
||||
ret = append(ret, obj.(*DynamicSchema))
|
||||
})
|
||||
return
|
||||
}
|
||||
|
||||
func (l *dynamicSchemaLister) Get(namespace, name string) (*DynamicSchema, error) {
|
||||
obj, exists, err := l.controller.Informer().GetIndexer().GetByKey(namespace + "/" + name)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if !exists {
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: DynamicSchemaGroupVersionKind.Group,
|
||||
Resource: "dynamicSchema",
|
||||
}, name)
|
||||
}
|
||||
return obj.(*DynamicSchema), nil
|
||||
}
|
||||
|
||||
type dynamicSchemaController struct {
|
||||
controller.GenericController
|
||||
}
|
||||
|
||||
func (c *dynamicSchemaController) Lister() DynamicSchemaLister {
|
||||
return &dynamicSchemaLister{
|
||||
controller: c,
|
||||
}
|
||||
}
|
||||
|
||||
func (c *dynamicSchemaController) AddHandler(handler DynamicSchemaHandlerFunc) {
|
||||
c.GenericController.AddHandler(func(key string) error {
|
||||
obj, exists, err := c.Informer().GetStore().GetByKey(key)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if !exists {
|
||||
return handler(key, nil)
|
||||
}
|
||||
return handler(key, obj.(*DynamicSchema))
|
||||
})
|
||||
}
|
||||
|
||||
type dynamicSchemaFactory struct {
|
||||
}
|
||||
|
||||
func (c dynamicSchemaFactory) Object() runtime.Object {
|
||||
return &DynamicSchema{}
|
||||
}
|
||||
|
||||
func (c dynamicSchemaFactory) List() runtime.Object {
|
||||
return &DynamicSchemaList{}
|
||||
}
|
||||
|
||||
func (s *dynamicSchemaClient) Controller() DynamicSchemaController {
|
||||
s.client.Lock()
|
||||
defer s.client.Unlock()
|
||||
|
||||
c, ok := s.client.dynamicSchemaControllers[s.ns]
|
||||
if ok {
|
||||
return c
|
||||
}
|
||||
|
||||
genericController := controller.NewGenericController(DynamicSchemaGroupVersionKind.Kind+"Controller",
|
||||
s.objectClient)
|
||||
|
||||
c = &dynamicSchemaController{
|
||||
GenericController: genericController,
|
||||
}
|
||||
|
||||
s.client.dynamicSchemaControllers[s.ns] = c
|
||||
s.client.starters = append(s.client.starters, c)
|
||||
|
||||
return c
|
||||
}
|
||||
|
||||
type dynamicSchemaClient struct {
|
||||
client *Client
|
||||
ns string
|
||||
objectClient *clientbase.ObjectClient
|
||||
controller DynamicSchemaController
|
||||
}
|
||||
|
||||
func (s *dynamicSchemaClient) ObjectClient() *clientbase.ObjectClient {
|
||||
return s.objectClient
|
||||
}
|
||||
|
||||
func (s *dynamicSchemaClient) Create(o *DynamicSchema) (*DynamicSchema, error) {
|
||||
obj, err := s.objectClient.Create(o)
|
||||
return obj.(*DynamicSchema), err
|
||||
}
|
||||
|
||||
func (s *dynamicSchemaClient) Get(name string, opts metav1.GetOptions) (*DynamicSchema, error) {
|
||||
obj, err := s.objectClient.Get(name, opts)
|
||||
return obj.(*DynamicSchema), err
|
||||
}
|
||||
|
||||
func (s *dynamicSchemaClient) Update(o *DynamicSchema) (*DynamicSchema, error) {
|
||||
obj, err := s.objectClient.Update(o.Name, o)
|
||||
return obj.(*DynamicSchema), err
|
||||
}
|
||||
|
||||
func (s *dynamicSchemaClient) Delete(name string, options *metav1.DeleteOptions) error {
|
||||
return s.objectClient.Delete(name, options)
|
||||
}
|
||||
|
||||
func (s *dynamicSchemaClient) List(opts metav1.ListOptions) (*DynamicSchemaList, error) {
|
||||
obj, err := s.objectClient.List(opts)
|
||||
return obj.(*DynamicSchemaList), err
|
||||
}
|
||||
|
||||
func (s *dynamicSchemaClient) Watch(opts metav1.ListOptions) (watch.Interface, error) {
|
||||
return s.objectClient.Watch(opts)
|
||||
}
|
||||
|
||||
func (s *dynamicSchemaClient) DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error {
|
||||
return s.objectClient.DeleteCollection(deleteOpts, listOpts)
|
||||
}
|
@@ -0,0 +1,39 @@
|
||||
package v3
|
||||
|
||||
import (
|
||||
"github.com/rancher/norman/lifecycle"
|
||||
"k8s.io/apimachinery/pkg/runtime"
|
||||
)
|
||||
|
||||
type DynamicSchemaLifecycle interface {
|
||||
Create(obj *DynamicSchema) error
|
||||
Remove(obj *DynamicSchema) error
|
||||
Updated(obj *DynamicSchema) error
|
||||
}
|
||||
|
||||
type dynamicSchemaLifecycleAdapter struct {
|
||||
lifecycle DynamicSchemaLifecycle
|
||||
}
|
||||
|
||||
func (w *dynamicSchemaLifecycleAdapter) Create(obj runtime.Object) error {
|
||||
return w.lifecycle.Create(obj.(*DynamicSchema))
|
||||
}
|
||||
|
||||
func (w *dynamicSchemaLifecycleAdapter) Finalize(obj runtime.Object) error {
|
||||
return w.lifecycle.Remove(obj.(*DynamicSchema))
|
||||
}
|
||||
|
||||
func (w *dynamicSchemaLifecycleAdapter) Updated(obj runtime.Object) error {
|
||||
return w.lifecycle.Updated(obj.(*DynamicSchema))
|
||||
}
|
||||
|
||||
func NewDynamicSchemaLifecycleAdapter(name string, client DynamicSchemaInterface, l DynamicSchemaLifecycle) DynamicSchemaHandlerFunc {
|
||||
adapter := &dynamicSchemaLifecycleAdapter{lifecycle: l}
|
||||
syncFn := lifecycle.NewObjectLifecycleAdapter(name, adapter, client.ObjectClient())
|
||||
return func(key string, obj *DynamicSchema) error {
|
||||
if obj == nil {
|
||||
return syncFn(key, nil)
|
||||
}
|
||||
return syncFn(key, obj)
|
||||
}
|
||||
}
|
@@ -31,6 +31,7 @@ type Interface interface {
|
||||
GroupsGetter
|
||||
GroupMembersGetter
|
||||
IdentitiesGetter
|
||||
DynamicSchemasGetter
|
||||
}
|
||||
|
||||
type Client struct {
|
||||
@@ -55,6 +56,7 @@ type Client struct {
|
||||
groupControllers map[string]GroupController
|
||||
groupMemberControllers map[string]GroupMemberController
|
||||
identityControllers map[string]IdentityController
|
||||
dynamicSchemaControllers map[string]DynamicSchemaController
|
||||
}
|
||||
|
||||
func NewForConfig(config rest.Config) (Interface, error) {
|
||||
@@ -88,6 +90,7 @@ func NewForConfig(config rest.Config) (Interface, error) {
|
||||
groupControllers: map[string]GroupController{},
|
||||
groupMemberControllers: map[string]GroupMemberController{},
|
||||
identityControllers: map[string]IdentityController{},
|
||||
dynamicSchemaControllers: map[string]DynamicSchemaController{},
|
||||
}, nil
|
||||
}
|
||||
|
||||
@@ -323,3 +326,16 @@ func (c *Client) Identities(namespace string) IdentityInterface {
|
||||
objectClient: objectClient,
|
||||
}
|
||||
}
|
||||
|
||||
type DynamicSchemasGetter interface {
|
||||
DynamicSchemas(namespace string) DynamicSchemaInterface
|
||||
}
|
||||
|
||||
func (c *Client) DynamicSchemas(namespace string) DynamicSchemaInterface {
|
||||
objectClient := clientbase.NewObjectClient(namespace, c.restClient, &DynamicSchemaResource, DynamicSchemaGroupVersionKind, dynamicSchemaFactory{})
|
||||
return &dynamicSchemaClient{
|
||||
ns: namespace,
|
||||
client: c,
|
||||
objectClient: objectClient,
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user