mirror of
https://github.com/TwiN/gatus.git
synced 2024-12-22 23:02:22 +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)
|
|
}
|