mirror of
https://github.com/TwiN/gatus.git
synced 2024-12-23 15:18:55 +01:00
11 lines
260 B
Go
11 lines
260 B
Go
package k8s
|
|
|
|
import (
|
|
"k8s.io/api/core/v1"
|
|
)
|
|
|
|
// GetKubernetesServices return a list of Services from the given namespace
|
|
func GetKubernetesServices(client KubernetesClientApi, namespace string) ([]v1.Service, error) {
|
|
return client.GetServices(namespace)
|
|
}
|