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) *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.DecoratorController `json:"controller"` Object *unstructured.Unstructured `json:"object"` Attachments common.ChildMap `json:"attachments"` 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 { Labels map[string]*string `json:"labels"` Annotations map[string]*string `json:"annotations"` Status map[string]interface{} `json:"status"` Attachments []*unstructured.Unstructured `json:"attachments"` 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.