Documentation
¶
Index ¶
Constants ¶
View Source
const API_VERSION = "1.2.0"
View Source
const CONTAINERD_CR = "ServiceComponentContainerd"
View Source
const DEFAULT_CR = K8S_CR
View Source
const DEFAULT_LLO_TYPE = "k8s"
View Source
const DOCKER_CR = "ServiceComponentK8s"
View Source
const GVR_GROUP = "llo.aeros-project.eu"
View Source
const GVR_VERSION = "v1alpha1"
View Source
const HEALTHY_STATUS = "HEALTHY"
View Source
const K8S_CR = "ServiceComponentDocker"
View Source
const SERVICE_NAME = "aeriOS LLO API"
View Source
const UNHEALTHY_STATUS = "UNHEALTHY"
Variables ¶
View Source
var Namespace string = "default"
TODO namespace as path param
View Source
var Status string = HEALTHY_STATUS
Functions ¶
func GetKubernetesClient ¶
func GetKubernetesClient() error
func GetKubernetesClientInCluster ¶
func GetKubernetesClientInCluster() error
func GetSupportedCRs ¶
func GetSupportedCRs() (supportedCRs []string)
Types ¶
type K8sClient ¶
type K8sClient struct {
ClientSet *kubernetes.Clientset
Dynamic *dynamic.DynamicClient
}
var Client K8sClient
Click to show internal directories.
Click to hide internal directories.