solace

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigSchema = map[string]*schema.Attribute{
	"api_token": {Type: schema.TypeString},
	"api_url":   {Type: schema.TypeString},
}

Functions

func ConfigInstance

func ConfigInstance() interface{}

func LogQueryContext

func LogQueryContext(namespace string, ctx context.Context, d *plugin.QueryData, h *plugin.HydrateData)

func NewSolaceClient

func NewSolaceClient(c *plugin.Connection) (*solace.Client, error)

func Plugin

func Plugin(ctx context.Context) *plugin.Plugin

func ToJSON

func ToJSON(value interface{}) string

Types

type Config

type Config struct {
	ApiToken *string `cty:"api_token"`
	ApiUrl   *string `cty:"api_url"`
}

Jump to

Keyboard shortcuts

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