store

package
v1.75.0 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DexStore

type DexStore interface {
	CreateDexDatabase(database string, user string, password string) error
	DatabaseUserExists(user string) (bool, error)
}

func GetStore

func GetStore() DexStore

type K8sStore

type K8sStore struct {
}

func (*K8sStore) CreateDexDatabase

func (s *K8sStore) CreateDexDatabase(database string, user string, password string) error

func (*K8sStore) DatabaseUserExists

func (s *K8sStore) DatabaseUserExists(user string) (bool, error)

type PostgresStore

type PostgresStore struct{}

func (*PostgresStore) CreateDexDatabase

func (s *PostgresStore) CreateDexDatabase(database string, user string, password string) error

func (*PostgresStore) DatabaseUserExists

func (s *PostgresStore) DatabaseUserExists(user string) (bool, error)

Jump to

Keyboard shortcuts

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