Documentation ¶
Index ¶
- Constants
- Variables
- type AggregateContent
- type AggregateOptions
- type BulkWriteContent
- type CommandContent
- type Connector
- func (m *Connector) GetMetaInfo(resourceOptions map[string]interface{}) (common.MetaInfoResult, error)
- func (m *Connector) Run(resourceOptions map[string]interface{}, actionOptions map[string]interface{}, ...) (common.RuntimeResult, error)
- func (m *Connector) TestConnection(resourceOptions map[string]interface{}) (common.ConnectionResult, error)
- func (m *Connector) ValidateActionTemplate(actionOptions map[string]interface{}) (common.ValidateResult, error)
- func (m *Connector) ValidateResourceOptions(resourceOptions map[string]interface{}) (common.ValidateResult, error)
- type CountContent
- type DeleteManyContent
- type DeleteOneContent
- type DistinctContent
- type DistinctOptions
- type FindContent
- type FindOneAndUpdateContent
- type FindOneAndUpdateOptions
- type FindOneContent
- type GUIOptions
- type InsertManyContent
- type InsertOneContent
- type ListCollectionsContent
- type Options
- type Query
- type QueryRunner
- type SSLOptions
- type URIOptions
- type UpdateManyContent
- type UpdateManyOptions
- type UpdateOneContent
- type UpdateOneOptions
Constants ¶
View Source
const ( STANDARD_FORMAT = "standard" DNSSEEDLIST_FORMAT = "mongodb+srv" GUI_OPTIONS = "gui" URI_OPTIONS = "uri" )
Variables ¶
View Source
var (
CONNECTION_FORMAT = map[string]string{STANDARD_FORMAT: "mongodb", DNSSEEDLIST_FORMAT: "mongodb+srv"}
)
Functions ¶
This section is empty.
Types ¶
type AggregateContent ¶
type AggregateOptions ¶
type BulkWriteContent ¶
type CommandContent ¶
type CommandContent struct {
Document string
}
type Connector ¶
func (*Connector) GetMetaInfo ¶
func (m *Connector) GetMetaInfo(resourceOptions map[string]interface{}) (common.MetaInfoResult, error)
func (*Connector) TestConnection ¶
func (m *Connector) TestConnection(resourceOptions map[string]interface{}) (common.ConnectionResult, error)
func (*Connector) ValidateActionTemplate ¶
func (m *Connector) ValidateActionTemplate(actionOptions map[string]interface{}) (common.ValidateResult, error)
func (*Connector) ValidateResourceOptions ¶
func (m *Connector) ValidateResourceOptions(resourceOptions map[string]interface{}) (common.ValidateResult, error)
type CountContent ¶
type CountContent struct {
Query string
}
type DeleteManyContent ¶
type DeleteManyContent struct {
Filter string
}
type DeleteOneContent ¶
type DeleteOneContent struct {
Filter string
}
type DistinctContent ¶
type DistinctOptions ¶
type FindContent ¶
type FindOneAndUpdateContent ¶
type FindOneAndUpdateOptions ¶
type FindOneContent ¶
type GUIOptions ¶
type InsertManyContent ¶
type InsertManyContent struct {
Document string
}
type InsertOneContent ¶
type InsertOneContent struct {
Document string
}
type ListCollectionsContent ¶
type ListCollectionsContent struct {
Query string
}
type Options ¶
type Options struct { ConfigType string `validate:"required,oneof=gui uri"` ConfigContent map[string]interface{} `validate:"required"` SSL SSLOptions }
type QueryRunner ¶
type QueryRunner struct {
// contains filtered or unexported fields
}
type SSLOptions ¶
type URIOptions ¶
type URIOptions struct {
URI string `validate:"required"`
}
type UpdateManyContent ¶
type UpdateManyOptions ¶
type UpdateOneContent ¶
type UpdateOneOptions ¶
Click to show internal directories.
Click to hide internal directories.