package
0.7.4-aerlich
Repository: https://github.com/asaf-erlich/gitops-engine.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

ListRetryFuncAlways always retries on errors.
ListRetryFuncNever never retries on errors.
NewClusterCache creates new instance of cluster cache.
NewNoopSettings returns cache settings that has not health customizations and don't filter any resources.
ResourceOfGroupKind returns predicate that matches resource by specified group and kind.
SetClusterResources specifies if cluster level resource included or not.
SetClusterSyncRetryTimeout updates cluster sync retry timeout when sync error happens.
SetConfig updates cluster rest config.
SetKubectl allows to override kubectl wrapper implementation.
SetListPageBufferSize sets the number of pages to prefetch for list pager.
SetListPageSize sets the page size for list pager.
SetListSemaphore sets the semaphore for list operations.
SetLogr sets the logger to use.
SetNamespaces updates list of monitored namespaces.
SetPopulateResourceInfoHandler updates handler that populates resource info.
SetRespectRBAC allows to set whether to respect the controller rbac in list/watches.
SetResyncTimeout updates cluster re-sync timeout.
SetRetryOptions sets cluster list retry options.
SetSettings updates caching settings.
SetTracer sets the tracer to use.
SetWatchResyncTimeout updates cluster re-sync timeout.
TopLevelResource returns true if resource has no parents.

# Constants

No description provided by the author
RespectRbacDisabled default value for respectRbac.
RespectRbacNormal checks only api response for forbidden/unauthorized errors.
RespectRbacStrict checks both api response for forbidden/unauthorized errors and SelfSubjectAccessReview.

# Structs

ClusterInfo holds cluster cache stats.
Resource holds the information about Kubernetes resource, ownership references and optional information.
Settings caching customizations.

# Interfaces

No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
OnEventHandler is a function that handles Kubernetes event.
OnPopulateResourceInfoHandler returns additional resource metadata that should be stored in cache.
OnResourceUpdatedHandler handlers resource update event.
No description provided by the author
No description provided by the author