Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataSource ¶
type DataSource struct {
// contains filtered or unexported fields
}
func NewDataSource ¶
func NewDataSource(namespace string) (*DataSource, error)
NewDataSource creates a K8S DataSource with given namespace All Controllers take effective only when match namespace.
func (*DataSource) RegisterController ¶
func (k *DataSource) RegisterController(crd CRDType, crName string) error
RegisterController register given type crd and crd name For each type CRD can only register once.
Directories ¶
Path | Synopsis |
---|---|
api
|
|
v1alpha1
Package v1 contains API Schema definitions for the datasource v1 API group +kubebuilder:object:generate=true +groupName=datasource.sentinel.io
|
Package v1 contains API Schema definitions for the datasource v1 API group +kubebuilder:object:generate=true +groupName=datasource.sentinel.io |
Click to show internal directories.
Click to hide internal directories.