README

How to add a new plugin:

  • Add a new subdirectory.

  • Export GetInfo() that conforms to authplugin.InfoFn

  • In the returned authplugin.Info:

    • Set Name to what will be used to specify your plugin in config
    • Set GetAuth to a function in your plugin that conforms to authplugin.AuthFn
  • Edit inventory.go in this directory so that your plugin's GetInfo is retuned in the slice that Inventory() returns.

Expand ▾ Collapse ▴

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthMap

func AuthMap() map[string]authplugin.AuthFn

AuthMap goes ahead and runs each GetInfo function and produces a map of plugin names to GetAuth functions.

func Inventory

func Inventory() []authplugin.InfoFn

Inventory returns a slice of all supported plugins. For new plugins add them here.

Types

This section is empty.

Source Files

Directories

Path Synopsis
google Package google is a Galley auth plugin that uses Google application default credentials.
none Package none is a Galley auth plugin that returns an empty auth DialOption.