Documentation ¶
Index ¶
- func AllCoopNs(clusterId, userId uint64) []string
- func AllOwnNs(clusterId, userId uint64) []string
- func AllViewNs(clusterId, userId uint64) []string
- func AsCooperator(clusterId, userId uint64, ns string) error
- func AsViewer(clusterId, userId uint64, ns string) error
- func CoopSas(clusterId uint64, namespace string) []string
- func GetAllCoopNs(kubeConfig string, saName string) []string
- func GetAllOwnNs(kubeConfig string, saName string) []string
- func GetAllViewNs(kubeConfig string, saName string) []string
- func NewRoleBindingWatcher(kubeConfig string) *roleBindingWatcher
- func RemoveFromCooperator(clusterId, userId uint64, ns string) error
- func RemoveFromViewer(clusterId, userId uint64, ns string) error
- func ViewerSas(clusterId uint64, namespace string) []string
- type Supervisor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsCooperator ¶
func GetAllCoopNs ¶
func GetAllOwnNs ¶
func GetAllViewNs ¶
func NewRoleBindingWatcher ¶
func NewRoleBindingWatcher(kubeConfig string) *roleBindingWatcher
func RemoveFromCooperator ¶
func RemoveFromViewer ¶
Types ¶
type Supervisor ¶
type Supervisor struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.