Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { common.DBService Create(r *v1Role.Role, options common.DBOptions) error CreateWithTemplate(r *v1Role.Role, templateName string, options common.DBOptions) error Get(name string, options common.DBOptions) (*v1Role.Role, error) GetByNames(names []string, options common.DBOptions) ([]v1Role.Role, error) List(options common.DBOptions) ([]v1Role.Role, error) Delete(name string, options common.DBOptions) error Update(name string, role *v1Role.Role, options common.DBOptions) error Search(num, size int, conditions common.Conditions, options common.DBOptions) ([]v1Role.Role, int, error) }
func NewService ¶
func NewService() Service
Click to show internal directories.
Click to hide internal directories.