Documentation ¶
Index ¶
- func AddFlags(cmd *cobra.Command, cfg *config.Config)
- func NewMongo(cfg *config.Config, l lru.Cache) (provider.Provider, error)
- type Cachable
- type Mongo
- func (d *Mongo) AllowHostPolicy(ctx context.Context, host string) error
- func (d *Mongo) Bootstrap(ctx context.Context) error
- func (d *Mongo) CreateDomain(ctx context.Context, domain *pb.Domain) (*pb.Domain, error)
- func (d *Mongo) Delete(ctx context.Context, key string) error
- func (d *Mongo) DeleteDomain(ctx context.Context, domain *pb.Domain) (bool, error)
- func (d *Mongo) Get(ctx context.Context, key string) ([]byte, error)
- func (d *Mongo) GetDomain(ctx context.Context, domain *pb.Domain) (*pb.Domain, error)
- func (d *Mongo) ListDomains(ctx context.Context) ([]*pb.Domain, error)
- func (d *Mongo) Name() string
- func (d *Mongo) Put(ctx context.Context, key string, data []byte) error
- func (d *Mongo) UpdateDomain(ctx context.Context, domain *pb.Domain) (*pb.Domain, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Mongo ¶
type Mongo struct {
// contains filtered or unexported fields
}
Mongo
func (*Mongo) AllowHostPolicy ¶
func (*Mongo) CreateDomain ¶
CreateDomain creates a domain in DynamoDB.
func (*Mongo) DeleteDomain ¶
Click to show internal directories.
Click to hide internal directories.