govnsx

package module
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 10, 2022 License: MPL-2.0 Imports: 2 Imported by: 2

README

go sdk for NSX

This is the repository that contains helper SDK for the Terraform NSV Provider, which one can use with Terraform to work with VMware NSX-V.

Build information

In order to reduce the security risk build this SDK using the latest version of golang. You may also need to upgrade the version of required modules in go.mod and regenerate the go.sum for any security issues.

Steps to rebuild this SDK

  • export GOPATH=<YOUR_GO_PATH>
  • export GO_BIN_LOCATION=<YOUR_GO_BIN_PATH>
  • export GOVX_VERSION=v1.0.2
  • mkdir -p $GOPATH/src/github.com/IBM-tfproviders
  • git clone -b $GOVX_VERSION https://github.com/IBM-tfproviders/govnsx
  • cd $GOPATH/src/github.com/IBM-tfproviders/govnsx
  • $GO_BIN_LOCATION/go mod tidy
  • $GO_BIN_LOCATION/go install

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Rclient   *resty.Client
	MgrConfig *NsxManagerConfig
}

func NewClient

func NewClient(mgrParams *NsxManagerConfig) (*Client, error)

NewClient creates a new client from a URL.

type NsxManagerConfig

type NsxManagerConfig struct {
	UserName      string
	Password      string
	Uri           string
	AllowInsecssl bool
	UserAgentName string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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