bean

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: Apache-2.0 Imports: 0 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectionMethod

type ConnectionMethod string
const (
	ConnectionMethod_Proxy ConnectionMethod = "PROXY"
	ConnectionMethod_SSH   ConnectionMethod = "SSH"
)

type ProxyConfig

type ProxyConfig struct {
	ProxyUrl string `json:"proxyUrl,omitempty"`
}

type RegistryConfig

type RegistryConfig struct {
	RegistryId                string
	RegistryUrl               string
	RegistryUsername          string
	RegistryPassword          string
	RegistryConnectionType    string //secure, insecure, secure-with-cert
	RegistryCertificateString string
	RegistryCAFilePath        string
	IsPublicRegistry          bool
	ConnectionMethod          ConnectionMethod //ssh, proxy
	ProxyConfig               *ProxyConfig
	SSHConfig                 *SSHTunnelConfig
}

type RemoteConnectionConfigBean

type RemoteConnectionConfigBean struct {
	RemoteConnectionConfigId int                    `json:"remoteConnectionConfigId"`
	ConnectionMethod         RemoteConnectionMethod `json:"connectionMethod,omitempty"`
	ProxyConfig              *ProxyConfig           `json:"proxyConfig,omitempty"`
	SSHTunnelConfig          *SSHTunnelConfig       `json:"sshConfig,omitempty"`
}

type RemoteConnectionMethod

type RemoteConnectionMethod string
const (
	RemoteConnectionMethodProxy  RemoteConnectionMethod = "PROXY"
	RemoteConnectionMethodSSH    RemoteConnectionMethod = "SSH"
	RemoteConnectionMethodDirect RemoteConnectionMethod = "DIRECT"
)

type SSHTunnelConfig

type SSHTunnelConfig struct {
	SSHServerAddress string `json:"sshServerAddress,omitempty"`
	SSHUsername      string `json:"sshUsername,omitempty"`
	SSHPassword      string `json:"sshPassword,omitempty"`
	SSHAuthKey       string `json:"sshAuthKey,omitempty"`
}

Jump to

Keyboard shortcuts

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