Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ServerList = []string{
"https://{tenantDomain}.conductor.one",
}
ServerList contains the list of servers available to the SDK
Functions ¶
Types ¶
type ConductoroneAPI ¶
type ConductoroneAPI struct { AppEntitlementUserBinding *appEntitlementUserBinding AppEntitlements *appEntitlements AppReport *appReport AppReportAction *appReportAction AppResource *appResource AppResourceSearch *appResourceSearch AppResourceType *appResourceType AppSearch *appSearch AppUsageControls *appUsageControls Apps *apps Auth *auth Directory *directory Policies *policies RequestCatalogSearch *requestCatalogSearch Roles *roles Task *task TaskActions *taskActions TaskSearch *taskSearch User *user UserSearch *userSearch // contains filtered or unexported fields }
ConductoroneAPI - ConductorOne API: The ConductorOne API is a HTTP API for managing ConductorOne resources.
func New ¶
func New(opts ...SDKOption) *ConductoroneAPI
New creates a new instance of the SDK with the provided options
type HTTPClient ¶
HTTPClient provides an interface for suplying the SDK with a custom HTTP client
type SDKOption ¶
type SDKOption func(*ConductoroneAPI)
func WithClient ¶
func WithClient(client HTTPClient) SDKOption
WithClient allows the overriding of the default HTTP client used by the SDK
func WithServerIndex ¶
WithServerIndex allows the overriding of the default server by index
func WithServerURL ¶
WithServerURL allows the overriding of the default server URL
func WithTemplatedServerURL ¶
WithTemplatedServerURL allows the overriding of the default server URL with a templated URL populated with the provided parameters
func WithTenantDomain ¶
WithTenantDomain allows setting the $name variable for url substitution
Source Files ¶
- appentitlements.go
- appentitlementuserbinding.go
- appreport.go
- appreportaction.go
- appresource.go
- appresourcesearch.go
- appresourcetype.go
- apps.go
- appsearch.go
- appusagecontrols.go
- auth.go
- conductoroneapi.go
- directory.go
- policies.go
- requestcatalogsearch.go
- roles.go
- task.go
- taskactions.go
- tasksearch.go
- user.go
- usersearch.go