Documentation
¶
Index ¶
Constants ¶
View Source
const ( // KindName is the kind name of CR this controller controls KindName = "Dataset" // Name is this controller name Name = "Dataset" )
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(cc *runtime.ControllerContext) (runtime.FeatureControllerI, error)
New creates a dataset controller
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller handles all dataset objects including: syncing to edge and update from edge.
func (*Controller) Run ¶
func (c *Controller) Run(stopCh <-chan struct{})
func (*Controller) SetDownstreamSendFunc ¶
func (c *Controller) SetDownstreamSendFunc(f runtime.DownstreamSendFunc) error
func (*Controller) SetUpstreamHandler ¶
func (c *Controller) SetUpstreamHandler(addFunc runtime.UpstreamHandlerAddFunc) error
Click to show internal directories.
Click to hide internal directories.