Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ResourcesCell provides a set of handles to Kubernetes resources used throughout the // operator. Each of the resources share a client-go informer and backing store so we only // have one watch API call for each resource kind and that we maintain only one copy of each object. // // See pkg/k8s/resource/resource.go for documentation on the Resource[T] type. ResourcesCell = cell.Module( "k8s-resources", "Operator Kubernetes resources", cell.Provide( k8s.ServiceResource, k8s.EndpointsResource, k8s.LBIPPoolsResource, k8s.CiliumIdentityResource, k8s.CiliumPodIPPoolResource, k8s.IngressClassResource, ), ) )
Functions ¶
This section is empty.
Types ¶
type Resources ¶
type Resources struct {
cell.In
Services resource.Resource[*slim_corev1.Service]
Endpoints resource.Resource[*k8s.Endpoints]
LBIPPools resource.Resource[*cilium_api_v2alpha1.CiliumLoadBalancerIPPool]
Identities resource.Resource[*cilium_api_v2.CiliumIdentity]
CiliumPodIPPools resource.Resource[*cilium_api_v2alpha1.CiliumPodIPPool]
IngressClasses resource.Resource[*slim_networkingv1.IngressClass]
}
Resources is a convenience struct to group all the operator k8s resources as cell constructor parameters.
Click to show internal directories.
Click to hide internal directories.