Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ResourcesCell provides a set of handles to Kubernetes resources used throughout the // agent. 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", "Agent Kubernetes resources", cell.Config(k8s.DefaultConfig), cell.Provide(provideK8sWatchConfig), cell.Provide( k8s.NetworkPolicyResource, k8s.ClusterNetworkPolicyResource, k8s.CiliumNetworkPolicyResource, k8s.CiliumClusterwideNetworkPolicyResource, k8s.CiliumCIDRGroupResource, k8s.CiliumNodeResource, k8s.CiliumSlimEndpointResource, k8s.CiliumEndpointSliceResource, ), localNodeCell, ) )
Functions ¶
This section is empty.
Types ¶
type LocalCiliumNodeResource ¶
type LocalCiliumNodeResource resource.FilteredResource[*cilium_api_v2.CiliumNode]
LocalCiliumNodeResource is a resource.Resource[*cilium_api_v2.CiliumNode] but one which will only stream updates for the CiliumNode object associated with the node we are currently running on.
type LocalNodeResource ¶
type LocalNodeResource resource.Resource[*slim_corev1.Node]
LocalNodeResource is a resource.Resource[*slim_corev1.Node] but one which will only stream updates for the node object associated with the node we are currently running on.
Click to show internal directories.
Click to hide internal directories.