Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metacontroller ¶
type Metacontroller struct {
// contains filtered or unexported fields
}
func NewMetacontroller ¶
func NewMetacontroller(resources *dynamicdiscovery.ResourceMap, dynClient *dynamicclientset.Clientset, dynInformers *dynamicinformer.SharedInformerFactory, mcInformerFactory mcinformers.SharedInformerFactory, mcClient mcclientset.Interface) *Metacontroller
func (*Metacontroller) Start ¶
func (mc *Metacontroller) Start()
func (*Metacontroller) Stop ¶
func (mc *Metacontroller) Stop()
type SyncHookRequest ¶ added in v0.4.0
type SyncHookRequest struct { Controller *v1alpha1.CompositeController `json:"controller"` Parent *unstructured.Unstructured `json:"parent"` Children common.ChildMap `json:"children"` Finalizing bool `json:"finalizing"` }
SyncHookRequest is the object sent as JSON to the sync hook.
type SyncHookResponse ¶ added in v0.4.0
type SyncHookResponse struct { Status map[string]interface{} `json:"status"` Children []*unstructured.Unstructured `json:"children"` ResyncAfterSeconds float64 `json:"resyncAfterSeconds"` // Finalized is only used by the finalize hook. Finalized bool `json:"finalized"` }
SyncHookResponse is the expected format of the JSON response from the sync hook.
Click to show internal directories.
Click to hide internal directories.