Documentation ¶
Index ¶
- Constants
- func HttpGetWithSpecifiedHeader(logger logrus.FieldLogger, url string, headers map[string]string) (string, error)
- func HttpGetWithoutExtraHeader(logger logrus.FieldLogger, url string) (string, error)
- type EnvironmentVariableProvider
- type ExternalExecutableProvider
- func (p *ExternalExecutableProvider) CACertificate(logger logrus.FieldLogger, refresh bool) ([]byte, error)
- func (p *ExternalExecutableProvider) ExtraHTTPHeaders(logger logrus.FieldLogger) (map[string]string, error)
- func (p *ExternalExecutableProvider) Name() string
- func (p *ExternalExecutableProvider) RegionId(logger logrus.FieldLogger) (string, error)
- func (p *ExternalExecutableProvider) ServerDomain(logger logrus.FieldLogger) (string, error)
- type GeneralProvider
- func (*GeneralProvider) CACertificate(logger logrus.FieldLogger, refresh bool) ([]byte, error)
- func (p *GeneralProvider) ExtraHTTPHeaders(logger logrus.FieldLogger) (map[string]string, error)
- func (*GeneralProvider) Name() string
- func (p *GeneralProvider) RegionId(logger logrus.FieldLogger) (string, error)
- func (p *GeneralProvider) ServerDomain(logger logrus.FieldLogger) (string, error)
- type HybridModeProvider
- func (*HybridModeProvider) ExtraHTTPHeaders(logger logrus.FieldLogger) (map[string]string, error)
- func (*HybridModeProvider) Name() string
- func (*HybridModeProvider) RegionId(logger logrus.FieldLogger) (string, error)
- func (p *HybridModeProvider) ServerDomain(logger logrus.FieldLogger) (string, error)
- type ProvisionOutputV1
Constants ¶
View Source
const (
InternetDomain = ".axt.aliyuncs.com"
)
View Source
const (
IntranetDomain = ".axt.aliyun.com"
)
Variables ¶
This section is empty.
Functions ¶
func HttpGetWithoutExtraHeader ¶
func HttpGetWithoutExtraHeader(logger logrus.FieldLogger, url string) (string, error)
Types ¶
type EnvironmentVariableProvider ¶
type EnvironmentVariableProvider struct{}
func (*EnvironmentVariableProvider) CACertificate ¶
func (*EnvironmentVariableProvider) CACertificate(logger logrus.FieldLogger, refresh bool) ([]byte, error)
func (*EnvironmentVariableProvider) Name ¶
func (*EnvironmentVariableProvider) Name() string
type ExternalExecutableProvider ¶
type ExternalExecutableProvider struct {
// contains filtered or unexported fields
}
func (*ExternalExecutableProvider) CACertificate ¶
func (p *ExternalExecutableProvider) CACertificate(logger logrus.FieldLogger, refresh bool) ([]byte, error)
func (*ExternalExecutableProvider) ExtraHTTPHeaders ¶
func (p *ExternalExecutableProvider) ExtraHTTPHeaders(logger logrus.FieldLogger) (map[string]string, error)
func (*ExternalExecutableProvider) Name ¶
func (p *ExternalExecutableProvider) Name() string
func (*ExternalExecutableProvider) RegionId ¶
func (p *ExternalExecutableProvider) RegionId(logger logrus.FieldLogger) (string, error)
func (*ExternalExecutableProvider) ServerDomain ¶
func (p *ExternalExecutableProvider) ServerDomain(logger logrus.FieldLogger) (string, error)
type GeneralProvider ¶
type GeneralProvider struct {
// contains filtered or unexported fields
}
func (*GeneralProvider) CACertificate ¶
func (*GeneralProvider) CACertificate(logger logrus.FieldLogger, refresh bool) ([]byte, error)
func (*GeneralProvider) ExtraHTTPHeaders ¶
func (p *GeneralProvider) ExtraHTTPHeaders(logger logrus.FieldLogger) (map[string]string, error)
func (*GeneralProvider) Name ¶
func (*GeneralProvider) Name() string
func (*GeneralProvider) RegionId ¶
func (p *GeneralProvider) RegionId(logger logrus.FieldLogger) (string, error)
func (*GeneralProvider) ServerDomain ¶
func (p *GeneralProvider) ServerDomain(logger logrus.FieldLogger) (string, error)
type HybridModeProvider ¶
type HybridModeProvider struct{}
func (*HybridModeProvider) ExtraHTTPHeaders ¶
func (*HybridModeProvider) ExtraHTTPHeaders(logger logrus.FieldLogger) (map[string]string, error)
func (*HybridModeProvider) Name ¶
func (*HybridModeProvider) Name() string
func (*HybridModeProvider) RegionId ¶
func (*HybridModeProvider) RegionId(logger logrus.FieldLogger) (string, error)
func (*HybridModeProvider) ServerDomain ¶
func (p *HybridModeProvider) ServerDomain(logger logrus.FieldLogger) (string, error)
type ProvisionOutputV1 ¶
Click to show internal directories.
Click to hide internal directories.