plugins

package
v0.0.0-...-7ebe467 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2019 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuth0Plugin

func NewAuth0Plugin() auth0Plugin

func NewElasticPlugin

func NewElasticPlugin() *elasticSearchPlugin

func NewJaegerPlugin

func NewJaegerPlugin() jaegerPlugin

func NewMinioPlugin

func NewMinioPlugin() minioPlugin

func NewPostgresqlPlugin

func NewPostgresqlPlugin(yaml config.ServerYaml) (*postgresqlPlugin, error)

func NewRedisPlugin

func NewRedisPlugin() *redisPlugin

Types

type Auth0Options

type Auth0Options struct {
	Description  string   `json:"description"`
	CallbackUrls []string `json:"callback_urls"`
}

type Auth0ResponseOptions

type Auth0ResponseOptions struct {
	ClientId     string `json:"client_id"`
	Domain       string `json:"domain"`
	ClientSecret string `json:"_client_secret"`
}

type Plugin

type Plugin interface {
	Provision(options ProvisionOptions) (interface{}, error)
	Name() string
	IsPrivate() bool
}

type PostgresqlOptions

type PostgresqlOptions struct {
	Version    float64
	Extensions []string
}

type PostgresqlPluginResponse

type PostgresqlPluginResponse struct {
	Host     string `json:"host"`
	Port     int64  `json:"port"`
	Database string `json:"database"`
	User     string `json:"user"`
	Password string `json:"password"`
}

type ProvisionOptions

type ProvisionOptions struct {
	Yaml         config.ApplicationYaml
	Env          config.Environment
	ServerConfig config.ServerYaml
	Data         map[string]interface{}
	MinioClient  *minio.Client
}

Jump to

Keyboard shortcuts

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