config

package
v0.0.0-...-2a29f88 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

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

Functions

func GetCR

func GetCR(name string) (cr string)

TODO return error if ""

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

Jump to

Keyboard shortcuts

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