type informerAdapter … func (i informerAdapter) Informer() cache.SharedIndexInformer { … } func (i informerAdapter) Lister() appslisters.ReplicaSetLister { … } type conversionInformer … func (i conversionInformer) AddEventHandler(handler cache.ResourceEventHandler) (cache.ResourceEventHandlerRegistration, error) { … } func (i conversionInformer) AddEventHandlerWithResyncPeriod(handler cache.ResourceEventHandler, resyncPeriod time.Duration) (cache.ResourceEventHandlerRegistration, error) { … } type conversionLister … func (l conversionLister) List(selector labels.Selector) ([]*apps.ReplicaSet, error) { … } func (l conversionLister) ReplicaSets(namespace string) appslisters.ReplicaSetNamespaceLister { … } func (l conversionLister) GetPodReplicaSets(pod *v1.Pod) ([]*apps.ReplicaSet, error) { … } type conversionNamespaceLister … func (l conversionNamespaceLister) List(selector labels.Selector) ([]*apps.ReplicaSet, error) { … } func (l conversionNamespaceLister) Get(name string) (*apps.ReplicaSet, error) { … } type conversionEventHandler … func (h conversionEventHandler) OnAdd(obj interface{ … } func (h conversionEventHandler) OnUpdate(oldObj, newObj interface{ … } func (h conversionEventHandler) OnDelete(obj interface{ … } type clientsetAdapter … func (c clientsetAdapter) AppsV1() appsv1client.AppsV1Interface { … } func (c clientsetAdapter) Apps() appsv1client.AppsV1Interface { … } type conversionAppsV1Client … func (c conversionAppsV1Client) ReplicaSets(namespace string) appsv1client.ReplicaSetInterface { … } type conversionClient … func (c conversionClient) Create(ctx context.Context, rs *apps.ReplicaSet, opts metav1.CreateOptions) (*apps.ReplicaSet, error) { … } func (c conversionClient) Update(ctx context.Context, rs *apps.ReplicaSet, opts metav1.UpdateOptions) (*apps.ReplicaSet, error) { … } func (c conversionClient) UpdateStatus(ctx context.Context, rs *apps.ReplicaSet, opts metav1.UpdateOptions) (*apps.ReplicaSet, error) { … } func (c conversionClient) Get(ctx context.Context, name string, options metav1.GetOptions) (*apps.ReplicaSet, error) { … } func (c conversionClient) List(ctx context.Context, opts metav1.ListOptions) (*apps.ReplicaSetList, error) { … } func (c conversionClient) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) { … } func (c conversionClient) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *apps.ReplicaSet, err error) { … } func (c conversionClient) Apply(ctx context.Context, rs *appsv1apply.ReplicaSetApplyConfiguration, opts metav1.ApplyOptions) (*apps.ReplicaSet, error) { … } func (c conversionClient) ApplyStatus(ctx context.Context, rs *appsv1apply.ReplicaSetApplyConfiguration, opts metav1.ApplyOptions) (*apps.ReplicaSet, error) { … } func (c conversionClient) GetScale(ctx context.Context, name string, options metav1.GetOptions) (result *autoscalingv1.Scale, err error) { … } func (c conversionClient) UpdateScale(ctx context.Context, name string, scale *autoscalingv1.Scale, opts metav1.UpdateOptions) (result *autoscalingv1.Scale, err error) { … } func (c conversionClient) ApplyScale(ctx context.Context, name string, scale *appsv1autoscaling.ScaleApplyConfiguration, opts metav1.ApplyOptions) (*autoscalingv1.Scale, error) { … } func convertSlice(rcList []*v1.ReplicationController) ([]*apps.ReplicaSet, error) { … } func convertList(rcList *v1.ReplicationControllerList) (*apps.ReplicaSetList, error) { … } func convertCall(fn func(*v1.ReplicationController) (*v1.ReplicationController, error), rs *apps.ReplicaSet) (*apps.ReplicaSet, error) { … } func convertRCtoRS(rc *v1.ReplicationController, out *apps.ReplicaSet) (*apps.ReplicaSet, error) { … } func convertRStoRC(rs *apps.ReplicaSet) (*v1.ReplicationController, error) { … } type podControlAdapter … func (pc podControlAdapter) CreatePods(ctx context.Context, namespace string, template *v1.PodTemplateSpec, object runtime.Object, controllerRef *metav1.OwnerReference) error { … } func (pc podControlAdapter) DeletePod(ctx context.Context, namespace string, podID string, object runtime.Object) error { … }