Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Session ¶
type Session struct { AccountId string BaseURL string CDClient *cd.ApiClient Endpoint string HTTPClient *retryablehttp.Client NGClient *nextgen.APIClient }
func NewSession ¶
func NewSession(opt *SessionOptions) (*Session, error)
NewSession creates a new session with default settings.
type SessionOptions ¶
type SessionOptions struct { AccountId string ApiKey string DebugLogging bool Endpoint string HTTPClient *retryablehttp.Client Logger *log.Logger NGApiKey string UserAgent string }
func (*SessionOptions) GetCDClientFromOptions ¶
func (opts *SessionOptions) GetCDClientFromOptions() (*cd.ApiClient, error)
func (*SessionOptions) GetNGClientFromOptions ¶
func (s *SessionOptions) GetNGClientFromOptions() *nextgen.APIClient
Directories ¶
Path | Synopsis |
---|---|
nextgen
* CD NextGen API Reference * * This is the Open Api Spec 3 for the NextGen Manager.
|
* CD NextGen API Reference * * This is the Open Api Spec 3 for the NextGen Manager. |
Based on https://github.com/hashicorp/terraform-plugin-sdk/blob/3819ed23c0/helper/logging/transport.go
|
Based on https://github.com/hashicorp/terraform-plugin-sdk/blob/3819ed23c0/helper/logging/transport.go |
Click to show internal directories.
Click to hide internal directories.