mongodb

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2019 License: MPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSSHClient

func NewSSHClient(pc ProviderConfig, rc types.RemoteConnection) (*ssh.Client, error)

NewSSHClient build a new SSH client using the provided parameters

func Provider

func Provider() terraform.ResourceProvider

Provider for MongoDB resources

func WithAutomationSchema

func WithAutomationSchema() map[string]*schema.Schema

WithAutomationSchema appends AutomationAgentConfigSchema schema to the specified schema map

func WithHostSchema

func WithHostSchema() map[string]*schema.Schema

WithHostSchema appends host schema to the specified schema map

func WithMongoDSchema

func WithMongoDSchema() map[string]*schema.Schema

WithMongoDSchema appends MongoD process schema to the specified schema map

func WithOpsManagerSchema

func WithOpsManagerSchema() map[string]*schema.Schema

WithOpsManagerSchema appends OpsManager schema to the specified schema map

func WithProviderConfig

func WithProviderConfig(pc *ProviderConfig) func(params *ssh.Connection) error

WithProviderConfig helper for passing provider configuration to the SSH client via a *ssh.Connection

Types

type ProviderConfig

type ProviderConfig struct {
	ssh.Bastion
	ssh.Agent
}

ProviderConfig provider configuration object

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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