https

package
v0.0.0-...-351850b Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Certificate string
	Key         string
	SSLEngine   string
}

Client holds the configuration for the client side mTLS configuration NOTE: Careful when changing this, the struct is exposed directly in the 'mender-shell.conf' file.

func (*Client) Validate

func (h *Client) Validate()

Validate validates the Client's configuration

type Config

type Config struct {
	IsHTTPS    bool
	ServerCert string
	*Client
	NoVerify bool
}

Config holds the configuration for HTTP clients

type MenderServer

type MenderServer struct {
	ServerURL string
}

MenderServer is a placeholder for a full server definition used when multiple servers are given. The fields corresponds to the definitions given in MenderShellConfig.

Jump to

Keyboard shortcuts

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