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, app string) (*DataSource, error)
NewDataSource creates a OpenSergo data-source with given Kubernetes namespace. All Controllers take effective only with matched namespace.
func (*DataSource) RegisterController ¶
func (k *DataSource) RegisterController(crd CRDType) error
RegisterController registers given CRD type and CRD name. For each CRD type, it can be registered only once.
func (*DataSource) RegisterControllersAndStart ¶
func (k *DataSource) RegisterControllersAndStart() error
Click to show internal directories.
Click to hide internal directories.