 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- type Manager
- func (m *Manager) AllResources(bd *fleet.BundleDeployment) (*helmdeployer.Resources, error)
- func (m *Manager) Cleanup() error
- func (m *Manager) Delete(bundleDeploymentKey string) error
- func (m *Manager) Deploy(bd *fleet.BundleDeployment) (string, error)
- func (m *Manager) UpdateBundleDeploymentStatus(mapper meta.RESTMapper, bd *fleet.BundleDeployment) error
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
	// contains filtered or unexported fields
}
    func NewManager ¶
func NewManager(fleetNamespace string, defaultNamespace string, labelPrefix, labelSuffix string, bundleDeploymentCache fleetcontrollers.BundleDeploymentCache, bundleDeploymentController fleetcontrollers.BundleDeploymentController, lookup manifest.Lookup, deployer *helmdeployer.Helm, apply apply.Apply) *Manager
func (*Manager) AllResources ¶
func (m *Manager) AllResources(bd *fleet.BundleDeployment) (*helmdeployer.Resources, error)
AllResources returns the resources that are deployed by the bundle deployment, according to the helm release history. It adds to be deleted resources to the list, by comparing the desired state to the actual state with apply.
func (*Manager) Deploy ¶
func (m *Manager) Deploy(bd *fleet.BundleDeployment) (string, error)
Deploy the bundle deployment, i.e. with helmdeployer. This loads the manifest and the contents from the upstream cluster.
func (*Manager) UpdateBundleDeploymentStatus ¶
func (m *Manager) UpdateBundleDeploymentStatus(mapper meta.RESTMapper, bd *fleet.BundleDeployment) error
UpdateBundleDeploymentStatus updates the status with information from the helm release history and an apply dry run.
       Directories
      ¶
      Directories
      ¶
    
    | Path | Synopsis | 
|---|---|
| internal
       | |
| 
          
            diff
            
            
          
           copied from argoproj/gitops-engine/pkg/diff/diff.go | copied from argoproj/gitops-engine/pkg/diff/diff.go | 
| 
          
            diffnormalize
            
            
          
           extracted from argoproj/argo-cd/util/argo/diff/normalize.go | extracted from argoproj/argo-cd/util/argo/diff/normalize.go | 
| 
          
            glob
            
            
          
           copied from argoproj/argo-cd/util/glob/glob.go | copied from argoproj/argo-cd/util/glob/glob.go | 
| 
          
            json
            
            
          
           copied from argoproj/gitops-engine/pkg/utils/json/json.go | copied from argoproj/gitops-engine/pkg/utils/json/json.go | 
| 
          
            normalizers
            
            
          
           extracted from argoproj/argo-cd/util/argo/normalizers/diff_normalizer.go | extracted from argoproj/argo-cd/util/argo/normalizers/diff_normalizer.go | 
| 
          
            resource
            
            
          
           extracted from argoproj/argo-cd/pkg/apis/application/v1alpha1/types.go | extracted from argoproj/argo-cd/pkg/apis/application/v1alpha1/types.go | 
| 
          
            scheme
            
            
          
           copied from https://github.com/argoproj/gitops-engine/blob/master/pkg/utils/kube/scheme/scheme.go | copied from https://github.com/argoproj/gitops-engine/blob/master/pkg/utils/kube/scheme/scheme.go | 
 Click to show internal directories. 
   Click to hide internal directories.