Documentation ¶
Index ¶
- func CloudTokenAsEnvVar() corev1.EnvVar
- func GetCurrentOdigosTier(ctx context.Context, client *kube.Client, ns string) (common.OdigosTier, error)
- func NewOdigosProResourceManager(client *kube.Client, ns string, config *odigosv1.OdigosConfigurationSpec, ...) resourcemanager.ResourceManager
- func OnPremTokenAsEnvVar() corev1.EnvVar
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloudTokenAsEnvVar ¶
used to inject the cloud token as env var into odigos components
func GetCurrentOdigosTier ¶
func NewOdigosProResourceManager ¶
func NewOdigosProResourceManager(client *kube.Client, ns string, config *odigosv1.OdigosConfigurationSpec, odigosTier common.OdigosTier, proTierToken *string) resourcemanager.ResourceManager
the odigos pro resource manager supports the following flows: 1. odigos tier is community - the resource manager should not be installed. 2. User has provided a cloud api key or onprem token - the resource manager should be initialized with the pro tier token. 3. User wishes to update resources but leave the token as is - proTierToken should be nil.
func OnPremTokenAsEnvVar ¶
used to inject the onprem token as env var into odigos components
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.