utils

package
v1.1.12 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Overview

Package utils ...

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateContextCredentials

func GenerateContextCredentials(conf *vpcconfig.VPCBlockConfig, providerID string, contextCredentialsFactory local.ContextCredentialsFactory, ctxLogger *zap.Logger) (provider.ContextCredentials, error)

GenerateContextCredentials ...

func InitProviders

func InitProviders(conf *vpcconfig.VPCBlockConfig, k8sClient *k8s_utils.KubernetesClient, logger *zap.Logger) (registry.Providers, error)

InitProviders initialization for all providers as per configurations

func OpenProviderSession

func OpenProviderSession(prov local.Provider, vpcBlockConfig *vpcconfig.VPCBlockConfig, providers registry.Providers, providerID string, ctxLogger *zap.Logger) (session provider.Session, fatal bool, err error)

OpenProviderSession ...

func OpenProviderSessionWithContext

func OpenProviderSessionWithContext(ctx context.Context, prov local.Provider, vpcBlockConfig *vpcconfig.VPCBlockConfig, providerID string, ctxLogger *zap.Logger) (provider.Session, bool, error)

OpenProviderSessionWithContext ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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