proxy

package
v0.3.10-0-alpha2 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: Apache-2.0 Imports: 7 Imported by: 5

Documentation

Index

Constants

View Source
const (
	ProxySettingId_DIRECT = "DIRECT"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ProxySetting

type ProxySetting struct {
	HttpProxy  string
	HttpsProxy string
	NoProxy    string
}

func (*ProxySetting) Sanitize

func (v *ProxySetting) Sanitize() error

type ProxySettingCreateInput

type ProxySettingCreateInput struct {
	apis.InfrasResourceBaseCreateInput

	ProxySetting
}

type ProxySettingResourceInput

type ProxySettingResourceInput struct {
	// 代理配置
	ProxySettingId string `json:"proxy_setting_id"`

	// swagger:ignore
	// Deprecated
	ProxySetting string `json:"proxy_setting" yunion-deprecated-by:"proxy_setting_id"`
}

type ProxySettingTestInput

type ProxySettingTestInput struct {
	HttpProxy  string
	HttpsProxy string
}

type ProxySettingUpdateInput

type ProxySettingUpdateInput struct {
	apis.InfrasResourceBaseUpdateInput

	ProxySetting
}

type SProxySetting

type SProxySetting struct {
	apis.SInfrasResourceBase
	HTTPProxy  string `json:"http_proxy"`
	HTTPSProxy string `json:"https_proxy"`
	NoProxy    string `json:"no_proxy"`
}

SProxySetting is an autogenerated struct via yunion.io/x/onecloud/pkg/cloudcommon/db/proxy.SProxySetting.

func (*SProxySetting) IsZero

func (ps *SProxySetting) IsZero() bool

IsZero implements ISerializable interface

func (*SProxySetting) String

func (ps *SProxySetting) String() string

String implements ISerializable interface

Jump to

Keyboard shortcuts

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