solidserver

package
v1.1.20 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: BSD-2-Clause Imports: 28 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BigIntToHexStr

func BigIntToHexStr(bigInt *big.Int) string

BigIntToHexStr convert a Big Integer into an Hexa String

func BigIntToStr

func BigIntToStr(bigInt *big.Int) string

BigIntToStr convert a Big Integer to Decimal String

func Config_CreateSpace

func Config_CreateSpace(spacename string) string

func Provider

func Provider() *schema.Provider

func ProviderConfigure

func ProviderConfigure(ctx context.Context, d *schema.ResourceData) (interface{}, diag.Diagnostics)

func SubmitRequest

func SubmitRequest(s *SOLIDserver, apiclient *gorequest.SuperAgent, method string, service string, parameters string) (*http.Response, string, error)

Types

type HttpRequestFunc

type HttpRequestFunc func(*gorequest.SuperAgent, string) *gorequest.SuperAgent

type SOLIDserver

type SOLIDserver struct {
	Ctx                      context.Context
	Host                     string
	Username                 string
	Password                 string
	BaseUrl                  string
	SSLVerify                bool
	AdditionalTrustCertsFile string
	Version                  int
	Authenticated            bool
}

func NewSOLIDserver

func NewSOLIDserver(ctx context.Context, host string, username string, password string, sslverify bool, certsfile string, version string) (*SOLIDserver, diag.Diagnostics)

func (*SOLIDserver) GetVersion

func (s *SOLIDserver) GetVersion(version string) diag.Diagnostics

func (*SOLIDserver) Request

func (s *SOLIDserver) Request(method string, service string, parameters *url.Values) (*http.Response, string, error)

Jump to

Keyboard shortcuts

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