utils

package
v1.0.1-beta8 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: Apache-2.0 Imports: 10 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, 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