Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DAO ¶
type DAO interface {
Create(entity *v1.RoleBinding) error
Update(entity *v1.RoleBinding) error
Delete(project string, name string) error
DeleteAll(project string) error
Get(project string, name string) (*v1.RoleBinding, error)
List(q *Query) ([]*v1.RoleBinding, error)
}
type Query ¶
type Query struct {
databaseModel.Query
// NamePrefix is a prefix of the RoleBinding.metadata.name that is used to filter the list of the RoleBinding.
// NamePrefix can be empty in case you want to return the full list of RoleBinding available.
NamePrefix string `query:"name"`
// Project is the exact name of the project.
// The value can come from the path of the URL or from the query parameter
Project string `param:"project" query:"project"`
}
type Service ¶
type Service interface {
apiInterface.Service[*v1.RoleBinding, *v1.RoleBinding, *Query]
}
Click to show internal directories.
Click to hide internal directories.