Documentation ¶
Index ¶
- func Invoke(any interface{}, name string, args ...interface{}) []reflect.Value
- func Paginate[T any](f interface{}, initialOffset int32, increment int32, limit int32) ([]T, *http.Response, error)
- func PaginateSearchApi(ctx context.Context, apiClient *APIClient, search v3.Search, ...) ([]map[string]interface{}, *http.Response, error)
- func PaginateWithDefaults[T any](f interface{}) ([]T, *http.Response, error)
- type APIClient
- type ClientConfiguration
- type Configuration
- type Environment
- type OrgConfig
- type PatConfig
- type ServerVariable
- type Token
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PaginateSearchApi ¶
Types ¶
type APIClient ¶
type APIClient struct { V3 *v3.APIClient V2 *v2.APIClient Beta *beta.APIClient CC *cc.APIClient // contains filtered or unexported fields }
APIClient manages communication with the IdentityNow V3 API API v3.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
type ClientConfiguration ¶
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` HTTPClient *retryablehttp.Client ClientConfiguration ClientConfiguration }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration(clientConfiguration ClientConfiguration) *Configuration
NewConfiguration returns a new Configuration object
func NewDefaultConfiguration ¶
func NewDefaultConfiguration() *Configuration
type Environment ¶
type OrgConfig ¶
type OrgConfig struct { //Standard Variables Debug bool `mapstructure:"debug"` AuthType string `mapstructure:"authtype"` ActiveEnvironment string `mapstructure:"activeenvironment"` Environments map[string]Environment `mapstructure:"environments"` }
type ServerVariable ¶
ServerVariable stores the information about a server variable
Click to show internal directories.
Click to hide internal directories.