Documentation ¶
Index ¶
- type Deployer
- func (deployer *Deployer) AddController(gvk schema.GroupVersionKind, controller *resourcecontroller.Controller) bool
- func (deployer *Deployer) ControllerHasStarted(gvk schema.GroupVersionKind) bool
- func (deployer *Deployer) ResourceCallbackHandler(resource *unstructured.Unstructured) error
- func (deployer *Deployer) Run(workers int, ctx context.Context)
- func (deployer *Deployer) SyncDescriptionStatus(dynamicClient dynamic.Interface, restMapper meta.RESTMapper, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deployer ¶
type Deployer struct {
// contains filtered or unexported fields
}
func NewDeployer ¶
func NewDeployer(syncMode clusterapi.ClusterSyncMode, appPusherEnabled bool, appDeployerConfig *rest.Config, clusternetClient *clusternetclientset.Clientset, clusternetInformerFactory clusternetinformers.SharedInformerFactory, recorder record.EventRecorder) (*Deployer, error)
func (*Deployer) AddController ¶ added in v0.7.0
func (deployer *Deployer) AddController(gvk schema.GroupVersionKind, controller *resourcecontroller.Controller) bool
func (*Deployer) ControllerHasStarted ¶ added in v0.7.0
func (deployer *Deployer) ControllerHasStarted(gvk schema.GroupVersionKind) bool
func (*Deployer) ResourceCallbackHandler ¶ added in v0.7.0
func (deployer *Deployer) ResourceCallbackHandler(resource *unstructured.Unstructured) error
func (*Deployer) SyncDescriptionStatus ¶ added in v0.11.0
func (deployer *Deployer) SyncDescriptionStatus( dynamicClient dynamic.Interface, restMapper meta.RESTMapper, desc *appsapi.Description, ) error
Click to show internal directories.
Click to hide internal directories.