Documentation ¶
Index ¶
- Constants
- Variables
- func Factory(ctx context.Context, config rest.Config) (context.Context, controller.Starter, error)
- func Kind(kind string) schema.GroupKind
- func NewClusterRbacConfig(namespace, name string, obj v1alpha1.ClusterRbacConfig) *v1alpha1.ClusterRbacConfig
- func NewServiceRole(namespace, name string, obj v1alpha1.ServiceRole) *v1alpha1.ServiceRole
- func NewServiceRoleBinding(namespace, name string, obj v1alpha1.ServiceRoleBinding) *v1alpha1.ServiceRoleBinding
- func Resource(resource string) schema.GroupResource
- type Client
- func (c *Client) ClusterRbacConfigs(namespace string) ClusterRbacConfigInterface
- func (c *Client) RESTClient() rest.Interface
- func (c *Client) ServiceRoleBindings(namespace string) ServiceRoleBindingInterface
- func (c *Client) ServiceRoles(namespace string) ServiceRoleInterface
- func (c *Client) Start(ctx context.Context, threadiness int) error
- func (c *Client) Sync(ctx context.Context) error
- type Clients
- type ClusterRbacConfigChangeHandlerFunc
- type ClusterRbacConfigClient
- type ClusterRbacConfigClientCache
- type ClusterRbacConfigController
- type ClusterRbacConfigHandlerFunc
- type ClusterRbacConfigIndexer
- type ClusterRbacConfigInterface
- type ClusterRbacConfigLifecycle
- type ClusterRbacConfigList
- type ClusterRbacConfigLister
- type ClusterRbacConfigsGetter
- type Interface
- type ServiceRoleBindingChangeHandlerFunc
- type ServiceRoleBindingClient
- type ServiceRoleBindingClientCache
- type ServiceRoleBindingController
- type ServiceRoleBindingHandlerFunc
- type ServiceRoleBindingIndexer
- type ServiceRoleBindingInterface
- type ServiceRoleBindingLifecycle
- type ServiceRoleBindingList
- type ServiceRoleBindingLister
- type ServiceRoleBindingsGetter
- type ServiceRoleChangeHandlerFunc
- type ServiceRoleClient
- type ServiceRoleClientCache
- type ServiceRoleController
- type ServiceRoleHandlerFunc
- type ServiceRoleIndexer
- type ServiceRoleInterface
- type ServiceRoleLifecycle
- type ServiceRoleList
- type ServiceRoleLister
- type ServiceRolesGetter
Constants ¶
const ( GroupName = "rbac.istio.io" Version = "v1alpha1" )
Variables ¶
var ( ClusterRbacConfigGroupVersionKind = schema.GroupVersionKind{ Version: Version, Group: GroupName, Kind: "ClusterRbacConfig", } ClusterRbacConfigResource = metav1.APIResource{ Name: "clusterrbacconfigs", SingularName: "clusterrbacconfig", Namespaced: true, Kind: ClusterRbacConfigGroupVersionKind.Kind, } )
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var ( ServiceRoleBindingGroupVersionKind = schema.GroupVersionKind{ Version: Version, Group: GroupName, Kind: "ServiceRoleBinding", } ServiceRoleBindingResource = metav1.APIResource{ Name: "servicerolebindings", SingularName: "servicerolebinding", Namespaced: true, Kind: ServiceRoleBindingGroupVersionKind.Kind, } )
var ( ServiceRoleGroupVersionKind = schema.GroupVersionKind{ Version: Version, Group: GroupName, Kind: "ServiceRole", } ServiceRoleResource = metav1.APIResource{ Name: "serviceroles", SingularName: "servicerole", Namespaced: true, Kind: ServiceRoleGroupVersionKind.Kind, } )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: Version}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func NewClusterRbacConfig ¶
func NewClusterRbacConfig(namespace, name string, obj v1alpha1.ClusterRbacConfig) *v1alpha1.ClusterRbacConfig
func NewServiceRole ¶
func NewServiceRole(namespace, name string, obj v1alpha1.ServiceRole) *v1alpha1.ServiceRole
func NewServiceRoleBinding ¶
func NewServiceRoleBinding(namespace, name string, obj v1alpha1.ServiceRoleBinding) *v1alpha1.ServiceRoleBinding
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Client ¶
func (*Client) ClusterRbacConfigs ¶
func (c *Client) ClusterRbacConfigs(namespace string) ClusterRbacConfigInterface
func (*Client) RESTClient ¶
func (*Client) ServiceRoleBindings ¶
func (c *Client) ServiceRoleBindings(namespace string) ServiceRoleBindingInterface
func (*Client) ServiceRoles ¶
func (c *Client) ServiceRoles(namespace string) ServiceRoleInterface
type Clients ¶
type Clients struct { Interface Interface ClusterRbacConfig ClusterRbacConfigClient ServiceRole ServiceRoleClient ServiceRoleBinding ServiceRoleBindingClient }
func ClientsFrom ¶
func NewClientsFromInterface ¶
type ClusterRbacConfigChangeHandlerFunc ¶
type ClusterRbacConfigChangeHandlerFunc func(obj *v1alpha1.ClusterRbacConfig) (runtime.Object, error)
type ClusterRbacConfigClient ¶
type ClusterRbacConfigClient interface { Create(*v1alpha1.ClusterRbacConfig) (*v1alpha1.ClusterRbacConfig, error) Get(namespace, name string, opts metav1.GetOptions) (*v1alpha1.ClusterRbacConfig, error) Update(*v1alpha1.ClusterRbacConfig) (*v1alpha1.ClusterRbacConfig, error) Delete(namespace, name string, options *metav1.DeleteOptions) error List(namespace string, opts metav1.ListOptions) (*ClusterRbacConfigList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) Cache() ClusterRbacConfigClientCache OnCreate(ctx context.Context, name string, sync ClusterRbacConfigChangeHandlerFunc) OnChange(ctx context.Context, name string, sync ClusterRbacConfigChangeHandlerFunc) OnRemove(ctx context.Context, name string, sync ClusterRbacConfigChangeHandlerFunc) Enqueue(namespace, name string) Generic() controller.GenericController ObjectClient() *objectclient.ObjectClient Interface() ClusterRbacConfigInterface }
type ClusterRbacConfigClientCache ¶
type ClusterRbacConfigClientCache interface { Get(namespace, name string) (*v1alpha1.ClusterRbacConfig, error) List(namespace string, selector labels.Selector) ([]*v1alpha1.ClusterRbacConfig, error) Index(name string, indexer ClusterRbacConfigIndexer) GetIndexed(name, key string) ([]*v1alpha1.ClusterRbacConfig, error) }
type ClusterRbacConfigController ¶
type ClusterRbacConfigController interface { Generic() controller.GenericController Informer() cache.SharedIndexInformer Lister() ClusterRbacConfigLister AddHandler(ctx context.Context, name string, handler ClusterRbacConfigHandlerFunc) AddClusterScopedHandler(ctx context.Context, name, clusterName string, handler ClusterRbacConfigHandlerFunc) Enqueue(namespace, name string) Sync(ctx context.Context) error Start(ctx context.Context, threadiness int) error }
type ClusterRbacConfigHandlerFunc ¶
type ClusterRbacConfigHandlerFunc func(key string, obj *v1alpha1.ClusterRbacConfig) (runtime.Object, error)
func NewClusterRbacConfigLifecycleAdapter ¶
func NewClusterRbacConfigLifecycleAdapter(name string, clusterScoped bool, client ClusterRbacConfigInterface, l ClusterRbacConfigLifecycle) ClusterRbacConfigHandlerFunc
type ClusterRbacConfigIndexer ¶
type ClusterRbacConfigIndexer func(obj *v1alpha1.ClusterRbacConfig) ([]string, error)
type ClusterRbacConfigInterface ¶
type ClusterRbacConfigInterface interface { ObjectClient() *objectclient.ObjectClient Create(*v1alpha1.ClusterRbacConfig) (*v1alpha1.ClusterRbacConfig, error) GetNamespaced(namespace, name string, opts metav1.GetOptions) (*v1alpha1.ClusterRbacConfig, error) Get(name string, opts metav1.GetOptions) (*v1alpha1.ClusterRbacConfig, error) Update(*v1alpha1.ClusterRbacConfig) (*v1alpha1.ClusterRbacConfig, error) Delete(name string, options *metav1.DeleteOptions) error DeleteNamespaced(namespace, name string, options *metav1.DeleteOptions) error List(opts metav1.ListOptions) (*ClusterRbacConfigList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error Controller() ClusterRbacConfigController AddHandler(ctx context.Context, name string, sync ClusterRbacConfigHandlerFunc) AddLifecycle(ctx context.Context, name string, lifecycle ClusterRbacConfigLifecycle) AddClusterScopedHandler(ctx context.Context, name, clusterName string, sync ClusterRbacConfigHandlerFunc) AddClusterScopedLifecycle(ctx context.Context, name, clusterName string, lifecycle ClusterRbacConfigLifecycle) }
type ClusterRbacConfigLifecycle ¶
type ClusterRbacConfigLifecycle interface { Create(obj *v1alpha1.ClusterRbacConfig) (runtime.Object, error) Remove(obj *v1alpha1.ClusterRbacConfig) (runtime.Object, error) Updated(obj *v1alpha1.ClusterRbacConfig) (runtime.Object, error) }
type ClusterRbacConfigList ¶
type ClusterRbacConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []v1alpha1.ClusterRbacConfig }
func (*ClusterRbacConfigList) DeepCopy ¶
func (in *ClusterRbacConfigList) DeepCopy() *ClusterRbacConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRbacConfigList.
func (*ClusterRbacConfigList) DeepCopyInto ¶
func (in *ClusterRbacConfigList) DeepCopyInto(out *ClusterRbacConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterRbacConfigList) DeepCopyObject ¶
func (in *ClusterRbacConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterRbacConfigLister ¶
type ClusterRbacConfigLister interface { List(namespace string, selector labels.Selector) (ret []*v1alpha1.ClusterRbacConfig, err error) Get(namespace, name string) (*v1alpha1.ClusterRbacConfig, error) }
type ClusterRbacConfigsGetter ¶
type ClusterRbacConfigsGetter interface {
ClusterRbacConfigs(namespace string) ClusterRbacConfigInterface
}
type Interface ¶
type Interface interface { RESTClient() rest.Interface controller.Starter ClusterRbacConfigsGetter ServiceRolesGetter ServiceRoleBindingsGetter }
type ServiceRoleBindingChangeHandlerFunc ¶
type ServiceRoleBindingChangeHandlerFunc func(obj *v1alpha1.ServiceRoleBinding) (runtime.Object, error)
type ServiceRoleBindingClient ¶
type ServiceRoleBindingClient interface { Create(*v1alpha1.ServiceRoleBinding) (*v1alpha1.ServiceRoleBinding, error) Get(namespace, name string, opts metav1.GetOptions) (*v1alpha1.ServiceRoleBinding, error) Update(*v1alpha1.ServiceRoleBinding) (*v1alpha1.ServiceRoleBinding, error) Delete(namespace, name string, options *metav1.DeleteOptions) error List(namespace string, opts metav1.ListOptions) (*ServiceRoleBindingList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) Cache() ServiceRoleBindingClientCache OnCreate(ctx context.Context, name string, sync ServiceRoleBindingChangeHandlerFunc) OnChange(ctx context.Context, name string, sync ServiceRoleBindingChangeHandlerFunc) OnRemove(ctx context.Context, name string, sync ServiceRoleBindingChangeHandlerFunc) Enqueue(namespace, name string) Generic() controller.GenericController ObjectClient() *objectclient.ObjectClient Interface() ServiceRoleBindingInterface }
type ServiceRoleBindingClientCache ¶
type ServiceRoleBindingClientCache interface { Get(namespace, name string) (*v1alpha1.ServiceRoleBinding, error) List(namespace string, selector labels.Selector) ([]*v1alpha1.ServiceRoleBinding, error) Index(name string, indexer ServiceRoleBindingIndexer) GetIndexed(name, key string) ([]*v1alpha1.ServiceRoleBinding, error) }
type ServiceRoleBindingController ¶
type ServiceRoleBindingController interface { Generic() controller.GenericController Informer() cache.SharedIndexInformer Lister() ServiceRoleBindingLister AddHandler(ctx context.Context, name string, handler ServiceRoleBindingHandlerFunc) AddClusterScopedHandler(ctx context.Context, name, clusterName string, handler ServiceRoleBindingHandlerFunc) Enqueue(namespace, name string) Sync(ctx context.Context) error Start(ctx context.Context, threadiness int) error }
type ServiceRoleBindingHandlerFunc ¶
type ServiceRoleBindingHandlerFunc func(key string, obj *v1alpha1.ServiceRoleBinding) (runtime.Object, error)
func NewServiceRoleBindingLifecycleAdapter ¶
func NewServiceRoleBindingLifecycleAdapter(name string, clusterScoped bool, client ServiceRoleBindingInterface, l ServiceRoleBindingLifecycle) ServiceRoleBindingHandlerFunc
type ServiceRoleBindingIndexer ¶
type ServiceRoleBindingIndexer func(obj *v1alpha1.ServiceRoleBinding) ([]string, error)
type ServiceRoleBindingInterface ¶
type ServiceRoleBindingInterface interface { ObjectClient() *objectclient.ObjectClient Create(*v1alpha1.ServiceRoleBinding) (*v1alpha1.ServiceRoleBinding, error) GetNamespaced(namespace, name string, opts metav1.GetOptions) (*v1alpha1.ServiceRoleBinding, error) Get(name string, opts metav1.GetOptions) (*v1alpha1.ServiceRoleBinding, error) Update(*v1alpha1.ServiceRoleBinding) (*v1alpha1.ServiceRoleBinding, error) Delete(name string, options *metav1.DeleteOptions) error DeleteNamespaced(namespace, name string, options *metav1.DeleteOptions) error List(opts metav1.ListOptions) (*ServiceRoleBindingList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error Controller() ServiceRoleBindingController AddHandler(ctx context.Context, name string, sync ServiceRoleBindingHandlerFunc) AddLifecycle(ctx context.Context, name string, lifecycle ServiceRoleBindingLifecycle) AddClusterScopedHandler(ctx context.Context, name, clusterName string, sync ServiceRoleBindingHandlerFunc) AddClusterScopedLifecycle(ctx context.Context, name, clusterName string, lifecycle ServiceRoleBindingLifecycle) }
type ServiceRoleBindingLifecycle ¶
type ServiceRoleBindingLifecycle interface { Create(obj *v1alpha1.ServiceRoleBinding) (runtime.Object, error) Remove(obj *v1alpha1.ServiceRoleBinding) (runtime.Object, error) Updated(obj *v1alpha1.ServiceRoleBinding) (runtime.Object, error) }
type ServiceRoleBindingList ¶
type ServiceRoleBindingList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []v1alpha1.ServiceRoleBinding }
func (*ServiceRoleBindingList) DeepCopy ¶
func (in *ServiceRoleBindingList) DeepCopy() *ServiceRoleBindingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceRoleBindingList.
func (*ServiceRoleBindingList) DeepCopyInto ¶
func (in *ServiceRoleBindingList) DeepCopyInto(out *ServiceRoleBindingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceRoleBindingList) DeepCopyObject ¶
func (in *ServiceRoleBindingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceRoleBindingLister ¶
type ServiceRoleBindingLister interface { List(namespace string, selector labels.Selector) (ret []*v1alpha1.ServiceRoleBinding, err error) Get(namespace, name string) (*v1alpha1.ServiceRoleBinding, error) }
type ServiceRoleBindingsGetter ¶
type ServiceRoleBindingsGetter interface {
ServiceRoleBindings(namespace string) ServiceRoleBindingInterface
}
type ServiceRoleChangeHandlerFunc ¶
type ServiceRoleChangeHandlerFunc func(obj *v1alpha1.ServiceRole) (runtime.Object, error)
type ServiceRoleClient ¶
type ServiceRoleClient interface { Create(*v1alpha1.ServiceRole) (*v1alpha1.ServiceRole, error) Get(namespace, name string, opts metav1.GetOptions) (*v1alpha1.ServiceRole, error) Update(*v1alpha1.ServiceRole) (*v1alpha1.ServiceRole, error) Delete(namespace, name string, options *metav1.DeleteOptions) error List(namespace string, opts metav1.ListOptions) (*ServiceRoleList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) Cache() ServiceRoleClientCache OnCreate(ctx context.Context, name string, sync ServiceRoleChangeHandlerFunc) OnChange(ctx context.Context, name string, sync ServiceRoleChangeHandlerFunc) OnRemove(ctx context.Context, name string, sync ServiceRoleChangeHandlerFunc) Enqueue(namespace, name string) Generic() controller.GenericController ObjectClient() *objectclient.ObjectClient Interface() ServiceRoleInterface }
type ServiceRoleClientCache ¶
type ServiceRoleClientCache interface { Get(namespace, name string) (*v1alpha1.ServiceRole, error) List(namespace string, selector labels.Selector) ([]*v1alpha1.ServiceRole, error) Index(name string, indexer ServiceRoleIndexer) GetIndexed(name, key string) ([]*v1alpha1.ServiceRole, error) }
type ServiceRoleController ¶
type ServiceRoleController interface { Generic() controller.GenericController Informer() cache.SharedIndexInformer Lister() ServiceRoleLister AddHandler(ctx context.Context, name string, handler ServiceRoleHandlerFunc) AddClusterScopedHandler(ctx context.Context, name, clusterName string, handler ServiceRoleHandlerFunc) Enqueue(namespace, name string) Sync(ctx context.Context) error Start(ctx context.Context, threadiness int) error }
type ServiceRoleHandlerFunc ¶
func NewServiceRoleLifecycleAdapter ¶
func NewServiceRoleLifecycleAdapter(name string, clusterScoped bool, client ServiceRoleInterface, l ServiceRoleLifecycle) ServiceRoleHandlerFunc
type ServiceRoleIndexer ¶
type ServiceRoleIndexer func(obj *v1alpha1.ServiceRole) ([]string, error)
type ServiceRoleInterface ¶
type ServiceRoleInterface interface { ObjectClient() *objectclient.ObjectClient Create(*v1alpha1.ServiceRole) (*v1alpha1.ServiceRole, error) GetNamespaced(namespace, name string, opts metav1.GetOptions) (*v1alpha1.ServiceRole, error) Get(name string, opts metav1.GetOptions) (*v1alpha1.ServiceRole, error) Update(*v1alpha1.ServiceRole) (*v1alpha1.ServiceRole, error) Delete(name string, options *metav1.DeleteOptions) error DeleteNamespaced(namespace, name string, options *metav1.DeleteOptions) error List(opts metav1.ListOptions) (*ServiceRoleList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error Controller() ServiceRoleController AddHandler(ctx context.Context, name string, sync ServiceRoleHandlerFunc) AddLifecycle(ctx context.Context, name string, lifecycle ServiceRoleLifecycle) AddClusterScopedHandler(ctx context.Context, name, clusterName string, sync ServiceRoleHandlerFunc) AddClusterScopedLifecycle(ctx context.Context, name, clusterName string, lifecycle ServiceRoleLifecycle) }
type ServiceRoleLifecycle ¶
type ServiceRoleLifecycle interface { Create(obj *v1alpha1.ServiceRole) (runtime.Object, error) Remove(obj *v1alpha1.ServiceRole) (runtime.Object, error) Updated(obj *v1alpha1.ServiceRole) (runtime.Object, error) }
type ServiceRoleList ¶
type ServiceRoleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []v1alpha1.ServiceRole }
func (*ServiceRoleList) DeepCopy ¶
func (in *ServiceRoleList) DeepCopy() *ServiceRoleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceRoleList.
func (*ServiceRoleList) DeepCopyInto ¶
func (in *ServiceRoleList) DeepCopyInto(out *ServiceRoleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceRoleList) DeepCopyObject ¶
func (in *ServiceRoleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceRoleLister ¶
type ServiceRoleLister interface { List(namespace string, selector labels.Selector) (ret []*v1alpha1.ServiceRole, err error) Get(namespace, name string) (*v1alpha1.ServiceRole, error) }
type ServiceRolesGetter ¶
type ServiceRolesGetter interface {
ServiceRoles(namespace string) ServiceRoleInterface
}
Source Files ¶
- zz_generated_cluster_rbac_config_controller.go
- zz_generated_cluster_rbac_config_lifecycle_adapter.go
- zz_generated_deepcopy.go
- zz_generated_k8s_client.go
- zz_generated_scheme.go
- zz_generated_service_role_binding_controller.go
- zz_generated_service_role_binding_lifecycle_adapter.go
- zz_generated_service_role_controller.go
- zz_generated_service_role_lifecycle_adapter.go