Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RoleBindingColl ¶
type RoleBindingColl struct { *mongo.Collection // contains filtered or unexported fields }
func NewRoleBindingColl ¶
func NewRoleBindingColl() *RoleBindingColl
func (*RoleBindingColl) Create ¶
func (c *RoleBindingColl) Create(obj *models.RoleBinding) error
func (*RoleBindingColl) EnsureIndex ¶
func (c *RoleBindingColl) EnsureIndex(ctx context.Context) error
func (*RoleBindingColl) GetCollectionName ¶
func (c *RoleBindingColl) GetCollectionName() string
func (*RoleBindingColl) List ¶
func (c *RoleBindingColl) List() ([]*models.RoleBinding, error)
type RoleColl ¶
type RoleColl struct { *mongo.Collection // contains filtered or unexported fields }
func NewRoleColl ¶
func NewRoleColl() *RoleColl
func (*RoleColl) GetCollectionName ¶
Click to show internal directories.
Click to hide internal directories.