 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- Variables
- type Store
- func (s *Store) CanFetchSecrets(ctx context.Context, id core.GatewayID, secrets []string) (bool, error)
- func (s *Store) DeleteGateway(ctx context.Context, id core.GatewayID) error
- func (s *Store) DeleteRoute(ctx context.Context, id string) error
- func (s *Store) GatewayExists(ctx context.Context, id core.GatewayID) (bool, error)
- func (s *Store) GetGateway(ctx context.Context, id core.GatewayID) (store.Gateway, error)
- func (s *Store) Sync(ctx context.Context) error
- func (s *Store) UpsertGateway(ctx context.Context, gateway store.Gateway) error
- func (s *Store) UpsertRoute(ctx context.Context, route store.Route) error
 
- type StoreConfig
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
var (
	ErrCannotBindListener = errors.New("cannot bind listener")
)
    Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
	// contains filtered or unexported fields
}
    func NewStore ¶
func NewStore(config StoreConfig) *Store
func (*Store) CanFetchSecrets ¶
func (*Store) DeleteGateway ¶
func (*Store) GatewayExists ¶
func (*Store) GetGateway ¶
func (*Store) UpsertGateway ¶
type StoreConfig ¶
type StoreConfig struct {
	Adapter core.SyncAdapter
	Logger  hclog.Logger
}
     Click to show internal directories. 
   Click to hide internal directories.