mongo

package
v0.0.1-beta1 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BlockMongo = "mongo"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Decoder

type Decoder struct{}

func (*Decoder) BlockHeaderSchema

func (dec *Decoder) BlockHeaderSchema() hcl.BlockHeaderSchema

BlockHeaderSchema return the header schema for the plugin.

func (*Decoder) DecodeBlock

func (dec *Decoder) DecodeBlock(block *hcl.Block) (actions.Action, errors.Error)

type Mongo

type Mongo struct {
	*actions.Base
	// contains filtered or unexported fields
}

func (*Mongo) CreteContext

func (m *Mongo) CreteContext(evalCtx *hcl.EvalContext) context.Context

func (*Mongo) Execute

func (m *Mongo) Execute(ctx orionContext.FeatureContext) errors.Error

func (*Mongo) Filter

func (m *Mongo) Filter(ctx orionContext.FeatureContext) (map[string]interface{}, errors.Error)

func (*Mongo) Operation

func (m *Mongo) Operation() string

func (*Mongo) SetOperation

func (m *Mongo) SetOperation(operation string)

func (*Mongo) SetQuery

func (m *Mongo) SetQuery(q *decoder.Query)

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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