Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCaller ¶
func NewCaller(opts *CallerOptions) sacloud.APICaller
NewCaller 指定のオプションでsacloud.APICallerを構築して返す
Types ¶
type CallerOptions ¶
type CallerOptions struct { AccessToken string AccessTokenSecret string APIRootURL string DefaultZone string AcceptLanguage string HTTPClient *http.Client HTTPRequestTimeout int HTTPRequestRateLimit int RetryMax int RetryWaitMax int RetryWaitMin int UserAgent string TraceAPI bool TraceHTTP bool OpenTelemetry bool OpenTelemetryOptions []otel.Option FakeMode bool FakeStorePath string }
CallerOptions sacloud.APICallerを作成する際のオプション
Click to show internal directories.
Click to hide internal directories.