Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppStateManager ¶ added in v0.4.0
type AppStateManager interface { CompareAppState(app *v1alpha1.Application, revision string, overrides []v1alpha1.ComponentParameter) ( *v1alpha1.ComparisonResult, *repository.ManifestResponse, []v1alpha1.ApplicationCondition, 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, ) 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, kubeClientset kubernetes.Interface, applicationClientset appclientset.Interface, repoClientset reposerver.Clientset, db db.ArgoDB, appStateManager AppStateManager, appResyncPeriod time.Duration, config *ApplicationControllerConfig, ) *ApplicationController
NewApplicationController creates new instance of ApplicationController.
type SecretController ¶ added in v0.5.0
type SecretController struct {
// contains filtered or unexported fields
}
func NewSecretController ¶ added in v0.5.0
func NewSecretController(kubeClient kubernetes.Interface, repoClientset reposerver.Clientset, resyncPeriod time.Duration, namespace string) *SecretController
func (*SecretController) Run ¶ added in v0.5.0
func (ctrl *SecretController) Run(ctx context.Context)
Click to show internal directories.
Click to hide internal directories.