Documentation
¶
Index ¶
- func Serve(clientset *kubernetes.Clientset, port int, config util.Config)
- func Watch(clientset *kubernetes.Clientset, signal chan struct{}, config util.Config)
- type ClusterRoleAdapter
- type ClusterRoleBindingAdapter
- type ResourceInterface
- type ResourceListWrapper
- type RoleAdapter
- type RoleBindingAdapter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClusterRoleAdapter ¶
type ClusterRoleAdapter struct {
// contains filtered or unexported fields
}
ClusterRoleAdapter provides operations for ClusterRoles resources
func (*ClusterRoleAdapter) List ¶
func (c *ClusterRoleAdapter) List(opts metav1.ListOptions) (runtime.Object, error)
func (*ClusterRoleAdapter) Watch ¶
func (c *ClusterRoleAdapter) Watch(opts metav1.ListOptions) (watch.Interface, error)
type ClusterRoleBindingAdapter ¶
type ClusterRoleBindingAdapter struct {
// contains filtered or unexported fields
}
func (*ClusterRoleBindingAdapter) List ¶
func (c *ClusterRoleBindingAdapter) List(opts metav1.ListOptions) (runtime.Object, error)
func (*ClusterRoleBindingAdapter) Watch ¶
func (c *ClusterRoleBindingAdapter) Watch(opts metav1.ListOptions) (watch.Interface, error)
type ResourceInterface ¶
type ResourceInterface interface { List(opts metav1.ListOptions) (runtime.Object, error) Watch(opts metav1.ListOptions) (watch.Interface, error) }
ResourceInterface provides generic operations for Kubernetes resources
type ResourceListWrapper ¶
func (*ResourceListWrapper) Update ¶
func (rw *ResourceListWrapper) Update(newList runtime.Object)
type RoleAdapter ¶
type RoleAdapter struct {
// contains filtered or unexported fields
}
RoleAdapter provides operations for Roles resources
func (*RoleAdapter) List ¶
func (r *RoleAdapter) List(opts metav1.ListOptions) (runtime.Object, error)
func (*RoleAdapter) Watch ¶
func (r *RoleAdapter) Watch(opts metav1.ListOptions) (watch.Interface, error)
type RoleBindingAdapter ¶
type RoleBindingAdapter struct {
// contains filtered or unexported fields
}
RoleBindingAdapter provides operations for RoleBinding resources
func (*RoleBindingAdapter) List ¶
func (r *RoleBindingAdapter) List(opts metav1.ListOptions) (runtime.Object, error)
func (*RoleBindingAdapter) Watch ¶
func (r *RoleBindingAdapter) Watch(opts metav1.ListOptions) (watch.Interface, error)
Click to show internal directories.
Click to hide internal directories.