Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func GetDefaultManager ¶
func GetDefaultManager() *Manager
func New ¶
func New() *Manager
New is used to create the top level resource manager. Note: this is not required if you are using resources.NewApi() and the like. These use a default manager instance.
func (*Manager) AddWorker ¶
func (m *Manager) AddWorker(name string, s StreamWorker)
func (*Manager) RegisterPolicy ¶
func (*Manager) RegisterResource ¶
func (m *Manager) RegisterResource(request *v1.ResourceDeclareRequest) <-chan RegisterResult
type RegisterResult ¶
type RegisterResult struct {
Identifier *v1.ResourceIdentifier
Err error
}
type StreamWorker ¶
Click to show internal directories.
Click to hide internal directories.