k8sutil

package
v0.0.0-...-9ab1067 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDeploymentStatusAvailable

func GetDeploymentStatusAvailable(deployment *appsv1.Deployment, log logr.Logger) bool

func GetIngressBackendServices

func GetIngressBackendServices(ingress *unstructured.Unstructured, log logr.Logger) ([]map[string]string, error)

func GetSercretByName

func GetSercretByName(name, namespace string, client client.Client, log logr.Logger) (*corev1.Secret, error)

func GetServiceAnotations

func GetServiceAnotations(service *corev1.Service, log logr.Logger) (map[string]string, error)

func GetServiceByName

func GetServiceByName(name, namespace string, client client.Client) (*corev1.Service, error)

func GetServiceStatus

func GetServiceStatus(service *corev1.Service) bool

func GetTargetService

func GetTargetService(service *corev1.Service) string

func Reconcile

func Reconcile(log logr.Logger, client runtimeClient.Client, desired runtime.Object, cr *securityv1alpha1.Dast) error

Reconcile reconciles K8S resources

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL