Documentation ¶
Index ¶
- Constants
- func InsecureRoundTripper(roundTripper http.RoundTripper) http.RoundTripper
- func NewFromConfig(configSource provider.ConfigSource, passphraseSource provider.PassPhraseSource) (provider.Provider, error)
- type Annotations
- type Provider
- func (op *Provider) APIClient() *fnclient.Fn
- func (op *Provider) APIClientv2() *clientv2.Fn
- func (op *Provider) APIURL() *url.URL
- func (op *Provider) CallURL(appName string) (*url.URL, error)
- func (op *Provider) VersionClient() *version.Client
- func (op *Provider) WrapCallTransport(roundTripper http.RoundTripper) http.RoundTripper
- type Response
Constants ¶
View Source
const ( CfgTenancyID = "oracle.tenancy-id" CfgUserID = "oracle.user-id" CfgFingerprint = "oracle.fingerprint" CfgKeyFile = "oracle.key-file" CfgPassPhrase = "oracle.pass-phrase" CfgProfile = "oracle.profile" CfgCompartmentID = "oracle.compartment-id" CfgDisableCerts = "oracle.disable-certs" )
Variables ¶
This section is empty.
Functions ¶
func InsecureRoundTripper ¶
func InsecureRoundTripper(roundTripper http.RoundTripper) http.RoundTripper
Skip verification of insecure certs
func NewFromConfig ¶
func NewFromConfig(configSource provider.ConfigSource, passphraseSource provider.PassPhraseSource) (provider.Provider, error)
Types ¶
type Annotations ¶
type Provider ¶
type Provider struct { // FnApiUrl is the endpoint to use for API interactions FnApiUrl *url.URL // FnCallUrl is the endpoint used for call interactions FnCallUrl *url.URL // KeyId is the public key fingerprint (in colon-separated hex) of the public key used for interactions KeyId string // PrivateKey is the RSA private key used to sign requests PrivateKey *rsa.PrivateKey //DisableCerts indicates if server certificates should be ignored DisableCerts bool //CompartmentID is the ocid of the functions compartment ID for a given function CompartmentID string }
Provider : Oracle Authentication provider
func (*Provider) APIClientv2 ¶
func (*Provider) VersionClient ¶
func (*Provider) WrapCallTransport ¶
func (op *Provider) WrapCallTransport(roundTripper http.RoundTripper) http.RoundTripper
Click to show internal directories.
Click to hide internal directories.