Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNamespacedName ¶
func NewRateLimitedClient ¶
NewRateLimitedClient returns a new HTTP client with rate limiter.
func RemoveDuplicatedSg ¶
RemoveDuplicatedSg removes duplicated items from a string slice. It returns a no duplicates string slice.
Types ¶
type K8sCacheHelper ¶
type K8sCacheHelper interface { GetPodSecurityGroups(pod *corev1.Pod) ([]string, error) GetSecurityGroupsFromPod(podId types.NamespacedName) ([]string, error) }
func NewK8sCacheHelper ¶
func NewK8sCacheHelper(client client.Client, log logr.Logger) K8sCacheHelper
NewK8sCacheHelper creates and returns a controller-runtime cache operator.
Click to show internal directories.
Click to hide internal directories.