role

package
v1.7.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL