Documentation ¶
Overview ¶
TODO: check if types should be removed from here, and set in correct packages
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Binding ¶
type Binding struct { Resource *Resource `bson:"resource" json:"resource,omitempty"` BindingID string `bson:"bindingId" json:"bindingId"` CRUDDocumentState string `bson:"__STATE__" json:"-"` Groups []string `bson:"groups" json:"groups,omitempty"` Subjects []string `bson:"subjects" json:"subjects,omitempty"` Permissions []string `bson:"permissions" json:"permissions,omitempty"` Roles []string `bson:"roles" json:"roles,omitempty"` }
type BindingCreateResponse ¶
type BindingCreateResponse struct {
ObjectID string `json:"_id"`
}
type BindingUpdate ¶
type MongoClient ¶ added in v1.12.2
type MongoClient interface { Collection(collectionName string) *mongo.Collection Disconnect() error }
type RequestError ¶
Click to show internal directories.
Click to hide internal directories.