Documentation ¶
Index ¶
- func NewCoreCacheForConfig(ctx context.Context, cluster string, restConfig *rest.Config) clustercache.ClusterCache
- func NewDeploymentCacheFromConfig(ctx context.Context, cluster string, restConfig *rest.Config) clustercache.ClusterCache
- func NewFromConfigWithOptions(resyncDuration time.Duration, namesapcesToWatch []string) clustercache.NewClusterCacheForConfig
- func NewJobCacheFromConfig(ctx context.Context, cluster string, restConfig *rest.Config) clustercache.ClusterCache
- func NewKubeCoreCache(ctx context.Context, client kubernetes.Interface) (*kubeCoreCaches, error)
- func NewKubeCoreCacheWithOptions(ctx context.Context, client kubernetes.Interface, resyncDuration time.Duration, ...) (*kubeCoreCaches, error)
- func NewKubeDeploymentCache(ctx context.Context, client kubernetes.Interface) (*kubeDeploymentCache, error)
- func NewKubeJobCache(ctx context.Context, client kubernetes.Interface) (*kubeJobCache, error)
- type Cache
- type ConfigMapLister
- type KubeCoreCache
- type KubeDeploymentCache
- type KubeJobCache
- type PodLister
- type SecretLister
- type ServiceLister
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCoreCacheForConfig ¶ added in v0.11.1
func NewCoreCacheForConfig(ctx context.Context, cluster string, restConfig *rest.Config) clustercache.ClusterCache
func NewDeploymentCacheFromConfig ¶ added in v0.11.1
func NewDeploymentCacheFromConfig(ctx context.Context, cluster string, restConfig *rest.Config) clustercache.ClusterCache
func NewFromConfigWithOptions ¶ added in v0.11.1
func NewFromConfigWithOptions(resyncDuration time.Duration, namesapcesToWatch []string) clustercache.NewClusterCacheForConfig
func NewJobCacheFromConfig ¶ added in v0.11.11
func NewJobCacheFromConfig(ctx context.Context, cluster string, restConfig *rest.Config) clustercache.ClusterCache
func NewKubeCoreCache ¶
func NewKubeCoreCache(ctx context.Context, client kubernetes.Interface) (*kubeCoreCaches, error)
This context should live as long as the cache is desired. i.e. if the cache is shared across clients, it should get a context that has a longer lifetime than the clients themselves
func NewKubeCoreCacheWithOptions ¶ added in v0.10.8
func NewKubeDeploymentCache ¶
func NewKubeDeploymentCache(ctx context.Context, client kubernetes.Interface) (*kubeDeploymentCache, error)
This context should live as long as the cache is desired. i.e. if the cache is shared across clients, it should get a context that has a longer lifetime than the clients themselves
func NewKubeJobCache ¶ added in v0.11.11
func NewKubeJobCache(ctx context.Context, client kubernetes.Interface) (*kubeJobCache, error)
This context should live as long as the cache is desired. i.e. if the cache is shared across clients, it should get a context that has a longer lifetime than the clients themselves
Types ¶
type ConfigMapLister ¶ added in v0.10.8
type KubeCoreCache ¶
type KubeCoreCache interface { Cache clustercache.ClusterCache // Deprecated: Use NamespacedPodLister instead PodLister() kubelisters.PodLister // Deprecated: Use NamespacedServiceLister instead ServiceLister() kubelisters.ServiceLister // Deprecated: Use NamespacedConfigMapLister instead ConfigMapLister() kubelisters.ConfigMapLister // Deprecated: Use NamespacedSecretLister instead SecretLister() kubelisters.SecretLister NamespaceLister() kubelisters.NamespaceLister NamespacedPodLister(ns string) PodLister NamespacedServiceLister(ns string) ServiceLister NamespacedConfigMapLister(ns string) ConfigMapLister NamespacedSecretLister(ns string) SecretLister }
type KubeDeploymentCache ¶
type KubeDeploymentCache interface { clustercache.ClusterCache DeploymentLister() kubelisters.DeploymentLister Subscribe() <-chan struct{} Unsubscribe(<-chan struct{}) }
type KubeJobCache ¶ added in v0.11.11
type KubeJobCache interface { clustercache.ClusterCache JobLister() kubelisters.JobLister Subscribe() <-chan struct{} Unsubscribe(<-chan struct{}) }
type SecretLister ¶ added in v0.10.8
Click to show internal directories.
Click to hide internal directories.