{"modulePath":"github.com/AlaudaDevops/pkg","version":"v0.14.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package test\n\n## Types\n\n```go\ntype FooBarReconciler struct {\n\tClient client.Client\n\t// to avoid race conditions with the cache, listing matching webhook items\n\t// needs to use a direct client\n\tDirectClient  client.Client\n\tLog           *zap.SugaredLogger\n\tScheme        *runtime.Scheme\n\tEventRecorder record.EventRecorder\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (r *FooBarReconciler) CheckSetup(ctx context.Context, mgr ctrl.Manager, logger *zap.SugaredLogger) error\n```\n\n```go\nfunc (m *FooBarReconciler) DependentCrdInstalled(ctx context.Context, logger *zap.SugaredLogger) (bool, error)\n```\n\n```go\nfunc (FooBarReconciler) Name() string\n```\nreturn trigger reconciler name\n\n```go\nfunc (r *FooBarReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, err error)\n```\nReconcile for Trigger should be implemented in each plugin\n\n```go\nfunc (r *FooBarReconciler) Setup(ctx context.Context, mgr ctrl.Manager, logger *zap.SugaredLogger) error\n```\nSetup will setup webhook and controller\n\n```go\nfunc (r *FooBarReconciler) SetupWithManager(mgr ctrl.Manager) error\n```\nSetupTrigger sets up the controller with the Manager.\n\n","path":"github.com/AlaudaDevops/pkg/examples/sample-controller/controllers/test","name":"test","synopsis":"","isRedistributable":true}
