Documentation ¶
Index ¶
- Constants
- Variables
- func Bool(b bool) *bool
- func Float32(f float32) *float32
- func Float64(f float64) *float64
- func Int(i int) *int
- func Int64(i int64) *int64
- func NewTokenSource(ctx context.Context, clientID string, clientSecret string, tokenHost string) (oauth2.TokenSource, error)
- func Pointer[T any](v T) *T
- func String(s string) *string
- type AWSExternalIDSettings
- type AppAccessRequestsDefaults
- type AppEntitlementOwners
- func (s *AppEntitlementOwners) Add(ctx context.Context, ...) (*operations.C1APIAppV1AppEntitlementOwnersAddResponse, error)
- func (s *AppEntitlementOwners) List(ctx context.Context, ...) (*operations.C1APIAppV1AppEntitlementOwnersListResponse, error)
- func (s *AppEntitlementOwners) Remove(ctx context.Context, ...) (*operations.C1APIAppV1AppEntitlementOwnersRemoveResponse, error)
- func (s *AppEntitlementOwners) Set(ctx context.Context, ...) (*operations.C1APIAppV1AppEntitlementOwnersSetResponse, error)
- type AppEntitlementSearch
- func (s *AppEntitlementSearch) Search(ctx context.Context, request *shared.AppEntitlementSearchServiceSearchRequest, ...) (*operations.C1APIAppV1AppEntitlementSearchServiceSearchResponse, error)
- func (s *AppEntitlementSearch) SearchAppEntitlementsForAppUser(ctx context.Context, ...) (...)
- func (s *AppEntitlementSearch) SearchAppEntitlementsWithExpired(ctx context.Context, ...) (...)
- type AppEntitlementUserBinding
- func (s *AppEntitlementUserBinding) ListAppUsersForIdentityWithGrant(ctx context.Context, ...) (...)
- func (s *AppEntitlementUserBinding) SearchGrantFeed(ctx context.Context, opts ...operations.Option) (*operations.C1APIAppV1AppEntitlementUserBindingServiceSearchGrantFeedResponse, ...)
- func (s *AppEntitlementUserBinding) SearchPastGrants(ctx context.Context, opts ...operations.Option) (*operations.C1APIAppV1AppEntitlementUserBindingServiceSearchPastGrantsResponse, ...)
- type AppEntitlements
- func (s *AppEntitlements) Create(ctx context.Context, request operations.C1APIAppV1AppEntitlementsCreateRequest, ...) (*operations.C1APIAppV1AppEntitlementsCreateResponse, error)
- func (s *AppEntitlements) Delete(ctx context.Context, request operations.C1APIAppV1AppEntitlementsDeleteRequest, ...) (*operations.C1APIAppV1AppEntitlementsDeleteResponse, error)
- func (s *AppEntitlements) Get(ctx context.Context, request operations.C1APIAppV1AppEntitlementsGetRequest, ...) (*operations.C1APIAppV1AppEntitlementsGetResponse, error)
- func (s *AppEntitlements) List(ctx context.Context, request operations.C1APIAppV1AppEntitlementsListRequest, ...) (*operations.C1APIAppV1AppEntitlementsListResponse, error)
- func (s *AppEntitlements) ListForAppResource(ctx context.Context, ...) (*operations.C1APIAppV1AppEntitlementsListForAppResourceResponse, error)
- func (s *AppEntitlements) ListForAppUser(ctx context.Context, ...) (*operations.C1APIAppV1AppEntitlementsListForAppUserResponse, error)
- func (s *AppEntitlements) ListUsers(ctx context.Context, ...) (*operations.C1APIAppV1AppEntitlementsListUsersResponse, error)
- func (s *AppEntitlements) Update(ctx context.Context, request operations.C1APIAppV1AppEntitlementsUpdateRequest, ...) (*operations.C1APIAppV1AppEntitlementsUpdateResponse, error)
- type AppEntitlementsProxy
- func (s *AppEntitlementsProxy) Create(ctx context.Context, ...) (*operations.C1APIAppV1AppEntitlementsProxyCreateResponse, error)
- func (s *AppEntitlementsProxy) Delete(ctx context.Context, ...) (*operations.C1APIAppV1AppEntitlementsProxyDeleteResponse, error)
- func (s *AppEntitlementsProxy) Get(ctx context.Context, ...) (*operations.C1APIAppV1AppEntitlementsProxyGetResponse, error)
- type AppOwners
- func (s *AppOwners) Add(ctx context.Context, request operations.C1APIAppV1AppOwnersAddRequest, ...) (*operations.C1APIAppV1AppOwnersAddResponse, error)
- func (s *AppOwners) List(ctx context.Context, request operations.C1APIAppV1AppOwnersListRequest, ...) (*operations.C1APIAppV1AppOwnersListResponse, error)
- func (s *AppOwners) Remove(ctx context.Context, request operations.C1APIAppV1AppOwnersRemoveRequest, ...) (*operations.C1APIAppV1AppOwnersRemoveResponse, error)
- func (s *AppOwners) Set(ctx context.Context, request operations.C1APIAppV1AppOwnersSetRequest, ...) (*operations.C1APIAppV1AppOwnersSetResponse, error)
- type AppReport
- type AppReportAction
- type AppResource
- func (s *AppResource) CreateManuallyManagedAppResource(ctx context.Context, ...) (...)
- func (s *AppResource) DeleteManuallyManagedAppResource(ctx context.Context, ...) (...)
- func (s *AppResource) Get(ctx context.Context, request operations.C1APIAppV1AppResourceServiceGetRequest, ...) (*operations.C1APIAppV1AppResourceServiceGetResponse, error)
- func (s *AppResource) List(ctx context.Context, ...) (*operations.C1APIAppV1AppResourceServiceListResponse, error)
- func (s *AppResource) Update(ctx context.Context, ...) (*operations.C1APIAppV1AppResourceServiceUpdateResponse, error)
- type AppResourceOwners
- type AppResourceSearch
- type AppResourceType
- func (s *AppResourceType) CreateManuallyManagedResourceType(ctx context.Context, ...) (...)
- func (s *AppResourceType) DeleteManuallyManagedResourceType(ctx context.Context, ...) (...)
- func (s *AppResourceType) Get(ctx context.Context, ...) (*operations.C1APIAppV1AppResourceTypeServiceGetResponse, error)
- func (s *AppResourceType) List(ctx context.Context, ...) (*operations.C1APIAppV1AppResourceTypeServiceListResponse, error)
- func (s *AppResourceType) UpdateManuallyManagedResourceType(ctx context.Context, ...) (...)
- type AppSearch
- type AppUsageControls
- type AppUser
- type Apps
- func (s *Apps) Create(ctx context.Context, request *shared.CreateAppRequest, ...) (*operations.C1APIAppV1AppsCreateResponse, error)
- func (s *Apps) Delete(ctx context.Context, request operations.C1APIAppV1AppsDeleteRequest, ...) (*operations.C1APIAppV1AppsDeleteResponse, error)
- func (s *Apps) Get(ctx context.Context, request operations.C1APIAppV1AppsGetRequest, ...) (*operations.C1APIAppV1AppsGetResponse, error)
- func (s *Apps) List(ctx context.Context, request operations.C1APIAppV1AppsListRequest, ...) (*operations.C1APIAppV1AppsListResponse, error)
- func (s *Apps) Update(ctx context.Context, request operations.C1APIAppV1AppsUpdateRequest, ...) (*operations.C1APIAppV1AppsUpdateResponse, error)
- type AttributeSearch
- type Attributes
- func (s *Attributes) CreateAttributeValue(ctx context.Context, request *shared.CreateAttributeValueRequest, ...) (*operations.C1APIAttributeV1AttributesCreateAttributeValueResponse, error)
- func (s *Attributes) DeleteAttributeValue(ctx context.Context, ...) (*operations.C1APIAttributeV1AttributesDeleteAttributeValueResponse, error)
- func (s *Attributes) GetAttributeValue(ctx context.Context, ...) (*operations.C1APIAttributeV1AttributesGetAttributeValueResponse, error)
- func (s *Attributes) ListAttributeTypes(ctx context.Context, ...) (*operations.C1APIAttributeV1AttributesListAttributeTypesResponse, error)
- func (s *Attributes) ListAttributeValues(ctx context.Context, ...) (*operations.C1APIAttributeV1AttributesListAttributeValuesResponse, error)
- type Auth
- type ClientConfig
- func (c *ClientConfig) GetServerURL() string
- func (c *ClientConfig) ServerURL() string
- func (c *ClientConfig) SetServerURL(serverURL string) error
- func (c *ClientConfig) SetTenant(tenant string) error
- func (c *ClientConfig) Tenant() string
- func (c *ClientConfig) UseWithServer() bool
- func (c *ClientConfig) UseWithTenant() bool
- type ClientCredentials
- type ConductoroneAPI
- type Connector
- func (s *Connector) Create(ctx context.Context, ...) (*operations.C1APIAppV1ConnectorServiceCreateResponse, error)
- func (s *Connector) CreateDelegated(ctx context.Context, ...) (*operations.C1APIAppV1ConnectorServiceCreateDelegatedResponse, error)
- func (s *Connector) Delete(ctx context.Context, ...) (*operations.C1APIAppV1ConnectorServiceDeleteResponse, error)
- func (s *Connector) ForceSync(ctx context.Context, ...) (*operations.C1APIAppV1ConnectorServiceForceSyncResponse, error)
- func (s *Connector) Get(ctx context.Context, request operations.C1APIAppV1ConnectorServiceGetRequest, ...) (*operations.C1APIAppV1ConnectorServiceGetResponse, error)
- func (s *Connector) GetCredentials(ctx context.Context, ...) (*operations.C1APIAppV1ConnectorServiceGetCredentialsResponse, error)
- func (s *Connector) List(ctx context.Context, request operations.C1APIAppV1ConnectorServiceListRequest, ...) (*operations.C1APIAppV1ConnectorServiceListResponse, error)
- func (s *Connector) RevokeCredential(ctx context.Context, ...) (*operations.C1APIAppV1ConnectorServiceRevokeCredentialResponse, error)
- func (s *Connector) RotateCredential(ctx context.Context, ...) (*operations.C1APIAppV1ConnectorServiceRotateCredentialResponse, error)
- func (s *Connector) Update(ctx context.Context, ...) (*operations.C1APIAppV1ConnectorServiceUpdateResponse, error)
- func (s *Connector) UpdateDelegated(ctx context.Context, ...) (*operations.C1APIAppV1ConnectorServiceUpdateDelegatedResponse, error)
- type CustomOptions
- type CustomSDKOption
- type DeviceCodeResponse
- type Directory
- func (s *Directory) Create(ctx context.Context, request *shared.DirectoryServiceCreateRequest, ...) (*operations.C1APIDirectoryV1DirectoryServiceCreateResponse, error)
- func (s *Directory) Delete(ctx context.Context, ...) (*operations.C1APIDirectoryV1DirectoryServiceDeleteResponse, error)
- func (s *Directory) Get(ctx context.Context, ...) (*operations.C1APIDirectoryV1DirectoryServiceGetResponse, error)
- func (s *Directory) List(ctx context.Context, ...) (*operations.C1APIDirectoryV1DirectoryServiceListResponse, error)
- type Export
- func (s *Export) Create(ctx context.Context, request *shared.ExportServiceCreateRequest, ...) (*operations.C1APISystemlogV1ExportServiceCreateResponse, error)
- func (s *Export) Delete(ctx context.Context, ...) (*operations.C1APISystemlogV1ExportServiceDeleteResponse, error)
- func (s *Export) Get(ctx context.Context, ...) (*operations.C1APISystemlogV1ExportServiceGetResponse, error)
- func (s *Export) List(ctx context.Context, ...) (*operations.C1APISystemlogV1ExportServiceListResponse, error)
- func (s *Export) ListEvents(ctx context.Context, ...) (*operations.C1APISystemlogV1ExportServiceListEventsResponse, error)
- func (s *Export) Update(ctx context.Context, ...) (*operations.C1APISystemlogV1ExportServiceUpdateResponse, error)
- type ExportsSearch
- type HTTPClient
- type PersonalClient
- func (s *PersonalClient) Create(ctx context.Context, request *shared.PersonalClientServiceCreateRequest, ...) (*operations.C1APIIamV1PersonalClientServiceCreateResponse, error)
- func (s *PersonalClient) Delete(ctx context.Context, ...) (*operations.C1APIIamV1PersonalClientServiceDeleteResponse, error)
- func (s *PersonalClient) Get(ctx context.Context, ...) (*operations.C1APIIamV1PersonalClientServiceGetResponse, error)
- func (s *PersonalClient) List(ctx context.Context, opts ...operations.Option) (*operations.C1APIIamV1PersonalClientServiceListResponse, error)
- func (s *PersonalClient) Update(ctx context.Context, ...) (*operations.C1APIIamV1PersonalClientServiceUpdateResponse, error)
- type PersonalClientSearch
- type Policies
- func (s *Policies) Create(ctx context.Context, request *shared.CreatePolicyRequest, ...) (*operations.C1APIPolicyV1PoliciesCreateResponse, error)
- func (s *Policies) Delete(ctx context.Context, request operations.C1APIPolicyV1PoliciesDeleteRequest, ...) (*operations.C1APIPolicyV1PoliciesDeleteResponse, error)
- func (s *Policies) Get(ctx context.Context, request operations.C1APIPolicyV1PoliciesGetRequest, ...) (*operations.C1APIPolicyV1PoliciesGetResponse, error)
- func (s *Policies) List(ctx context.Context, request operations.C1APIPolicyV1PoliciesListRequest, ...) (*operations.C1APIPolicyV1PoliciesListResponse, error)
- func (s *Policies) Update(ctx context.Context, request operations.C1APIPolicyV1PoliciesUpdateRequest, ...) (*operations.C1APIPolicyV1PoliciesUpdateResponse, error)
- type PolicySearch
- type PolicyValidate
- type RequestCatalogManagement
- func (s *RequestCatalogManagement) AddAccessEntitlements(ctx context.Context, ...) (...)
- func (s *RequestCatalogManagement) AddAppEntitlements(ctx context.Context, ...) (...)
- func (s *RequestCatalogManagement) Create(ctx context.Context, ...) (*operations.C1APIRequestcatalogV1RequestCatalogManagementServiceCreateResponse, ...)
- func (s *RequestCatalogManagement) Delete(ctx context.Context, ...) (*operations.C1APIRequestcatalogV1RequestCatalogManagementServiceDeleteResponse, ...)
- func (s *RequestCatalogManagement) ForceRunBundleAutomation(ctx context.Context, ...) (...)
- func (s *RequestCatalogManagement) Get(ctx context.Context, ...) (*operations.C1APIRequestcatalogV1RequestCatalogManagementServiceGetResponse, ...)
- func (s *RequestCatalogManagement) GetBundleAutomation(ctx context.Context, ...) (...)
- func (s *RequestCatalogManagement) List(ctx context.Context, ...) (*operations.C1APIRequestcatalogV1RequestCatalogManagementServiceListResponse, ...)
- func (s *RequestCatalogManagement) ListEntitlementsForAccess(ctx context.Context, ...) (...)
- func (s *RequestCatalogManagement) ListEntitlementsPerCatalog(ctx context.Context, ...) (...)
- func (s *RequestCatalogManagement) RemoveAccessEntitlements(ctx context.Context, ...) (...)
- func (s *RequestCatalogManagement) RemoveAppEntitlements(ctx context.Context, ...) (...)
- func (s *RequestCatalogManagement) SetBundleAutomation(ctx context.Context, ...) (...)
- func (s *RequestCatalogManagement) Update(ctx context.Context, ...) (*operations.C1APIRequestcatalogV1RequestCatalogManagementServiceUpdateResponse, ...)
- type RequestCatalogSearch
- type Roles
- func (s *Roles) Get(ctx context.Context, request operations.C1APIIamV1RolesGetRequest, ...) (*operations.C1APIIamV1RolesGetResponse, error)
- func (s *Roles) List(ctx context.Context, request operations.C1APIIamV1RolesListRequest, ...) (*operations.C1APIIamV1RolesListResponse, error)
- func (s *Roles) Update(ctx context.Context, request operations.C1APIIamV1RolesUpdateRequest, ...) (*operations.C1APIIamV1RolesUpdateResponse, error)
- type SDKOption
- func WithClient(client HTTPClient) SDKOption
- func WithRetryConfig(retryConfig retry.Config) SDKOption
- func WithSecurity(security shared.Security) SDKOption
- func WithSecuritySource(security func(context.Context) (shared.Security, error)) SDKOption
- func WithServerIndex(serverIndex int) SDKOption
- func WithServerURL(serverURL string) SDKOption
- func WithTemplatedServerURL(serverURL string, params map[string]string) SDKOption
- func WithTenant(input string) (SDKOption, error)
- func WithTenantDomain(tenantDomain string) SDKOption
- func WithTimeout(timeout time.Duration) SDKOption
- type SessionSettings
- func (s *SessionSettings) Get(ctx context.Context, opts ...operations.Option) (*operations.C1APISettingsV1SessionSettingsServiceGetResponse, error)
- func (s *SessionSettings) Update(ctx context.Context, request *shared.UpdateSessionSettingsRequest, ...) (*operations.C1APISettingsV1SessionSettingsServiceUpdateResponse, error)
- type SystemLog
- type Task
- func (s *Task) CreateGrantTask(ctx context.Context, request *shared.TaskServiceCreateGrantRequest, ...) (*operations.C1APITaskV1TaskServiceCreateGrantTaskResponse, error)
- func (s *Task) CreateOffboardingTask(ctx context.Context, request *shared.TaskServiceCreateOffboardingRequest, ...) (*operations.C1APITaskV1TaskServiceCreateOffboardingTaskResponse, error)
- func (s *Task) CreateRevokeTask(ctx context.Context, request *shared.TaskServiceCreateRevokeRequest, ...) (*operations.C1APITaskV1TaskServiceCreateRevokeTaskResponse, error)
- func (s *Task) Get(ctx context.Context, request operations.C1APITaskV1TaskServiceGetRequest, ...) (*operations.C1APITaskV1TaskServiceGetResponse, error)
- type TaskActions
- func (s *TaskActions) Approve(ctx context.Context, ...) (*operations.C1APITaskV1TaskActionsServiceApproveResponse, error)
- func (s *TaskActions) Comment(ctx context.Context, ...) (*operations.C1APITaskV1TaskActionsServiceCommentResponse, error)
- func (s *TaskActions) Deny(ctx context.Context, ...) (*operations.C1APITaskV1TaskActionsServiceDenyResponse, error)
- func (s *TaskActions) EscalateToEmergencyAccess(ctx context.Context, ...) (*operations.C1APITaskV1TaskActionsServiceEscalateToEmergencyAccessResponse, ...)
- func (s *TaskActions) HardReset(ctx context.Context, ...) (*operations.C1APITaskV1TaskActionsServiceHardResetResponse, error)
- func (s *TaskActions) Reassign(ctx context.Context, ...) (*operations.C1APITaskV1TaskActionsServiceReassignResponse, error)
- func (s *TaskActions) Restart(ctx context.Context, ...) (*operations.C1APITaskV1TaskActionsServiceRestartResponse, error)
- type TaskSearch
- type User
- func (s *User) Get(ctx context.Context, request operations.C1APIUserV1UserServiceGetRequest, ...) (*operations.C1APIUserV1UserServiceGetResponse, error)
- func (s *User) List(ctx context.Context, request operations.C1APIUserV1UserServiceListRequest, ...) (*operations.C1APIUserV1UserServiceListResponse, error)
- type UserSearch
- type Webhooks
- func (s *Webhooks) Create(ctx context.Context, request *shared.WebhooksServiceCreateRequest, ...) (*operations.C1APIWebhooksV1WebhooksServiceCreateResponse, error)
- func (s *Webhooks) Delete(ctx context.Context, ...) (*operations.C1APIWebhooksV1WebhooksServiceDeleteResponse, error)
- func (s *Webhooks) Get(ctx context.Context, ...) (*operations.C1APIWebhooksV1WebhooksServiceGetResponse, error)
- func (s *Webhooks) List(ctx context.Context, ...) (*operations.C1APIWebhooksV1WebhooksServiceListResponse, error)
- func (s *Webhooks) Test(ctx context.Context, ...) (*operations.C1APIWebhooksV1WebhooksServiceTestResponse, error)
- func (s *Webhooks) Update(ctx context.Context, ...) (*operations.C1APIWebhooksV1WebhooksServiceUpdateResponse, error)
- type WebhooksSearch
Constants ¶
const ClientIdGolangSDK = "2RCzHlak5q7CY14SdBc8HoZEJRf"
Variables ¶
var ( ErrInvalidClientSecret = errors.New("invalid client secret") ErrInvalidClientID = errors.New("invalid client id") )
var ServerList = []string{
"https://{tenantDomain}.conductor.one",
}
ServerList contains the list of servers available to the SDK
Functions ¶
func NewTokenSource ¶ added in v1.6.1
Types ¶
type AWSExternalIDSettings ¶ added in v1.16.0
type AWSExternalIDSettings struct {
// contains filtered or unexported fields
}
func (*AWSExternalIDSettings) Get ¶ added in v1.16.0
func (s *AWSExternalIDSettings) Get(ctx context.Context, opts ...operations.Option) (*operations.C1APISettingsV1AWSExternalIDSettingsGetResponse, error)
Get Invokes the c1.api.settings.v1.AWSExternalIDSettings.Get method.
type AppAccessRequestsDefaults ¶ added in v1.18.3
type AppAccessRequestsDefaults struct {
// contains filtered or unexported fields
}
func (*AppAccessRequestsDefaults) CancelAppAccessRequestsDefaults ¶ added in v1.18.3
func (s *AppAccessRequestsDefaults) CancelAppAccessRequestsDefaults(ctx context.Context, request operations.C1APIAppV1AppAccessRequestsDefaultsServiceCancelAppAccessRequestsDefaultsRequest, opts ...operations.Option) (*operations.C1APIAppV1AppAccessRequestsDefaultsServiceCancelAppAccessRequestsDefaultsResponse, error)
CancelAppAccessRequestsDefaults - Cancel App Access Requests Defaults Invokes the c1.api.app.v1.AppAccessRequestsDefaultsService.CancelAppAccessRequestsDefaults method.
func (*AppAccessRequestsDefaults) CreateAppAccessRequestsDefaults ¶ added in v1.18.3
func (s *AppAccessRequestsDefaults) CreateAppAccessRequestsDefaults(ctx context.Context, request operations.C1APIAppV1AppAccessRequestsDefaultsServiceCreateAppAccessRequestsDefaultsRequest, opts ...operations.Option) (*operations.C1APIAppV1AppAccessRequestsDefaultsServiceCreateAppAccessRequestsDefaultsResponse, error)
CreateAppAccessRequestsDefaults - Create App Access Requests Defaults Invokes the c1.api.app.v1.AppAccessRequestsDefaultsService.CreateAppAccessRequestsDefaults method.
func (*AppAccessRequestsDefaults) GetAppAccessRequestsDefaults ¶ added in v1.18.3
func (s *AppAccessRequestsDefaults) GetAppAccessRequestsDefaults(ctx context.Context, request operations.C1APIAppV1AppAccessRequestsDefaultsServiceGetAppAccessRequestsDefaultsRequest, opts ...operations.Option) (*operations.C1APIAppV1AppAccessRequestsDefaultsServiceGetAppAccessRequestsDefaultsResponse, error)
GetAppAccessRequestsDefaults - Get App Access Requests Defaults Invokes the c1.api.app.v1.AppAccessRequestsDefaultsService.GetAppAccessRequestsDefaults method.
type AppEntitlementOwners ¶ added in v1.15.0
type AppEntitlementOwners struct {
// contains filtered or unexported fields
}
func (*AppEntitlementOwners) Add ¶ added in v1.15.0
func (s *AppEntitlementOwners) Add(ctx context.Context, request operations.C1APIAppV1AppEntitlementOwnersAddRequest, opts ...operations.Option) (*operations.C1APIAppV1AppEntitlementOwnersAddResponse, error)
Add Add an owner to a given app entitlement.
func (*AppEntitlementOwners) List ¶ added in v1.15.0
func (s *AppEntitlementOwners) List(ctx context.Context, request operations.C1APIAppV1AppEntitlementOwnersListRequest, opts ...operations.Option) (*operations.C1APIAppV1AppEntitlementOwnersListResponse, error)
List List owners for a given app entitlement.
func (*AppEntitlementOwners) Remove ¶ added in v1.15.0
func (s *AppEntitlementOwners) Remove(ctx context.Context, request operations.C1APIAppV1AppEntitlementOwnersRemoveRequest, opts ...operations.Option) (*operations.C1APIAppV1AppEntitlementOwnersRemoveResponse, error)
Remove Remove an owner from a given app entitlement.
func (*AppEntitlementOwners) Set ¶ added in v1.15.0
func (s *AppEntitlementOwners) Set(ctx context.Context, request operations.C1APIAppV1AppEntitlementOwnersSetRequest, opts ...operations.Option) (*operations.C1APIAppV1AppEntitlementOwnersSetResponse, error)
Set Sets the owners for a given app entitlement to the specified list of users.
type AppEntitlementSearch ¶ added in v1.15.0
type AppEntitlementSearch struct {
// contains filtered or unexported fields
}
func (*AppEntitlementSearch) Search ¶ added in v1.15.0
func (s *AppEntitlementSearch) Search(ctx context.Context, request *shared.AppEntitlementSearchServiceSearchRequest, opts ...operations.Option) (*operations.C1APIAppV1AppEntitlementSearchServiceSearchResponse, error)
Search Search app entitlements based on filters specified in the request body.
func (*AppEntitlementSearch) SearchAppEntitlementsForAppUser ¶ added in v1.20.0
func (s *AppEntitlementSearch) SearchAppEntitlementsForAppUser(ctx context.Context, request operations.C1APIAppV1AppEntitlementSearchServiceSearchAppEntitlementsForAppUserRequest, opts ...operations.Option) (*operations.C1APIAppV1AppEntitlementSearchServiceSearchAppEntitlementsForAppUserResponse, error)
SearchAppEntitlementsForAppUser - Search App Entitlements For App User Invokes the c1.api.app.v1.AppEntitlementSearchService.SearchAppEntitlementsForAppUser method.
func (*AppEntitlementSearch) SearchAppEntitlementsWithExpired ¶ added in v1.18.3
func (s *AppEntitlementSearch) SearchAppEntitlementsWithExpired(ctx context.Context, request operations.C1APIAppV1AppEntitlementSearchServiceSearchAppEntitlementsWithExpiredRequest, opts ...operations.Option) (*operations.C1APIAppV1AppEntitlementSearchServiceSearchAppEntitlementsWithExpiredResponse, error)
SearchAppEntitlementsWithExpired - Search App Entitlements With Expired Search app entitlements, include app users, users, expires, discovered.
type AppEntitlementUserBinding ¶ added in v1.15.0
type AppEntitlementUserBinding struct {
// contains filtered or unexported fields
}
func (*AppEntitlementUserBinding) ListAppUsersForIdentityWithGrant ¶ added in v1.15.0
func (s *AppEntitlementUserBinding) ListAppUsersForIdentityWithGrant(ctx context.Context, request operations.C1APIAppV1AppEntitlementUserBindingServiceListAppUsersForIdentityWithGrantRequest, opts ...operations.Option) (*operations.C1APIAppV1AppEntitlementUserBindingServiceListAppUsersForIdentityWithGrantResponse, error)
ListAppUsersForIdentityWithGrant - List App Users For Identity With Grant Returns a list of app users for the identity in the app. If that app user also has a grant to the entitlement from the request, data about the grant is also returned. It will always return ALL app users for this identity, but only SOME may have grant data.
func (*AppEntitlementUserBinding) SearchGrantFeed ¶ added in v1.20.0
func (s *AppEntitlementUserBinding) SearchGrantFeed(ctx context.Context, opts ...operations.Option) (*operations.C1APIAppV1AppEntitlementUserBindingServiceSearchGrantFeedResponse, error)
SearchGrantFeed - Search Grant Feed Invokes the c1.api.app.v1.AppEntitlementUserBindingService.SearchGrantFeed method.
func (*AppEntitlementUserBinding) SearchPastGrants ¶ added in v1.19.0
func (s *AppEntitlementUserBinding) SearchPastGrants(ctx context.Context, opts ...operations.Option) (*operations.C1APIAppV1AppEntitlementUserBindingServiceSearchPastGrantsResponse, error)
SearchPastGrants - Search Past Grants Invokes the c1.api.app.v1.AppEntitlementUserBindingService.SearchPastGrants method.
type AppEntitlements ¶ added in v1.15.0
type AppEntitlements struct {
// contains filtered or unexported fields
}
func (*AppEntitlements) Create ¶ added in v1.20.0
func (s *AppEntitlements) Create(ctx context.Context, request operations.C1APIAppV1AppEntitlementsCreateRequest, opts ...operations.Option) (*operations.C1APIAppV1AppEntitlementsCreateResponse, error)
Create Invokes the c1.api.app.v1.AppEntitlements.Create method.
func (*AppEntitlements) Delete ¶ added in v1.20.0
func (s *AppEntitlements) Delete(ctx context.Context, request operations.C1APIAppV1AppEntitlementsDeleteRequest, opts ...operations.Option) (*operations.C1APIAppV1AppEntitlementsDeleteResponse, error)
Delete Invokes the c1.api.app.v1.AppEntitlements.Delete method.
func (*AppEntitlements) Get ¶ added in v1.15.0
func (s *AppEntitlements) Get(ctx context.Context, request operations.C1APIAppV1AppEntitlementsGetRequest, opts ...operations.Option) (*operations.C1APIAppV1AppEntitlementsGetResponse, error)
Get Get an app entitlement by ID.
func (*AppEntitlements) List ¶ added in v1.15.0
func (s *AppEntitlements) List(ctx context.Context, request operations.C1APIAppV1AppEntitlementsListRequest, opts ...operations.Option) (*operations.C1APIAppV1AppEntitlementsListResponse, error)
List List app entitlements associated with an app.
func (*AppEntitlements) ListForAppResource ¶ added in v1.15.0
func (s *AppEntitlements) ListForAppResource(ctx context.Context, request operations.C1APIAppV1AppEntitlementsListForAppResourceRequest, opts ...operations.Option) (*operations.C1APIAppV1AppEntitlementsListForAppResourceResponse, error)
ListForAppResource - List For App Resource List app entitlements associated with an app resource.
func (*AppEntitlements) ListForAppUser ¶ added in v1.15.0
func (s *AppEntitlements) ListForAppUser(ctx context.Context, request operations.C1APIAppV1AppEntitlementsListForAppUserRequest, opts ...operations.Option) (*operations.C1APIAppV1AppEntitlementsListForAppUserResponse, error)
ListForAppUser - List For App User List app entitlements associated with an app user.
func (*AppEntitlements) ListUsers ¶ added in v1.15.0
func (s *AppEntitlements) ListUsers(ctx context.Context, request operations.C1APIAppV1AppEntitlementsListUsersRequest, opts ...operations.Option) (*operations.C1APIAppV1AppEntitlementsListUsersResponse, error)
ListUsers - List Users List the users, as AppEntitlementUsers objects, of an app entitlement.
Deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
func (*AppEntitlements) Update ¶ added in v1.15.0
func (s *AppEntitlements) Update(ctx context.Context, request operations.C1APIAppV1AppEntitlementsUpdateRequest, opts ...operations.Option) (*operations.C1APIAppV1AppEntitlementsUpdateResponse, error)
Update Update an app entitlement by ID.
type AppEntitlementsProxy ¶ added in v1.21.3
type AppEntitlementsProxy struct {
// contains filtered or unexported fields
}
func (*AppEntitlementsProxy) Create ¶ added in v1.21.3
func (s *AppEntitlementsProxy) Create(ctx context.Context, request operations.C1APIAppV1AppEntitlementsProxyCreateRequest, opts ...operations.Option) (*operations.C1APIAppV1AppEntitlementsProxyCreateResponse, error)
Create Invokes the c1.api.app.v1.AppEntitlementsProxy.Create method.
func (*AppEntitlementsProxy) Delete ¶ added in v1.21.3
func (s *AppEntitlementsProxy) Delete(ctx context.Context, request operations.C1APIAppV1AppEntitlementsProxyDeleteRequest, opts ...operations.Option) (*operations.C1APIAppV1AppEntitlementsProxyDeleteResponse, error)
Delete Invokes the c1.api.app.v1.AppEntitlementsProxy.Delete method.
func (*AppEntitlementsProxy) Get ¶ added in v1.21.3
func (s *AppEntitlementsProxy) Get(ctx context.Context, request operations.C1APIAppV1AppEntitlementsProxyGetRequest, opts ...operations.Option) (*operations.C1APIAppV1AppEntitlementsProxyGetResponse, error)
Get Invokes the c1.api.app.v1.AppEntitlementsProxy.Get method.
type AppOwners ¶ added in v1.15.0
type AppOwners struct {
// contains filtered or unexported fields
}
func (*AppOwners) Add ¶ added in v1.15.0
func (s *AppOwners) Add(ctx context.Context, request operations.C1APIAppV1AppOwnersAddRequest, opts ...operations.Option) (*operations.C1APIAppV1AppOwnersAddResponse, error)
Add Adds an owner to an app.
func (*AppOwners) List ¶ added in v1.15.0
func (s *AppOwners) List(ctx context.Context, request operations.C1APIAppV1AppOwnersListRequest, opts ...operations.Option) (*operations.C1APIAppV1AppOwnersListResponse, error)
List List owners of an app.
func (*AppOwners) Remove ¶ added in v1.15.0
func (s *AppOwners) Remove(ctx context.Context, request operations.C1APIAppV1AppOwnersRemoveRequest, opts ...operations.Option) (*operations.C1APIAppV1AppOwnersRemoveResponse, error)
Remove Removes an owner from an app.
func (*AppOwners) Set ¶ added in v1.15.0
func (s *AppOwners) Set(ctx context.Context, request operations.C1APIAppV1AppOwnersSetRequest, opts ...operations.Option) (*operations.C1APIAppV1AppOwnersSetResponse, error)
Set Sets the owners for a given app to the specified list of users.
type AppReport ¶ added in v1.15.0
type AppReport struct {
// contains filtered or unexported fields
}
func (*AppReport) List ¶ added in v1.15.0
func (s *AppReport) List(ctx context.Context, request operations.C1APIAppV1AppReportServiceListRequest, opts ...operations.Option) (*operations.C1APIAppV1AppReportServiceListResponse, error)
List Get a list of reports for the given app.
type AppReportAction ¶ added in v1.15.0
type AppReportAction struct {
// contains filtered or unexported fields
}
func (*AppReportAction) GenerateReport ¶ added in v1.15.0
func (s *AppReportAction) GenerateReport(ctx context.Context, request operations.C1APIAppV1AppReportActionServiceGenerateReportRequest, opts ...operations.Option) (*operations.C1APIAppV1AppReportActionServiceGenerateReportResponse, error)
GenerateReport - Generate Report Generate a report for the given app.
type AppResource ¶ added in v1.15.0
type AppResource struct {
// contains filtered or unexported fields
}
func (*AppResource) CreateManuallyManagedAppResource ¶ added in v1.20.0
func (s *AppResource) CreateManuallyManagedAppResource(ctx context.Context, request operations.C1APIAppV1AppResourceServiceCreateManuallyManagedAppResourceRequest, opts ...operations.Option) (*operations.C1APIAppV1AppResourceServiceCreateManuallyManagedAppResourceResponse, error)
CreateManuallyManagedAppResource - Create Manually Managed App Resource Invokes the c1.api.app.v1.AppResourceService.CreateManuallyManagedAppResource method.
func (*AppResource) DeleteManuallyManagedAppResource ¶ added in v1.20.0
func (s *AppResource) DeleteManuallyManagedAppResource(ctx context.Context, request operations.C1APIAppV1AppResourceServiceDeleteManuallyManagedAppResourceRequest, opts ...operations.Option) (*operations.C1APIAppV1AppResourceServiceDeleteManuallyManagedAppResourceResponse, error)
DeleteManuallyManagedAppResource - Delete Manually Managed App Resource Invokes the c1.api.app.v1.AppResourceService.DeleteManuallyManagedAppResource method.
func (*AppResource) Get ¶ added in v1.15.0
func (s *AppResource) Get(ctx context.Context, request operations.C1APIAppV1AppResourceServiceGetRequest, opts ...operations.Option) (*operations.C1APIAppV1AppResourceServiceGetResponse, error)
Get Invokes the c1.api.app.v1.AppResourceService.Get method.
func (*AppResource) List ¶ added in v1.15.0
func (s *AppResource) List(ctx context.Context, request operations.C1APIAppV1AppResourceServiceListRequest, opts ...operations.Option) (*operations.C1APIAppV1AppResourceServiceListResponse, error)
List Invokes the c1.api.app.v1.AppResourceService.List method.
func (*AppResource) Update ¶ added in v1.20.0
func (s *AppResource) Update(ctx context.Context, request operations.C1APIAppV1AppResourceServiceUpdateRequest, opts ...operations.Option) (*operations.C1APIAppV1AppResourceServiceUpdateResponse, error)
Update Invokes the c1.api.app.v1.AppResourceService.Update method.
type AppResourceOwners ¶ added in v1.15.0
type AppResourceOwners struct {
// contains filtered or unexported fields
}
func (*AppResourceOwners) List ¶ added in v1.15.0
func (s *AppResourceOwners) List(ctx context.Context, request operations.C1APIAppV1AppResourceOwnersListRequest, opts ...operations.Option) (*operations.C1APIAppV1AppResourceOwnersListResponse, error)
List List all owners of an app resource.
type AppResourceSearch ¶ added in v1.15.0
type AppResourceSearch struct {
// contains filtered or unexported fields
}
func (*AppResourceSearch) SearchAppResourceTypes ¶ added in v1.15.0
func (s *AppResourceSearch) SearchAppResourceTypes(ctx context.Context, request *shared.SearchAppResourceTypesRequest, opts ...operations.Option) (*operations.C1APIAppV1AppResourceSearchSearchAppResourceTypesResponse, error)
SearchAppResourceTypes - Search App Resource Types Search app resources based on filters specified in the request body.
type AppResourceType ¶ added in v1.15.0
type AppResourceType struct {
// contains filtered or unexported fields
}
func (*AppResourceType) CreateManuallyManagedResourceType ¶ added in v1.20.0
func (s *AppResourceType) CreateManuallyManagedResourceType(ctx context.Context, request operations.C1APIAppV1AppResourceTypeServiceCreateManuallyManagedResourceTypeRequest, opts ...operations.Option) (*operations.C1APIAppV1AppResourceTypeServiceCreateManuallyManagedResourceTypeResponse, error)
CreateManuallyManagedResourceType - Create Manually Managed Resource Type Invokes the c1.api.app.v1.AppResourceTypeService.CreateManuallyManagedResourceType method.
func (*AppResourceType) DeleteManuallyManagedResourceType ¶ added in v1.20.0
func (s *AppResourceType) DeleteManuallyManagedResourceType(ctx context.Context, request operations.C1APIAppV1AppResourceTypeServiceDeleteManuallyManagedResourceTypeRequest, opts ...operations.Option) (*operations.C1APIAppV1AppResourceTypeServiceDeleteManuallyManagedResourceTypeResponse, error)
DeleteManuallyManagedResourceType - Delete Manually Managed Resource Type Invokes the c1.api.app.v1.AppResourceTypeService.DeleteManuallyManagedResourceType method.
func (*AppResourceType) Get ¶ added in v1.15.0
func (s *AppResourceType) Get(ctx context.Context, request operations.C1APIAppV1AppResourceTypeServiceGetRequest, opts ...operations.Option) (*operations.C1APIAppV1AppResourceTypeServiceGetResponse, error)
Get Get an app resource type.
func (*AppResourceType) List ¶ added in v1.15.0
func (s *AppResourceType) List(ctx context.Context, request operations.C1APIAppV1AppResourceTypeServiceListRequest, opts ...operations.Option) (*operations.C1APIAppV1AppResourceTypeServiceListResponse, error)
List List app resource types.
func (*AppResourceType) UpdateManuallyManagedResourceType ¶ added in v1.20.0
func (s *AppResourceType) UpdateManuallyManagedResourceType(ctx context.Context, request operations.C1APIAppV1AppResourceTypeServiceUpdateManuallyManagedResourceTypeRequest, opts ...operations.Option) (*operations.C1APIAppV1AppResourceTypeServiceUpdateManuallyManagedResourceTypeResponse, error)
UpdateManuallyManagedResourceType - Update Manually Managed Resource Type Invokes the c1.api.app.v1.AppResourceTypeService.UpdateManuallyManagedResourceType method.
type AppSearch ¶ added in v1.15.0
type AppSearch struct {
// contains filtered or unexported fields
}
func (*AppSearch) Search ¶ added in v1.15.0
func (s *AppSearch) Search(ctx context.Context, request *shared.SearchAppsRequest, opts ...operations.Option) (*operations.C1APIAppV1AppSearchSearchResponse, error)
Search Search apps based on filters specified in the request body.
type AppUsageControls ¶ added in v1.15.0
type AppUsageControls struct {
// contains filtered or unexported fields
}
func (*AppUsageControls) Get ¶ added in v1.15.0
func (s *AppUsageControls) Get(ctx context.Context, request operations.C1APIAppV1AppUsageControlsServiceGetRequest, opts ...operations.Option) (*operations.C1APIAppV1AppUsageControlsServiceGetResponse, error)
Get Get usage controls, as an AppUsageControls object which describes some peripheral configuration, for an app.
func (*AppUsageControls) Update ¶ added in v1.15.0
func (s *AppUsageControls) Update(ctx context.Context, request operations.C1APIAppV1AppUsageControlsServiceUpdateRequest, opts ...operations.Option) (*operations.C1APIAppV1AppUsageControlsServiceUpdateResponse, error)
Update Update usage controls for an app.
type AppUser ¶ added in v1.15.0
type AppUser struct {
// contains filtered or unexported fields
}
func (*AppUser) Update ¶ added in v1.15.0
func (s *AppUser) Update(ctx context.Context, request operations.C1APIAppV1AppUserServiceUpdateRequest, opts ...operations.Option) (*operations.C1APIAppV1AppUserServiceUpdateResponse, error)
Update Update an app user by ID. Only the fields specified in the update mask are updated.
Currently, only the appUserType, and identityUserId fields can be updated.
type Apps ¶ added in v1.15.0
type Apps struct {
// contains filtered or unexported fields
}
func (*Apps) Create ¶ added in v1.15.0
func (s *Apps) Create(ctx context.Context, request *shared.CreateAppRequest, opts ...operations.Option) (*operations.C1APIAppV1AppsCreateResponse, error)
Create Create a new app.
func (*Apps) Delete ¶ added in v1.15.0
func (s *Apps) Delete(ctx context.Context, request operations.C1APIAppV1AppsDeleteRequest, opts ...operations.Option) (*operations.C1APIAppV1AppsDeleteResponse, error)
Delete Delete an app.
func (*Apps) Get ¶ added in v1.15.0
func (s *Apps) Get(ctx context.Context, request operations.C1APIAppV1AppsGetRequest, opts ...operations.Option) (*operations.C1APIAppV1AppsGetResponse, error)
Get Get an app by ID.
func (*Apps) List ¶ added in v1.15.0
func (s *Apps) List(ctx context.Context, request operations.C1APIAppV1AppsListRequest, opts ...operations.Option) (*operations.C1APIAppV1AppsListResponse, error)
List List all apps.
func (*Apps) Update ¶ added in v1.15.0
func (s *Apps) Update(ctx context.Context, request operations.C1APIAppV1AppsUpdateRequest, opts ...operations.Option) (*operations.C1APIAppV1AppsUpdateResponse, error)
Update Update an existing app.
type AttributeSearch ¶ added in v1.15.0
type AttributeSearch struct {
// contains filtered or unexported fields
}
func (*AttributeSearch) SearchAttributeValues ¶ added in v1.15.0
func (s *AttributeSearch) SearchAttributeValues(ctx context.Context, request *shared.SearchAttributeValuesRequest, opts ...operations.Option) (*operations.C1APIAttributeV1AttributeSearchSearchAttributeValuesResponse, error)
SearchAttributeValues - Search Attribute Values Search attributes based on filters specified in the request body.
type Attributes ¶ added in v1.15.0
type Attributes struct {
// contains filtered or unexported fields
}
func (*Attributes) CreateAttributeValue ¶ added in v1.15.0
func (s *Attributes) CreateAttributeValue(ctx context.Context, request *shared.CreateAttributeValueRequest, opts ...operations.Option) (*operations.C1APIAttributeV1AttributesCreateAttributeValueResponse, error)
CreateAttributeValue - Create Attribute Value Create a new attribute value.
func (*Attributes) DeleteAttributeValue ¶ added in v1.15.0
func (s *Attributes) DeleteAttributeValue(ctx context.Context, request operations.C1APIAttributeV1AttributesDeleteAttributeValueRequest, opts ...operations.Option) (*operations.C1APIAttributeV1AttributesDeleteAttributeValueResponse, error)
DeleteAttributeValue - Delete Attribute Value Delete an attribute value by id.
func (*Attributes) GetAttributeValue ¶ added in v1.15.0
func (s *Attributes) GetAttributeValue(ctx context.Context, request operations.C1APIAttributeV1AttributesGetAttributeValueRequest, opts ...operations.Option) (*operations.C1APIAttributeV1AttributesGetAttributeValueResponse, error)
GetAttributeValue - Get Attribute Value Get an attribute value by id.
func (*Attributes) ListAttributeTypes ¶ added in v1.15.0
func (s *Attributes) ListAttributeTypes(ctx context.Context, request operations.C1APIAttributeV1AttributesListAttributeTypesRequest, opts ...operations.Option) (*operations.C1APIAttributeV1AttributesListAttributeTypesResponse, error)
ListAttributeTypes - List Attribute Types List all attribute types.
func (*Attributes) ListAttributeValues ¶ added in v1.15.0
func (s *Attributes) ListAttributeValues(ctx context.Context, request operations.C1APIAttributeV1AttributesListAttributeValuesRequest, opts ...operations.Option) (*operations.C1APIAttributeV1AttributesListAttributeValuesResponse, error)
ListAttributeValues - List Attribute Values List all attribute values for a given attribute type.
type Auth ¶ added in v1.15.0
type Auth struct {
// contains filtered or unexported fields
}
func (*Auth) Introspect ¶ added in v1.15.0
func (s *Auth) Introspect(ctx context.Context, opts ...operations.Option) (*operations.C1APIAuthV1AuthIntrospectResponse, error)
Introspect Introspect returns the current user's principle_id, user_id and a list of roles, permissions, and enabled features.
type ClientConfig ¶ added in v1.15.0
type ClientConfig struct {
// contains filtered or unexported fields
}
func NormalizeTenant ¶ added in v1.15.0
func NormalizeTenant(input string) (*ClientConfig, error)
func ParseClientID ¶ added in v1.15.0
func ParseClientID(input string) (*ClientConfig, error)
func (*ClientConfig) GetServerURL ¶ added in v1.15.0
func (c *ClientConfig) GetServerURL() string
GetServerURL returns the server URL. If serverURL is empty (""), it constructs the server URL using the tenant. However, if the tenant is also empty, then it will return an empty string.
func (*ClientConfig) ServerURL ¶ added in v1.15.0
func (c *ClientConfig) ServerURL() string
ServerURL returns the server URL.
func (*ClientConfig) SetServerURL ¶ added in v1.15.0
func (c *ClientConfig) SetServerURL(serverURL string) error
func (*ClientConfig) SetTenant ¶ added in v1.15.0
func (c *ClientConfig) SetTenant(tenant string) error
func (*ClientConfig) Tenant ¶ added in v1.15.0
func (c *ClientConfig) Tenant() string
func (*ClientConfig) UseWithServer ¶ added in v1.15.0
func (c *ClientConfig) UseWithServer() bool
func (*ClientConfig) UseWithTenant ¶ added in v1.15.0
func (c *ClientConfig) UseWithTenant() bool
type ClientCredentials ¶ added in v1.1.1
type ConductoroneAPI ¶
type ConductoroneAPI struct { Apps *Apps AppAccessRequestsDefaults *AppAccessRequestsDefaults Connector *Connector AppEntitlements *AppEntitlements AppEntitlementSearch *AppEntitlementSearch AppEntitlementUserBinding *AppEntitlementUserBinding AppEntitlementOwners *AppEntitlementOwners AppOwners *AppOwners AppReport *AppReport AppReportAction *AppReportAction AppResourceType *AppResourceType AppResource *AppResource AppResourceOwners *AppResourceOwners AppUsageControls *AppUsageControls AppUser *AppUser AppEntitlementsProxy *AppEntitlementsProxy Attributes *Attributes Auth *Auth RequestCatalogManagement *RequestCatalogManagement Directory *Directory PersonalClient *PersonalClient Roles *Roles Policies *Policies PolicyValidate *PolicyValidate AppResourceSearch *AppResourceSearch AppSearch *AppSearch AttributeSearch *AttributeSearch PersonalClientSearch *PersonalClientSearch PolicySearch *PolicySearch RequestCatalogSearch *RequestCatalogSearch ExportsSearch *ExportsSearch TaskSearch *TaskSearch UserSearch *UserSearch WebhooksSearch *WebhooksSearch AWSExternalIDSettings *AWSExternalIDSettings SessionSettings *SessionSettings SystemLog *SystemLog Export *Export Task *Task TaskActions *TaskActions User *User Webhooks *Webhooks // 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
func NewWithCredentials ¶ added in v1.6.1
func NewWithCredentials(ctx context.Context, cred *ClientCredentials, opts ...CustomSDKOption) (*ConductoroneAPI, error)
type Connector ¶ added in v1.15.0
type Connector struct {
// contains filtered or unexported fields
}
func (*Connector) Create ¶ added in v1.15.0
func (s *Connector) Create(ctx context.Context, request operations.C1APIAppV1ConnectorServiceCreateRequest, opts ...operations.Option) (*operations.C1APIAppV1ConnectorServiceCreateResponse, error)
Create Create a configured connector.
func (*Connector) CreateDelegated ¶ added in v1.15.0
func (s *Connector) CreateDelegated(ctx context.Context, request operations.C1APIAppV1ConnectorServiceCreateDelegatedRequest, opts ...operations.Option) (*operations.C1APIAppV1ConnectorServiceCreateDelegatedResponse, error)
CreateDelegated - Create Delegated Create a connector that is pending a connector config.
func (*Connector) Delete ¶ added in v1.15.0
func (s *Connector) Delete(ctx context.Context, request operations.C1APIAppV1ConnectorServiceDeleteRequest, opts ...operations.Option) (*operations.C1APIAppV1ConnectorServiceDeleteResponse, error)
Delete Delete a connector.
func (*Connector) ForceSync ¶ added in v1.18.3
func (s *Connector) ForceSync(ctx context.Context, request operations.C1APIAppV1ConnectorServiceForceSyncRequest, opts ...operations.Option) (*operations.C1APIAppV1ConnectorServiceForceSyncResponse, error)
ForceSync - Force Sync Invokes the c1.api.app.v1.ConnectorService.ForceSync method.
func (*Connector) Get ¶ added in v1.15.0
func (s *Connector) Get(ctx context.Context, request operations.C1APIAppV1ConnectorServiceGetRequest, opts ...operations.Option) (*operations.C1APIAppV1ConnectorServiceGetResponse, error)
Get Get a connector.
func (*Connector) GetCredentials ¶ added in v1.15.0
func (s *Connector) GetCredentials(ctx context.Context, request operations.C1APIAppV1ConnectorServiceGetCredentialsRequest, opts ...operations.Option) (*operations.C1APIAppV1ConnectorServiceGetCredentialsResponse, error)
GetCredentials - Get Credentials Get credentials for a connector.
func (*Connector) List ¶ added in v1.15.0
func (s *Connector) List(ctx context.Context, request operations.C1APIAppV1ConnectorServiceListRequest, opts ...operations.Option) (*operations.C1APIAppV1ConnectorServiceListResponse, error)
List List connectors for an app.
func (*Connector) RevokeCredential ¶ added in v1.15.0
func (s *Connector) RevokeCredential(ctx context.Context, request operations.C1APIAppV1ConnectorServiceRevokeCredentialRequest, opts ...operations.Option) (*operations.C1APIAppV1ConnectorServiceRevokeCredentialResponse, error)
RevokeCredential - Revoke Credential Revoke credentials for a connector.
func (*Connector) RotateCredential ¶ added in v1.15.0
func (s *Connector) RotateCredential(ctx context.Context, request operations.C1APIAppV1ConnectorServiceRotateCredentialRequest, opts ...operations.Option) (*operations.C1APIAppV1ConnectorServiceRotateCredentialResponse, error)
RotateCredential - Rotate Credential Rotate credentials for a connector.
func (*Connector) Update ¶ added in v1.15.0
func (s *Connector) Update(ctx context.Context, request operations.C1APIAppV1ConnectorServiceUpdateRequest, opts ...operations.Option) (*operations.C1APIAppV1ConnectorServiceUpdateResponse, error)
Update Update a connector.
func (*Connector) UpdateDelegated ¶ added in v1.15.0
func (s *Connector) UpdateDelegated(ctx context.Context, request operations.C1APIAppV1ConnectorServiceUpdateDelegatedRequest, opts ...operations.Option) (*operations.C1APIAppV1ConnectorServiceUpdateDelegatedResponse, error)
UpdateDelegated - Update Delegated Update a delegated connector.
type CustomOptions ¶ added in v1.6.1
type CustomOptions struct { *ClientConfig // contains filtered or unexported fields }
type CustomSDKOption ¶ added in v1.6.1
type CustomSDKOption func(*CustomOptions)
func WithLog ¶ added in v1.6.1
func WithLog(logger *zap.Logger) CustomSDKOption
func WithTLSConfig ¶ added in v1.6.1
func WithTLSConfig(tlsConfig *tls.Config) CustomSDKOption
func WithTenantCustom ¶ added in v1.6.1
func WithTenantCustom(input string) (CustomSDKOption, error)
func WithUserAgent ¶ added in v1.6.1
func WithUserAgent(userAgent string) CustomSDKOption
type DeviceCodeResponse ¶ added in v1.1.1
type Directory ¶ added in v1.15.0
type Directory struct {
// contains filtered or unexported fields
}
func (*Directory) Create ¶ added in v1.15.0
func (s *Directory) Create(ctx context.Context, request *shared.DirectoryServiceCreateRequest, opts ...operations.Option) (*operations.C1APIDirectoryV1DirectoryServiceCreateResponse, error)
Create Create a directory.
func (*Directory) Delete ¶ added in v1.15.0
func (s *Directory) Delete(ctx context.Context, request operations.C1APIDirectoryV1DirectoryServiceDeleteRequest, opts ...operations.Option) (*operations.C1APIDirectoryV1DirectoryServiceDeleteResponse, error)
Delete Delete a directory by app_id.
func (*Directory) Get ¶ added in v1.15.0
func (s *Directory) Get(ctx context.Context, request operations.C1APIDirectoryV1DirectoryServiceGetRequest, opts ...operations.Option) (*operations.C1APIDirectoryV1DirectoryServiceGetResponse, error)
Get Get a directory by app_id.
func (*Directory) List ¶ added in v1.15.0
func (s *Directory) List(ctx context.Context, request operations.C1APIDirectoryV1DirectoryServiceListRequest, opts ...operations.Option) (*operations.C1APIDirectoryV1DirectoryServiceListResponse, error)
List List directories.
type Export ¶ added in v1.19.0
type Export struct {
// contains filtered or unexported fields
}
func (*Export) Create ¶ added in v1.19.0
func (s *Export) Create(ctx context.Context, request *shared.ExportServiceCreateRequest, opts ...operations.Option) (*operations.C1APISystemlogV1ExportServiceCreateResponse, error)
Create Create a system log export.
func (*Export) Delete ¶ added in v1.19.0
func (s *Export) Delete(ctx context.Context, request operations.C1APISystemlogV1ExportServiceDeleteRequest, opts ...operations.Option) (*operations.C1APISystemlogV1ExportServiceDeleteResponse, error)
Delete Delete a policy by ID.
func (*Export) Get ¶ added in v1.19.0
func (s *Export) Get(ctx context.Context, request operations.C1APISystemlogV1ExportServiceGetRequest, opts ...operations.Option) (*operations.C1APISystemlogV1ExportServiceGetResponse, error)
Get Get a system log export by ID
func (*Export) List ¶ added in v1.19.0
func (s *Export) List(ctx context.Context, request operations.C1APISystemlogV1ExportServiceListRequest, opts ...operations.Option) (*operations.C1APISystemlogV1ExportServiceListResponse, error)
List List Exports.
func (*Export) ListEvents ¶ added in v1.20.0
func (s *Export) ListEvents(ctx context.Context, request operations.C1APISystemlogV1ExportServiceListEventsRequest, opts ...operations.Option) (*operations.C1APISystemlogV1ExportServiceListEventsResponse, error)
ListEvents - List Events Invokes the c1.api.systemlog.v1.ExportService.ListEvents method.
func (*Export) Update ¶ added in v1.19.0
func (s *Export) Update(ctx context.Context, request operations.C1APISystemlogV1ExportServiceUpdateRequest, opts ...operations.Option) (*operations.C1APISystemlogV1ExportServiceUpdateResponse, error)
Update Update a system log export by providing a policy object and an update mask.
type ExportsSearch ¶ added in v1.19.0
type ExportsSearch struct {
// contains filtered or unexported fields
}
func (*ExportsSearch) Search ¶ added in v1.19.0
func (s *ExportsSearch) Search(ctx context.Context, request *shared.ExportsSearchServiceSearchRequest, opts ...operations.Option) (*operations.C1APISystemlogV1ExportsSearchServiceSearchResponse, error)
Search Invokes the c1.api.systemlog.v1.ExportsSearchService.Search method.
type HTTPClient ¶
HTTPClient provides an interface for suplying the SDK with a custom HTTP client
type PersonalClient ¶ added in v1.15.0
type PersonalClient struct {
// contains filtered or unexported fields
}
func (*PersonalClient) Create ¶ added in v1.15.0
func (s *PersonalClient) Create(ctx context.Context, request *shared.PersonalClientServiceCreateRequest, opts ...operations.Option) (*operations.C1APIIamV1PersonalClientServiceCreateResponse, error)
Create Create creates a new PersonalClient object for the current User.
func (*PersonalClient) Delete ¶ added in v1.20.0
func (s *PersonalClient) Delete(ctx context.Context, request operations.C1APIIamV1PersonalClientServiceDeleteRequest, opts ...operations.Option) (*operations.C1APIIamV1PersonalClientServiceDeleteResponse, error)
Delete Invokes the c1.api.iam.v1.PersonalClientService.Delete method.
func (*PersonalClient) Get ¶ added in v1.20.0
func (s *PersonalClient) Get(ctx context.Context, request operations.C1APIIamV1PersonalClientServiceGetRequest, opts ...operations.Option) (*operations.C1APIIamV1PersonalClientServiceGetResponse, error)
Get Invokes the c1.api.iam.v1.PersonalClientService.Get method.
func (*PersonalClient) List ¶ added in v1.20.0
func (s *PersonalClient) List(ctx context.Context, opts ...operations.Option) (*operations.C1APIIamV1PersonalClientServiceListResponse, error)
List - NOTE: Only shows personal clients for the current user. Invokes the c1.api.iam.v1.PersonalClientService.List method.
func (*PersonalClient) Update ¶ added in v1.20.0
func (s *PersonalClient) Update(ctx context.Context, request operations.C1APIIamV1PersonalClientServiceUpdateRequest, opts ...operations.Option) (*operations.C1APIIamV1PersonalClientServiceUpdateResponse, error)
Update Invokes the c1.api.iam.v1.PersonalClientService.Update method.
type PersonalClientSearch ¶ added in v1.20.0
type PersonalClientSearch struct {
// contains filtered or unexported fields
}
func (*PersonalClientSearch) Search ¶ added in v1.20.0
func (s *PersonalClientSearch) Search(ctx context.Context, request *shared.PersonalClientSearchServiceSearchRequest, opts ...operations.Option) (*operations.C1APIIamV1PersonalClientSearchServiceSearchResponse, error)
Search - NOTE: Searches personal clients for all users Invokes the c1.api.iam.v1.PersonalClientSearchService.Search method.
type Policies ¶ added in v1.15.0
type Policies struct {
// contains filtered or unexported fields
}
func (*Policies) Create ¶ added in v1.15.0
func (s *Policies) Create(ctx context.Context, request *shared.CreatePolicyRequest, opts ...operations.Option) (*operations.C1APIPolicyV1PoliciesCreateResponse, error)
Create Create a policy.
func (*Policies) Delete ¶ added in v1.15.0
func (s *Policies) Delete(ctx context.Context, request operations.C1APIPolicyV1PoliciesDeleteRequest, opts ...operations.Option) (*operations.C1APIPolicyV1PoliciesDeleteResponse, error)
Delete Delete a policy by ID.
func (*Policies) Get ¶ added in v1.15.0
func (s *Policies) Get(ctx context.Context, request operations.C1APIPolicyV1PoliciesGetRequest, opts ...operations.Option) (*operations.C1APIPolicyV1PoliciesGetResponse, error)
Get Get a policy by ID.
func (*Policies) List ¶ added in v1.15.0
func (s *Policies) List(ctx context.Context, request operations.C1APIPolicyV1PoliciesListRequest, opts ...operations.Option) (*operations.C1APIPolicyV1PoliciesListResponse, error)
List List policies.
func (*Policies) Update ¶ added in v1.15.0
func (s *Policies) Update(ctx context.Context, request operations.C1APIPolicyV1PoliciesUpdateRequest, opts ...operations.Option) (*operations.C1APIPolicyV1PoliciesUpdateResponse, error)
Update Update a policy by providing a policy object and an update mask.
type PolicySearch ¶ added in v1.15.0
type PolicySearch struct {
// contains filtered or unexported fields
}
func (*PolicySearch) Search ¶ added in v1.15.0
func (s *PolicySearch) Search(ctx context.Context, request *shared.SearchPoliciesRequest, opts ...operations.Option) (*operations.C1APIPolicyV1PolicySearchSearchResponse, error)
Search Search policies based on filters specified in the request body.
type PolicyValidate ¶ added in v1.15.0
type PolicyValidate struct {
// contains filtered or unexported fields
}
func (*PolicyValidate) ValidateCEL ¶ added in v1.15.0
func (s *PolicyValidate) ValidateCEL(ctx context.Context, request *shared.ValidatePolicyCELRequest, opts ...operations.Option) (*operations.C1APIPolicyV1PolicyValidateValidateCELResponse, error)
ValidateCEL - Validate Cel Validate policies
type RequestCatalogManagement ¶ added in v1.15.0
type RequestCatalogManagement struct {
// contains filtered or unexported fields
}
func (*RequestCatalogManagement) AddAccessEntitlements ¶ added in v1.15.0
func (s *RequestCatalogManagement) AddAccessEntitlements(ctx context.Context, request operations.C1APIRequestcatalogV1RequestCatalogManagementServiceAddAccessEntitlementsRequest, opts ...operations.Option) (*operations.C1APIRequestcatalogV1RequestCatalogManagementServiceAddAccessEntitlementsResponse, error)
AddAccessEntitlements - Add Access Entitlements Add visibility bindings (access entitlements) to a catalog.
func (*RequestCatalogManagement) AddAppEntitlements ¶ added in v1.15.0
func (s *RequestCatalogManagement) AddAppEntitlements(ctx context.Context, request operations.C1APIRequestcatalogV1RequestCatalogManagementServiceAddAppEntitlementsRequest, opts ...operations.Option) (*operations.C1APIRequestcatalogV1RequestCatalogManagementServiceAddAppEntitlementsResponse, error)
AddAppEntitlements - Add App Entitlements Add requestable entitlements to a catalog.
func (*RequestCatalogManagement) Create ¶ added in v1.15.0
func (s *RequestCatalogManagement) Create(ctx context.Context, request *shared.RequestCatalogManagementServiceCreateRequest, opts ...operations.Option) (*operations.C1APIRequestcatalogV1RequestCatalogManagementServiceCreateResponse, error)
Create Creates a new request catalog.
func (*RequestCatalogManagement) Delete ¶ added in v1.15.0
func (s *RequestCatalogManagement) Delete(ctx context.Context, request operations.C1APIRequestcatalogV1RequestCatalogManagementServiceDeleteRequest, opts ...operations.Option) (*operations.C1APIRequestcatalogV1RequestCatalogManagementServiceDeleteResponse, error)
Delete Delete a catalog.
func (*RequestCatalogManagement) ForceRunBundleAutomation ¶ added in v1.20.0
func (s *RequestCatalogManagement) ForceRunBundleAutomation(ctx context.Context, request operations.C1APIRequestcatalogV1RequestCatalogManagementServiceForceRunBundleAutomationRequest, opts ...operations.Option) (*operations.C1APIRequestcatalogV1RequestCatalogManagementServiceForceRunBundleAutomationResponse, error)
ForceRunBundleAutomation - Force Run Bundle Automation Invokes the c1.api.requestcatalog.v1.RequestCatalogManagementService.ForceRunBundleAutomation method.
func (*RequestCatalogManagement) Get ¶ added in v1.15.0
func (s *RequestCatalogManagement) Get(ctx context.Context, request operations.C1APIRequestcatalogV1RequestCatalogManagementServiceGetRequest, opts ...operations.Option) (*operations.C1APIRequestcatalogV1RequestCatalogManagementServiceGetResponse, error)
Get Get a catalog.
func (*RequestCatalogManagement) GetBundleAutomation ¶ added in v1.18.3
func (s *RequestCatalogManagement) GetBundleAutomation(ctx context.Context, request operations.C1APIRequestcatalogV1RequestCatalogManagementServiceGetBundleAutomationRequest, opts ...operations.Option) (*operations.C1APIRequestcatalogV1RequestCatalogManagementServiceGetBundleAutomationResponse, error)
GetBundleAutomation - Get Bundle Automation Get bundle automation
func (*RequestCatalogManagement) List ¶ added in v1.15.0
func (s *RequestCatalogManagement) List(ctx context.Context, request operations.C1APIRequestcatalogV1RequestCatalogManagementServiceListRequest, opts ...operations.Option) (*operations.C1APIRequestcatalogV1RequestCatalogManagementServiceListResponse, error)
List Get a list of request catalogs.
func (*RequestCatalogManagement) ListEntitlementsForAccess ¶ added in v1.15.0
func (s *RequestCatalogManagement) ListEntitlementsForAccess(ctx context.Context, request operations.C1APIRequestcatalogV1RequestCatalogManagementServiceListEntitlementsForAccessRequest, opts ...operations.Option) (*operations.C1APIRequestcatalogV1RequestCatalogManagementServiceListEntitlementsForAccessResponse, error)
ListEntitlementsForAccess - List Entitlements For Access List visibility bindings (access entitlements) for a catalog.
func (*RequestCatalogManagement) ListEntitlementsPerCatalog ¶ added in v1.15.0
func (s *RequestCatalogManagement) ListEntitlementsPerCatalog(ctx context.Context, request operations.C1APIRequestcatalogV1RequestCatalogManagementServiceListEntitlementsPerCatalogRequest, opts ...operations.Option) (*operations.C1APIRequestcatalogV1RequestCatalogManagementServiceListEntitlementsPerCatalogResponse, error)
ListEntitlementsPerCatalog - List Entitlements Per Catalog List entitlements in a catalog that are requestable.
func (*RequestCatalogManagement) RemoveAccessEntitlements ¶ added in v1.15.0
func (s *RequestCatalogManagement) RemoveAccessEntitlements(ctx context.Context, request operations.C1APIRequestcatalogV1RequestCatalogManagementServiceRemoveAccessEntitlementsRequest, opts ...operations.Option) (*operations.C1APIRequestcatalogV1RequestCatalogManagementServiceRemoveAccessEntitlementsResponse, error)
RemoveAccessEntitlements - Remove Access Entitlements Remove visibility bindings (access entitlements) to a catalog.
func (*RequestCatalogManagement) RemoveAppEntitlements ¶ added in v1.15.0
func (s *RequestCatalogManagement) RemoveAppEntitlements(ctx context.Context, request operations.C1APIRequestcatalogV1RequestCatalogManagementServiceRemoveAppEntitlementsRequest, opts ...operations.Option) (*operations.C1APIRequestcatalogV1RequestCatalogManagementServiceRemoveAppEntitlementsResponse, error)
RemoveAppEntitlements - Remove App Entitlements Remove requestable entitlements from a catalog.
func (*RequestCatalogManagement) SetBundleAutomation ¶ added in v1.18.3
func (s *RequestCatalogManagement) SetBundleAutomation(ctx context.Context, request operations.C1APIRequestcatalogV1RequestCatalogManagementServiceSetBundleAutomationRequest, opts ...operations.Option) (*operations.C1APIRequestcatalogV1RequestCatalogManagementServiceSetBundleAutomationResponse, error)
SetBundleAutomation - Set Bundle Automation Invokes the c1.api.requestcatalog.v1.RequestCatalogManagementService.SetBundleAutomation method.
func (*RequestCatalogManagement) Update ¶ added in v1.15.0
func (s *RequestCatalogManagement) Update(ctx context.Context, request operations.C1APIRequestcatalogV1RequestCatalogManagementServiceUpdateRequest, opts ...operations.Option) (*operations.C1APIRequestcatalogV1RequestCatalogManagementServiceUpdateResponse, error)
Update Update a catalog.
type RequestCatalogSearch ¶ added in v1.15.0
type RequestCatalogSearch struct {
// contains filtered or unexported fields
}
func (*RequestCatalogSearch) SearchEntitlements ¶ added in v1.15.0
func (s *RequestCatalogSearch) SearchEntitlements(ctx context.Context, request *shared.RequestCatalogSearchServiceSearchEntitlementsRequest, opts ...operations.Option) (*operations.C1APIRequestcatalogV1RequestCatalogSearchServiceSearchEntitlementsResponse, error)
SearchEntitlements - Search Entitlements Search request catalogs based on filters specified in the request body.
type Roles ¶ added in v1.15.0
type Roles struct {
// contains filtered or unexported fields
}
func (*Roles) Get ¶ added in v1.15.0
func (s *Roles) Get(ctx context.Context, request operations.C1APIIamV1RolesGetRequest, opts ...operations.Option) (*operations.C1APIIamV1RolesGetResponse, error)
Get Get a role by id.
func (*Roles) List ¶ added in v1.15.0
func (s *Roles) List(ctx context.Context, request operations.C1APIIamV1RolesListRequest, opts ...operations.Option) (*operations.C1APIIamV1RolesListResponse, error)
List List all roles for the current user.
func (*Roles) Update ¶ added in v1.15.0
func (s *Roles) Update(ctx context.Context, request operations.C1APIIamV1RolesUpdateRequest, opts ...operations.Option) (*operations.C1APIIamV1RolesUpdateResponse, error)
Update Update a role by passing a Role object.
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 WithRetryConfig ¶ added in v1.8.0
func WithSecurity ¶ added in v1.7.0
WithSecurity configures the SDK to use the provided security details
func WithSecuritySource ¶ added in v1.11.2
WithSecuritySource configures the SDK to invoke the Security Source function on each method call to determine authentication
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 WithTenant ¶ added in v1.1.1
func WithTenantDomain ¶
WithTenantDomain allows setting the tenantDomain variable for url substitution
func WithTimeout ¶ added in v1.18.3
WithTimeout Optional request timeout applied to each operation
type SessionSettings ¶ added in v1.16.0
type SessionSettings struct {
// contains filtered or unexported fields
}
func (*SessionSettings) Get ¶ added in v1.16.0
func (s *SessionSettings) Get(ctx context.Context, opts ...operations.Option) (*operations.C1APISettingsV1SessionSettingsServiceGetResponse, error)
Get Invokes the c1.api.settings.v1.SessionSettingsService.Get method.
func (*SessionSettings) Update ¶ added in v1.16.0
func (s *SessionSettings) Update(ctx context.Context, request *shared.UpdateSessionSettingsRequest, opts ...operations.Option) (*operations.C1APISettingsV1SessionSettingsServiceUpdateResponse, error)
Update Invokes the c1.api.settings.v1.SessionSettingsService.Update method.
type SystemLog ¶ added in v1.18.3
type SystemLog struct {
// contains filtered or unexported fields
}
func (*SystemLog) ListEvents ¶ added in v1.18.3
func (s *SystemLog) ListEvents(ctx context.Context, request *shared.SystemLogServiceListEventsRequest, opts ...operations.Option) (*operations.C1APISystemlogV1SystemLogServiceListEventsResponse, error)
ListEvents - List Events ListEvents pulls Events from the ConductorOne system.
This endpoint should be used to synchorize the system log events to external systems.
type Task ¶ added in v1.15.0
type Task struct {
// contains filtered or unexported fields
}
func (*Task) CreateGrantTask ¶ added in v1.15.0
func (s *Task) CreateGrantTask(ctx context.Context, request *shared.TaskServiceCreateGrantRequest, opts ...operations.Option) (*operations.C1APITaskV1TaskServiceCreateGrantTaskResponse, error)
CreateGrantTask - Create Grant Task Create a grant task
func (*Task) CreateOffboardingTask ¶ added in v1.18.3
func (s *Task) CreateOffboardingTask(ctx context.Context, request *shared.TaskServiceCreateOffboardingRequest, opts ...operations.Option) (*operations.C1APITaskV1TaskServiceCreateOffboardingTaskResponse, error)
CreateOffboardingTask - Create Offboarding Task Invokes the c1.api.task.v1.TaskService.CreateOffboardingTask method.
func (*Task) CreateRevokeTask ¶ added in v1.15.0
func (s *Task) CreateRevokeTask(ctx context.Context, request *shared.TaskServiceCreateRevokeRequest, opts ...operations.Option) (*operations.C1APITaskV1TaskServiceCreateRevokeTaskResponse, error)
CreateRevokeTask - Create Revoke Task Create a revoke task
func (*Task) Get ¶ added in v1.15.0
func (s *Task) Get(ctx context.Context, request operations.C1APITaskV1TaskServiceGetRequest, opts ...operations.Option) (*operations.C1APITaskV1TaskServiceGetResponse, error)
Get Get a task by ID
type TaskActions ¶ added in v1.15.0
type TaskActions struct {
// contains filtered or unexported fields
}
func (*TaskActions) Approve ¶ added in v1.15.0
func (s *TaskActions) Approve(ctx context.Context, request operations.C1APITaskV1TaskActionsServiceApproveRequest, opts ...operations.Option) (*operations.C1APITaskV1TaskActionsServiceApproveResponse, error)
Approve Invokes the c1.api.task.v1.TaskActionsService.Approve method.
func (*TaskActions) Comment ¶ added in v1.15.0
func (s *TaskActions) Comment(ctx context.Context, request operations.C1APITaskV1TaskActionsServiceCommentRequest, opts ...operations.Option) (*operations.C1APITaskV1TaskActionsServiceCommentResponse, error)
Comment Invokes the c1.api.task.v1.TaskActionsService.Comment method.
func (*TaskActions) Deny ¶ added in v1.15.0
func (s *TaskActions) Deny(ctx context.Context, request operations.C1APITaskV1TaskActionsServiceDenyRequest, opts ...operations.Option) (*operations.C1APITaskV1TaskActionsServiceDenyResponse, error)
Deny Invokes the c1.api.task.v1.TaskActionsService.Deny method.
func (*TaskActions) EscalateToEmergencyAccess ¶ added in v1.15.0
func (s *TaskActions) EscalateToEmergencyAccess(ctx context.Context, request operations.C1APITaskV1TaskActionsServiceEscalateToEmergencyAccessRequest, opts ...operations.Option) (*operations.C1APITaskV1TaskActionsServiceEscalateToEmergencyAccessResponse, error)
EscalateToEmergencyAccess - Escalate To Emergency Access Invokes the c1.api.task.v1.TaskActionsService.EscalateToEmergencyAccess method.
func (*TaskActions) HardReset ¶ added in v1.20.0
func (s *TaskActions) HardReset(ctx context.Context, request operations.C1APITaskV1TaskActionsServiceHardResetRequest, opts ...operations.Option) (*operations.C1APITaskV1TaskActionsServiceHardResetResponse, error)
HardReset - Hard Reset Invokes the c1.api.task.v1.TaskActionsService.HardReset method.
func (*TaskActions) Reassign ¶ added in v1.18.3
func (s *TaskActions) Reassign(ctx context.Context, request operations.C1APITaskV1TaskActionsServiceReassignRequest, opts ...operations.Option) (*operations.C1APITaskV1TaskActionsServiceReassignResponse, error)
Reassign Invokes the c1.api.task.v1.TaskActionsService.Reassign method.
func (*TaskActions) Restart ¶ added in v1.15.0
func (s *TaskActions) Restart(ctx context.Context, request operations.C1APITaskV1TaskActionsServiceRestartRequest, opts ...operations.Option) (*operations.C1APITaskV1TaskActionsServiceRestartResponse, error)
Restart Invokes the c1.api.task.v1.TaskActionsService.Restart method.
type TaskSearch ¶ added in v1.15.0
type TaskSearch struct {
// contains filtered or unexported fields
}
func (*TaskSearch) Search ¶ added in v1.15.0
func (s *TaskSearch) Search(ctx context.Context, request *shared.TaskSearchRequest, opts ...operations.Option) (*operations.C1APITaskV1TaskSearchServiceSearchResponse, error)
Search Search tasks based on filters specified in the request body.
type User ¶ added in v1.15.0
type User struct {
// contains filtered or unexported fields
}
func (*User) Get ¶ added in v1.15.0
func (s *User) Get(ctx context.Context, request operations.C1APIUserV1UserServiceGetRequest, opts ...operations.Option) (*operations.C1APIUserV1UserServiceGetResponse, error)
Get Get a user by ID.
func (*User) List ¶ added in v1.15.0
func (s *User) List(ctx context.Context, request operations.C1APIUserV1UserServiceListRequest, opts ...operations.Option) (*operations.C1APIUserV1UserServiceListResponse, error)
List List users.
type UserSearch ¶ added in v1.15.0
type UserSearch struct {
// contains filtered or unexported fields
}
func (*UserSearch) Search ¶ added in v1.15.0
func (s *UserSearch) Search(ctx context.Context, request *shared.SearchUsersRequest, opts ...operations.Option) (*operations.C1APIUserV1UserSearchSearchResponse, error)
Search Search users based on filters specified in the request body.
type Webhooks ¶ added in v1.18.3
type Webhooks struct {
// contains filtered or unexported fields
}
func (*Webhooks) Create ¶ added in v1.18.3
func (s *Webhooks) Create(ctx context.Context, request *shared.WebhooksServiceCreateRequest, opts ...operations.Option) (*operations.C1APIWebhooksV1WebhooksServiceCreateResponse, error)
Create Invokes the c1.api.webhooks.v1.WebhooksService.Create method.
func (*Webhooks) Delete ¶ added in v1.18.3
func (s *Webhooks) Delete(ctx context.Context, request operations.C1APIWebhooksV1WebhooksServiceDeleteRequest, opts ...operations.Option) (*operations.C1APIWebhooksV1WebhooksServiceDeleteResponse, error)
Delete Invokes the c1.api.webhooks.v1.WebhooksService.Delete method.
func (*Webhooks) Get ¶ added in v1.18.3
func (s *Webhooks) Get(ctx context.Context, request operations.C1APIWebhooksV1WebhooksServiceGetRequest, opts ...operations.Option) (*operations.C1APIWebhooksV1WebhooksServiceGetResponse, error)
Get Invokes the c1.api.webhooks.v1.WebhooksService.Get method.
func (*Webhooks) List ¶ added in v1.18.3
func (s *Webhooks) List(ctx context.Context, request operations.C1APIWebhooksV1WebhooksServiceListRequest, opts ...operations.Option) (*operations.C1APIWebhooksV1WebhooksServiceListResponse, error)
List Invokes the c1.api.webhooks.v1.WebhooksService.List method.
func (*Webhooks) Test ¶ added in v1.18.3
func (s *Webhooks) Test(ctx context.Context, request operations.C1APIWebhooksV1WebhooksServiceTestRequest, opts ...operations.Option) (*operations.C1APIWebhooksV1WebhooksServiceTestResponse, error)
Test Invokes the c1.api.webhooks.v1.WebhooksService.Test method.
func (*Webhooks) Update ¶ added in v1.18.3
func (s *Webhooks) Update(ctx context.Context, request operations.C1APIWebhooksV1WebhooksServiceUpdateRequest, opts ...operations.Option) (*operations.C1APIWebhooksV1WebhooksServiceUpdateResponse, error)
Update Invokes the c1.api.webhooks.v1.WebhooksService.Update method.
type WebhooksSearch ¶ added in v1.18.3
type WebhooksSearch struct {
// contains filtered or unexported fields
}
func (*WebhooksSearch) Search ¶ added in v1.18.3
func (s *WebhooksSearch) Search(ctx context.Context, request *shared.WebhooksSearchRequest, opts ...operations.Option) (*operations.C1APIWebhooksV1WebhooksSearchSearchResponse, error)
Search Invokes the c1.api.webhooks.v1.WebhooksSearch.Search method.
Source Files ¶
- appaccessrequestsdefaults.go
- appentitlementowners.go
- appentitlements.go
- appentitlementsearch.go
- appentitlementsproxy.go
- appentitlementuserbinding.go
- appowners.go
- appreport.go
- appreportaction.go
- appresource.go
- appresourceowners.go
- appresourcesearch.go
- appresourcetype.go
- apps.go
- appsearch.go
- appusagecontrols.go
- appuser.go
- attributes.go
- attributesearch.go
- auth.go
- awsexternalidsettings.go
- conductoroneapi.go
- connector.go
- directory.go
- export.go
- exportssearch.go
- extra_sdk_options.go
- login.go
- personalclient.go
- personalclientsearch.go
- policies.go
- policysearch.go
- policyvalidate.go
- requestcatalogmanagement.go
- requestcatalogsearch.go
- roles.go
- sessionsettings.go
- systemlog.go
- task.go
- taskactions.go
- tasksearch.go
- token_source.go
- user.go
- usersearch.go
- webhooks.go
- webhookssearch.go