composite

package
v0.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2020 License: Apache-2.0 Imports: 32 Imported by: 0

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 (*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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL