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.GlobalDatasource) error Update(entity *v1.GlobalDatasource) error Delete(name string) error Get(name string) (*v1.GlobalDatasource, error) List(q *Query) ([]*v1.GlobalDatasource, error) }
type Query ¶
type Query struct { databaseModel.Query // NamePrefix is a prefix of the GlobalDatasource.metadata.name that is used to filter the list of the GlobalDatasource. // NamePrefix can be empty in case you want to return the full list of GlobalDatasource available. NamePrefix string `query:"name"` // Kind is the type of the datasource. Kind string `query:"kind"` // Default will filter the list of datasource and return only the default datasource, whatever the kind of the datasource is. Default *bool `query:"default"` }
type Service ¶
type Service interface { apiInterface.Service[*v1.GlobalDatasource, *v1.GlobalDatasource, *Query] }
Click to show internal directories.
Click to hide internal directories.