solace

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package solace implements the functions and types needed to create a custom terraform provider that will manage solace message broker appliances.

See https://www.terraform.io/ and https://solace.com

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Provider

func Provider() *schema.Provider

Provider is the main entry point for all resources defined by this terraform plugin

Types

type Config

type Config struct {
	User     string
	Password string
	Host     string
	BasePath string
	MsgVPN   string

	Auth   runtime.ClientAuthInfoWriter
	Client *apiclient.SEMPSolaceElementManagementProtocol
}

Config is the configuration structure used to instantiate the Solace client as well as holding per-provider global data.

type TerraformResourceData

type TerraformResourceData interface {
	HasChange(string) bool
	GetOk(string) (interface{}, bool)
	Set(string, interface{}) error
	SetId(string)
	Id() string
}

TerraformResourceData represents a subset of the function from schema.ResourceData Approach copied from terraform-google-provider (utils.go) cf. https://godoc.org/github.com/hashicorp/terraform/helper/schema#ResourceData

Jump to

Keyboard shortcuts

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