provider

package
v0.8.5 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IDPProvider

type IDPProvider struct {
	Path string
	Name string
	// contains filtered or unexported fields
}

func (*IDPProvider) GetName

func (idpProvider *IDPProvider) GetName() string

Gets the name of the provider

func (*IDPProvider) GetPath

func (idpProvider *IDPProvider) GetPath() string

Gets the path of the provider

func (*IDPProvider) Kill

func (idpProvider *IDPProvider) Kill()

Kills the plugin process

func (*IDPProvider) PluginClient

func (idpProvider *IDPProvider) PluginClient() (grpcplugin.PluginClient, error)

Gets the plugin client. Subsequent calls to this will return the same client

type Provider

type Provider interface {
	GetName() string
	GetPath() string
	PluginClient() (grpcplugin.PluginClient, error)
	Kill()
}

func NewIDPProvider

func NewIDPProvider(log *zerolog.Logger, path string) Provider

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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