provider

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultURL string = "http://localhost:8080"

Variables

This section is empty.

Functions

func New

func New(version string, tenant *string) func() *schema.Provider

Types

type Client

type Client struct {
	HTTPClient         *http.Client
	Url                string
	Username           *string
	Password           *string
	Jwt                *string
	ApiToken           *string
	ExtraHeader        *map[string]string
	TenantId           *string
	KeepOriginalSource *bool
}

func NewClient

func NewClient(url string, username *string, password *string, jwt *string, apiToken *string, extraHeaders *interface{}, tenantId *string, keepOriginalSource *bool) (*Client, error)

type RequestError added in v0.1.6

type RequestError struct {
	StatusCode int
	Err        error
}

Jump to

Keyboard shortcuts

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