Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetObjectMetaData ¶
func GetObjectMetaData(obj interface{}) meta_v1.ObjectMeta
GetObjectMetaData returns metadata of a given k8s object
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller - the primary struct responsible for all cluster actions
func NewController ¶
func NewController(globalShutdownChan chan struct{}) *Controller
func (*Controller) HasSynced ¶
func (controller *Controller) HasSynced() bool
HasSynced is required for the cache.Controller interface.
func (*Controller) LastSyncResourceVersion ¶
func (controller *Controller) LastSyncResourceVersion() string
LastSyncResourceVersion is required for the cache.Controller interface.
Click to show internal directories.
Click to hide internal directories.