Documentation ¶
Index ¶
- func DeduplicateTargetObjects(server string, namespace string, objs []*unstructured.Unstructured, ...) ([]*unstructured.Unstructured, []v1alpha1.ApplicationCondition, error)
- func GetLiveObjs(res []managedResource) []*unstructured.Unstructured
- type AppStateManager
- type ApplicationController
- type ApplicationControllerConfig
- type ResourceInfoProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeduplicateTargetObjects ¶ added in v0.12.0
func DeduplicateTargetObjects( server string, namespace string, objs []*unstructured.Unstructured, infoProvider ResourceInfoProvider, ) ([]*unstructured.Unstructured, []v1alpha1.ApplicationCondition, error)
func GetLiveObjs ¶ added in v0.11.0
func GetLiveObjs(res []managedResource) []*unstructured.Unstructured
Types ¶
type AppStateManager ¶ added in v0.4.0
type AppStateManager interface { CompareAppState(app *v1alpha1.Application, revision string, source v1alpha1.ApplicationSource, noCache bool) (*comparisonResult, error) SyncAppState(app *v1alpha1.Application, state *v1alpha1.OperationState) }
AppStateManager defines methods which allow to compare application spec and actual application state.
func NewAppStateManager ¶ added in v0.4.0
func NewAppStateManager( db db.ArgoDB, appclientset appclientset.Interface, repoClientset reposerver.Clientset, namespace string, kubectl kubeutil.Kubectl, settings *settings.ArgoCDSettings, liveStateCache statecache.LiveStateCache, projInformer cache.SharedIndexInformer, metricsServer *metrics.MetricsServer, ) AppStateManager
NewAppStateManager creates new instance of Ksonnet app comparator
type ApplicationController ¶
type ApplicationController struct {
// contains filtered or unexported fields
}
ApplicationController is the controller for application resources.
func NewApplicationController ¶
func NewApplicationController( namespace string, settingsMgr *settings_util.SettingsManager, kubeClientset kubernetes.Interface, applicationClientset appclientset.Interface, repoClientset reposerver.Clientset, argoCache *argocache.Cache, appResyncPeriod time.Duration, ) (*ApplicationController, error)
NewApplicationController creates new instance of ApplicationController.
type ResourceInfoProvider ¶ added in v0.12.0
type ResourceInfoProvider interface {
IsNamespaced(server string, obj *unstructured.Unstructured) (bool, error)
}
Click to show internal directories.
Click to hide internal directories.