Documentation ¶
Index ¶
Constants ¶
View Source
const ( NamePrefix = "reposure" PartOf = "Reposure" ManagedBy = "Reposure" OperatorImageReference = "tliron/reposure-operator" SurrogateImageReference = "tliron/reposure-surrogate" SimpleImageReference = "library/registry" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { Config *restpkg.Config Dynamic *kubernetesutil.Dynamic Kubernetes kubernetes.Interface Reposure reposureclientset.Interface Client *adminclient.Client CachePath string StopChannel <-chan struct{} Processors *kubernetesutil.Processors Events record.EventRecorder KubernetesInformerFactory informers.SharedInformerFactory ReposureInformerFactory reposureinformers.SharedInformerFactory Registries reposurelisters.RegistryLister Context contextpkg.Context Log commonlog.Logger }
func NewController ¶
func NewController(context contextpkg.Context, toolName string, clusterMode bool, clusterRole string, namespace string, dynamic dynamicpkg.Interface, kubernetes kubernetes.Interface, apiExtensions apiextensionspkg.Interface, reposure reposureclientset.Interface, config *restpkg.Config, informerResyncPeriod time.Duration, stopChannel <-chan struct{}) *Controller
func (*Controller) Run ¶
func (self *Controller) Run(concurrency uint, startup func()) error
func (*Controller) UpdateRegistrySurrogatePod ¶
Click to show internal directories.
Click to hide internal directories.