iam

package module
v0.0.0-...-6af4e66 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TokenCache = utils.NewCache[string]()

Functions

Types

type IamAuthPlugin

type IamAuthPlugin struct {
	plugins.BaseConnectionPlugin
	// contains filtered or unexported fields
}

func NewIamAuthPlugin

func NewIamAuthPlugin(pluginService driver_infrastructure.PluginService, iamTokenUtility auth_helpers.IamTokenUtility, props map[string]string) (*IamAuthPlugin, error)

func (*IamAuthPlugin) Connect

func (iamAuthPlugin *IamAuthPlugin) Connect(
	hostInfo *host_info_util.HostInfo,
	props map[string]string,
	isInitialConnection bool,
	connectFunc driver_infrastructure.ConnectFunc) (driver.Conn, error)

func (*IamAuthPlugin) ForceConnect

func (iamAuthPlugin *IamAuthPlugin) ForceConnect(
	hostInfo *host_info_util.HostInfo,
	props map[string]string,
	isInitialConnection bool,
	connectFunc driver_infrastructure.ConnectFunc) (driver.Conn, error)

func (*IamAuthPlugin) GetSubscribedMethods

func (iamAuthPlugin *IamAuthPlugin) GetSubscribedMethods() []string

type IamAuthPluginFactory

type IamAuthPluginFactory struct{}

func (IamAuthPluginFactory) ClearCaches

func (factory IamAuthPluginFactory) ClearCaches()

func (IamAuthPluginFactory) GetInstance

Jump to

Keyboard shortcuts

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