Documentation ¶
Index ¶
- func NewSSHClient(pc ProviderConfig, rc types.RemoteConnection) (*ssh.Client, error)
- func Provider() terraform.ResourceProvider
- func WithAutomationSchema() map[string]*schema.Schema
- func WithHostSchema() map[string]*schema.Schema
- func WithMongoDSchema() map[string]*schema.Schema
- func WithOpsManagerSchema() map[string]*schema.Schema
- func WithProviderConfig(pc *ProviderConfig) func(params *ssh.Connection) error
- type ProviderConfig
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 WithAutomationSchema ¶
WithAutomationSchema appends AutomationAgentConfigSchema schema to the specified schema map
func WithHostSchema ¶
WithHostSchema appends host schema to the specified schema map
func WithMongoDSchema ¶
WithMongoDSchema appends MongoD process schema to the specified schema map
func WithOpsManagerSchema ¶
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 ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.