connection

package
v0.0.0-...-8ffbc8e Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPConfig

type HTTPConfig struct {
	Insecure       bool `mapstructure:"insecure"`
	TimeoutSeconds int  `mapstructure:"timeout-seconds"`
}

Configurations for the HTTP Client itself (net/http)

type NextlinuxInfo

type NextlinuxInfo struct {
	URL      string     `mapstructure:"url"`
	User     string     `mapstructure:"user"`
	Password string     `mapstructure:"password"`
	Account  string     `mapstructure:"account"`
	HTTP     HTTPConfig `mapstructure:"http"`
}

Information for posting in-use image details to Nextlinux (or any URL for that matter)

func (*NextlinuxInfo) IsValid

func (nextlinux *NextlinuxInfo) IsValid() bool

Return whether or not NextlinuxDetails are specified

Jump to

Keyboard shortcuts

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