thunder

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: BSD-2-Clause Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetReqHeader

func GetReqHeader(auth_token string) map[string]string

func Provider

func Provider() *schema.Provider

Types

type AuthResponse

type AuthResponse struct {
	Inst struct {
		Signature   string `json:"signature"`
		Description string `json:"description"`
	} `json:"authresponse"`
}

type AxApiResponse

type AxApiResponse struct {
	Response struct {
		Status string `json:"status"`
		Err    struct {
			Code int    `json:"code"`
			From string `json:"from"`
			Msg  string `json:"msg"`
		} `json:"err"`
	} `json:"response"`
}

type Credentials

type Credentials struct {
	Inst struct {
		Username string `json:"username"`
		Password string `json:"password"`
	} `json:"credentials"`
}

type Thunder

type Thunder struct {
	Host      string
	User      string
	Password  string
	Token     string
	Partition string
	// contains filtered or unexported fields
}

func (*Thunder) Connect

func (t *Thunder) Connect() error

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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