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.GlobalRoleBinding) error
Update(entity *v1.GlobalRoleBinding) error
Delete(name string) error
Get(name string) (*v1.GlobalRoleBinding, error)
List(q *Query) ([]*v1.GlobalRoleBinding, error)
RawList(q *Query) ([]json.RawMessage, error)
MetadataList(q *Query) ([]api.Entity, error)
RawMetadataList(q *Query) ([]json.RawMessage, error)
}
type Query ¶
type Query struct {
databaseModel.Query
// NamePrefix is a prefix of the GlobalRoleBinding.metadata.name that is used to filter the list of the GlobalRoleBinding.
// NamePrefix can be empty in case you want to return the full list of GlobalRoleBinding available.
NamePrefix string `query:"name"`
MetadataOnly bool `query:"metadata_only"`
}
func (*Query) GetMetadataOnlyQueryParam ¶ added in v0.46.0
func (*Query) IsRawMetadataQueryAllowed ¶ added in v0.46.0
func (*Query) IsRawQueryAllowed ¶ added in v0.46.0
type Service ¶
type Service interface {
apiInterface.Service[*v1.GlobalRoleBinding, *v1.GlobalRoleBinding, *Query]
}
Click to show internal directories.
Click to hide internal directories.