Documentation ¶
Index ¶
- func GetLiveObjs(res []managedResource) []*unstructured.Unstructured
- type AppStateManager
- type ApplicationController
- func (ctrl *ApplicationController) CreateGRPC(tlsConfCustomizer tlsutil.ConfigCustomizer) (*grpc.Server, error)
- func (ctrl *ApplicationController) ManagedResources(ctx context.Context, q *services.ResourcesQuery) (*services.ManagedResourcesResponse, error)
- func (ctrl *ApplicationController) ResourceTree(ctx context.Context, q *services.ResourcesQuery) (*services.ResourceTreeResponse, error)
- func (ctrl *ApplicationController) Run(ctx context.Context, statusProcessors int, operationProcessors int)
- type ApplicationControllerConfig
- type Clientset
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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, overrides []v1alpha1.ComponentParameter, 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, ) 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, appResyncPeriod time.Duration, ) (*ApplicationController, error)
NewApplicationController creates new instance of ApplicationController.
func (*ApplicationController) CreateGRPC ¶ added in v0.11.0
func (ctrl *ApplicationController) CreateGRPC(tlsConfCustomizer tlsutil.ConfigCustomizer) (*grpc.Server, error)
func (*ApplicationController) ManagedResources ¶ added in v0.11.0
func (ctrl *ApplicationController) ManagedResources(ctx context.Context, q *services.ResourcesQuery) (*services.ManagedResourcesResponse, error)
func (*ApplicationController) ResourceTree ¶ added in v0.11.0
func (ctrl *ApplicationController) ResourceTree(ctx context.Context, q *services.ResourcesQuery) (*services.ResourceTreeResponse, error)
type Clientset ¶ added in v0.11.0
type Clientset interface {
NewApplicationServiceClient() (util.Closer, services.ApplicationServiceClient, error)
}
Clientset represents controller server api clients
func NewAppControllerClientset ¶ added in v0.11.0
NewAppControllerClientset creates new instance of controller server Clientset
Click to show internal directories.
Click to hide internal directories.