pritunlko

package
v0.0.0-...-a93d2d4 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2019 License: MPL-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Provider

func Provider() terraform.ResourceProvider

Types

type PritunlClient

type PritunlClient struct {
	PritunlHost     string
	PritunlToken    string
	PritunlSecret   string
	PritunlInsecure bool
}

func NewClient

func NewClient(d *schema.ResourceData) *PritunlClient

type Request

type Request struct {
	Method string
	Path   string
	Query  map[string]string
	Json   interface{}
}

func (*Request) Do

func (r *Request) Do(pritunlClient *PritunlClient, respVal interface{}) (*http.Response, error)

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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