Documentation ¶
Index ¶
- func ListAccounts(ctx context.Context, client openapi.ClientInterface) (map[int64]types.Account, error)
- func RemoveBinding(ctx context.Context, b Binding, client kubernetes.Interface) error
- func SaveBindingToFile(ctx context.Context, dir string, b Binding, client kubernetes.Interface) (string, error)
- type Binding
- type Kind
- type RawBindings
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListAccounts ¶
func RemoveBinding ¶
func SaveBindingToFile ¶
Types ¶
type RawBindings ¶
type RawBindings struct { RoleBindings []rbacv1.RoleBinding ClusterRoleBindings []rbacv1.ClusterRoleBinding }
func ListBindings ¶
func ListBindings(ctx context.Context, kube kubernetes.Interface) (*RawBindings, error)
func (*RawBindings) AliUserBindings ¶
func (bs *RawBindings) AliUserBindings() RawBindings
func (*RawBindings) SortByUid ¶
func (bs *RawBindings) SortByUid() []Binding
Click to show internal directories.
Click to hide internal directories.