Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- type APIClient
- type APIKey
- type APIKeysApiService
- func (a *APIKeysApiService) CreateApiKey(ctx context.Context) ApiCreateApiKeyRequest
- func (a *APIKeysApiService) CreateApiKeyExecute(r ApiCreateApiKeyRequest) (*models.APIKeyRead, *http.Response, error)
- func (a *APIKeysApiService) DeleteApiKey(ctx context.Context, apiKeyId string) ApiDeleteApiKeyRequest
- func (a *APIKeysApiService) DeleteApiKeyExecute(r ApiDeleteApiKeyRequest) (*http.Response, error)
- func (a *APIKeysApiService) GetApiKey(ctx context.Context, apiKeyId string) ApiGetApiKeyRequest
- func (a *APIKeysApiService) GetApiKeyExecute(r ApiGetApiKeyRequest) (*models.APIKeyRead, *http.Response, error)
- func (a *APIKeysApiService) GetApiKeyScope(ctx context.Context) ApiGetApiKeyScopeRequest
- func (a *APIKeysApiService) GetApiKeyScopeExecute(r ApiGetApiKeyScopeRequest) (*models.APIKeyScopeRead, *http.Response, error)
- func (a *APIKeysApiService) GetEnvironmentApiKey(ctx context.Context, projId string, envId string) ApiGetEnvironmentApiKeyRequest
- func (a *APIKeysApiService) GetEnvironmentApiKeyExecute(r ApiGetEnvironmentApiKeyRequest) (*models.APIKeyRead, *http.Response, error)
- func (a *APIKeysApiService) ListApiKeys(ctx context.Context) ApiListApiKeysRequest
- func (a *APIKeysApiService) ListApiKeysExecute(r ApiListApiKeysRequest) (*models.PaginatedResultAPIKeyRead, *http.Response, error)
- type APIResponse
- type ApiActivatePolicyRepoRequest
- type ApiAddParentResourceRoleRequest
- type ApiAddParentRoleRequest
- type ApiAssignPermissionsToResourceRoleRequest
- func (r ApiAssignPermissionsToResourceRoleRequest) AddRolePermissions(addRolePermissions models.AddRolePermissions) ApiAssignPermissionsToResourceRoleRequest
- func (r ApiAssignPermissionsToResourceRoleRequest) Execute() (*models.ResourceRoleRead, *http.Response, error)
- func (r ApiAssignPermissionsToResourceRoleRequest) PermitSession(permitSession string) ApiAssignPermissionsToResourceRoleRequest
- type ApiAssignPermissionsToRoleRequest
- type ApiAssignRoleRequest
- func (r ApiAssignRoleRequest) Execute() (*models.RoleAssignmentRead, *http.Response, error)
- func (r ApiAssignRoleRequest) PermitSession(permitSession string) ApiAssignRoleRequest
- func (r ApiAssignRoleRequest) RoleAssignmentCreate(roleAssignmentCreate models.RoleAssignmentCreate) ApiAssignRoleRequest
- type ApiAssignRoleToUserRequest
- type ApiAssignSetPermissionsRequest
- type ApiBulkAssignRoleRequest
- func (r ApiBulkAssignRoleRequest) Execute() (*models.BulkRoleAssignmentReport, *http.Response, error)
- func (r ApiBulkAssignRoleRequest) PermitSession(permitSession string) ApiBulkAssignRoleRequest
- func (r ApiBulkAssignRoleRequest) RoleAssignmentCreate(roleAssignmentCreate []models.RoleAssignmentCreate) ApiBulkAssignRoleRequest
- type ApiBulkCreateRelationshipTuplesRequest
- func (r ApiBulkCreateRelationshipTuplesRequest) Execute() (map[string]interface{}, *http.Response, error)
- func (r ApiBulkCreateRelationshipTuplesRequest) PermitSession(permitSession string) ApiBulkCreateRelationshipTuplesRequest
- func (r ApiBulkCreateRelationshipTuplesRequest) RelationshipTupleCreateBulkOperation(...) ApiBulkCreateRelationshipTuplesRequest
- type ApiBulkDeleteRelationshipTuplesRequest
- func (r ApiBulkDeleteRelationshipTuplesRequest) Execute() (map[string]interface{}, *http.Response, error)
- func (r ApiBulkDeleteRelationshipTuplesRequest) PermitSession(permitSession string) ApiBulkDeleteRelationshipTuplesRequest
- func (r ApiBulkDeleteRelationshipTuplesRequest) RelationshipTupleDeleteBulkOperation(...) ApiBulkDeleteRelationshipTuplesRequest
- type ApiBulkUnassignRoleRequest
- func (r ApiBulkUnassignRoleRequest) Execute() (*models.BulkRoleUnAssignmentReport, *http.Response, error)
- func (r ApiBulkUnassignRoleRequest) PermitSession(permitSession string) ApiBulkUnassignRoleRequest
- func (r ApiBulkUnassignRoleRequest) RoleAssignmentRemove(roleAssignmentRemove []models.RoleAssignmentRemove) ApiBulkUnassignRoleRequest
- type ApiCancelInviteRequest
- type ApiCopyEnvironmentRequest
- type ApiCreateApiKeyRequest
- type ApiCreateConditionSetRequest
- type ApiCreateElementsConfigRequest
- type ApiCreateEnvironmentRequest
- type ApiCreateImplicitGrantRequest
- func (r ApiCreateImplicitGrantRequest) DerivedRoleRuleCreate(derivedRoleRuleCreate models.DerivedRoleRuleCreate) ApiCreateImplicitGrantRequest
- func (r ApiCreateImplicitGrantRequest) Execute() (*models.DerivedRoleRuleRead, *http.Response, error)
- func (r ApiCreateImplicitGrantRequest) PermitSession(permitSession string) ApiCreateImplicitGrantRequest
- type ApiCreateOrganizationRequest
- type ApiCreatePolicyRepoRequest
- type ApiCreateProjectRequest
- type ApiCreateProxyConfigRequest
- type ApiCreateRelationshipTupleRequest
- func (r ApiCreateRelationshipTupleRequest) Execute() (*models.RelationshipTupleRead, *http.Response, error)
- func (r ApiCreateRelationshipTupleRequest) PermitSession(permitSession string) ApiCreateRelationshipTupleRequest
- func (r ApiCreateRelationshipTupleRequest) RelationshipTupleCreate(relationshipTupleCreate models.RelationshipTupleCreate) ApiCreateRelationshipTupleRequest
- type ApiCreateResourceActionGroupRequest
- type ApiCreateResourceActionRequest
- type ApiCreateResourceAttributeRequest
- type ApiCreateResourceInstanceRequest
- func (r ApiCreateResourceInstanceRequest) Execute() (*models.ResourceInstanceRead, *http.Response, error)
- func (r ApiCreateResourceInstanceRequest) PermitSession(permitSession string) ApiCreateResourceInstanceRequest
- func (r ApiCreateResourceInstanceRequest) ResourceInstanceCreate(resourceInstanceCreate models.ResourceInstanceCreate) ApiCreateResourceInstanceRequest
- type ApiCreateResourceRelationRequest
- func (r ApiCreateResourceRelationRequest) Execute() (*models.RelationRead, *http.Response, error)
- func (r ApiCreateResourceRelationRequest) PermitSession(permitSession string) ApiCreateResourceRelationRequest
- func (r ApiCreateResourceRelationRequest) RelationCreate(relationCreate models.RelationCreate) ApiCreateResourceRelationRequest
- type ApiCreateResourceRequest
- type ApiCreateResourceRoleRequest
- func (r ApiCreateResourceRoleRequest) Execute() (*models.ResourceRoleRead, *http.Response, error)
- func (r ApiCreateResourceRoleRequest) PermitSession(permitSession string) ApiCreateResourceRoleRequest
- func (r ApiCreateResourceRoleRequest) ResourceRoleCreate(resourceRoleCreate models.ResourceRoleCreate) ApiCreateResourceRoleRequest
- type ApiCreateRoleRequest
- type ApiCreateTenantRequest
- type ApiCreateUserAttributeRequest
- func (r ApiCreateUserAttributeRequest) Execute() (*models.ResourceAttributeRead, *http.Response, error)
- func (r ApiCreateUserAttributeRequest) ResourceAttributeCreate(resourceAttributeCreate models.ResourceAttributeCreate) ApiCreateUserAttributeRequest
- func (r ApiCreateUserAttributeRequest) ResourceId(resourceId string) ApiCreateUserAttributeRequest
- type ApiCreateUserRequest
- type ApiDeleteApiKeyRequest
- type ApiDeleteConditionSetRequest
- type ApiDeleteElementsConfigRequest
- type ApiDeleteEnvironmentRequest
- type ApiDeleteImplicitGrantRequest
- func (r ApiDeleteImplicitGrantRequest) DerivedRoleRuleDelete(derivedRoleRuleDelete models.DerivedRoleRuleDelete) ApiDeleteImplicitGrantRequest
- func (r ApiDeleteImplicitGrantRequest) Execute() (*http.Response, error)
- func (r ApiDeleteImplicitGrantRequest) PermitSession(permitSession string) ApiDeleteImplicitGrantRequest
- type ApiDeleteOrganizationMemberRequest
- type ApiDeleteOrganizationRequest
- type ApiDeletePolicyRepoRequest
- type ApiDeleteProjectRequest
- type ApiDeleteProxyConfigRequest
- type ApiDeleteRelationshipTupleRequest
- func (r ApiDeleteRelationshipTupleRequest) Execute() (*http.Response, error)
- func (r ApiDeleteRelationshipTupleRequest) PermitSession(permitSession string) ApiDeleteRelationshipTupleRequest
- func (r ApiDeleteRelationshipTupleRequest) RelationshipTupleDelete(relationshipTupleDelete models.RelationshipTupleDelete) ApiDeleteRelationshipTupleRequest
- type ApiDeleteResourceActionGroupRequest
- type ApiDeleteResourceActionRequest
- type ApiDeleteResourceAttributeRequest
- type ApiDeleteResourceInstanceRequest
- type ApiDeleteResourceRelationRequest
- type ApiDeleteResourceRequest
- type ApiDeleteResourceRoleRequest
- type ApiDeleteRoleRequest
- type ApiDeleteTenantRequest
- type ApiDeleteTenantUserRequest
- type ApiDeleteUserAttributeRequest
- func (r ApiDeleteUserAttributeRequest) Execute() (*http.Response, error)
- func (r ApiDeleteUserAttributeRequest) Page(page int32) ApiDeleteUserAttributeRequest
- func (r ApiDeleteUserAttributeRequest) PerPage(perPage int32) ApiDeleteUserAttributeRequest
- func (r ApiDeleteUserAttributeRequest) ResourceId(resourceId string) ApiDeleteUserAttributeRequest
- type ApiDeleteUserRequest
- type ApiDevLoginRequest
- type ApiDisableActivePolicyRepoRequest
- type ApiDummyDbRequest
- type ApiDummyRequest
- type ApiElementsAssignRoleToUserRequest
- type ApiElementsCreateUserRequest
- type ApiElementsDeleteUserRequest
- type ApiElementsListRolesRequest
- func (r ApiElementsListRolesRequest) Execute() ([]models.ElementsRoleRead, *http.Response, error)
- func (r ApiElementsListRolesRequest) Page(page int32) ApiElementsListRolesRequest
- func (r ApiElementsListRolesRequest) PerPage(perPage int32) ApiElementsListRolesRequest
- func (r ApiElementsListRolesRequest) Search(search string) ApiElementsListRolesRequest
- type ApiElementsListUsersRequest
- func (r ApiElementsListUsersRequest) Execute() (*models.PaginatedResultUserRead, *http.Response, error)
- func (r ApiElementsListUsersRequest) Page(page int32) ApiElementsListUsersRequest
- func (r ApiElementsListUsersRequest) PerPage(perPage int32) ApiElementsListUsersRequest
- func (r ApiElementsListUsersRequest) Search(search string) ApiElementsListUsersRequest
- type ApiElementsLoginAsRequest
- type ApiElementsUnassignRoleFromUserRequest
- type ApiGetActiveOrganizationRequest
- type ApiGetActivePolicyRepoRequest
- type ApiGetAllDataRequest
- type ApiGetApiKeyRequest
- type ApiGetApiKeyScopeRequest
- type ApiGetAuthenticatedMemberRequest
- type ApiGetAuthenticatingPdpConfigValuesLegacyRequest
- type ApiGetAuthenticatingPdpConfigValuesRequest
- type ApiGetConditionSetAncestorsRequest
- func (r ApiGetConditionSetAncestorsRequest) Execute() ([]models.ConditionSetRead, *http.Response, error)
- func (r ApiGetConditionSetAncestorsRequest) Page(page int32) ApiGetConditionSetAncestorsRequest
- func (r ApiGetConditionSetAncestorsRequest) PerPage(perPage int32) ApiGetConditionSetAncestorsRequest
- type ApiGetConditionSetDescendantsRequest
- func (r ApiGetConditionSetDescendantsRequest) Execute() ([]models.ConditionSetRead, *http.Response, error)
- func (r ApiGetConditionSetDescendantsRequest) Page(page int32) ApiGetConditionSetDescendantsRequest
- func (r ApiGetConditionSetDescendantsRequest) PerPage(perPage int32) ApiGetConditionSetDescendantsRequest
- type ApiGetConditionSetPossibleParentsRequest
- func (r ApiGetConditionSetPossibleParentsRequest) Execute() ([]models.ConditionSetRead, *http.Response, error)
- func (r ApiGetConditionSetPossibleParentsRequest) Page(page int32) ApiGetConditionSetPossibleParentsRequest
- func (r ApiGetConditionSetPossibleParentsRequest) PerPage(perPage int32) ApiGetConditionSetPossibleParentsRequest
- type ApiGetConditionSetRequest
- type ApiGetDataForRoleRequest
- type ApiGetDataForSetRuleRequest
- type ApiGetDataForUserRequest
- type ApiGetElementsConfigRequest
- type ApiGetEnvConfigRequest
- type ApiGetEnvironmentApiKeyRequest
- type ApiGetEnvironmentRequest
- type ApiGetOpalDataSourcesOpalDataConfigGetRequest
- type ApiGetOpalDataSourcesRequest
- type ApiGetOrganizationMemberRequest
- type ApiGetOrganizationRequest
- type ApiGetOrganizationV2StressDbOrganizationGetRequest
- type ApiGetOrganizationWithAuthnRequest
- type ApiGetOrganizationWithAuthzRequest
- type ApiGetPdpConfigValuesRequest
- type ApiGetPolicyRepoRequest
- type ApiGetProjectRequest
- type ApiGetProxyConfigRequest
- type ApiGetResourceActionGroupRequest
- type ApiGetResourceActionRequest
- type ApiGetResourceAttributeRequest
- type ApiGetResourceInstanceRequest
- type ApiGetResourceRelationRequest
- type ApiGetResourceRequest
- type ApiGetResourceRoleAncestorsRequest
- type ApiGetResourceRoleDescendantsRequest
- type ApiGetResourceRoleRequest
- type ApiGetRoleRequest
- type ApiGetTenantRequest
- type ApiGetUserAttributeRequest
- type ApiGetUserRequest
- type ApiInsertOpaDecisionLogsRequest
- type ApiInviteMembersToOrganizationRequest
- func (r ApiInviteMembersToOrganizationRequest) Execute() (*models.MultiInviteResult, *http.Response, error)
- func (r ApiInviteMembersToOrganizationRequest) InviteCreate(inviteCreate []models.InviteCreate) ApiInviteMembersToOrganizationRequest
- func (r ApiInviteMembersToOrganizationRequest) InviterEmail(inviterEmail string) ApiInviteMembersToOrganizationRequest
- func (r ApiInviteMembersToOrganizationRequest) InviterName(inviterName string) ApiInviteMembersToOrganizationRequest
- type ApiListApiKeysRequest
- type ApiListConditionSetsRequest
- func (r ApiListConditionSetsRequest) Execute() (*models.ResponseListConditionSetsV2SchemaProjIdEnvIdConditionSetsGet, ...)
- func (r ApiListConditionSetsRequest) IncludeTotalCount(includeTotalCount bool) ApiListConditionSetsRequest
- func (r ApiListConditionSetsRequest) Page(page int32) ApiListConditionSetsRequest
- func (r ApiListConditionSetsRequest) PerPage(perPage int32) ApiListConditionSetsRequest
- func (r ApiListConditionSetsRequest) Type_(type_ models.ConditionSetType) ApiListConditionSetsRequest
- type ApiListElementsConfigsRequest
- type ApiListEnvironmentsRequest
- type ApiListLanguageInstructionsRequest
- type ApiListOrganizationInvitesRequest
- type ApiListOrganizationMembersRequest
- type ApiListOrganizationsRequest
- type ApiListPdpConfigsRequest
- type ApiListPdpDecisionLogsRequest
- func (r ApiListPdpDecisionLogsRequest) Approved(approved bool) ApiListPdpDecisionLogsRequest
- func (r ApiListPdpDecisionLogsRequest) Execute() (*models.PaginatedResultOPADecisionLog, *http.Response, error)
- func (r ApiListPdpDecisionLogsRequest) Page(page int32) ApiListPdpDecisionLogsRequest
- func (r ApiListPdpDecisionLogsRequest) PerPage(perPage int32) ApiListPdpDecisionLogsRequest
- func (r ApiListPdpDecisionLogsRequest) Resources(resources []string) ApiListPdpDecisionLogsRequest
- func (r ApiListPdpDecisionLogsRequest) TimestampFrom(timestampFrom int32) ApiListPdpDecisionLogsRequest
- func (r ApiListPdpDecisionLogsRequest) TimestampTo(timestampTo int32) ApiListPdpDecisionLogsRequest
- func (r ApiListPdpDecisionLogsRequest) Users(users []string) ApiListPdpDecisionLogsRequest
- type ApiListPolicyReposRequest
- type ApiListProjectsRequest
- type ApiListProxyConfigsRequest
- type ApiListRelationshipTuplesRequest
- func (r ApiListRelationshipTuplesRequest) Detailed(detailed bool) ApiListRelationshipTuplesRequest
- func (r ApiListRelationshipTuplesRequest) Execute() ([]models.RelationshipTupleRead, *http.Response, error)
- func (r ApiListRelationshipTuplesRequest) Object(object string) ApiListRelationshipTuplesRequest
- func (r ApiListRelationshipTuplesRequest) Page(page int32) ApiListRelationshipTuplesRequest
- func (r ApiListRelationshipTuplesRequest) PerPage(perPage int32) ApiListRelationshipTuplesRequest
- func (r ApiListRelationshipTuplesRequest) PermitSession(permitSession string) ApiListRelationshipTuplesRequest
- func (r ApiListRelationshipTuplesRequest) Relation(relation string) ApiListRelationshipTuplesRequest
- func (r ApiListRelationshipTuplesRequest) Subject(subject string) ApiListRelationshipTuplesRequest
- func (r ApiListRelationshipTuplesRequest) Tenant(tenant string) ApiListRelationshipTuplesRequest
- type ApiListResourceActionGroupsRequest
- func (r ApiListResourceActionGroupsRequest) AttributesFilter(attributesFilter map[string]interface{}) ApiListResourceActionGroupsRequest
- func (r ApiListResourceActionGroupsRequest) Execute() ([]models.ResourceActionGroupRead, *http.Response, error)
- func (r ApiListResourceActionGroupsRequest) Page(page int32) ApiListResourceActionGroupsRequest
- func (r ApiListResourceActionGroupsRequest) PerPage(perPage int32) ApiListResourceActionGroupsRequest
- type ApiListResourceActionsRequest
- func (r ApiListResourceActionsRequest) AttributesFilter(attributesFilter map[string]interface{}) ApiListResourceActionsRequest
- func (r ApiListResourceActionsRequest) Execute() ([]models.ResourceActionRead, *http.Response, error)
- func (r ApiListResourceActionsRequest) Page(page int32) ApiListResourceActionsRequest
- func (r ApiListResourceActionsRequest) PerPage(perPage int32) ApiListResourceActionsRequest
- type ApiListResourceAttributesRequest
- type ApiListResourceInstancesRequest
- func (r ApiListResourceInstancesRequest) Detailed(detailed bool) ApiListResourceInstancesRequest
- func (r ApiListResourceInstancesRequest) Execute() ([]models.ResourceInstanceRead, *http.Response, error)
- func (r ApiListResourceInstancesRequest) Page(page int32) ApiListResourceInstancesRequest
- func (r ApiListResourceInstancesRequest) PerPage(perPage int32) ApiListResourceInstancesRequest
- func (r ApiListResourceInstancesRequest) PermitSession(permitSession string) ApiListResourceInstancesRequest
- func (r ApiListResourceInstancesRequest) Resource(resource string) ApiListResourceInstancesRequest
- func (r ApiListResourceInstancesRequest) Search(search string) ApiListResourceInstancesRequest
- func (r ApiListResourceInstancesRequest) Tenant(tenant string) ApiListResourceInstancesRequest
- type ApiListResourceRelationsRequest
- func (r ApiListResourceRelationsRequest) Execute() (*models.PaginatedResultRelationRead, *http.Response, error)
- func (r ApiListResourceRelationsRequest) Page(page int32) ApiListResourceRelationsRequest
- func (r ApiListResourceRelationsRequest) PerPage(perPage int32) ApiListResourceRelationsRequest
- func (r ApiListResourceRelationsRequest) PermitSession(permitSession string) ApiListResourceRelationsRequest
- type ApiListResourceRolesRequest
- func (r ApiListResourceRolesRequest) Execute() ([]models.ResourceRoleRead, *http.Response, error)
- func (r ApiListResourceRolesRequest) Page(page int32) ApiListResourceRolesRequest
- func (r ApiListResourceRolesRequest) PerPage(perPage int32) ApiListResourceRolesRequest
- func (r ApiListResourceRolesRequest) PermitSession(permitSession string) ApiListResourceRolesRequest
- type ApiListResourcesRequest
- func (r ApiListResourcesRequest) Execute() ([]models.ResourceRead, *http.Response, error)
- func (r ApiListResourcesRequest) IncludeBuiltIn(includeBuiltIn bool) ApiListResourcesRequest
- func (r ApiListResourcesRequest) Page(page int32) ApiListResourcesRequest
- func (r ApiListResourcesRequest) PerPage(perPage int32) ApiListResourcesRequest
- func (r ApiListResourcesRequest) Search(search string) ApiListResourcesRequest
- type ApiListRoleAssignmentsRequest
- func (r ApiListRoleAssignmentsRequest) Detailed(detailed bool) ApiListRoleAssignmentsRequest
- func (r ApiListRoleAssignmentsRequest) Execute() (*models.ResponseListRoleAssignmentsV2FactsProjIdEnvIdRoleAssignmentsGet, ...)
- func (r ApiListRoleAssignmentsRequest) Page(page int32) ApiListRoleAssignmentsRequest
- func (r ApiListRoleAssignmentsRequest) PerPage(perPage int32) ApiListRoleAssignmentsRequest
- func (r ApiListRoleAssignmentsRequest) PermitSession(permitSession string) ApiListRoleAssignmentsRequest
- func (r ApiListRoleAssignmentsRequest) Resource(resource string) ApiListRoleAssignmentsRequest
- func (r ApiListRoleAssignmentsRequest) ResourceInstance(resourceInstance string) ApiListRoleAssignmentsRequest
- func (r ApiListRoleAssignmentsRequest) Role(role string) ApiListRoleAssignmentsRequest
- func (r ApiListRoleAssignmentsRequest) Tenant(tenant string) ApiListRoleAssignmentsRequest
- func (r ApiListRoleAssignmentsRequest) User(user string) ApiListRoleAssignmentsRequest
- type ApiListRolesRequest
- func (r ApiListRolesRequest) AttributesFilter(attributesFilter map[string]interface{}) ApiListRolesRequest
- func (r ApiListRolesRequest) Execute() ([]models.RoleRead, *http.Response, error)
- func (r ApiListRolesRequest) Page(page int32) ApiListRolesRequest
- func (r ApiListRolesRequest) PerPage(perPage int32) ApiListRolesRequest
- type ApiListSetPermissionsRequest
- func (r ApiListSetPermissionsRequest) Execute() ([]models.ConditionSetRuleRead, *http.Response, error)
- func (r ApiListSetPermissionsRequest) Page(page int32) ApiListSetPermissionsRequest
- func (r ApiListSetPermissionsRequest) PerPage(perPage int32) ApiListSetPermissionsRequest
- func (r ApiListSetPermissionsRequest) Permission(permission string) ApiListSetPermissionsRequest
- func (r ApiListSetPermissionsRequest) ResourceSet(resourceSet string) ApiListSetPermissionsRequest
- func (r ApiListSetPermissionsRequest) UserSet(userSet string) ApiListSetPermissionsRequest
- type ApiListTenantUsersRequest
- func (r ApiListTenantUsersRequest) Execute() (*models.PaginatedResultUserRead, *http.Response, error)
- func (r ApiListTenantUsersRequest) Page(page int32) ApiListTenantUsersRequest
- func (r ApiListTenantUsersRequest) PerPage(perPage int32) ApiListTenantUsersRequest
- func (r ApiListTenantUsersRequest) Search(search string) ApiListTenantUsersRequest
- type ApiListTenantsRequest
- func (r ApiListTenantsRequest) AttributeFilter(attributesFilter map[string]interface{}) ApiListTenantsRequest
- func (r ApiListTenantsRequest) Execute() ([]models.TenantRead, *http.Response, error)
- func (r ApiListTenantsRequest) Page(page int32) ApiListTenantsRequest
- func (r ApiListTenantsRequest) PerPage(perPage int32) ApiListTenantsRequest
- func (r ApiListTenantsRequest) Search(search string) ApiListTenantsRequest
- type ApiListUserAttributesRequest
- func (r ApiListUserAttributesRequest) Execute() ([]models.ResourceAttributeRead, *http.Response, error)
- func (r ApiListUserAttributesRequest) Page(page int32) ApiListUserAttributesRequest
- func (r ApiListUserAttributesRequest) PerPage(perPage int32) ApiListUserAttributesRequest
- func (r ApiListUserAttributesRequest) ResourceId(resourceId string) ApiListUserAttributesRequest
- type ApiListUsersRequest
- func (r ApiListUsersRequest) Execute() (*models.PaginatedResultUserRead, *http.Response, error)
- func (r ApiListUsersRequest) Page(page int32) ApiListUsersRequest
- func (r ApiListUsersRequest) PerPage(perPage int32) ApiListUsersRequest
- func (r ApiListUsersRequest) Search(search string) ApiListUsersRequest
- type ApiLoginElementsRequest
- type ApiLoginRequest
- type ApiLogoutGetRequest
- type ApiLogoutPostRequest
- type ApiMeRequest
- type ApiRemoveParentResourceRoleRequest
- type ApiRemoveParentRoleRequest
- type ApiRemovePermissionsFromResourceRoleRequest
- func (r ApiRemovePermissionsFromResourceRoleRequest) Execute() (*models.ResourceRoleRead, *http.Response, error)
- func (r ApiRemovePermissionsFromResourceRoleRequest) PermitSession(permitSession string) ApiRemovePermissionsFromResourceRoleRequest
- func (r ApiRemovePermissionsFromResourceRoleRequest) RemoveRolePermissions(removeRolePermissions models.RemoveRolePermissions) ApiRemovePermissionsFromResourceRoleRequest
- type ApiRemovePermissionsFromRoleRequest
- type ApiReplaceResourceRequest
- type ApiReplaceUserRequest
- type ApiRotatePdpApiKeyRequest
- type ApiSetConfigActiveRequest
- type ApiStatsEnvironmentsRequest
- type ApiSwitchOrganizationRequest
- type ApiUnassignRoleFromUserRequest
- type ApiUnassignRoleRequest
- type ApiUnassignSetPermissionsRequest
- type ApiUpdateConditionSetRequest
- type ApiUpdateElementsConfigRequest
- type ApiUpdateElementsEnvRequest
- type ApiUpdateEnvironmentRequest
- type ApiUpdateImplicitGrantsConditionsRequest
- func (r ApiUpdateImplicitGrantsConditionsRequest) Execute() (*models.PermitBackendSchemasSchemaDerivedRoleRuleDerivationSettings, ...)
- func (r ApiUpdateImplicitGrantsConditionsRequest) PermitBackendSchemasSchemaDerivedRoleRuleDerivationSettings(...) ApiUpdateImplicitGrantsConditionsRequest
- func (r ApiUpdateImplicitGrantsConditionsRequest) PermitSession(permitSession string) ApiUpdateImplicitGrantsConditionsRequest
- type ApiUpdateOrganizationMemberRequest
- type ApiUpdateOrganizationRequest
- type ApiUpdateProjectRequest
- type ApiUpdateProxyConfigRequest
- type ApiUpdateResourceActionRequest
- type ApiUpdateResourceAttributeRequest
- type ApiUpdateResourceInstanceRequest
- func (r ApiUpdateResourceInstanceRequest) Execute() (*models.ResourceInstanceRead, *http.Response, error)
- func (r ApiUpdateResourceInstanceRequest) PermitSession(permitSession string) ApiUpdateResourceInstanceRequest
- func (r ApiUpdateResourceInstanceRequest) ResourceInstanceUpdate(resourceInstanceUpdate models.ResourceInstanceUpdate) ApiUpdateResourceInstanceRequest
- type ApiUpdateResourceRequest
- type ApiUpdateResourceRoleRequest
- func (r ApiUpdateResourceRoleRequest) Execute() (*models.ResourceRoleRead, *http.Response, error)
- func (r ApiUpdateResourceRoleRequest) PermitSession(permitSession string) ApiUpdateResourceRoleRequest
- func (r ApiUpdateResourceRoleRequest) ResourceRoleUpdate(resourceRoleUpdate models.ResourceRoleUpdate) ApiUpdateResourceRoleRequest
- type ApiUpdateRoleRequest
- type ApiUpdateTenantRequest
- type ApiUpdateUserAttributeRequest
- func (r ApiUpdateUserAttributeRequest) Execute() (*models.ResourceAttributeRead, *http.Response, error)
- func (r ApiUpdateUserAttributeRequest) ResourceAttributeUpdate(resourceAttributeUpdate models.ResourceAttributeUpdate) ApiUpdateUserAttributeRequest
- func (r ApiUpdateUserAttributeRequest) ResourceId(resourceId string) ApiUpdateUserAttributeRequest
- type ApiUpdateUserRequest
- type AuthenticationApiService
- func (a *AuthenticationApiService) DevLogin(ctx context.Context) ApiDevLoginRequest
- func (a *AuthenticationApiService) DevLoginExecute(r ApiDevLoginRequest) (*http.Response, error)
- func (a *AuthenticationApiService) ElementsLoginAs(ctx context.Context) ApiElementsLoginAsRequest
- func (a *AuthenticationApiService) ElementsLoginAsExecute(r ApiElementsLoginAsRequest) (*models.EmbeddedLoginRequestOutput, *http.Response, error)
- func (a *AuthenticationApiService) Login(ctx context.Context) ApiLoginRequest
- func (a *AuthenticationApiService) LoginElements(ctx context.Context) ApiLoginElementsRequest
- func (a *AuthenticationApiService) LoginElementsExecute(r ApiLoginElementsRequest) (*models.LoginResult, *http.Response, error)
- func (a *AuthenticationApiService) LoginExecute(r ApiLoginRequest) (*models.LoginResult, *http.Response, error)
- func (a *AuthenticationApiService) LogoutGet(ctx context.Context) ApiLogoutGetRequest
- func (a *AuthenticationApiService) LogoutGetExecute(r ApiLogoutGetRequest) (*http.Response, error)
- func (a *AuthenticationApiService) LogoutPost(ctx context.Context) ApiLogoutPostRequest
- func (a *AuthenticationApiService) LogoutPostExecute(r ApiLogoutPostRequest) (*http.Response, error)
- func (a *AuthenticationApiService) Me(ctx context.Context) ApiMeRequest
- func (a *AuthenticationApiService) MeExecute(r ApiMeRequest) (*models.AuthnMeRead, *http.Response, error)
- func (a *AuthenticationApiService) SwitchOrganization(ctx context.Context, orgId string) ApiSwitchOrganizationRequest
- func (a *AuthenticationApiService) SwitchOrganizationExecute(r ApiSwitchOrganizationRequest) (*models.LoginResult, *http.Response, error)
- type BasicAuth
- type ConditionSetRulesApiService
- func (a *ConditionSetRulesApiService) AssignSetPermissions(ctx context.Context, projId string, envId string) ApiAssignSetPermissionsRequest
- func (a *ConditionSetRulesApiService) AssignSetPermissionsExecute(r ApiAssignSetPermissionsRequest) ([]models.ConditionSetRuleRead, *http.Response, error)
- func (a *ConditionSetRulesApiService) ListSetPermissions(ctx context.Context, projId string, envId string) ApiListSetPermissionsRequest
- func (a *ConditionSetRulesApiService) ListSetPermissionsExecute(r ApiListSetPermissionsRequest) ([]models.ConditionSetRuleRead, *http.Response, error)
- func (a *ConditionSetRulesApiService) UnassignSetPermissions(ctx context.Context, projId string, envId string) ApiUnassignSetPermissionsRequest
- func (a *ConditionSetRulesApiService) UnassignSetPermissionsExecute(r ApiUnassignSetPermissionsRequest) (*http.Response, error)
- type ConditionSetsApiService
- func (a *ConditionSetsApiService) CreateConditionSet(ctx context.Context, projId string, envId string) ApiCreateConditionSetRequest
- func (a *ConditionSetsApiService) CreateConditionSetExecute(r ApiCreateConditionSetRequest) (*models.ConditionSetRead, *http.Response, error)
- func (a *ConditionSetsApiService) DeleteConditionSet(ctx context.Context, projId string, envId string, conditionSetId string) ApiDeleteConditionSetRequest
- func (a *ConditionSetsApiService) DeleteConditionSetExecute(r ApiDeleteConditionSetRequest) (*http.Response, error)
- func (a *ConditionSetsApiService) GetConditionSet(ctx context.Context, projId string, envId string, conditionSetId string) ApiGetConditionSetRequest
- func (a *ConditionSetsApiService) GetConditionSetAncestors(ctx context.Context, projId string, envId string, conditionSetId string) ApiGetConditionSetAncestorsRequest
- func (a *ConditionSetsApiService) GetConditionSetAncestorsExecute(r ApiGetConditionSetAncestorsRequest) ([]models.ConditionSetRead, *http.Response, error)
- func (a *ConditionSetsApiService) GetConditionSetDescendants(ctx context.Context, projId string, envId string, conditionSetId string) ApiGetConditionSetDescendantsRequest
- func (a *ConditionSetsApiService) GetConditionSetDescendantsExecute(r ApiGetConditionSetDescendantsRequest) ([]models.ConditionSetRead, *http.Response, error)
- func (a *ConditionSetsApiService) GetConditionSetExecute(r ApiGetConditionSetRequest) (*models.ConditionSetRead, *http.Response, error)
- func (a *ConditionSetsApiService) GetConditionSetPossibleParents(ctx context.Context, projId string, envId string, conditionSetId string) ApiGetConditionSetPossibleParentsRequest
- func (a *ConditionSetsApiService) GetConditionSetPossibleParentsExecute(r ApiGetConditionSetPossibleParentsRequest) ([]models.ConditionSetRead, *http.Response, error)
- func (a *ConditionSetsApiService) ListConditionSets(ctx context.Context, projId string, envId string) ApiListConditionSetsRequest
- func (a *ConditionSetsApiService) ListConditionSetsExecute(r ApiListConditionSetsRequest) (*models.ResponseListConditionSetsV2SchemaProjIdEnvIdConditionSetsGet, ...)
- func (a *ConditionSetsApiService) UpdateConditionSet(ctx context.Context, projId string, envId string, conditionSetId string) ApiUpdateConditionSetRequest
- func (a *ConditionSetsApiService) UpdateConditionSetExecute(r ApiUpdateConditionSetRequest) (*models.ConditionSetRead, *http.Response, error)
- type Configuration
- type DecisionLogsApiService
- func (a *DecisionLogsApiService) ListPdpDecisionLogs(ctx context.Context, projId string, envId string, pdpId string) ApiListPdpDecisionLogsRequest
- func (a *DecisionLogsApiService) ListPdpDecisionLogsExecute(r ApiListPdpDecisionLogsRequest) (*models.PaginatedResultOPADecisionLog, *http.Response, error)
- type DecisionLogsIngressApiService
- type DefaultApiService
- func (a *DefaultApiService) Dummy(ctx context.Context) ApiDummyRequest
- func (a *DefaultApiService) DummyDb(ctx context.Context) ApiDummyDbRequest
- func (a *DefaultApiService) DummyDbExecute(r ApiDummyDbRequest) (interface{}, *http.Response, error)
- func (a *DefaultApiService) DummyExecute(r ApiDummyRequest) (interface{}, *http.Response, error)
- func (a *DefaultApiService) GetOrganizationV2StressDbOrganizationGet(ctx context.Context) ApiGetOrganizationV2StressDbOrganizationGetRequest
- func (a *DefaultApiService) GetOrganizationV2StressDbOrganizationGetExecute(r ApiGetOrganizationV2StressDbOrganizationGetRequest) (*models.OrganizationRead, *http.Response, error)
- func (a *DefaultApiService) GetOrganizationWithAuthn(ctx context.Context) ApiGetOrganizationWithAuthnRequest
- func (a *DefaultApiService) GetOrganizationWithAuthnExecute(r ApiGetOrganizationWithAuthnRequest) (*models.OrganizationRead, *http.Response, error)
- func (a *DefaultApiService) GetOrganizationWithAuthz(ctx context.Context) ApiGetOrganizationWithAuthzRequest
- func (a *DefaultApiService) GetOrganizationWithAuthzExecute(r ApiGetOrganizationWithAuthzRequest) (*models.OrganizationRead, *http.Response, error)
- type ElementsConfigsApiService
- func (a *ElementsConfigsApiService) CreateElementsConfig(ctx context.Context, projId string, envId string) ApiCreateElementsConfigRequest
- func (a *ElementsConfigsApiService) CreateElementsConfigExecute(r ApiCreateElementsConfigRequest) (*models.ElementsConfigRead, *http.Response, error)
- func (a *ElementsConfigsApiService) DeleteElementsConfig(ctx context.Context, elementsConfigId string, projId string, envId string) ApiDeleteElementsConfigRequest
- func (a *ElementsConfigsApiService) DeleteElementsConfigExecute(r ApiDeleteElementsConfigRequest) (*http.Response, error)
- func (a *ElementsConfigsApiService) GetElementsConfig(ctx context.Context, projId string, envId string, elementsConfigId string) ApiGetElementsConfigRequest
- func (a *ElementsConfigsApiService) GetElementsConfigExecute(r ApiGetElementsConfigRequest) (*models.ElementsConfigRead, *http.Response, error)
- func (a *ElementsConfigsApiService) GetEnvConfig(ctx context.Context, projId string, envId string) ApiGetEnvConfigRequest
- func (a *ElementsConfigsApiService) GetEnvConfigExecute(r ApiGetEnvConfigRequest) (*models.ElementsEnvRead, *http.Response, error)
- func (a *ElementsConfigsApiService) ListElementsConfigs(ctx context.Context, projId string, envId string) ApiListElementsConfigsRequest
- func (a *ElementsConfigsApiService) ListElementsConfigsExecute(r ApiListElementsConfigsRequest) (*models.PaginatedResultElementsConfigRead, *http.Response, error)
- func (a *ElementsConfigsApiService) UpdateElementsConfig(ctx context.Context, elementsConfigId string, projId string, envId string) ApiUpdateElementsConfigRequest
- func (a *ElementsConfigsApiService) UpdateElementsConfigExecute(r ApiUpdateElementsConfigRequest) (*models.ElementsConfigRead, *http.Response, error)
- func (a *ElementsConfigsApiService) UpdateElementsEnv(ctx context.Context, projId string, envId string) ApiUpdateElementsEnvRequest
- func (a *ElementsConfigsApiService) UpdateElementsEnvExecute(r ApiUpdateElementsEnvRequest) (*models.ElementsEnvRead, *http.Response, error)
- type ElementsDataApiService
- func (a *ElementsDataApiService) ElementsAssignRoleToUser(ctx context.Context, projId string, envId string, elementsConfigId string, ...) ApiElementsAssignRoleToUserRequest
- func (a *ElementsDataApiService) ElementsAssignRoleToUserExecute(r ApiElementsAssignRoleToUserRequest) (*models.RoleAssignmentRead, *http.Response, error)
- func (a *ElementsDataApiService) ElementsCreateUser(ctx context.Context, projId string, envId string, elementsConfigId string) ApiElementsCreateUserRequest
- func (a *ElementsDataApiService) ElementsCreateUserExecute(r ApiElementsCreateUserRequest) (*models.UserRead, *http.Response, error)
- func (a *ElementsDataApiService) ElementsDeleteUser(ctx context.Context, projId string, envId string, elementsConfigId string, ...) ApiElementsDeleteUserRequest
- func (a *ElementsDataApiService) ElementsDeleteUserExecute(r ApiElementsDeleteUserRequest) (*http.Response, error)
- func (a *ElementsDataApiService) ElementsListRoles(ctx context.Context, projId string, envId string, elementsConfigId string) ApiElementsListRolesRequest
- func (a *ElementsDataApiService) ElementsListRolesExecute(r ApiElementsListRolesRequest) ([]models.ElementsRoleRead, *http.Response, error)
- func (a *ElementsDataApiService) ElementsListUsers(ctx context.Context, projId string, envId string, elementsConfigId string) ApiElementsListUsersRequest
- func (a *ElementsDataApiService) ElementsListUsersExecute(r ApiElementsListUsersRequest) (*models.PaginatedResultUserRead, *http.Response, error)
- func (a *ElementsDataApiService) ElementsUnassignRoleFromUser(ctx context.Context, projId string, envId string, elementsConfigId string, ...) ApiElementsUnassignRoleFromUserRequest
- func (a *ElementsDataApiService) ElementsUnassignRoleFromUserExecute(r ApiElementsUnassignRoleFromUserRequest) (*http.Response, error)
- func (a *ElementsDataApiService) SetConfigActive(ctx context.Context, elementsConfigId string, projId string, envId string) ApiSetConfigActiveRequest
- func (a *ElementsDataApiService) SetConfigActiveExecute(r ApiSetConfigActiveRequest) (*http.Response, error)
- type EnvironmentsApiService
- func (a *EnvironmentsApiService) CopyEnvironment(ctx context.Context, projId string, envId string) ApiCopyEnvironmentRequest
- func (a *EnvironmentsApiService) CopyEnvironmentExecute(r ApiCopyEnvironmentRequest) (*models.EnvironmentRead, *http.Response, error)
- func (a *EnvironmentsApiService) CreateEnvironment(ctx context.Context, projId string) ApiCreateEnvironmentRequest
- func (a *EnvironmentsApiService) CreateEnvironmentExecute(r ApiCreateEnvironmentRequest) (*models.EnvironmentRead, *http.Response, error)
- func (a *EnvironmentsApiService) DeleteEnvironment(ctx context.Context, projId string, envId string) ApiDeleteEnvironmentRequest
- func (a *EnvironmentsApiService) DeleteEnvironmentExecute(r ApiDeleteEnvironmentRequest) (*http.Response, error)
- func (a *EnvironmentsApiService) GetEnvironment(ctx context.Context, projId string, envId string) ApiGetEnvironmentRequest
- func (a *EnvironmentsApiService) GetEnvironmentExecute(r ApiGetEnvironmentRequest) (*models.EnvironmentRead, *http.Response, error)
- func (a *EnvironmentsApiService) ListEnvironments(ctx context.Context, projId string) ApiListEnvironmentsRequest
- func (a *EnvironmentsApiService) ListEnvironmentsExecute(r ApiListEnvironmentsRequest) ([]models.EnvironmentRead, *http.Response, error)
- func (a *EnvironmentsApiService) StatsEnvironments(ctx context.Context, projId string, envId string) ApiStatsEnvironmentsRequest
- func (a *EnvironmentsApiService) StatsEnvironmentsExecute(r ApiStatsEnvironmentsRequest) (*models.EnvironmentStats, *http.Response, error)
- func (a *EnvironmentsApiService) UpdateEnvironment(ctx context.Context, projId string, envId string) ApiUpdateEnvironmentRequest
- func (a *EnvironmentsApiService) UpdateEnvironmentExecute(r ApiUpdateEnvironmentRequest) (*models.EnvironmentRead, *http.Response, error)
- type GenericOpenAPIError
- type ImplicitGrantsAPIService
- func (a *ImplicitGrantsAPIService) CreateImplicitGrant(ctx context.Context, projId string, envId string, resourceId string, ...) ApiCreateImplicitGrantRequest
- func (a *ImplicitGrantsAPIService) CreateImplicitGrantExecute(r ApiCreateImplicitGrantRequest) (*models.DerivedRoleRuleRead, *http.Response, error)
- func (a *ImplicitGrantsAPIService) DeleteImplicitGrant(ctx context.Context, projId string, envId string, roleId string, ...) ApiDeleteImplicitGrantRequest
- func (a *ImplicitGrantsAPIService) DeleteImplicitGrantExecute(r ApiDeleteImplicitGrantRequest) (*http.Response, error)
- func (a *ImplicitGrantsAPIService) UpdateImplicitGrantsConditions(ctx context.Context, projId string, envId string, resourceId string, ...) ApiUpdateImplicitGrantsConditionsRequest
- func (a *ImplicitGrantsAPIService) UpdateImplicitGrantsConditionsExecute(r ApiUpdateImplicitGrantsConditionsRequest) (*models.PermitBackendSchemasSchemaDerivedRoleRuleDerivationSettings, ...)
- type InstructionsApiService
- func (a *InstructionsApiService) ListLanguageInstructions(ctx context.Context, projId string, envId string) ApiListLanguageInstructionsRequest
- func (a *InstructionsApiService) ListLanguageInstructionsExecute(r ApiListLanguageInstructionsRequest) ([]models.LanguageInstructions, *http.Response, error)
- type MembersApiService
- func (a *MembersApiService) DeleteOrganizationMember(ctx context.Context, memberId string) ApiDeleteOrganizationMemberRequest
- func (a *MembersApiService) DeleteOrganizationMemberExecute(r ApiDeleteOrganizationMemberRequest) (*http.Response, error)
- func (a *MembersApiService) GetAuthenticatedMember(ctx context.Context) ApiGetAuthenticatedMemberRequest
- func (a *MembersApiService) GetAuthenticatedMemberExecute(r ApiGetAuthenticatedMemberRequest) (*models.OrgMemberRead, *http.Response, error)
- func (a *MembersApiService) GetOrganizationMember(ctx context.Context, memberId string) ApiGetOrganizationMemberRequest
- func (a *MembersApiService) GetOrganizationMemberExecute(r ApiGetOrganizationMemberRequest) (*models.OrgMemberRead, *http.Response, error)
- func (a *MembersApiService) ListOrganizationMembers(ctx context.Context) ApiListOrganizationMembersRequest
- func (a *MembersApiService) ListOrganizationMembersExecute(r ApiListOrganizationMembersRequest) ([]models.OrgMemberRead, *http.Response, error)
- func (a *MembersApiService) UpdateOrganizationMember(ctx context.Context, memberId string) ApiUpdateOrganizationMemberRequest
- func (a *MembersApiService) UpdateOrganizationMemberExecute(r ApiUpdateOrganizationMemberRequest) (*models.OrgMemberRead, *http.Response, error)
- type OPALDataApiService
- func (a *OPALDataApiService) GetAllData(ctx context.Context, orgId string, projId string, envId string) ApiGetAllDataRequest
- func (a *OPALDataApiService) GetAllDataExecute(r ApiGetAllDataRequest) (*models.FullData, *http.Response, error)
- func (a *OPALDataApiService) GetDataForRole(ctx context.Context, orgId string, projId string, envId string, roleId string) ApiGetDataForRoleRequest
- func (a *OPALDataApiService) GetDataForRoleExecute(r ApiGetDataForRoleRequest) (*models.RoleData, *http.Response, error)
- func (a *OPALDataApiService) GetDataForSetRule(ctx context.Context, orgId string, projId string, envId string, ...) ApiGetDataForSetRuleRequest
- func (a *OPALDataApiService) GetDataForSetRuleExecute(r ApiGetDataForSetRuleRequest) (*map[string][]string, *http.Response, error)
- func (a *OPALDataApiService) GetDataForUser(ctx context.Context, orgId string, projId string, envId string, userId string) ApiGetDataForUserRequest
- func (a *OPALDataApiService) GetDataForUserExecute(r ApiGetDataForUserRequest) (*models.UserData, *http.Response, error)
- type OrganizationsApiService
- func (a *OrganizationsApiService) CancelInvite(ctx context.Context, orgId string, inviteId string) ApiCancelInviteRequest
- func (a *OrganizationsApiService) CancelInviteExecute(r ApiCancelInviteRequest) (*http.Response, error)
- func (a *OrganizationsApiService) CreateOrganization(ctx context.Context) ApiCreateOrganizationRequest
- func (a *OrganizationsApiService) CreateOrganizationExecute(r ApiCreateOrganizationRequest) (*models.OrganizationReadWithAPIKey, *http.Response, error)
- func (a *OrganizationsApiService) DeleteOrganization(ctx context.Context, orgId string) ApiDeleteOrganizationRequest
- func (a *OrganizationsApiService) DeleteOrganizationExecute(r ApiDeleteOrganizationRequest) (*http.Response, error)
- func (a *OrganizationsApiService) GetActiveOrganization(ctx context.Context) ApiGetActiveOrganizationRequest
- func (a *OrganizationsApiService) GetActiveOrganizationExecute(r ApiGetActiveOrganizationRequest) (*models.OrganizationRead, *http.Response, error)
- func (a *OrganizationsApiService) GetOrganization(ctx context.Context, orgId string) ApiGetOrganizationRequest
- func (a *OrganizationsApiService) GetOrganizationExecute(r ApiGetOrganizationRequest) (*models.OrganizationRead, *http.Response, error)
- func (a *OrganizationsApiService) InviteMembersToOrganization(ctx context.Context, orgId string) ApiInviteMembersToOrganizationRequest
- func (a *OrganizationsApiService) InviteMembersToOrganizationExecute(r ApiInviteMembersToOrganizationRequest) (*models.MultiInviteResult, *http.Response, error)
- func (a *OrganizationsApiService) ListOrganizationInvites(ctx context.Context, orgId string) ApiListOrganizationInvitesRequest
- func (a *OrganizationsApiService) ListOrganizationInvitesExecute(r ApiListOrganizationInvitesRequest) ([]models.InviteRead, *http.Response, error)
- func (a *OrganizationsApiService) ListOrganizations(ctx context.Context) ApiListOrganizationsRequest
- func (a *OrganizationsApiService) ListOrganizationsExecute(r ApiListOrganizationsRequest) ([]models.OrganizationRead, *http.Response, error)
- func (a *OrganizationsApiService) UpdateOrganization(ctx context.Context, orgId string) ApiUpdateOrganizationRequest
- func (a *OrganizationsApiService) UpdateOrganizationExecute(r ApiUpdateOrganizationRequest) (*models.OrganizationRead, *http.Response, error)
- type PolicyApiService
- func (a *PolicyApiService) GetOpalDataSources(ctx context.Context) ApiGetOpalDataSourcesRequest
- func (a *PolicyApiService) GetOpalDataSourcesExecute(r ApiGetOpalDataSourcesRequest) (*models.DataSourceConfig, *http.Response, error)
- func (a *PolicyApiService) GetOpalDataSourcesOpalDataConfigGet(ctx context.Context) ApiGetOpalDataSourcesOpalDataConfigGetRequest
- func (a *PolicyApiService) GetOpalDataSourcesOpalDataConfigGetExecute(r ApiGetOpalDataSourcesOpalDataConfigGetRequest) (*models.DataSourceConfig, *http.Response, error)
- type PolicyDecisionPointsApiService
- func (a *PolicyDecisionPointsApiService) GetAuthenticatingPdpConfigValues(ctx context.Context) ApiGetAuthenticatingPdpConfigValuesRequest
- func (a *PolicyDecisionPointsApiService) GetAuthenticatingPdpConfigValuesExecute(r ApiGetAuthenticatingPdpConfigValuesRequest) (*models.RemoteConfig, *http.Response, error)
- func (a *PolicyDecisionPointsApiService) GetAuthenticatingPdpConfigValuesLegacy(ctx context.Context) ApiGetAuthenticatingPdpConfigValuesLegacyRequest
- func (a *PolicyDecisionPointsApiService) GetAuthenticatingPdpConfigValuesLegacyExecute(r ApiGetAuthenticatingPdpConfigValuesLegacyRequest) (*models.RemoteConfig, *http.Response, error)
- func (a *PolicyDecisionPointsApiService) GetPdpConfigValues(ctx context.Context, projId string, envId string, pdpId string) ApiGetPdpConfigValuesRequest
- func (a *PolicyDecisionPointsApiService) GetPdpConfigValuesExecute(r ApiGetPdpConfigValuesRequest) (*models.RemoteConfig, *http.Response, error)
- func (a *PolicyDecisionPointsApiService) ListPdpConfigs(ctx context.Context, projId string, envId string) ApiListPdpConfigsRequest
- func (a *PolicyDecisionPointsApiService) ListPdpConfigsExecute(r ApiListPdpConfigsRequest) ([]models.PDPConfigRead, *http.Response, error)
- func (a *PolicyDecisionPointsApiService) RotatePdpApiKey(ctx context.Context, projId string, envId string, pdpId string) ApiRotatePdpApiKeyRequest
- func (a *PolicyDecisionPointsApiService) RotatePdpApiKeyExecute(r ApiRotatePdpApiKeyRequest) (*models.PDPConfigRead, *http.Response, error)
- type PolicyGitRepositoriesApiService
- func (a *PolicyGitRepositoriesApiService) ActivatePolicyRepo(ctx context.Context, projId string, repoId string) ApiActivatePolicyRepoRequest
- func (a *PolicyGitRepositoriesApiService) ActivatePolicyRepoExecute(r ApiActivatePolicyRepoRequest) (*models.ProjectRead, *http.Response, error)
- func (a *PolicyGitRepositoriesApiService) CreatePolicyRepo(ctx context.Context, projId string) ApiCreatePolicyRepoRequest
- func (a *PolicyGitRepositoriesApiService) CreatePolicyRepoExecute(r ApiCreatePolicyRepoRequest) (*models.PolicyRepoRead, *http.Response, error)
- func (a *PolicyGitRepositoriesApiService) DeletePolicyRepo(ctx context.Context, projId string, repoId string) ApiDeletePolicyRepoRequest
- func (a *PolicyGitRepositoriesApiService) DeletePolicyRepoExecute(r ApiDeletePolicyRepoRequest) (*http.Response, error)
- func (a *PolicyGitRepositoriesApiService) DisableActivePolicyRepo(ctx context.Context, projId string) ApiDisableActivePolicyRepoRequest
- func (a *PolicyGitRepositoriesApiService) DisableActivePolicyRepoExecute(r ApiDisableActivePolicyRepoRequest) (*models.ProjectRead, *http.Response, error)
- func (a *PolicyGitRepositoriesApiService) GetActivePolicyRepo(ctx context.Context, projId string) ApiGetActivePolicyRepoRequest
- func (a *PolicyGitRepositoriesApiService) GetActivePolicyRepoExecute(r ApiGetActivePolicyRepoRequest) (*models.PolicyRepoRead, *http.Response, error)
- func (a *PolicyGitRepositoriesApiService) GetPolicyRepo(ctx context.Context, projId string, repoId string) ApiGetPolicyRepoRequest
- func (a *PolicyGitRepositoriesApiService) GetPolicyRepoExecute(r ApiGetPolicyRepoRequest) (*models.PolicyRepoRead, *http.Response, error)
- func (a *PolicyGitRepositoriesApiService) ListPolicyRepos(ctx context.Context, projId string) ApiListPolicyReposRequest
- func (a *PolicyGitRepositoriesApiService) ListPolicyReposExecute(r ApiListPolicyReposRequest) ([]models.PolicyRepoRead, *http.Response, error)
- type ProjectsApiService
- func (a *ProjectsApiService) CreateProject(ctx context.Context) ApiCreateProjectRequest
- func (a *ProjectsApiService) CreateProjectExecute(r ApiCreateProjectRequest) (*models.ProjectRead, *http.Response, error)
- func (a *ProjectsApiService) DeleteProject(ctx context.Context, projId string) ApiDeleteProjectRequest
- func (a *ProjectsApiService) DeleteProjectExecute(r ApiDeleteProjectRequest) (*http.Response, error)
- func (a *ProjectsApiService) GetProject(ctx context.Context, projId string) ApiGetProjectRequest
- func (a *ProjectsApiService) GetProjectExecute(r ApiGetProjectRequest) (*models.ProjectRead, *http.Response, error)
- func (a *ProjectsApiService) ListProjects(ctx context.Context) ApiListProjectsRequest
- func (a *ProjectsApiService) ListProjectsExecute(r ApiListProjectsRequest) ([]models.ProjectRead, *http.Response, error)
- func (a *ProjectsApiService) UpdateProject(ctx context.Context, projId string) ApiUpdateProjectRequest
- func (a *ProjectsApiService) UpdateProjectExecute(r ApiUpdateProjectRequest) (*models.ProjectRead, *http.Response, error)
- type ProxyConfigAPIService
- func (a *ProxyConfigAPIService) CreateProxyConfig(ctx context.Context, projId string, envId string) ApiCreateProxyConfigRequest
- func (a *ProxyConfigAPIService) CreateProxyConfigExecute(r ApiCreateProxyConfigRequest) (*models.ProxyConfigRead, *http.Response, error)
- func (a *ProxyConfigAPIService) DeleteProxyConfig(ctx context.Context, projId string, envId string, proxyConfigId string) ApiDeleteProxyConfigRequest
- func (a *ProxyConfigAPIService) DeleteProxyConfigExecute(r ApiDeleteProxyConfigRequest) (*http.Response, error)
- func (a *ProxyConfigAPIService) GetProxyConfig(ctx context.Context, projId string, envId string, proxyConfigId string) ApiGetProxyConfigRequest
- func (a *ProxyConfigAPIService) GetProxyConfigExecute(r ApiGetProxyConfigRequest) (*models.ProxyConfigRead, *http.Response, error)
- func (a *ProxyConfigAPIService) ListProxyConfigs(ctx context.Context, projId string, envId string) ApiListProxyConfigsRequest
- func (a *ProxyConfigAPIService) ListProxyConfigsExecute(r ApiListProxyConfigsRequest) ([]models.ProxyConfigRead, *http.Response, error)
- func (a *ProxyConfigAPIService) UpdateProxyConfig(ctx context.Context, projId string, envId string, proxyConfigId string) ApiUpdateProxyConfigRequest
- func (a *ProxyConfigAPIService) UpdateProxyConfigExecute(r ApiUpdateProxyConfigRequest) (*models.ProxyConfigRead, *http.Response, error)
- type RelationshipTuplesAPIService
- func (a *RelationshipTuplesAPIService) BulkCreateRelationshipTuples(ctx context.Context, projId string, envId string) ApiBulkCreateRelationshipTuplesRequest
- func (a *RelationshipTuplesAPIService) BulkCreateRelationshipTuplesExecute(r ApiBulkCreateRelationshipTuplesRequest) (map[string]interface{}, *http.Response, error)
- func (a *RelationshipTuplesAPIService) BulkDeleteRelationshipTuples(ctx context.Context, projId string, envId string) ApiBulkDeleteRelationshipTuplesRequest
- func (a *RelationshipTuplesAPIService) BulkDeleteRelationshipTuplesExecute(r ApiBulkDeleteRelationshipTuplesRequest) (map[string]interface{}, *http.Response, error)
- func (a *RelationshipTuplesAPIService) CreateRelationshipTuple(ctx context.Context, projId string, envId string) ApiCreateRelationshipTupleRequest
- func (a *RelationshipTuplesAPIService) CreateRelationshipTupleExecute(r ApiCreateRelationshipTupleRequest) (*models.RelationshipTupleRead, *http.Response, error)
- func (a *RelationshipTuplesAPIService) DeleteRelationshipTuple(ctx context.Context, projId string, envId string) ApiDeleteRelationshipTupleRequest
- func (a *RelationshipTuplesAPIService) DeleteRelationshipTupleExecute(r ApiDeleteRelationshipTupleRequest) (*http.Response, error)
- func (a *RelationshipTuplesAPIService) ListRelationshipTuples(ctx context.Context, projId string, envId string) ApiListRelationshipTuplesRequest
- func (a *RelationshipTuplesAPIService) ListRelationshipTuplesExecute(r ApiListRelationshipTuplesRequest) ([]models.RelationshipTupleRead, *http.Response, error)
- type ResourceActionGroupsApiService
- func (a *ResourceActionGroupsApiService) CreateResourceActionGroup(ctx context.Context, projId string, envId string, resourceId string) ApiCreateResourceActionGroupRequest
- func (a *ResourceActionGroupsApiService) CreateResourceActionGroupExecute(r ApiCreateResourceActionGroupRequest) (*models.ResourceActionGroupRead, *http.Response, error)
- func (a *ResourceActionGroupsApiService) DeleteResourceActionGroup(ctx context.Context, projId string, envId string, resourceId string, ...) ApiDeleteResourceActionGroupRequest
- func (a *ResourceActionGroupsApiService) DeleteResourceActionGroupExecute(r ApiDeleteResourceActionGroupRequest) (*http.Response, error)
- func (a *ResourceActionGroupsApiService) GetResourceActionGroup(ctx context.Context, projId string, envId string, resourceId string, ...) ApiGetResourceActionGroupRequest
- func (a *ResourceActionGroupsApiService) GetResourceActionGroupExecute(r ApiGetResourceActionGroupRequest) (*models.ResourceActionGroupRead, *http.Response, error)
- func (a *ResourceActionGroupsApiService) ListResourceActionGroups(ctx context.Context, projId string, envId string, resourceId string) ApiListResourceActionGroupsRequest
- func (a *ResourceActionGroupsApiService) ListResourceActionGroupsExecute(r ApiListResourceActionGroupsRequest) ([]models.ResourceActionGroupRead, *http.Response, error)
- type ResourceActionsApiService
- func (a *ResourceActionsApiService) CreateResourceAction(ctx context.Context, projId string, envId string, resourceId string) ApiCreateResourceActionRequest
- func (a *ResourceActionsApiService) CreateResourceActionExecute(r ApiCreateResourceActionRequest) (*models.ResourceActionRead, *http.Response, error)
- func (a *ResourceActionsApiService) DeleteResourceAction(ctx context.Context, projId string, envId string, resourceId string, ...) ApiDeleteResourceActionRequest
- func (a *ResourceActionsApiService) DeleteResourceActionExecute(r ApiDeleteResourceActionRequest) (*http.Response, error)
- func (a *ResourceActionsApiService) GetResourceAction(ctx context.Context, projId string, envId string, resourceId string, ...) ApiGetResourceActionRequest
- func (a *ResourceActionsApiService) GetResourceActionExecute(r ApiGetResourceActionRequest) (*models.ResourceActionRead, *http.Response, error)
- func (a *ResourceActionsApiService) ListResourceActions(ctx context.Context, projId string, envId string, resourceId string) ApiListResourceActionsRequest
- func (a *ResourceActionsApiService) ListResourceActionsExecute(r ApiListResourceActionsRequest) ([]models.ResourceActionRead, *http.Response, error)
- func (a *ResourceActionsApiService) UpdateResourceAction(ctx context.Context, projId string, envId string, resourceId string, ...) ApiUpdateResourceActionRequest
- func (a *ResourceActionsApiService) UpdateResourceActionExecute(r ApiUpdateResourceActionRequest) (*models.ResourceActionRead, *http.Response, error)
- type ResourceAttributesApiService
- func (a *ResourceAttributesApiService) CreateResourceAttribute(ctx context.Context, projId string, envId string, resourceId string) ApiCreateResourceAttributeRequest
- func (a *ResourceAttributesApiService) CreateResourceAttributeExecute(r ApiCreateResourceAttributeRequest) (*models.ResourceAttributeRead, *http.Response, error)
- func (a *ResourceAttributesApiService) DeleteResourceAttribute(ctx context.Context, projId string, envId string, resourceId string, ...) ApiDeleteResourceAttributeRequest
- func (a *ResourceAttributesApiService) DeleteResourceAttributeExecute(r ApiDeleteResourceAttributeRequest) (*http.Response, error)
- func (a *ResourceAttributesApiService) GetResourceAttribute(ctx context.Context, projId string, envId string, resourceId string, ...) ApiGetResourceAttributeRequest
- func (a *ResourceAttributesApiService) GetResourceAttributeExecute(r ApiGetResourceAttributeRequest) (*models.ResourceAttributeRead, *http.Response, error)
- func (a *ResourceAttributesApiService) ListResourceAttributes(ctx context.Context, projId string, envId string, resourceId string) ApiListResourceAttributesRequest
- func (a *ResourceAttributesApiService) ListResourceAttributesExecute(r ApiListResourceAttributesRequest) ([]models.ResourceAttributeRead, *http.Response, error)
- func (a *ResourceAttributesApiService) UpdateResourceAttribute(ctx context.Context, projId string, envId string, resourceId string, ...) ApiUpdateResourceAttributeRequest
- func (a *ResourceAttributesApiService) UpdateResourceAttributeExecute(r ApiUpdateResourceAttributeRequest) (*models.ResourceAttributeRead, *http.Response, error)
- type ResourceInstancesApiService
- func (a *ResourceInstancesApiService) CreateResourceInstance(ctx context.Context, projId string, envId string) ApiCreateResourceInstanceRequest
- func (a *ResourceInstancesApiService) CreateResourceInstanceExecute(r ApiCreateResourceInstanceRequest) (*models.ResourceInstanceRead, *http.Response, error)
- func (a *ResourceInstancesApiService) DeleteResourceInstance(ctx context.Context, projId string, envId string, instanceId string) ApiDeleteResourceInstanceRequest
- func (a *ResourceInstancesApiService) DeleteResourceInstanceExecute(r ApiDeleteResourceInstanceRequest) (*http.Response, error)
- func (a *ResourceInstancesApiService) GetResourceInstance(ctx context.Context, projId string, envId string, instanceId string) ApiGetResourceInstanceRequest
- func (a *ResourceInstancesApiService) GetResourceInstanceExecute(r ApiGetResourceInstanceRequest) (*models.ResourceInstanceRead, *http.Response, error)
- func (a *ResourceInstancesApiService) ListResourceInstances(ctx context.Context, projId string, envId string) ApiListResourceInstancesRequest
- func (a *ResourceInstancesApiService) ListResourceInstancesExecute(r ApiListResourceInstancesRequest) ([]models.ResourceInstanceRead, *http.Response, error)
- func (a *ResourceInstancesApiService) UpdateResourceInstance(ctx context.Context, projId string, envId string, instanceId string) ApiUpdateResourceInstanceRequest
- func (a *ResourceInstancesApiService) UpdateResourceInstanceExecute(r ApiUpdateResourceInstanceRequest) (*models.ResourceInstanceRead, *http.Response, error)
- type ResourceRelationsAPIService
- func (a *ResourceRelationsAPIService) CreateResourceRelation(ctx context.Context, projId string, envId string, resourceId string) ApiCreateResourceRelationRequest
- func (a *ResourceRelationsAPIService) CreateResourceRelationExecute(r ApiCreateResourceRelationRequest) (*models.RelationRead, *http.Response, error)
- func (a *ResourceRelationsAPIService) DeleteResourceRelation(ctx context.Context, projId string, envId string, resourceId string, ...) ApiDeleteResourceRelationRequest
- func (a *ResourceRelationsAPIService) DeleteResourceRelationExecute(r ApiDeleteResourceRelationRequest) (*http.Response, error)
- func (a *ResourceRelationsAPIService) GetResourceRelation(ctx context.Context, projId string, envId string, resourceId string, ...) ApiGetResourceRelationRequest
- func (a *ResourceRelationsAPIService) GetResourceRelationExecute(r ApiGetResourceRelationRequest) (*models.RelationRead, *http.Response, error)
- func (a *ResourceRelationsAPIService) ListResourceRelations(ctx context.Context, projId string, envId string, resourceId string) ApiListResourceRelationsRequest
- func (a *ResourceRelationsAPIService) ListResourceRelationsExecute(r ApiListResourceRelationsRequest) (*models.PaginatedResultRelationRead, *http.Response, error)
- type ResourceRolesApiService
- func (a *ResourceRolesApiService) AddParentResourceRole(ctx context.Context, projId string, envId string, resourceId string, ...) ApiAddParentResourceRoleRequest
- func (a *ResourceRolesApiService) AddParentResourceRoleExecute(r ApiAddParentResourceRoleRequest) (*models.ResourceRoleRead, *http.Response, error)
- func (a *ResourceRolesApiService) AssignPermissionsToResourceRole(ctx context.Context, projId string, envId string, resourceId string, ...) ApiAssignPermissionsToResourceRoleRequest
- func (a *ResourceRolesApiService) AssignPermissionsToResourceRoleExecute(r ApiAssignPermissionsToResourceRoleRequest) (*models.ResourceRoleRead, *http.Response, error)
- func (a *ResourceRolesApiService) CreateResourceRole(ctx context.Context, projId string, envId string, resourceId string) ApiCreateResourceRoleRequest
- func (a *ResourceRolesApiService) CreateResourceRoleExecute(r ApiCreateResourceRoleRequest) (*models.ResourceRoleRead, *http.Response, error)
- func (a *ResourceRolesApiService) DeleteResourceRole(ctx context.Context, projId string, envId string, resourceId string, ...) ApiDeleteResourceRoleRequest
- func (a *ResourceRolesApiService) DeleteResourceRoleExecute(r ApiDeleteResourceRoleRequest) (*http.Response, error)
- func (a *ResourceRolesApiService) GetResourceRole(ctx context.Context, projId string, envId string, resourceId string, ...) ApiGetResourceRoleRequest
- func (a *ResourceRolesApiService) GetResourceRoleAncestors(ctx context.Context, projId string, envId string, resourceId string, ...) ApiGetResourceRoleAncestorsRequest
- func (a *ResourceRolesApiService) GetResourceRoleAncestorsExecute(r ApiGetResourceRoleAncestorsRequest) (*models.ResourceRoleList, *http.Response, error)
- func (a *ResourceRolesApiService) GetResourceRoleDescendants(ctx context.Context, projId string, envId string, resourceId string, ...) ApiGetResourceRoleDescendantsRequest
- func (a *ResourceRolesApiService) GetResourceRoleDescendantsExecute(r ApiGetResourceRoleDescendantsRequest) (*models.ResourceRoleList, *http.Response, error)
- func (a *ResourceRolesApiService) GetResourceRoleExecute(r ApiGetResourceRoleRequest) (*models.ResourceRoleRead, *http.Response, error)
- func (a *ResourceRolesApiService) ListResourceRoles(ctx context.Context, projId string, envId string, resourceId string) ApiListResourceRolesRequest
- func (a *ResourceRolesApiService) ListResourceRolesExecute(r ApiListResourceRolesRequest) ([]models.ResourceRoleRead, *http.Response, error)
- func (a *ResourceRolesApiService) RemoveParentResourceRole(ctx context.Context, projId string, envId string, resourceId string, ...) ApiRemoveParentResourceRoleRequest
- func (a *ResourceRolesApiService) RemoveParentResourceRoleExecute(r ApiRemoveParentResourceRoleRequest) (*models.ResourceRoleRead, *http.Response, error)
- func (a *ResourceRolesApiService) RemovePermissionsFromResourceRole(ctx context.Context, projId string, envId string, resourceId string, ...) ApiRemovePermissionsFromResourceRoleRequest
- func (a *ResourceRolesApiService) RemovePermissionsFromResourceRoleExecute(r ApiRemovePermissionsFromResourceRoleRequest) (*models.ResourceRoleRead, *http.Response, error)
- func (a *ResourceRolesApiService) UpdateResourceRole(ctx context.Context, projId string, envId string, resourceId string, ...) ApiUpdateResourceRoleRequest
- func (a *ResourceRolesApiService) UpdateResourceRoleExecute(r ApiUpdateResourceRoleRequest) (*models.ResourceRoleRead, *http.Response, error)
- type ResourcesApiService
- func (a *ResourcesApiService) CreateResource(ctx context.Context, projId string, envId string) ApiCreateResourceRequest
- func (a *ResourcesApiService) CreateResourceExecute(r ApiCreateResourceRequest) (*models.ResourceRead, *http.Response, error)
- func (a *ResourcesApiService) DeleteResource(ctx context.Context, projId string, envId string, resourceId string) ApiDeleteResourceRequest
- func (a *ResourcesApiService) DeleteResourceExecute(r ApiDeleteResourceRequest) (*http.Response, error)
- func (a *ResourcesApiService) GetResource(ctx context.Context, projId string, envId string, resourceId string) ApiGetResourceRequest
- func (a *ResourcesApiService) GetResourceExecute(r ApiGetResourceRequest) (*models.ResourceRead, *http.Response, error)
- func (a *ResourcesApiService) ListResources(ctx context.Context, projId string, envId string) ApiListResourcesRequest
- func (a *ResourcesApiService) ListResourcesExecute(r ApiListResourcesRequest) ([]models.ResourceRead, *http.Response, error)
- func (a *ResourcesApiService) ReplaceResource(ctx context.Context, projId string, envId string, resourceId string) ApiReplaceResourceRequest
- func (a *ResourcesApiService) ReplaceResourceExecute(r ApiReplaceResourceRequest) (*models.ResourceRead, *http.Response, error)
- func (a *ResourcesApiService) UpdateResource(ctx context.Context, projId string, envId string, resourceId string) ApiUpdateResourceRequest
- func (a *ResourcesApiService) UpdateResourceExecute(r ApiUpdateResourceRequest) (*models.ResourceRead, *http.Response, error)
- type RoleAssignmentsApiService
- func (a *RoleAssignmentsApiService) AssignRole(ctx context.Context, projId string, envId string) ApiAssignRoleRequest
- func (a *RoleAssignmentsApiService) AssignRoleExecute(r ApiAssignRoleRequest) (*models.RoleAssignmentRead, *http.Response, error)
- func (a *RoleAssignmentsApiService) BulkAssignRole(ctx context.Context, projId string, envId string) ApiBulkAssignRoleRequest
- func (a *RoleAssignmentsApiService) BulkAssignRoleExecute(r ApiBulkAssignRoleRequest) (*models.BulkRoleAssignmentReport, *http.Response, error)
- func (a *RoleAssignmentsApiService) BulkUnassignRole(ctx context.Context, projId string, envId string) ApiBulkUnassignRoleRequest
- func (a *RoleAssignmentsApiService) BulkUnassignRoleExecute(r ApiBulkUnassignRoleRequest) (*models.BulkRoleUnAssignmentReport, *http.Response, error)
- func (a *RoleAssignmentsApiService) ListRoleAssignments(ctx context.Context, projId string, envId string) ApiListRoleAssignmentsRequest
- func (a *RoleAssignmentsApiService) ListRoleAssignmentsExecute(r ApiListRoleAssignmentsRequest) (*models.ResponseListRoleAssignmentsV2FactsProjIdEnvIdRoleAssignmentsGet, ...)
- func (a *RoleAssignmentsApiService) UnassignRole(ctx context.Context, projId string, envId string) ApiUnassignRoleRequest
- func (a *RoleAssignmentsApiService) UnassignRoleExecute(r ApiUnassignRoleRequest) (*http.Response, error)
- type RolesApiService
- func (a *RolesApiService) AddParentRole(ctx context.Context, projId string, envId string, roleId string, ...) ApiAddParentRoleRequest
- func (a *RolesApiService) AddParentRoleExecute(r ApiAddParentRoleRequest) (*models.RoleRead, *http.Response, error)
- func (a *RolesApiService) AssignPermissionsToRole(ctx context.Context, projId string, envId string, roleId string) ApiAssignPermissionsToRoleRequest
- func (a *RolesApiService) AssignPermissionsToRoleExecute(r ApiAssignPermissionsToRoleRequest) (*models.RoleRead, *http.Response, error)
- func (a *RolesApiService) CreateRole(ctx context.Context, projId string, envId string) ApiCreateRoleRequest
- func (a *RolesApiService) CreateRoleExecute(r ApiCreateRoleRequest) (*models.RoleRead, *http.Response, error)
- func (a *RolesApiService) DeleteRole(ctx context.Context, projId string, envId string, roleId string) ApiDeleteRoleRequest
- func (a *RolesApiService) DeleteRoleExecute(r ApiDeleteRoleRequest) (*http.Response, error)
- func (a *RolesApiService) GetRole(ctx context.Context, projId string, envId string, roleId string) ApiGetRoleRequest
- func (a *RolesApiService) GetRoleExecute(r ApiGetRoleRequest) (*models.RoleRead, *http.Response, error)
- func (a *RolesApiService) ListRoles(ctx context.Context, projId string, envId string) ApiListRolesRequest
- func (a *RolesApiService) ListRolesExecute(r ApiListRolesRequest) ([]models.RoleRead, *http.Response, error)
- func (a *RolesApiService) RemoveParentRole(ctx context.Context, projId string, envId string, roleId string, ...) ApiRemoveParentRoleRequest
- func (a *RolesApiService) RemoveParentRoleExecute(r ApiRemoveParentRoleRequest) (*models.RoleRead, *http.Response, error)
- func (a *RolesApiService) RemovePermissionsFromRole(ctx context.Context, projId string, envId string, roleId string) ApiRemovePermissionsFromRoleRequest
- func (a *RolesApiService) RemovePermissionsFromRoleExecute(r ApiRemovePermissionsFromRoleRequest) (*models.RoleRead, *http.Response, error)
- func (a *RolesApiService) UpdateRole(ctx context.Context, projId string, envId string, roleId string) ApiUpdateRoleRequest
- func (a *RolesApiService) UpdateRoleExecute(r ApiUpdateRoleRequest) (*models.RoleRead, *http.Response, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type TenantsApiService
- func (a *TenantsApiService) CreateTenant(ctx context.Context, projId string, envId string) ApiCreateTenantRequest
- func (a *TenantsApiService) CreateTenantExecute(r ApiCreateTenantRequest) (*models.TenantRead, *http.Response, error)
- func (a *TenantsApiService) DeleteTenant(ctx context.Context, projId string, envId string, tenantId string) ApiDeleteTenantRequest
- func (a *TenantsApiService) DeleteTenantExecute(r ApiDeleteTenantRequest) (*http.Response, error)
- func (a *TenantsApiService) DeleteTenantUser(ctx context.Context, projId string, envId string, tenantId string, ...) ApiDeleteTenantUserRequest
- func (a *TenantsApiService) DeleteTenantUserExecute(r ApiDeleteTenantUserRequest) (*http.Response, error)
- func (a *TenantsApiService) GetTenant(ctx context.Context, projId string, envId string, tenantId string) ApiGetTenantRequest
- func (a *TenantsApiService) GetTenantExecute(r ApiGetTenantRequest) (*models.TenantRead, *http.Response, error)
- func (a *TenantsApiService) ListTenantUsers(ctx context.Context, projId string, tenantId string, envId string) ApiListTenantUsersRequest
- func (a *TenantsApiService) ListTenantUsersExecute(r ApiListTenantUsersRequest) (*models.PaginatedResultUserRead, *http.Response, error)
- func (a *TenantsApiService) ListTenants(ctx context.Context, projId string, envId string) ApiListTenantsRequest
- func (a *TenantsApiService) ListTenantsExecute(r ApiListTenantsRequest) ([]models.TenantRead, *http.Response, error)
- func (a *TenantsApiService) UpdateTenant(ctx context.Context, projId string, envId string, tenantId string) ApiUpdateTenantRequest
- func (a *TenantsApiService) UpdateTenantExecute(r ApiUpdateTenantRequest) (*models.TenantRead, *http.Response, error)
- type UserAttributesApiService
- func (a *UserAttributesApiService) CreateUserAttribute(ctx context.Context, projId string, envId string) ApiCreateUserAttributeRequest
- func (a *UserAttributesApiService) CreateUserAttributeExecute(r ApiCreateUserAttributeRequest) (*models.ResourceAttributeRead, *http.Response, error)
- func (a *UserAttributesApiService) DeleteUserAttribute(ctx context.Context, projId string, envId string, attributeId string) ApiDeleteUserAttributeRequest
- func (a *UserAttributesApiService) DeleteUserAttributeExecute(r ApiDeleteUserAttributeRequest) (*http.Response, error)
- func (a *UserAttributesApiService) GetUserAttribute(ctx context.Context, projId string, envId string, attributeId string) ApiGetUserAttributeRequest
- func (a *UserAttributesApiService) GetUserAttributeExecute(r ApiGetUserAttributeRequest) (*models.ResourceAttributeRead, *http.Response, error)
- func (a *UserAttributesApiService) ListUserAttributes(ctx context.Context, projId string, envId string) ApiListUserAttributesRequest
- func (a *UserAttributesApiService) ListUserAttributesExecute(r ApiListUserAttributesRequest) ([]models.ResourceAttributeRead, *http.Response, error)
- func (a *UserAttributesApiService) UpdateUserAttribute(ctx context.Context, projId string, envId string, attributeId string) ApiUpdateUserAttributeRequest
- func (a *UserAttributesApiService) UpdateUserAttributeExecute(r ApiUpdateUserAttributeRequest) (*models.ResourceAttributeRead, *http.Response, error)
- type UsersApiService
- func (a *UsersApiService) AssignRoleToUser(ctx context.Context, projId string, envId string, userId string) ApiAssignRoleToUserRequest
- func (a *UsersApiService) AssignRoleToUserExecute(r ApiAssignRoleToUserRequest) (*models.RoleAssignmentRead, *http.Response, error)
- func (a *UsersApiService) CreateUser(ctx context.Context, projId string, envId string) ApiCreateUserRequest
- func (a *UsersApiService) CreateUserExecute(r ApiCreateUserRequest) (*models.UserRead, *http.Response, error)
- func (a *UsersApiService) DeleteUser(ctx context.Context, projId string, envId string, userId string) ApiDeleteUserRequest
- func (a *UsersApiService) DeleteUserExecute(r ApiDeleteUserRequest) (*http.Response, error)
- func (a *UsersApiService) GetUser(ctx context.Context, projId string, envId string, userId string) ApiGetUserRequest
- func (a *UsersApiService) GetUserExecute(r ApiGetUserRequest) (*models.UserRead, *http.Response, error)
- func (a *UsersApiService) ListUsers(ctx context.Context, projId string, envId string) ApiListUsersRequest
- func (a *UsersApiService) ListUsersExecute(r ApiListUsersRequest) (*models.PaginatedResultUserRead, *http.Response, error)
- func (a *UsersApiService) ReplaceUser(ctx context.Context, projId string, envId string, userId string) ApiReplaceUserRequest
- func (a *UsersApiService) ReplaceUserExecute(r ApiReplaceUserRequest) (*models.UserRead, *http.Response, error)
- func (a *UsersApiService) UnassignRoleFromUser(ctx context.Context, projId string, envId string, userId string) ApiUnassignRoleFromUserRequest
- func (a *UsersApiService) UnassignRoleFromUserExecute(r ApiUnassignRoleFromUserRequest) (*models.UserRead, *http.Response, error)
- func (a *UsersApiService) UpdateUser(ctx context.Context, projId string, envId string, userId string) ApiUpdateUserRequest
- func (a *UsersApiService) UpdateUserExecute(r ApiUpdateUserRequest) (*models.UserRead, *http.Response, error)
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request. ContextHttpSignatureAuth = contextKey("httpsignature") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
Types ¶
type APIClient ¶
type APIClient struct { // API Services APIKeysApi *APIKeysApiService AuthenticationApi *AuthenticationApiService ConditionSetRulesApi *ConditionSetRulesApiService ConditionSetsApi *ConditionSetsApiService DecisionLogsApi *DecisionLogsApiService DecisionLogsIngressApi *DecisionLogsIngressApiService DefaultApi *DefaultApiService ElementsConfigsApi *ElementsConfigsApiService ElementsDataApi *ElementsDataApiService EnvironmentsApi *EnvironmentsApiService ImplicitGrantsApi *ImplicitGrantsAPIService InstructionsApi *InstructionsApiService MembersApi *MembersApiService OPALDataApi *OPALDataApiService OrganizationsApi *OrganizationsApiService PolicyApi *PolicyApiService PolicyDecisionPointsApi *PolicyDecisionPointsApiService PolicyGitRepositoriesApi *PolicyGitRepositoriesApiService ProjectsApi *ProjectsApiService ProxyConfigAPI *ProxyConfigAPIService RelationshipTuplesApi *RelationshipTuplesAPIService ResourceActionGroupsApi *ResourceActionGroupsApiService ResourceActionsApi *ResourceActionsApiService ResourceAttributesApi *ResourceAttributesApiService ResourceInstancesApi *ResourceInstancesApiService ResourceRelations *ResourceRelationsAPIService ResourceRoles *ResourceRolesApiService ResourcesApi *ResourcesApiService RoleAssignmentsApi *RoleAssignmentsApiService RolesApi *RolesApiService TenantsApi *TenantsApiService UserAttributesApi *UserAttributesApiService UsersApi *UsersApiService // contains filtered or unexported fields }
APIClient manages communication with the Permit.io API API v2.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.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIKeysApiService ¶
type APIKeysApiService service
APIKeysApiService APIKeysApi service
func (*APIKeysApiService) CreateApiKey ¶
func (a *APIKeysApiService) CreateApiKey(ctx context.Context) ApiCreateApiKeyRequest
CreateApiKey Create Api Key
Creates a new api_key under the active organization.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateApiKeyRequest
func (*APIKeysApiService) CreateApiKeyExecute ¶
func (a *APIKeysApiService) CreateApiKeyExecute(r ApiCreateApiKeyRequest) (*models.APIKeyRead, *http.Response, error)
Execute executes the request
@return APIKeyRead
func (*APIKeysApiService) DeleteApiKey ¶
func (a *APIKeysApiService) DeleteApiKey(ctx context.Context, apiKeyId string) ApiDeleteApiKeyRequest
DeleteApiKey Delete Api Key
Deletes the api_key and all its related data.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param apiKeyId The unique id of the API key @return ApiDeleteApiKeyRequest
func (*APIKeysApiService) DeleteApiKeyExecute ¶
func (a *APIKeysApiService) DeleteApiKeyExecute(r ApiDeleteApiKeyRequest) (*http.Response, error)
Execute executes the request
func (*APIKeysApiService) GetApiKey ¶
func (a *APIKeysApiService) GetApiKey(ctx context.Context, apiKeyId string) ApiGetApiKeyRequest
GetApiKey Get Api Key
Gets a single api_key matching the given api_key_id, if such api_key exists.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param apiKeyId The unique id of the API key @return ApiGetApiKeyRequest
func (*APIKeysApiService) GetApiKeyExecute ¶
func (a *APIKeysApiService) GetApiKeyExecute(r ApiGetApiKeyRequest) (*models.APIKeyRead, *http.Response, error)
Execute executes the request
@return APIKeyRead
func (*APIKeysApiService) GetApiKeyScope ¶
func (a *APIKeysApiService) GetApiKeyScope(ctx context.Context) ApiGetApiKeyScopeRequest
GetApiKeyScope Get Api Key Scope
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetApiKeyScopeRequest
func (*APIKeysApiService) GetApiKeyScopeExecute ¶
func (a *APIKeysApiService) GetApiKeyScopeExecute(r ApiGetApiKeyScopeRequest) (*models.APIKeyScopeRead, *http.Response, error)
Execute executes the request
@return APIKeyScopeRead
func (*APIKeysApiService) GetEnvironmentApiKey ¶
func (a *APIKeysApiService) GetEnvironmentApiKey(ctx context.Context, projId string, envId string) ApiGetEnvironmentApiKeyRequest
GetEnvironmentApiKey Get Environment Api Key
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiGetEnvironmentApiKeyRequest
func (*APIKeysApiService) GetEnvironmentApiKeyExecute ¶
func (a *APIKeysApiService) GetEnvironmentApiKeyExecute(r ApiGetEnvironmentApiKeyRequest) (*models.APIKeyRead, *http.Response, error)
Execute executes the request
@return APIKeyRead
func (*APIKeysApiService) ListApiKeys ¶
func (a *APIKeysApiService) ListApiKeys(ctx context.Context) ApiListApiKeysRequest
ListApiKeys List Api Keys
Lists all the api_keys under the active organization.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListApiKeysRequest
func (*APIKeysApiService) ListApiKeysExecute ¶
func (a *APIKeysApiService) ListApiKeysExecute(r ApiListApiKeysRequest) (*models.PaginatedResultAPIKeyRead, *http.Response, error)
Execute executes the request
@return PaginatedResultAPIKeyRead
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ApiActivatePolicyRepoRequest ¶
type ApiActivatePolicyRepoRequest struct { ApiService *PolicyGitRepositoriesApiService // contains filtered or unexported fields }
func (ApiActivatePolicyRepoRequest) Execute ¶
func (r ApiActivatePolicyRepoRequest) Execute() (*models.ProjectRead, *http.Response, error)
type ApiAddParentResourceRoleRequest ¶
type ApiAddParentResourceRoleRequest struct { ApiService *ResourceRolesApiService // contains filtered or unexported fields }
func (ApiAddParentResourceRoleRequest) Execute ¶
func (r ApiAddParentResourceRoleRequest) Execute() (*models.ResourceRoleRead, *http.Response, error)
func (ApiAddParentResourceRoleRequest) PermitSession ¶ added in v1.0.5
func (r ApiAddParentResourceRoleRequest) PermitSession(permitSession string) ApiAddParentResourceRoleRequest
type ApiAddParentRoleRequest ¶
type ApiAddParentRoleRequest struct { ApiService *RolesApiService // contains filtered or unexported fields }
type ApiAssignPermissionsToResourceRoleRequest ¶
type ApiAssignPermissionsToResourceRoleRequest struct { ApiService *ResourceRolesApiService // contains filtered or unexported fields }
func (ApiAssignPermissionsToResourceRoleRequest) AddRolePermissions ¶
func (r ApiAssignPermissionsToResourceRoleRequest) AddRolePermissions(addRolePermissions models.AddRolePermissions) ApiAssignPermissionsToResourceRoleRequest
func (ApiAssignPermissionsToResourceRoleRequest) Execute ¶
func (r ApiAssignPermissionsToResourceRoleRequest) Execute() (*models.ResourceRoleRead, *http.Response, error)
func (ApiAssignPermissionsToResourceRoleRequest) PermitSession ¶ added in v1.0.5
func (r ApiAssignPermissionsToResourceRoleRequest) PermitSession(permitSession string) ApiAssignPermissionsToResourceRoleRequest
type ApiAssignPermissionsToRoleRequest ¶
type ApiAssignPermissionsToRoleRequest struct { ApiService *RolesApiService // contains filtered or unexported fields }
func (ApiAssignPermissionsToRoleRequest) AddRolePermissions ¶
func (r ApiAssignPermissionsToRoleRequest) AddRolePermissions(addRolePermissions models.AddRolePermissions) ApiAssignPermissionsToRoleRequest
type ApiAssignRoleRequest ¶
type ApiAssignRoleRequest struct { ApiService *RoleAssignmentsApiService // contains filtered or unexported fields }
func (ApiAssignRoleRequest) Execute ¶
func (r ApiAssignRoleRequest) Execute() (*models.RoleAssignmentRead, *http.Response, error)
func (ApiAssignRoleRequest) PermitSession ¶ added in v1.0.5
func (r ApiAssignRoleRequest) PermitSession(permitSession string) ApiAssignRoleRequest
func (ApiAssignRoleRequest) RoleAssignmentCreate ¶
func (r ApiAssignRoleRequest) RoleAssignmentCreate(roleAssignmentCreate models.RoleAssignmentCreate) ApiAssignRoleRequest
type ApiAssignRoleToUserRequest ¶
type ApiAssignRoleToUserRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
func (ApiAssignRoleToUserRequest) Execute ¶
func (r ApiAssignRoleToUserRequest) Execute() (*models.RoleAssignmentRead, *http.Response, error)
func (ApiAssignRoleToUserRequest) UserRoleCreate ¶
func (r ApiAssignRoleToUserRequest) UserRoleCreate(userRoleCreate models.UserRoleCreate) ApiAssignRoleToUserRequest
type ApiAssignSetPermissionsRequest ¶
type ApiAssignSetPermissionsRequest struct { ApiService *ConditionSetRulesApiService // contains filtered or unexported fields }
func (ApiAssignSetPermissionsRequest) ConditionSetRuleCreate ¶
func (r ApiAssignSetPermissionsRequest) ConditionSetRuleCreate(conditionSetRuleCreate models.ConditionSetRuleCreate) ApiAssignSetPermissionsRequest
func (ApiAssignSetPermissionsRequest) Execute ¶
func (r ApiAssignSetPermissionsRequest) Execute() ([]models.ConditionSetRuleRead, *http.Response, error)
type ApiBulkAssignRoleRequest ¶ added in v0.0.10
type ApiBulkAssignRoleRequest struct { ApiService *RoleAssignmentsApiService // contains filtered or unexported fields }
func (ApiBulkAssignRoleRequest) Execute ¶ added in v0.0.10
func (r ApiBulkAssignRoleRequest) Execute() (*models.BulkRoleAssignmentReport, *http.Response, error)
func (ApiBulkAssignRoleRequest) PermitSession ¶ added in v1.0.5
func (r ApiBulkAssignRoleRequest) PermitSession(permitSession string) ApiBulkAssignRoleRequest
func (ApiBulkAssignRoleRequest) RoleAssignmentCreate ¶ added in v0.0.10
func (r ApiBulkAssignRoleRequest) RoleAssignmentCreate(roleAssignmentCreate []models.RoleAssignmentCreate) ApiBulkAssignRoleRequest
type ApiBulkCreateRelationshipTuplesRequest ¶ added in v1.0.5
type ApiBulkCreateRelationshipTuplesRequest struct { ApiService *RelationshipTuplesAPIService // contains filtered or unexported fields }
func (ApiBulkCreateRelationshipTuplesRequest) Execute ¶ added in v1.0.5
func (r ApiBulkCreateRelationshipTuplesRequest) Execute() (map[string]interface{}, *http.Response, error)
func (ApiBulkCreateRelationshipTuplesRequest) PermitSession ¶ added in v1.0.5
func (r ApiBulkCreateRelationshipTuplesRequest) PermitSession(permitSession string) ApiBulkCreateRelationshipTuplesRequest
func (ApiBulkCreateRelationshipTuplesRequest) RelationshipTupleCreateBulkOperation ¶ added in v1.0.5
func (r ApiBulkCreateRelationshipTuplesRequest) RelationshipTupleCreateBulkOperation(relationshipTupleCreateBulkOperation models.RelationshipTupleCreateBulkOperation) ApiBulkCreateRelationshipTuplesRequest
type ApiBulkDeleteRelationshipTuplesRequest ¶ added in v1.0.5
type ApiBulkDeleteRelationshipTuplesRequest struct { ApiService *RelationshipTuplesAPIService // contains filtered or unexported fields }
func (ApiBulkDeleteRelationshipTuplesRequest) Execute ¶ added in v1.0.5
func (r ApiBulkDeleteRelationshipTuplesRequest) Execute() (map[string]interface{}, *http.Response, error)
func (ApiBulkDeleteRelationshipTuplesRequest) PermitSession ¶ added in v1.0.5
func (r ApiBulkDeleteRelationshipTuplesRequest) PermitSession(permitSession string) ApiBulkDeleteRelationshipTuplesRequest
func (ApiBulkDeleteRelationshipTuplesRequest) RelationshipTupleDeleteBulkOperation ¶ added in v1.0.5
func (r ApiBulkDeleteRelationshipTuplesRequest) RelationshipTupleDeleteBulkOperation(relationshipTupleDeleteBulkOperation models.RelationshipTupleDeleteBulkOperation) ApiBulkDeleteRelationshipTuplesRequest
type ApiBulkUnassignRoleRequest ¶ added in v0.0.10
type ApiBulkUnassignRoleRequest struct { ApiService *RoleAssignmentsApiService // contains filtered or unexported fields }
func (ApiBulkUnassignRoleRequest) Execute ¶ added in v0.0.10
func (r ApiBulkUnassignRoleRequest) Execute() (*models.BulkRoleUnAssignmentReport, *http.Response, error)
func (ApiBulkUnassignRoleRequest) PermitSession ¶ added in v1.0.5
func (r ApiBulkUnassignRoleRequest) PermitSession(permitSession string) ApiBulkUnassignRoleRequest
func (ApiBulkUnassignRoleRequest) RoleAssignmentRemove ¶ added in v0.0.10
func (r ApiBulkUnassignRoleRequest) RoleAssignmentRemove(roleAssignmentRemove []models.RoleAssignmentRemove) ApiBulkUnassignRoleRequest
type ApiCancelInviteRequest ¶
type ApiCancelInviteRequest struct { ApiService *OrganizationsApiService // contains filtered or unexported fields }
type ApiCopyEnvironmentRequest ¶ added in v0.0.10
type ApiCopyEnvironmentRequest struct { ApiService *EnvironmentsApiService // contains filtered or unexported fields }
func (ApiCopyEnvironmentRequest) EnvironmentCopy ¶ added in v0.0.10
func (r ApiCopyEnvironmentRequest) EnvironmentCopy(environmentCopy models.EnvironmentCopy) ApiCopyEnvironmentRequest
func (ApiCopyEnvironmentRequest) Execute ¶ added in v0.0.10
func (r ApiCopyEnvironmentRequest) Execute() (*models.EnvironmentRead, *http.Response, error)
type ApiCreateApiKeyRequest ¶
type ApiCreateApiKeyRequest struct { ApiService *APIKeysApiService // contains filtered or unexported fields }
func (ApiCreateApiKeyRequest) APIKeyCreate ¶
func (r ApiCreateApiKeyRequest) APIKeyCreate(aPIKeyCreate models.APIKeyCreate) ApiCreateApiKeyRequest
func (ApiCreateApiKeyRequest) Execute ¶
func (r ApiCreateApiKeyRequest) Execute() (*models.APIKeyRead, *http.Response, error)
type ApiCreateConditionSetRequest ¶
type ApiCreateConditionSetRequest struct { ApiService *ConditionSetsApiService // contains filtered or unexported fields }
func (ApiCreateConditionSetRequest) ConditionSetCreate ¶
func (r ApiCreateConditionSetRequest) ConditionSetCreate(conditionSetCreate models.ConditionSetCreate) ApiCreateConditionSetRequest
func (ApiCreateConditionSetRequest) Execute ¶
func (r ApiCreateConditionSetRequest) Execute() (*models.ConditionSetRead, *http.Response, error)
type ApiCreateElementsConfigRequest ¶
type ApiCreateElementsConfigRequest struct { ApiService *ElementsConfigsApiService // contains filtered or unexported fields }
func (ApiCreateElementsConfigRequest) ElementsConfigCreate ¶
func (r ApiCreateElementsConfigRequest) ElementsConfigCreate(elementsConfigCreate models.ElementsConfigCreate) ApiCreateElementsConfigRequest
func (ApiCreateElementsConfigRequest) Execute ¶
func (r ApiCreateElementsConfigRequest) Execute() (*models.ElementsConfigRead, *http.Response, error)
type ApiCreateEnvironmentRequest ¶
type ApiCreateEnvironmentRequest struct { ApiService *EnvironmentsApiService // contains filtered or unexported fields }
func (ApiCreateEnvironmentRequest) EnvironmentCreate ¶
func (r ApiCreateEnvironmentRequest) EnvironmentCreate(environmentCreate models.EnvironmentCreate) ApiCreateEnvironmentRequest
func (ApiCreateEnvironmentRequest) Execute ¶
func (r ApiCreateEnvironmentRequest) Execute() (*models.EnvironmentRead, *http.Response, error)
type ApiCreateImplicitGrantRequest ¶ added in v1.0.5
type ApiCreateImplicitGrantRequest struct { ApiService *ImplicitGrantsAPIService // contains filtered or unexported fields }
func (ApiCreateImplicitGrantRequest) DerivedRoleRuleCreate ¶ added in v1.0.5
func (r ApiCreateImplicitGrantRequest) DerivedRoleRuleCreate(derivedRoleRuleCreate models.DerivedRoleRuleCreate) ApiCreateImplicitGrantRequest
func (ApiCreateImplicitGrantRequest) Execute ¶ added in v1.0.5
func (r ApiCreateImplicitGrantRequest) Execute() (*models.DerivedRoleRuleRead, *http.Response, error)
func (ApiCreateImplicitGrantRequest) PermitSession ¶ added in v1.0.5
func (r ApiCreateImplicitGrantRequest) PermitSession(permitSession string) ApiCreateImplicitGrantRequest
type ApiCreateOrganizationRequest ¶
type ApiCreateOrganizationRequest struct { ApiService *OrganizationsApiService // contains filtered or unexported fields }
func (ApiCreateOrganizationRequest) Execute ¶
func (r ApiCreateOrganizationRequest) Execute() (*models.OrganizationReadWithAPIKey, *http.Response, error)
func (ApiCreateOrganizationRequest) OrganizationCreate ¶
func (r ApiCreateOrganizationRequest) OrganizationCreate(organizationCreate models.OrganizationCreate) ApiCreateOrganizationRequest
type ApiCreatePolicyRepoRequest ¶
type ApiCreatePolicyRepoRequest struct { ApiService *PolicyGitRepositoriesApiService // contains filtered or unexported fields }
func (ApiCreatePolicyRepoRequest) Execute ¶
func (r ApiCreatePolicyRepoRequest) Execute() (*models.PolicyRepoRead, *http.Response, error)
func (ApiCreatePolicyRepoRequest) PolicyRepoCreate ¶
func (r ApiCreatePolicyRepoRequest) PolicyRepoCreate(policyRepoCreate models.PolicyRepoCreate) ApiCreatePolicyRepoRequest
type ApiCreateProjectRequest ¶
type ApiCreateProjectRequest struct { ApiService *ProjectsApiService // contains filtered or unexported fields }
func (ApiCreateProjectRequest) Execute ¶
func (r ApiCreateProjectRequest) Execute() (*models.ProjectRead, *http.Response, error)
func (ApiCreateProjectRequest) ProjectCreate ¶
func (r ApiCreateProjectRequest) ProjectCreate(projectCreate models.ProjectCreate) ApiCreateProjectRequest
type ApiCreateProxyConfigRequest ¶ added in v1.0.1
type ApiCreateProxyConfigRequest struct { ApiService *ProxyConfigAPIService // contains filtered or unexported fields }
func (ApiCreateProxyConfigRequest) Execute ¶ added in v1.0.1
func (r ApiCreateProxyConfigRequest) Execute() (*models.ProxyConfigRead, *http.Response, error)
func (ApiCreateProxyConfigRequest) ProxyConfigCreate ¶ added in v1.0.1
func (r ApiCreateProxyConfigRequest) ProxyConfigCreate(proxyConfigCreate models.ProxyConfigCreate) ApiCreateProxyConfigRequest
type ApiCreateRelationshipTupleRequest ¶ added in v1.0.5
type ApiCreateRelationshipTupleRequest struct { ApiService *RelationshipTuplesAPIService // contains filtered or unexported fields }
func (ApiCreateRelationshipTupleRequest) Execute ¶ added in v1.0.5
func (r ApiCreateRelationshipTupleRequest) Execute() (*models.RelationshipTupleRead, *http.Response, error)
func (ApiCreateRelationshipTupleRequest) PermitSession ¶ added in v1.0.5
func (r ApiCreateRelationshipTupleRequest) PermitSession(permitSession string) ApiCreateRelationshipTupleRequest
func (ApiCreateRelationshipTupleRequest) RelationshipTupleCreate ¶ added in v1.0.5
func (r ApiCreateRelationshipTupleRequest) RelationshipTupleCreate(relationshipTupleCreate models.RelationshipTupleCreate) ApiCreateRelationshipTupleRequest
type ApiCreateResourceActionGroupRequest ¶ added in v0.0.10
type ApiCreateResourceActionGroupRequest struct { ApiService *ResourceActionGroupsApiService // contains filtered or unexported fields }
func (ApiCreateResourceActionGroupRequest) Execute ¶ added in v0.0.10
func (r ApiCreateResourceActionGroupRequest) Execute() (*models.ResourceActionGroupRead, *http.Response, error)
func (ApiCreateResourceActionGroupRequest) ResourceActionGroupCreate ¶ added in v0.0.10
func (r ApiCreateResourceActionGroupRequest) ResourceActionGroupCreate(resourceActionGroupCreate models.ResourceActionGroupCreate) ApiCreateResourceActionGroupRequest
type ApiCreateResourceActionRequest ¶
type ApiCreateResourceActionRequest struct { ApiService *ResourceActionsApiService // contains filtered or unexported fields }
func (ApiCreateResourceActionRequest) Execute ¶
func (r ApiCreateResourceActionRequest) Execute() (*models.ResourceActionRead, *http.Response, error)
func (ApiCreateResourceActionRequest) ResourceActionCreate ¶
func (r ApiCreateResourceActionRequest) ResourceActionCreate(resourceActionCreate models.ResourceActionCreate) ApiCreateResourceActionRequest
type ApiCreateResourceAttributeRequest ¶
type ApiCreateResourceAttributeRequest struct { ApiService *ResourceAttributesApiService // contains filtered or unexported fields }
func (ApiCreateResourceAttributeRequest) Execute ¶
func (r ApiCreateResourceAttributeRequest) Execute() (*models.ResourceAttributeRead, *http.Response, error)
func (ApiCreateResourceAttributeRequest) ResourceAttributeCreate ¶
func (r ApiCreateResourceAttributeRequest) ResourceAttributeCreate(resourceAttributeCreate models.ResourceAttributeCreate) ApiCreateResourceAttributeRequest
type ApiCreateResourceInstanceRequest ¶
type ApiCreateResourceInstanceRequest struct { ApiService *ResourceInstancesApiService // contains filtered or unexported fields }
func (ApiCreateResourceInstanceRequest) Execute ¶
func (r ApiCreateResourceInstanceRequest) Execute() (*models.ResourceInstanceRead, *http.Response, error)
func (ApiCreateResourceInstanceRequest) PermitSession ¶ added in v1.0.5
func (r ApiCreateResourceInstanceRequest) PermitSession(permitSession string) ApiCreateResourceInstanceRequest
func (ApiCreateResourceInstanceRequest) ResourceInstanceCreate ¶
func (r ApiCreateResourceInstanceRequest) ResourceInstanceCreate(resourceInstanceCreate models.ResourceInstanceCreate) ApiCreateResourceInstanceRequest
type ApiCreateResourceRelationRequest ¶ added in v1.0.5
type ApiCreateResourceRelationRequest struct { ApiService *ResourceRelationsAPIService // contains filtered or unexported fields }
func (ApiCreateResourceRelationRequest) Execute ¶ added in v1.0.5
func (r ApiCreateResourceRelationRequest) Execute() (*models.RelationRead, *http.Response, error)
func (ApiCreateResourceRelationRequest) PermitSession ¶ added in v1.0.5
func (r ApiCreateResourceRelationRequest) PermitSession(permitSession string) ApiCreateResourceRelationRequest
func (ApiCreateResourceRelationRequest) RelationCreate ¶ added in v1.0.5
func (r ApiCreateResourceRelationRequest) RelationCreate(relationCreate models.RelationCreate) ApiCreateResourceRelationRequest
type ApiCreateResourceRequest ¶
type ApiCreateResourceRequest struct { ApiService *ResourcesApiService // contains filtered or unexported fields }
func (ApiCreateResourceRequest) Execute ¶
func (r ApiCreateResourceRequest) Execute() (*models.ResourceRead, *http.Response, error)
func (ApiCreateResourceRequest) ResourceCreate ¶
func (r ApiCreateResourceRequest) ResourceCreate(resourceCreate models.ResourceCreate) ApiCreateResourceRequest
type ApiCreateResourceRoleRequest ¶
type ApiCreateResourceRoleRequest struct { ApiService *ResourceRolesApiService // contains filtered or unexported fields }
func (ApiCreateResourceRoleRequest) Execute ¶
func (r ApiCreateResourceRoleRequest) Execute() (*models.ResourceRoleRead, *http.Response, error)
func (ApiCreateResourceRoleRequest) PermitSession ¶ added in v1.0.5
func (r ApiCreateResourceRoleRequest) PermitSession(permitSession string) ApiCreateResourceRoleRequest
func (ApiCreateResourceRoleRequest) ResourceRoleCreate ¶
func (r ApiCreateResourceRoleRequest) ResourceRoleCreate(resourceRoleCreate models.ResourceRoleCreate) ApiCreateResourceRoleRequest
type ApiCreateRoleRequest ¶
type ApiCreateRoleRequest struct { ApiService *RolesApiService // contains filtered or unexported fields }
func (ApiCreateRoleRequest) RoleCreate ¶
func (r ApiCreateRoleRequest) RoleCreate(roleCreate models.RoleCreate) ApiCreateRoleRequest
type ApiCreateTenantRequest ¶
type ApiCreateTenantRequest struct { ApiService *TenantsApiService // contains filtered or unexported fields }
func (ApiCreateTenantRequest) Execute ¶
func (r ApiCreateTenantRequest) Execute() (*models.TenantRead, *http.Response, error)
func (ApiCreateTenantRequest) TenantCreate ¶
func (r ApiCreateTenantRequest) TenantCreate(tenantCreate models.TenantCreate) ApiCreateTenantRequest
type ApiCreateUserAttributeRequest ¶
type ApiCreateUserAttributeRequest struct { ApiService *UserAttributesApiService // contains filtered or unexported fields }
func (ApiCreateUserAttributeRequest) Execute ¶
func (r ApiCreateUserAttributeRequest) Execute() (*models.ResourceAttributeRead, *http.Response, error)
func (ApiCreateUserAttributeRequest) ResourceAttributeCreate ¶
func (r ApiCreateUserAttributeRequest) ResourceAttributeCreate(resourceAttributeCreate models.ResourceAttributeCreate) ApiCreateUserAttributeRequest
func (ApiCreateUserAttributeRequest) ResourceId ¶
func (r ApiCreateUserAttributeRequest) ResourceId(resourceId string) ApiCreateUserAttributeRequest
type ApiCreateUserRequest ¶
type ApiCreateUserRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
func (ApiCreateUserRequest) UserCreate ¶
func (r ApiCreateUserRequest) UserCreate(userCreate models.UserCreate) ApiCreateUserRequest
type ApiDeleteApiKeyRequest ¶
type ApiDeleteApiKeyRequest struct { ApiService *APIKeysApiService // contains filtered or unexported fields }
type ApiDeleteConditionSetRequest ¶
type ApiDeleteConditionSetRequest struct { ApiService *ConditionSetsApiService // contains filtered or unexported fields }
type ApiDeleteElementsConfigRequest ¶
type ApiDeleteElementsConfigRequest struct { ApiService *ElementsConfigsApiService // contains filtered or unexported fields }
type ApiDeleteEnvironmentRequest ¶
type ApiDeleteEnvironmentRequest struct { ApiService *EnvironmentsApiService // contains filtered or unexported fields }
type ApiDeleteImplicitGrantRequest ¶ added in v1.0.5
type ApiDeleteImplicitGrantRequest struct { ApiService *ImplicitGrantsAPIService // contains filtered or unexported fields }
func (ApiDeleteImplicitGrantRequest) DerivedRoleRuleDelete ¶ added in v1.0.5
func (r ApiDeleteImplicitGrantRequest) DerivedRoleRuleDelete(derivedRoleRuleDelete models.DerivedRoleRuleDelete) ApiDeleteImplicitGrantRequest
func (ApiDeleteImplicitGrantRequest) Execute ¶ added in v1.0.5
func (r ApiDeleteImplicitGrantRequest) Execute() (*http.Response, error)
func (ApiDeleteImplicitGrantRequest) PermitSession ¶ added in v1.0.5
func (r ApiDeleteImplicitGrantRequest) PermitSession(permitSession string) ApiDeleteImplicitGrantRequest
type ApiDeleteOrganizationMemberRequest ¶
type ApiDeleteOrganizationMemberRequest struct { ApiService *MembersApiService // contains filtered or unexported fields }
type ApiDeleteOrganizationRequest ¶
type ApiDeleteOrganizationRequest struct { ApiService *OrganizationsApiService // contains filtered or unexported fields }
type ApiDeletePolicyRepoRequest ¶
type ApiDeletePolicyRepoRequest struct { ApiService *PolicyGitRepositoriesApiService // contains filtered or unexported fields }
type ApiDeleteProjectRequest ¶
type ApiDeleteProjectRequest struct { ApiService *ProjectsApiService // contains filtered or unexported fields }
type ApiDeleteProxyConfigRequest ¶ added in v1.0.1
type ApiDeleteProxyConfigRequest struct { ApiService *ProxyConfigAPIService // contains filtered or unexported fields }
type ApiDeleteRelationshipTupleRequest ¶ added in v1.0.5
type ApiDeleteRelationshipTupleRequest struct { ApiService *RelationshipTuplesAPIService // contains filtered or unexported fields }
func (ApiDeleteRelationshipTupleRequest) Execute ¶ added in v1.0.5
func (r ApiDeleteRelationshipTupleRequest) Execute() (*http.Response, error)
func (ApiDeleteRelationshipTupleRequest) PermitSession ¶ added in v1.0.5
func (r ApiDeleteRelationshipTupleRequest) PermitSession(permitSession string) ApiDeleteRelationshipTupleRequest
func (ApiDeleteRelationshipTupleRequest) RelationshipTupleDelete ¶ added in v1.0.5
func (r ApiDeleteRelationshipTupleRequest) RelationshipTupleDelete(relationshipTupleDelete models.RelationshipTupleDelete) ApiDeleteRelationshipTupleRequest
type ApiDeleteResourceActionGroupRequest ¶ added in v0.0.10
type ApiDeleteResourceActionGroupRequest struct { ApiService *ResourceActionGroupsApiService // contains filtered or unexported fields }
type ApiDeleteResourceActionRequest ¶
type ApiDeleteResourceActionRequest struct { ApiService *ResourceActionsApiService // contains filtered or unexported fields }
type ApiDeleteResourceAttributeRequest ¶
type ApiDeleteResourceAttributeRequest struct { ApiService *ResourceAttributesApiService // contains filtered or unexported fields }
func (ApiDeleteResourceAttributeRequest) Execute ¶
func (r ApiDeleteResourceAttributeRequest) Execute() (*http.Response, error)
func (ApiDeleteResourceAttributeRequest) Page ¶
func (r ApiDeleteResourceAttributeRequest) Page(page int32) ApiDeleteResourceAttributeRequest
Page number of the results to fetch, starting at 1.
func (ApiDeleteResourceAttributeRequest) PerPage ¶
func (r ApiDeleteResourceAttributeRequest) PerPage(perPage int32) ApiDeleteResourceAttributeRequest
The number of results per page (max 100).
type ApiDeleteResourceInstanceRequest ¶
type ApiDeleteResourceInstanceRequest struct { ApiService *ResourceInstancesApiService // contains filtered or unexported fields }
func (ApiDeleteResourceInstanceRequest) Execute ¶
func (r ApiDeleteResourceInstanceRequest) Execute() (*http.Response, error)
func (ApiDeleteResourceInstanceRequest) PermitSession ¶ added in v1.0.5
func (r ApiDeleteResourceInstanceRequest) PermitSession(permitSession string) ApiDeleteResourceInstanceRequest
type ApiDeleteResourceRelationRequest ¶ added in v1.0.5
type ApiDeleteResourceRelationRequest struct { ApiService *ResourceRelationsAPIService // contains filtered or unexported fields }
func (ApiDeleteResourceRelationRequest) Execute ¶ added in v1.0.5
func (r ApiDeleteResourceRelationRequest) Execute() (*http.Response, error)
func (ApiDeleteResourceRelationRequest) PermitSession ¶ added in v1.0.5
func (r ApiDeleteResourceRelationRequest) PermitSession(permitSession string) ApiDeleteResourceRelationRequest
type ApiDeleteResourceRequest ¶
type ApiDeleteResourceRequest struct { ApiService *ResourcesApiService // contains filtered or unexported fields }
type ApiDeleteResourceRoleRequest ¶
type ApiDeleteResourceRoleRequest struct { ApiService *ResourceRolesApiService // contains filtered or unexported fields }
func (ApiDeleteResourceRoleRequest) Execute ¶
func (r ApiDeleteResourceRoleRequest) Execute() (*http.Response, error)
func (ApiDeleteResourceRoleRequest) PermitSession ¶ added in v1.0.5
func (r ApiDeleteResourceRoleRequest) PermitSession(permitSession string) ApiDeleteResourceRoleRequest
type ApiDeleteRoleRequest ¶
type ApiDeleteRoleRequest struct { ApiService *RolesApiService // contains filtered or unexported fields }
type ApiDeleteTenantRequest ¶
type ApiDeleteTenantRequest struct { ApiService *TenantsApiService // contains filtered or unexported fields }
type ApiDeleteTenantUserRequest ¶
type ApiDeleteTenantUserRequest struct { ApiService *TenantsApiService // contains filtered or unexported fields }
type ApiDeleteUserAttributeRequest ¶
type ApiDeleteUserAttributeRequest struct { ApiService *UserAttributesApiService // contains filtered or unexported fields }
func (ApiDeleteUserAttributeRequest) Execute ¶
func (r ApiDeleteUserAttributeRequest) Execute() (*http.Response, error)
func (ApiDeleteUserAttributeRequest) Page ¶
func (r ApiDeleteUserAttributeRequest) Page(page int32) ApiDeleteUserAttributeRequest
Page number of the results to fetch, starting at 1.
func (ApiDeleteUserAttributeRequest) PerPage ¶
func (r ApiDeleteUserAttributeRequest) PerPage(perPage int32) ApiDeleteUserAttributeRequest
The number of results per page (max 100).
func (ApiDeleteUserAttributeRequest) ResourceId ¶
func (r ApiDeleteUserAttributeRequest) ResourceId(resourceId string) ApiDeleteUserAttributeRequest
type ApiDeleteUserRequest ¶
type ApiDeleteUserRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
type ApiDevLoginRequest ¶
type ApiDevLoginRequest struct { ApiService *AuthenticationApiService // contains filtered or unexported fields }
func (ApiDevLoginRequest) DevLogin ¶
func (r ApiDevLoginRequest) DevLogin(devLogin models.DevLogin) ApiDevLoginRequest
type ApiDisableActivePolicyRepoRequest ¶
type ApiDisableActivePolicyRepoRequest struct { ApiService *PolicyGitRepositoriesApiService // contains filtered or unexported fields }
func (ApiDisableActivePolicyRepoRequest) Execute ¶
func (r ApiDisableActivePolicyRepoRequest) Execute() (*models.ProjectRead, *http.Response, error)
type ApiDummyDbRequest ¶
type ApiDummyDbRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
type ApiDummyRequest ¶
type ApiDummyRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
type ApiElementsAssignRoleToUserRequest ¶
type ApiElementsAssignRoleToUserRequest struct { ApiService *ElementsDataApiService // contains filtered or unexported fields }
func (ApiElementsAssignRoleToUserRequest) ElementsUserRoleCreate ¶
func (r ApiElementsAssignRoleToUserRequest) ElementsUserRoleCreate(elementsUserRoleCreate models.ElementsUserRoleCreate) ApiElementsAssignRoleToUserRequest
func (ApiElementsAssignRoleToUserRequest) Execute ¶
func (r ApiElementsAssignRoleToUserRequest) Execute() (*models.RoleAssignmentRead, *http.Response, error)
type ApiElementsCreateUserRequest ¶
type ApiElementsCreateUserRequest struct { ApiService *ElementsDataApiService // contains filtered or unexported fields }
func (ApiElementsCreateUserRequest) ElementsUserCreate ¶
func (r ApiElementsCreateUserRequest) ElementsUserCreate(elementsUserCreate models.ElementsUserCreate) ApiElementsCreateUserRequest
type ApiElementsDeleteUserRequest ¶
type ApiElementsDeleteUserRequest struct { ApiService *ElementsDataApiService // contains filtered or unexported fields }
type ApiElementsListRolesRequest ¶
type ApiElementsListRolesRequest struct { ApiService *ElementsDataApiService // contains filtered or unexported fields }
func (ApiElementsListRolesRequest) Execute ¶
func (r ApiElementsListRolesRequest) Execute() ([]models.ElementsRoleRead, *http.Response, error)
func (ApiElementsListRolesRequest) Page ¶
func (r ApiElementsListRolesRequest) Page(page int32) ApiElementsListRolesRequest
Page number of the results to fetch, starting at 1.
func (ApiElementsListRolesRequest) PerPage ¶
func (r ApiElementsListRolesRequest) PerPage(perPage int32) ApiElementsListRolesRequest
The number of results per page (max 100).
func (ApiElementsListRolesRequest) Search ¶
func (r ApiElementsListRolesRequest) Search(search string) ApiElementsListRolesRequest
Text search for the email field
type ApiElementsListUsersRequest ¶
type ApiElementsListUsersRequest struct { ApiService *ElementsDataApiService // contains filtered or unexported fields }
func (ApiElementsListUsersRequest) Execute ¶
func (r ApiElementsListUsersRequest) Execute() (*models.PaginatedResultUserRead, *http.Response, error)
func (ApiElementsListUsersRequest) Page ¶
func (r ApiElementsListUsersRequest) Page(page int32) ApiElementsListUsersRequest
Page number of the results to fetch, starting at 1.
func (ApiElementsListUsersRequest) PerPage ¶
func (r ApiElementsListUsersRequest) PerPage(perPage int32) ApiElementsListUsersRequest
The number of results per page (max 100).
func (ApiElementsListUsersRequest) Search ¶
func (r ApiElementsListUsersRequest) Search(search string) ApiElementsListUsersRequest
Text search for the email field
type ApiElementsLoginAsRequest ¶
type ApiElementsLoginAsRequest struct { ApiService *AuthenticationApiService // contains filtered or unexported fields }
func (ApiElementsLoginAsRequest) Execute ¶
func (r ApiElementsLoginAsRequest) Execute() (*models.EmbeddedLoginRequestOutput, *http.Response, error)
func (ApiElementsLoginAsRequest) UserLoginRequestInput ¶
func (r ApiElementsLoginAsRequest) UserLoginRequestInput(userLoginRequestInput models.UserLoginRequestInput) ApiElementsLoginAsRequest
type ApiElementsUnassignRoleFromUserRequest ¶
type ApiElementsUnassignRoleFromUserRequest struct { ApiService *ElementsDataApiService // contains filtered or unexported fields }
func (ApiElementsUnassignRoleFromUserRequest) ElementsUserRoleRemove ¶
func (r ApiElementsUnassignRoleFromUserRequest) ElementsUserRoleRemove(elementsUserRoleRemove models.ElementsUserRoleRemove) ApiElementsUnassignRoleFromUserRequest
type ApiGetActiveOrganizationRequest ¶
type ApiGetActiveOrganizationRequest struct { ApiService *OrganizationsApiService // contains filtered or unexported fields }
func (ApiGetActiveOrganizationRequest) Execute ¶
func (r ApiGetActiveOrganizationRequest) Execute() (*models.OrganizationRead, *http.Response, error)
type ApiGetActivePolicyRepoRequest ¶
type ApiGetActivePolicyRepoRequest struct { ApiService *PolicyGitRepositoriesApiService // contains filtered or unexported fields }
func (ApiGetActivePolicyRepoRequest) Execute ¶
func (r ApiGetActivePolicyRepoRequest) Execute() (*models.PolicyRepoRead, *http.Response, error)
type ApiGetAllDataRequest ¶
type ApiGetAllDataRequest struct { ApiService *OPALDataApiService // contains filtered or unexported fields }
func (ApiGetAllDataRequest) InternalUpdateCache ¶
func (r ApiGetAllDataRequest) InternalUpdateCache(internalUpdateCache bool) ApiGetAllDataRequest
type ApiGetApiKeyRequest ¶
type ApiGetApiKeyRequest struct { ApiService *APIKeysApiService // contains filtered or unexported fields }
func (ApiGetApiKeyRequest) Execute ¶
func (r ApiGetApiKeyRequest) Execute() (*models.APIKeyRead, *http.Response, error)
type ApiGetApiKeyScopeRequest ¶
type ApiGetApiKeyScopeRequest struct { ApiService *APIKeysApiService // contains filtered or unexported fields }
func (ApiGetApiKeyScopeRequest) Execute ¶
func (r ApiGetApiKeyScopeRequest) Execute() (*models.APIKeyScopeRead, *http.Response, error)
type ApiGetAuthenticatedMemberRequest ¶
type ApiGetAuthenticatedMemberRequest struct { ApiService *MembersApiService // contains filtered or unexported fields }
func (ApiGetAuthenticatedMemberRequest) Execute ¶
func (r ApiGetAuthenticatedMemberRequest) Execute() (*models.OrgMemberRead, *http.Response, error)
type ApiGetAuthenticatingPdpConfigValuesLegacyRequest ¶
type ApiGetAuthenticatingPdpConfigValuesLegacyRequest struct { ApiService *PolicyDecisionPointsApiService // contains filtered or unexported fields }
func (ApiGetAuthenticatingPdpConfigValuesLegacyRequest) Execute ¶
func (r ApiGetAuthenticatingPdpConfigValuesLegacyRequest) Execute() (*models.RemoteConfig, *http.Response, error)
type ApiGetAuthenticatingPdpConfigValuesRequest ¶
type ApiGetAuthenticatingPdpConfigValuesRequest struct { ApiService *PolicyDecisionPointsApiService // contains filtered or unexported fields }
func (ApiGetAuthenticatingPdpConfigValuesRequest) Execute ¶
func (r ApiGetAuthenticatingPdpConfigValuesRequest) Execute() (*models.RemoteConfig, *http.Response, error)
func (ApiGetAuthenticatingPdpConfigValuesRequest) PDPStateUpdate ¶
func (r ApiGetAuthenticatingPdpConfigValuesRequest) PDPStateUpdate(pDPStateUpdate models.PDPStateUpdate) ApiGetAuthenticatingPdpConfigValuesRequest
type ApiGetConditionSetAncestorsRequest ¶ added in v0.0.10
type ApiGetConditionSetAncestorsRequest struct { ApiService *ConditionSetsApiService // contains filtered or unexported fields }
func (ApiGetConditionSetAncestorsRequest) Execute ¶ added in v0.0.10
func (r ApiGetConditionSetAncestorsRequest) Execute() ([]models.ConditionSetRead, *http.Response, error)
func (ApiGetConditionSetAncestorsRequest) Page ¶ added in v0.0.10
func (r ApiGetConditionSetAncestorsRequest) Page(page int32) ApiGetConditionSetAncestorsRequest
Page number of the results to fetch, starting at 1.
func (ApiGetConditionSetAncestorsRequest) PerPage ¶ added in v0.0.10
func (r ApiGetConditionSetAncestorsRequest) PerPage(perPage int32) ApiGetConditionSetAncestorsRequest
The number of results per page (max 100).
type ApiGetConditionSetDescendantsRequest ¶ added in v0.0.10
type ApiGetConditionSetDescendantsRequest struct { ApiService *ConditionSetsApiService // contains filtered or unexported fields }
func (ApiGetConditionSetDescendantsRequest) Execute ¶ added in v0.0.10
func (r ApiGetConditionSetDescendantsRequest) Execute() ([]models.ConditionSetRead, *http.Response, error)
func (ApiGetConditionSetDescendantsRequest) Page ¶ added in v0.0.10
func (r ApiGetConditionSetDescendantsRequest) Page(page int32) ApiGetConditionSetDescendantsRequest
Page number of the results to fetch, starting at 1.
func (ApiGetConditionSetDescendantsRequest) PerPage ¶ added in v0.0.10
func (r ApiGetConditionSetDescendantsRequest) PerPage(perPage int32) ApiGetConditionSetDescendantsRequest
The number of results per page (max 100).
type ApiGetConditionSetPossibleParentsRequest ¶ added in v0.0.10
type ApiGetConditionSetPossibleParentsRequest struct { ApiService *ConditionSetsApiService // contains filtered or unexported fields }
func (ApiGetConditionSetPossibleParentsRequest) Execute ¶ added in v0.0.10
func (r ApiGetConditionSetPossibleParentsRequest) Execute() ([]models.ConditionSetRead, *http.Response, error)
func (ApiGetConditionSetPossibleParentsRequest) Page ¶ added in v0.0.10
func (r ApiGetConditionSetPossibleParentsRequest) Page(page int32) ApiGetConditionSetPossibleParentsRequest
Page number of the results to fetch, starting at 1.
func (ApiGetConditionSetPossibleParentsRequest) PerPage ¶ added in v0.0.10
func (r ApiGetConditionSetPossibleParentsRequest) PerPage(perPage int32) ApiGetConditionSetPossibleParentsRequest
The number of results per page (max 100).
type ApiGetConditionSetRequest ¶
type ApiGetConditionSetRequest struct { ApiService *ConditionSetsApiService // contains filtered or unexported fields }
func (ApiGetConditionSetRequest) Execute ¶
func (r ApiGetConditionSetRequest) Execute() (*models.ConditionSetRead, *http.Response, error)
type ApiGetDataForRoleRequest ¶
type ApiGetDataForRoleRequest struct { ApiService *OPALDataApiService // contains filtered or unexported fields }
type ApiGetDataForSetRuleRequest ¶
type ApiGetDataForSetRuleRequest struct { ApiService *OPALDataApiService // contains filtered or unexported fields }
type ApiGetDataForUserRequest ¶
type ApiGetDataForUserRequest struct { ApiService *OPALDataApiService // contains filtered or unexported fields }
type ApiGetElementsConfigRequest ¶
type ApiGetElementsConfigRequest struct { ApiService *ElementsConfigsApiService // contains filtered or unexported fields }
func (ApiGetElementsConfigRequest) Execute ¶
func (r ApiGetElementsConfigRequest) Execute() (*models.ElementsConfigRead, *http.Response, error)
type ApiGetEnvConfigRequest ¶
type ApiGetEnvConfigRequest struct { ApiService *ElementsConfigsApiService // contains filtered or unexported fields }
func (ApiGetEnvConfigRequest) Execute ¶
func (r ApiGetEnvConfigRequest) Execute() (*models.ElementsEnvRead, *http.Response, error)
type ApiGetEnvironmentApiKeyRequest ¶
type ApiGetEnvironmentApiKeyRequest struct { ApiService *APIKeysApiService // contains filtered or unexported fields }
func (ApiGetEnvironmentApiKeyRequest) Execute ¶
func (r ApiGetEnvironmentApiKeyRequest) Execute() (*models.APIKeyRead, *http.Response, error)
type ApiGetEnvironmentRequest ¶
type ApiGetEnvironmentRequest struct { ApiService *EnvironmentsApiService // contains filtered or unexported fields }
func (ApiGetEnvironmentRequest) Execute ¶
func (r ApiGetEnvironmentRequest) Execute() (*models.EnvironmentRead, *http.Response, error)
type ApiGetOpalDataSourcesOpalDataConfigGetRequest ¶
type ApiGetOpalDataSourcesOpalDataConfigGetRequest struct { ApiService *PolicyApiService // contains filtered or unexported fields }
func (ApiGetOpalDataSourcesOpalDataConfigGetRequest) Execute ¶
func (r ApiGetOpalDataSourcesOpalDataConfigGetRequest) Execute() (*models.DataSourceConfig, *http.Response, error)
func (ApiGetOpalDataSourcesOpalDataConfigGetRequest) Token ¶
func (r ApiGetOpalDataSourcesOpalDataConfigGetRequest) Token(token string) ApiGetOpalDataSourcesOpalDataConfigGetRequest
type ApiGetOpalDataSourcesRequest ¶
type ApiGetOpalDataSourcesRequest struct { ApiService *PolicyApiService // contains filtered or unexported fields }
func (ApiGetOpalDataSourcesRequest) Execute ¶
func (r ApiGetOpalDataSourcesRequest) Execute() (*models.DataSourceConfig, *http.Response, error)
func (ApiGetOpalDataSourcesRequest) Token ¶
func (r ApiGetOpalDataSourcesRequest) Token(token string) ApiGetOpalDataSourcesRequest
type ApiGetOrganizationMemberRequest ¶
type ApiGetOrganizationMemberRequest struct { ApiService *MembersApiService // contains filtered or unexported fields }
func (ApiGetOrganizationMemberRequest) Execute ¶
func (r ApiGetOrganizationMemberRequest) Execute() (*models.OrgMemberRead, *http.Response, error)
type ApiGetOrganizationRequest ¶
type ApiGetOrganizationRequest struct { ApiService *OrganizationsApiService // contains filtered or unexported fields }
func (ApiGetOrganizationRequest) Execute ¶
func (r ApiGetOrganizationRequest) Execute() (*models.OrganizationRead, *http.Response, error)
type ApiGetOrganizationV2StressDbOrganizationGetRequest ¶
type ApiGetOrganizationV2StressDbOrganizationGetRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiGetOrganizationV2StressDbOrganizationGetRequest) Execute ¶
func (r ApiGetOrganizationV2StressDbOrganizationGetRequest) Execute() (*models.OrganizationRead, *http.Response, error)
type ApiGetOrganizationWithAuthnRequest ¶
type ApiGetOrganizationWithAuthnRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiGetOrganizationWithAuthnRequest) Execute ¶
func (r ApiGetOrganizationWithAuthnRequest) Execute() (*models.OrganizationRead, *http.Response, error)
type ApiGetOrganizationWithAuthzRequest ¶
type ApiGetOrganizationWithAuthzRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiGetOrganizationWithAuthzRequest) Execute ¶
func (r ApiGetOrganizationWithAuthzRequest) Execute() (*models.OrganizationRead, *http.Response, error)
type ApiGetPdpConfigValuesRequest ¶
type ApiGetPdpConfigValuesRequest struct { ApiService *PolicyDecisionPointsApiService // contains filtered or unexported fields }
func (ApiGetPdpConfigValuesRequest) Execute ¶
func (r ApiGetPdpConfigValuesRequest) Execute() (*models.RemoteConfig, *http.Response, error)
type ApiGetPolicyRepoRequest ¶
type ApiGetPolicyRepoRequest struct { ApiService *PolicyGitRepositoriesApiService // contains filtered or unexported fields }
func (ApiGetPolicyRepoRequest) Execute ¶
func (r ApiGetPolicyRepoRequest) Execute() (*models.PolicyRepoRead, *http.Response, error)
type ApiGetProjectRequest ¶
type ApiGetProjectRequest struct { ApiService *ProjectsApiService // contains filtered or unexported fields }
func (ApiGetProjectRequest) Execute ¶
func (r ApiGetProjectRequest) Execute() (*models.ProjectRead, *http.Response, error)
type ApiGetProxyConfigRequest ¶ added in v1.0.1
type ApiGetProxyConfigRequest struct { ApiService *ProxyConfigAPIService // contains filtered or unexported fields }
func (ApiGetProxyConfigRequest) Execute ¶ added in v1.0.1
func (r ApiGetProxyConfigRequest) Execute() (*models.ProxyConfigRead, *http.Response, error)
type ApiGetResourceActionGroupRequest ¶ added in v0.0.10
type ApiGetResourceActionGroupRequest struct { ApiService *ResourceActionGroupsApiService // contains filtered or unexported fields }
func (ApiGetResourceActionGroupRequest) Execute ¶ added in v0.0.10
func (r ApiGetResourceActionGroupRequest) Execute() (*models.ResourceActionGroupRead, *http.Response, error)
type ApiGetResourceActionRequest ¶
type ApiGetResourceActionRequest struct { ApiService *ResourceActionsApiService // contains filtered or unexported fields }
func (ApiGetResourceActionRequest) Execute ¶
func (r ApiGetResourceActionRequest) Execute() (*models.ResourceActionRead, *http.Response, error)
type ApiGetResourceAttributeRequest ¶
type ApiGetResourceAttributeRequest struct { ApiService *ResourceAttributesApiService // contains filtered or unexported fields }
func (ApiGetResourceAttributeRequest) Execute ¶
func (r ApiGetResourceAttributeRequest) Execute() (*models.ResourceAttributeRead, *http.Response, error)
type ApiGetResourceInstanceRequest ¶
type ApiGetResourceInstanceRequest struct { ApiService *ResourceInstancesApiService // contains filtered or unexported fields }
func (ApiGetResourceInstanceRequest) Execute ¶
func (r ApiGetResourceInstanceRequest) Execute() (*models.ResourceInstanceRead, *http.Response, error)
func (ApiGetResourceInstanceRequest) PermitSession ¶ added in v1.0.5
func (r ApiGetResourceInstanceRequest) PermitSession(permitSession string) ApiGetResourceInstanceRequest
type ApiGetResourceRelationRequest ¶ added in v1.0.5
type ApiGetResourceRelationRequest struct { ApiService *ResourceRelationsAPIService // contains filtered or unexported fields }
func (ApiGetResourceRelationRequest) Execute ¶ added in v1.0.5
func (r ApiGetResourceRelationRequest) Execute() (*models.RelationRead, *http.Response, error)
func (ApiGetResourceRelationRequest) PermitSession ¶ added in v1.0.5
func (r ApiGetResourceRelationRequest) PermitSession(permitSession string) ApiGetResourceRelationRequest
type ApiGetResourceRequest ¶
type ApiGetResourceRequest struct { ApiService *ResourcesApiService // contains filtered or unexported fields }
func (ApiGetResourceRequest) Execute ¶
func (r ApiGetResourceRequest) Execute() (*models.ResourceRead, *http.Response, error)
type ApiGetResourceRoleAncestorsRequest ¶ added in v1.0.5
type ApiGetResourceRoleAncestorsRequest struct { ApiService *ResourceRolesApiService // contains filtered or unexported fields }
func (ApiGetResourceRoleAncestorsRequest) Execute ¶ added in v1.0.5
func (r ApiGetResourceRoleAncestorsRequest) Execute() (*models.ResourceRoleList, *http.Response, error)
func (ApiGetResourceRoleAncestorsRequest) PermitSession ¶ added in v1.0.5
func (r ApiGetResourceRoleAncestorsRequest) PermitSession(permitSession string) ApiGetResourceRoleAncestorsRequest
type ApiGetResourceRoleDescendantsRequest ¶ added in v1.0.5
type ApiGetResourceRoleDescendantsRequest struct { ApiService *ResourceRolesApiService // contains filtered or unexported fields }
func (ApiGetResourceRoleDescendantsRequest) Execute ¶ added in v1.0.5
func (r ApiGetResourceRoleDescendantsRequest) Execute() (*models.ResourceRoleList, *http.Response, error)
func (ApiGetResourceRoleDescendantsRequest) PermitSession ¶ added in v1.0.5
func (r ApiGetResourceRoleDescendantsRequest) PermitSession(permitSession string) ApiGetResourceRoleDescendantsRequest
type ApiGetResourceRoleRequest ¶
type ApiGetResourceRoleRequest struct { ApiService *ResourceRolesApiService // contains filtered or unexported fields }
func (ApiGetResourceRoleRequest) Execute ¶
func (r ApiGetResourceRoleRequest) Execute() (*models.ResourceRoleRead, *http.Response, error)
func (ApiGetResourceRoleRequest) PermitSession ¶ added in v1.0.5
func (r ApiGetResourceRoleRequest) PermitSession(permitSession string) ApiGetResourceRoleRequest
type ApiGetRoleRequest ¶
type ApiGetRoleRequest struct { ApiService *RolesApiService // contains filtered or unexported fields }
type ApiGetTenantRequest ¶
type ApiGetTenantRequest struct { ApiService *TenantsApiService // contains filtered or unexported fields }
func (ApiGetTenantRequest) Execute ¶
func (r ApiGetTenantRequest) Execute() (*models.TenantRead, *http.Response, error)
type ApiGetUserAttributeRequest ¶
type ApiGetUserAttributeRequest struct { ApiService *UserAttributesApiService // contains filtered or unexported fields }
func (ApiGetUserAttributeRequest) Execute ¶
func (r ApiGetUserAttributeRequest) Execute() (*models.ResourceAttributeRead, *http.Response, error)
func (ApiGetUserAttributeRequest) ResourceId ¶
func (r ApiGetUserAttributeRequest) ResourceId(resourceId string) ApiGetUserAttributeRequest
type ApiGetUserRequest ¶
type ApiGetUserRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
type ApiInsertOpaDecisionLogsRequest ¶
type ApiInsertOpaDecisionLogsRequest struct { ApiService *DecisionLogsIngressApiService // contains filtered or unexported fields }
func (ApiInsertOpaDecisionLogsRequest) Execute ¶
func (r ApiInsertOpaDecisionLogsRequest) Execute() (*http.Response, error)
func (ApiInsertOpaDecisionLogsRequest) RequestBody ¶
func (r ApiInsertOpaDecisionLogsRequest) RequestBody(requestBody []map[string]interface{}) ApiInsertOpaDecisionLogsRequest
type ApiInviteMembersToOrganizationRequest ¶
type ApiInviteMembersToOrganizationRequest struct { ApiService *OrganizationsApiService // contains filtered or unexported fields }
func (ApiInviteMembersToOrganizationRequest) Execute ¶
func (r ApiInviteMembersToOrganizationRequest) Execute() (*models.MultiInviteResult, *http.Response, error)
func (ApiInviteMembersToOrganizationRequest) InviteCreate ¶
func (r ApiInviteMembersToOrganizationRequest) InviteCreate(inviteCreate []models.InviteCreate) ApiInviteMembersToOrganizationRequest
func (ApiInviteMembersToOrganizationRequest) InviterEmail ¶
func (r ApiInviteMembersToOrganizationRequest) InviterEmail(inviterEmail string) ApiInviteMembersToOrganizationRequest
func (ApiInviteMembersToOrganizationRequest) InviterName ¶
func (r ApiInviteMembersToOrganizationRequest) InviterName(inviterName string) ApiInviteMembersToOrganizationRequest
type ApiListApiKeysRequest ¶
type ApiListApiKeysRequest struct { ApiService *APIKeysApiService // contains filtered or unexported fields }
func (ApiListApiKeysRequest) Execute ¶
func (r ApiListApiKeysRequest) Execute() (*models.PaginatedResultAPIKeyRead, *http.Response, error)
func (ApiListApiKeysRequest) Page ¶
func (r ApiListApiKeysRequest) Page(page int32) ApiListApiKeysRequest
Page number of the results to fetch, starting at 1.
func (ApiListApiKeysRequest) PerPage ¶
func (r ApiListApiKeysRequest) PerPage(perPage int32) ApiListApiKeysRequest
The number of results per page (max 100).
type ApiListConditionSetsRequest ¶
type ApiListConditionSetsRequest struct { ApiService *ConditionSetsApiService // contains filtered or unexported fields }
func (ApiListConditionSetsRequest) Execute ¶
func (r ApiListConditionSetsRequest) Execute() (*models.ResponseListConditionSetsV2SchemaProjIdEnvIdConditionSetsGet, *http.Response, error)
func (ApiListConditionSetsRequest) IncludeTotalCount ¶ added in v0.0.10
func (r ApiListConditionSetsRequest) IncludeTotalCount(includeTotalCount bool) ApiListConditionSetsRequest
Include total count in response
func (ApiListConditionSetsRequest) Page ¶
func (r ApiListConditionSetsRequest) Page(page int32) ApiListConditionSetsRequest
Page number of the results to fetch, starting at 1.
func (ApiListConditionSetsRequest) PerPage ¶
func (r ApiListConditionSetsRequest) PerPage(perPage int32) ApiListConditionSetsRequest
The number of results per page (max 100).
func (ApiListConditionSetsRequest) Type_ ¶
func (r ApiListConditionSetsRequest) Type_(type_ models.ConditionSetType) ApiListConditionSetsRequest
if provided, will return only the condition sets of the specified type. e.g: only user sets.
type ApiListElementsConfigsRequest ¶
type ApiListElementsConfigsRequest struct { ApiService *ElementsConfigsApiService // contains filtered or unexported fields }
func (ApiListElementsConfigsRequest) Execute ¶
func (r ApiListElementsConfigsRequest) Execute() (*models.PaginatedResultElementsConfigRead, *http.Response, error)
func (ApiListElementsConfigsRequest) Page ¶
func (r ApiListElementsConfigsRequest) Page(page int32) ApiListElementsConfigsRequest
Page number of the results to fetch, starting at 1.
func (ApiListElementsConfigsRequest) PerPage ¶
func (r ApiListElementsConfigsRequest) PerPage(perPage int32) ApiListElementsConfigsRequest
The number of results per page (max 100).
type ApiListEnvironmentsRequest ¶
type ApiListEnvironmentsRequest struct { ApiService *EnvironmentsApiService // contains filtered or unexported fields }
func (ApiListEnvironmentsRequest) Execute ¶
func (r ApiListEnvironmentsRequest) Execute() ([]models.EnvironmentRead, *http.Response, error)
func (ApiListEnvironmentsRequest) Page ¶
func (r ApiListEnvironmentsRequest) Page(page int32) ApiListEnvironmentsRequest
Page number of the results to fetch, starting at 1.
func (ApiListEnvironmentsRequest) PerPage ¶
func (r ApiListEnvironmentsRequest) PerPage(perPage int32) ApiListEnvironmentsRequest
The number of results per page (max 100).
type ApiListLanguageInstructionsRequest ¶
type ApiListLanguageInstructionsRequest struct { ApiService *InstructionsApiService // contains filtered or unexported fields }
func (ApiListLanguageInstructionsRequest) Execute ¶
func (r ApiListLanguageInstructionsRequest) Execute() ([]models.LanguageInstructions, *http.Response, error)
type ApiListOrganizationInvitesRequest ¶
type ApiListOrganizationInvitesRequest struct { ApiService *OrganizationsApiService // contains filtered or unexported fields }
func (ApiListOrganizationInvitesRequest) Execute ¶
func (r ApiListOrganizationInvitesRequest) Execute() ([]models.InviteRead, *http.Response, error)
func (ApiListOrganizationInvitesRequest) Page ¶
func (r ApiListOrganizationInvitesRequest) Page(page int32) ApiListOrganizationInvitesRequest
Page number of the results to fetch, starting at 1.
func (ApiListOrganizationInvitesRequest) PerPage ¶
func (r ApiListOrganizationInvitesRequest) PerPage(perPage int32) ApiListOrganizationInvitesRequest
The number of results per page (max 100).
type ApiListOrganizationMembersRequest ¶
type ApiListOrganizationMembersRequest struct { ApiService *MembersApiService // contains filtered or unexported fields }
func (ApiListOrganizationMembersRequest) Execute ¶
func (r ApiListOrganizationMembersRequest) Execute() ([]models.OrgMemberRead, *http.Response, error)
func (ApiListOrganizationMembersRequest) Page ¶
func (r ApiListOrganizationMembersRequest) Page(page int32) ApiListOrganizationMembersRequest
Page number of the results to fetch, starting at 1.
func (ApiListOrganizationMembersRequest) PerPage ¶
func (r ApiListOrganizationMembersRequest) PerPage(perPage int32) ApiListOrganizationMembersRequest
The number of results per page (max 100).
type ApiListOrganizationsRequest ¶
type ApiListOrganizationsRequest struct { ApiService *OrganizationsApiService // contains filtered or unexported fields }
func (ApiListOrganizationsRequest) Execute ¶
func (r ApiListOrganizationsRequest) Execute() ([]models.OrganizationRead, *http.Response, error)
func (ApiListOrganizationsRequest) Page ¶
func (r ApiListOrganizationsRequest) Page(page int32) ApiListOrganizationsRequest
Page number of the results to fetch, starting at 1.
func (ApiListOrganizationsRequest) PerPage ¶
func (r ApiListOrganizationsRequest) PerPage(perPage int32) ApiListOrganizationsRequest
The number of results per page (max 100).
type ApiListPdpConfigsRequest ¶
type ApiListPdpConfigsRequest struct { ApiService *PolicyDecisionPointsApiService // contains filtered or unexported fields }
func (ApiListPdpConfigsRequest) Execute ¶
func (r ApiListPdpConfigsRequest) Execute() ([]models.PDPConfigRead, *http.Response, error)
func (ApiListPdpConfigsRequest) Page ¶
func (r ApiListPdpConfigsRequest) Page(page int32) ApiListPdpConfigsRequest
Page number of the results to fetch, starting at 1.
func (ApiListPdpConfigsRequest) PerPage ¶
func (r ApiListPdpConfigsRequest) PerPage(perPage int32) ApiListPdpConfigsRequest
The number of results per page (max 100).
type ApiListPdpDecisionLogsRequest ¶
type ApiListPdpDecisionLogsRequest struct { ApiService *DecisionLogsApiService // contains filtered or unexported fields }
func (ApiListPdpDecisionLogsRequest) Approved ¶
func (r ApiListPdpDecisionLogsRequest) Approved(approved bool) ApiListPdpDecisionLogsRequest
Filter by approved decisions
func (ApiListPdpDecisionLogsRequest) Execute ¶
func (r ApiListPdpDecisionLogsRequest) Execute() (*models.PaginatedResultOPADecisionLog, *http.Response, error)
func (ApiListPdpDecisionLogsRequest) Page ¶
func (r ApiListPdpDecisionLogsRequest) Page(page int32) ApiListPdpDecisionLogsRequest
Page number of the results to fetch, starting at 1.
func (ApiListPdpDecisionLogsRequest) PerPage ¶
func (r ApiListPdpDecisionLogsRequest) PerPage(perPage int32) ApiListPdpDecisionLogsRequest
The number of results per page (max 100).
func (ApiListPdpDecisionLogsRequest) Resources ¶
func (r ApiListPdpDecisionLogsRequest) Resources(resources []string) ApiListPdpDecisionLogsRequest
Filter by resources
func (ApiListPdpDecisionLogsRequest) TimestampFrom ¶
func (r ApiListPdpDecisionLogsRequest) TimestampFrom(timestampFrom int32) ApiListPdpDecisionLogsRequest
Filter by timestamp from
func (ApiListPdpDecisionLogsRequest) TimestampTo ¶
func (r ApiListPdpDecisionLogsRequest) TimestampTo(timestampTo int32) ApiListPdpDecisionLogsRequest
Filter by timestamp to
func (ApiListPdpDecisionLogsRequest) Users ¶
func (r ApiListPdpDecisionLogsRequest) Users(users []string) ApiListPdpDecisionLogsRequest
List of user IDs to filter by
type ApiListPolicyReposRequest ¶
type ApiListPolicyReposRequest struct { ApiService *PolicyGitRepositoriesApiService // contains filtered or unexported fields }
func (ApiListPolicyReposRequest) Execute ¶
func (r ApiListPolicyReposRequest) Execute() ([]models.PolicyRepoRead, *http.Response, error)
func (ApiListPolicyReposRequest) Page ¶
func (r ApiListPolicyReposRequest) Page(page int32) ApiListPolicyReposRequest
Page number of the results to fetch, starting at 1.
func (ApiListPolicyReposRequest) PerPage ¶
func (r ApiListPolicyReposRequest) PerPage(perPage int32) ApiListPolicyReposRequest
The number of results per page (max 100).
type ApiListProjectsRequest ¶
type ApiListProjectsRequest struct { ApiService *ProjectsApiService // contains filtered or unexported fields }
func (ApiListProjectsRequest) Execute ¶
func (r ApiListProjectsRequest) Execute() ([]models.ProjectRead, *http.Response, error)
func (ApiListProjectsRequest) Page ¶
func (r ApiListProjectsRequest) Page(page int32) ApiListProjectsRequest
Page number of the results to fetch, starting at 1.
func (ApiListProjectsRequest) PerPage ¶
func (r ApiListProjectsRequest) PerPage(perPage int32) ApiListProjectsRequest
The number of results per page (max 100).
type ApiListProxyConfigsRequest ¶ added in v1.0.1
type ApiListProxyConfigsRequest struct { ApiService *ProxyConfigAPIService // contains filtered or unexported fields }
func (ApiListProxyConfigsRequest) Execute ¶ added in v1.0.1
func (r ApiListProxyConfigsRequest) Execute() ([]models.ProxyConfigRead, *http.Response, error)
func (ApiListProxyConfigsRequest) Page ¶ added in v1.0.1
func (r ApiListProxyConfigsRequest) Page(page int32) ApiListProxyConfigsRequest
Page number of the results to fetch, starting at 1.
func (ApiListProxyConfigsRequest) PerPage ¶ added in v1.0.1
func (r ApiListProxyConfigsRequest) PerPage(perPage int32) ApiListProxyConfigsRequest
The number of results per page (max 100).
type ApiListRelationshipTuplesRequest ¶ added in v1.0.5
type ApiListRelationshipTuplesRequest struct { ApiService *RelationshipTuplesAPIService // contains filtered or unexported fields }
func (ApiListRelationshipTuplesRequest) Detailed ¶ added in v1.0.5
func (r ApiListRelationshipTuplesRequest) Detailed(detailed bool) ApiListRelationshipTuplesRequest
If true, will return the full subject and object resource instances.
func (ApiListRelationshipTuplesRequest) Execute ¶ added in v1.0.5
func (r ApiListRelationshipTuplesRequest) Execute() ([]models.RelationshipTupleRead, *http.Response, error)
func (ApiListRelationshipTuplesRequest) Object ¶ added in v1.0.5
func (r ApiListRelationshipTuplesRequest) Object(object string) ApiListRelationshipTuplesRequest
The object to filter by, accepts either the resource instance id or resource_type:resource_instance
func (ApiListRelationshipTuplesRequest) Page ¶ added in v1.0.5
func (r ApiListRelationshipTuplesRequest) Page(page int32) ApiListRelationshipTuplesRequest
Page number of the results to fetch, starting at 1.
func (ApiListRelationshipTuplesRequest) PerPage ¶ added in v1.0.5
func (r ApiListRelationshipTuplesRequest) PerPage(perPage int32) ApiListRelationshipTuplesRequest
The number of results per page (max 100).
func (ApiListRelationshipTuplesRequest) PermitSession ¶ added in v1.0.5
func (r ApiListRelationshipTuplesRequest) PermitSession(permitSession string) ApiListRelationshipTuplesRequest
func (ApiListRelationshipTuplesRequest) Relation ¶ added in v1.0.5
func (r ApiListRelationshipTuplesRequest) Relation(relation string) ApiListRelationshipTuplesRequest
The relation id or key to filter by
func (ApiListRelationshipTuplesRequest) Subject ¶ added in v1.0.5
func (r ApiListRelationshipTuplesRequest) Subject(subject string) ApiListRelationshipTuplesRequest
The subject to filter by, accepts either the resource instance id or resource_type:resource_instance
func (ApiListRelationshipTuplesRequest) Tenant ¶ added in v1.0.5
func (r ApiListRelationshipTuplesRequest) Tenant(tenant string) ApiListRelationshipTuplesRequest
The tenant key or id to filter by
type ApiListResourceActionGroupsRequest ¶ added in v0.0.10
type ApiListResourceActionGroupsRequest struct { ApiService *ResourceActionGroupsApiService // contains filtered or unexported fields }
func (ApiListResourceActionGroupsRequest) AttributesFilter ¶ added in v0.0.10
func (r ApiListResourceActionGroupsRequest) AttributesFilter(attributesFilter map[string]interface{}) ApiListResourceActionGroupsRequest
AttributeFilters on the result of the actions list
func (ApiListResourceActionGroupsRequest) Execute ¶ added in v0.0.10
func (r ApiListResourceActionGroupsRequest) Execute() ([]models.ResourceActionGroupRead, *http.Response, error)
func (ApiListResourceActionGroupsRequest) Page ¶ added in v0.0.10
func (r ApiListResourceActionGroupsRequest) Page(page int32) ApiListResourceActionGroupsRequest
Page number of the results to fetch, starting at 1.
func (ApiListResourceActionGroupsRequest) PerPage ¶ added in v0.0.10
func (r ApiListResourceActionGroupsRequest) PerPage(perPage int32) ApiListResourceActionGroupsRequest
The number of results per page (max 100).
type ApiListResourceActionsRequest ¶
type ApiListResourceActionsRequest struct { ApiService *ResourceActionsApiService // contains filtered or unexported fields }
func (ApiListResourceActionsRequest) AttributesFilter ¶ added in v0.0.10
func (r ApiListResourceActionsRequest) AttributesFilter(attributesFilter map[string]interface{}) ApiListResourceActionsRequest
AttributeFilters on the result of the actions list
func (ApiListResourceActionsRequest) Execute ¶
func (r ApiListResourceActionsRequest) Execute() ([]models.ResourceActionRead, *http.Response, error)
func (ApiListResourceActionsRequest) Page ¶
func (r ApiListResourceActionsRequest) Page(page int32) ApiListResourceActionsRequest
Page number of the results to fetch, starting at 1.
func (ApiListResourceActionsRequest) PerPage ¶
func (r ApiListResourceActionsRequest) PerPage(perPage int32) ApiListResourceActionsRequest
The number of results per page (max 100).
type ApiListResourceAttributesRequest ¶
type ApiListResourceAttributesRequest struct { ApiService *ResourceAttributesApiService // contains filtered or unexported fields }
func (ApiListResourceAttributesRequest) Execute ¶
func (r ApiListResourceAttributesRequest) Execute() ([]models.ResourceAttributeRead, *http.Response, error)
func (ApiListResourceAttributesRequest) Page ¶
func (r ApiListResourceAttributesRequest) Page(page int32) ApiListResourceAttributesRequest
Page number of the results to fetch, starting at 1.
func (ApiListResourceAttributesRequest) PerPage ¶
func (r ApiListResourceAttributesRequest) PerPage(perPage int32) ApiListResourceAttributesRequest
The number of results per page (max 100).
type ApiListResourceInstancesRequest ¶
type ApiListResourceInstancesRequest struct { ApiService *ResourceInstancesApiService // contains filtered or unexported fields }
func (ApiListResourceInstancesRequest) Detailed ¶ added in v1.0.5
func (r ApiListResourceInstancesRequest) Detailed(detailed bool) ApiListResourceInstancesRequest
If true, will return the relationships of the resource instance.
func (ApiListResourceInstancesRequest) Execute ¶
func (r ApiListResourceInstancesRequest) Execute() ([]models.ResourceInstanceRead, *http.Response, error)
func (ApiListResourceInstancesRequest) Page ¶
func (r ApiListResourceInstancesRequest) Page(page int32) ApiListResourceInstancesRequest
Page number of the results to fetch, starting at 1.
func (ApiListResourceInstancesRequest) PerPage ¶
func (r ApiListResourceInstancesRequest) PerPage(perPage int32) ApiListResourceInstancesRequest
The number of results per page (max 100).
func (ApiListResourceInstancesRequest) PermitSession ¶ added in v1.0.5
func (r ApiListResourceInstancesRequest) PermitSession(permitSession string) ApiListResourceInstancesRequest
func (ApiListResourceInstancesRequest) Resource ¶ added in v1.0.5
func (r ApiListResourceInstancesRequest) Resource(resource string) ApiListResourceInstancesRequest
The resource key or id to filter by
func (ApiListResourceInstancesRequest) Search ¶ added in v1.0.5
func (r ApiListResourceInstancesRequest) Search(search string) ApiListResourceInstancesRequest
Text search for the object name or key
func (ApiListResourceInstancesRequest) Tenant ¶ added in v1.0.5
func (r ApiListResourceInstancesRequest) Tenant(tenant string) ApiListResourceInstancesRequest
The tenant key or id to filter by
type ApiListResourceRelationsRequest ¶ added in v1.0.5
type ApiListResourceRelationsRequest struct { ApiService *ResourceRelationsAPIService // contains filtered or unexported fields }
func (ApiListResourceRelationsRequest) Execute ¶ added in v1.0.5
func (r ApiListResourceRelationsRequest) Execute() (*models.PaginatedResultRelationRead, *http.Response, error)
func (ApiListResourceRelationsRequest) Page ¶ added in v1.0.5
func (r ApiListResourceRelationsRequest) Page(page int32) ApiListResourceRelationsRequest
Page number of the results to fetch, starting at 1.
func (ApiListResourceRelationsRequest) PerPage ¶ added in v1.0.5
func (r ApiListResourceRelationsRequest) PerPage(perPage int32) ApiListResourceRelationsRequest
The number of results per page (max 100).
func (ApiListResourceRelationsRequest) PermitSession ¶ added in v1.0.5
func (r ApiListResourceRelationsRequest) PermitSession(permitSession string) ApiListResourceRelationsRequest
type ApiListResourceRolesRequest ¶
type ApiListResourceRolesRequest struct { ApiService *ResourceRolesApiService // contains filtered or unexported fields }
func (ApiListResourceRolesRequest) Execute ¶
func (r ApiListResourceRolesRequest) Execute() ([]models.ResourceRoleRead, *http.Response, error)
func (ApiListResourceRolesRequest) Page ¶
func (r ApiListResourceRolesRequest) Page(page int32) ApiListResourceRolesRequest
Page number of the results to fetch, starting at 1.
func (ApiListResourceRolesRequest) PerPage ¶
func (r ApiListResourceRolesRequest) PerPage(perPage int32) ApiListResourceRolesRequest
The number of results per page (max 100).
func (ApiListResourceRolesRequest) PermitSession ¶ added in v1.0.5
func (r ApiListResourceRolesRequest) PermitSession(permitSession string) ApiListResourceRolesRequest
type ApiListResourcesRequest ¶
type ApiListResourcesRequest struct { ApiService *ResourcesApiService // contains filtered or unexported fields }
func (ApiListResourcesRequest) Execute ¶
func (r ApiListResourcesRequest) Execute() ([]models.ResourceRead, *http.Response, error)
func (ApiListResourcesRequest) IncludeBuiltIn ¶
func (r ApiListResourcesRequest) IncludeBuiltIn(includeBuiltIn bool) ApiListResourcesRequest
Whether to include or exclude built-in resources, default is False
func (ApiListResourcesRequest) Page ¶
func (r ApiListResourcesRequest) Page(page int32) ApiListResourcesRequest
Page number of the results to fetch, starting at 1.
func (ApiListResourcesRequest) PerPage ¶
func (r ApiListResourcesRequest) PerPage(perPage int32) ApiListResourcesRequest
The number of results per page (max 100).
func (ApiListResourcesRequest) Search ¶ added in v0.0.13
func (r ApiListResourcesRequest) Search(search string) ApiListResourcesRequest
Text search for the object name or key
type ApiListRoleAssignmentsRequest ¶
type ApiListRoleAssignmentsRequest struct { ApiService *RoleAssignmentsApiService // contains filtered or unexported fields }
func (ApiListRoleAssignmentsRequest) Detailed ¶ added in v0.0.13
func (r ApiListRoleAssignmentsRequest) Detailed(detailed bool) ApiListRoleAssignmentsRequest
Whether to return full details about the user, tenant and role
func (ApiListRoleAssignmentsRequest) Execute ¶
func (r ApiListRoleAssignmentsRequest) Execute() (*models.ResponseListRoleAssignmentsV2FactsProjIdEnvIdRoleAssignmentsGet, *http.Response, error)
func (ApiListRoleAssignmentsRequest) Page ¶
func (r ApiListRoleAssignmentsRequest) Page(page int32) ApiListRoleAssignmentsRequest
Page number of the results to fetch, starting at 1.
func (ApiListRoleAssignmentsRequest) PerPage ¶
func (r ApiListRoleAssignmentsRequest) PerPage(perPage int32) ApiListRoleAssignmentsRequest
The number of results per page (max 100).
func (ApiListRoleAssignmentsRequest) PermitSession ¶ added in v1.0.5
func (r ApiListRoleAssignmentsRequest) PermitSession(permitSession string) ApiListRoleAssignmentsRequest
func (ApiListRoleAssignmentsRequest) Resource ¶ added in v1.0.5
func (r ApiListRoleAssignmentsRequest) Resource(resource string) ApiListRoleAssignmentsRequest
optional resource **type** filter, will only return role assignments granted on that resource type.
func (ApiListRoleAssignmentsRequest) ResourceInstance ¶ added in v1.0.5
func (r ApiListRoleAssignmentsRequest) ResourceInstance(resourceInstance string) ApiListRoleAssignmentsRequest
optional resource instance filter, will only return role assignments granted on that resource instance.
func (ApiListRoleAssignmentsRequest) Role ¶
func (r ApiListRoleAssignmentsRequest) Role(role string) ApiListRoleAssignmentsRequest
optional role filter, will only return role assignments granting this role.
func (ApiListRoleAssignmentsRequest) Tenant ¶
func (r ApiListRoleAssignmentsRequest) Tenant(tenant string) ApiListRoleAssignmentsRequest
optional tenant filter, will only return role assignments granted in that tenant.
func (ApiListRoleAssignmentsRequest) User ¶
func (r ApiListRoleAssignmentsRequest) User(user string) ApiListRoleAssignmentsRequest
optional user filter, will only return role assignments granted to this user.
type ApiListRolesRequest ¶
type ApiListRolesRequest struct { ApiService *RolesApiService // contains filtered or unexported fields }
func (ApiListRolesRequest) AttributesFilter ¶ added in v0.0.9
func (r ApiListRolesRequest) AttributesFilter(attributesFilter map[string]interface{}) ApiListRolesRequest
AttributeFilters on the result of the tenant list
func (ApiListRolesRequest) Page ¶
func (r ApiListRolesRequest) Page(page int32) ApiListRolesRequest
Page number of the results to fetch, starting at 1.
func (ApiListRolesRequest) PerPage ¶
func (r ApiListRolesRequest) PerPage(perPage int32) ApiListRolesRequest
The number of results per page (max 100).
type ApiListSetPermissionsRequest ¶
type ApiListSetPermissionsRequest struct { ApiService *ConditionSetRulesApiService // contains filtered or unexported fields }
func (ApiListSetPermissionsRequest) Execute ¶
func (r ApiListSetPermissionsRequest) Execute() ([]models.ConditionSetRuleRead, *http.Response, error)
func (ApiListSetPermissionsRequest) Page ¶
func (r ApiListSetPermissionsRequest) Page(page int32) ApiListSetPermissionsRequest
Page number of the results to fetch, starting at 1.
func (ApiListSetPermissionsRequest) PerPage ¶
func (r ApiListSetPermissionsRequest) PerPage(perPage int32) ApiListSetPermissionsRequest
The number of results per page (max 100).
func (ApiListSetPermissionsRequest) Permission ¶
func (r ApiListSetPermissionsRequest) Permission(permission string) ApiListSetPermissionsRequest
optional permission filter, will only return condition set rules granting this permission
func (ApiListSetPermissionsRequest) ResourceSet ¶
func (r ApiListSetPermissionsRequest) ResourceSet(resourceSet string) ApiListSetPermissionsRequest
optional resource set filter, will only return rules where the permission is granted on this resource set
func (ApiListSetPermissionsRequest) UserSet ¶
func (r ApiListSetPermissionsRequest) UserSet(userSet string) ApiListSetPermissionsRequest
optional user set filter, will only return rules where the permission is granted to this user set
type ApiListTenantUsersRequest ¶
type ApiListTenantUsersRequest struct { ApiService *TenantsApiService // contains filtered or unexported fields }
func (ApiListTenantUsersRequest) Execute ¶
func (r ApiListTenantUsersRequest) Execute() (*models.PaginatedResultUserRead, *http.Response, error)
func (ApiListTenantUsersRequest) Page ¶
func (r ApiListTenantUsersRequest) Page(page int32) ApiListTenantUsersRequest
Page number of the results to fetch, starting at 1.
func (ApiListTenantUsersRequest) PerPage ¶
func (r ApiListTenantUsersRequest) PerPage(perPage int32) ApiListTenantUsersRequest
The number of results per page (max 100).
func (ApiListTenantUsersRequest) Search ¶
func (r ApiListTenantUsersRequest) Search(search string) ApiListTenantUsersRequest
Text search for the email field
type ApiListTenantsRequest ¶
type ApiListTenantsRequest struct { ApiService *TenantsApiService // contains filtered or unexported fields }
func (ApiListTenantsRequest) AttributeFilter ¶ added in v0.0.9
func (r ApiListTenantsRequest) AttributeFilter(attributesFilter map[string]interface{}) ApiListTenantsRequest
Filter for tenant with specific attributes
func (ApiListTenantsRequest) Execute ¶
func (r ApiListTenantsRequest) Execute() ([]models.TenantRead, *http.Response, error)
func (ApiListTenantsRequest) Page ¶
func (r ApiListTenantsRequest) Page(page int32) ApiListTenantsRequest
Page number of the results to fetch, starting at 1.
func (ApiListTenantsRequest) PerPage ¶
func (r ApiListTenantsRequest) PerPage(perPage int32) ApiListTenantsRequest
The number of results per page (max 100).
func (ApiListTenantsRequest) Search ¶
func (r ApiListTenantsRequest) Search(search string) ApiListTenantsRequest
Text search for the tenant name or key
type ApiListUserAttributesRequest ¶
type ApiListUserAttributesRequest struct { ApiService *UserAttributesApiService // contains filtered or unexported fields }
func (ApiListUserAttributesRequest) Execute ¶
func (r ApiListUserAttributesRequest) Execute() ([]models.ResourceAttributeRead, *http.Response, error)
func (ApiListUserAttributesRequest) Page ¶
func (r ApiListUserAttributesRequest) Page(page int32) ApiListUserAttributesRequest
Page number of the results to fetch, starting at 1.
func (ApiListUserAttributesRequest) PerPage ¶
func (r ApiListUserAttributesRequest) PerPage(perPage int32) ApiListUserAttributesRequest
The number of results per page (max 100).
func (ApiListUserAttributesRequest) ResourceId ¶
func (r ApiListUserAttributesRequest) ResourceId(resourceId string) ApiListUserAttributesRequest
type ApiListUsersRequest ¶
type ApiListUsersRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
func (ApiListUsersRequest) Execute ¶
func (r ApiListUsersRequest) Execute() (*models.PaginatedResultUserRead, *http.Response, error)
func (ApiListUsersRequest) Page ¶
func (r ApiListUsersRequest) Page(page int32) ApiListUsersRequest
Page number of the results to fetch, starting at 1.
func (ApiListUsersRequest) PerPage ¶
func (r ApiListUsersRequest) PerPage(perPage int32) ApiListUsersRequest
The number of results per page (max 100).
func (ApiListUsersRequest) Search ¶
func (r ApiListUsersRequest) Search(search string) ApiListUsersRequest
Text search for the email field
type ApiLoginElementsRequest ¶
type ApiLoginElementsRequest struct { ApiService *AuthenticationApiService // contains filtered or unexported fields }
func (ApiLoginElementsRequest) Execute ¶
func (r ApiLoginElementsRequest) Execute() (*models.LoginResult, *http.Response, error)
func (ApiLoginElementsRequest) Token ¶
func (r ApiLoginElementsRequest) Token(token string) ApiLoginElementsRequest
type ApiLoginRequest ¶
type ApiLoginRequest struct { ApiService *AuthenticationApiService // contains filtered or unexported fields }
func (ApiLoginRequest) Execute ¶
func (r ApiLoginRequest) Execute() (*models.LoginResult, *http.Response, error)
func (ApiLoginRequest) InviteCode ¶
func (r ApiLoginRequest) InviteCode(inviteCode string) ApiLoginRequest
An optional invite code to an existing organization. If the invite code is provided and is valid, the member will gain access to that organization.
type ApiLogoutGetRequest ¶
type ApiLogoutGetRequest struct { ApiService *AuthenticationApiService // contains filtered or unexported fields }
type ApiLogoutPostRequest ¶
type ApiLogoutPostRequest struct { ApiService *AuthenticationApiService // contains filtered or unexported fields }
type ApiMeRequest ¶
type ApiMeRequest struct { ApiService *AuthenticationApiService // contains filtered or unexported fields }
func (ApiMeRequest) Execute ¶
func (r ApiMeRequest) Execute() (*models.AuthnMeRead, *http.Response, error)
type ApiRemoveParentResourceRoleRequest ¶
type ApiRemoveParentResourceRoleRequest struct { ApiService *ResourceRolesApiService // contains filtered or unexported fields }
func (ApiRemoveParentResourceRoleRequest) Execute ¶
func (r ApiRemoveParentResourceRoleRequest) Execute() (*models.ResourceRoleRead, *http.Response, error)
func (ApiRemoveParentResourceRoleRequest) PermitSession ¶ added in v1.0.5
func (r ApiRemoveParentResourceRoleRequest) PermitSession(permitSession string) ApiRemoveParentResourceRoleRequest
type ApiRemoveParentRoleRequest ¶
type ApiRemoveParentRoleRequest struct { ApiService *RolesApiService // contains filtered or unexported fields }
type ApiRemovePermissionsFromResourceRoleRequest ¶
type ApiRemovePermissionsFromResourceRoleRequest struct { ApiService *ResourceRolesApiService // contains filtered or unexported fields }
func (ApiRemovePermissionsFromResourceRoleRequest) Execute ¶
func (r ApiRemovePermissionsFromResourceRoleRequest) Execute() (*models.ResourceRoleRead, *http.Response, error)
func (ApiRemovePermissionsFromResourceRoleRequest) PermitSession ¶ added in v1.0.5
func (r ApiRemovePermissionsFromResourceRoleRequest) PermitSession(permitSession string) ApiRemovePermissionsFromResourceRoleRequest
func (ApiRemovePermissionsFromResourceRoleRequest) RemoveRolePermissions ¶
func (r ApiRemovePermissionsFromResourceRoleRequest) RemoveRolePermissions(removeRolePermissions models.RemoveRolePermissions) ApiRemovePermissionsFromResourceRoleRequest
type ApiRemovePermissionsFromRoleRequest ¶
type ApiRemovePermissionsFromRoleRequest struct { ApiService *RolesApiService // contains filtered or unexported fields }
func (ApiRemovePermissionsFromRoleRequest) RemoveRolePermissions ¶
func (r ApiRemovePermissionsFromRoleRequest) RemoveRolePermissions(removeRolePermissions models.RemoveRolePermissions) ApiRemovePermissionsFromRoleRequest
type ApiReplaceResourceRequest ¶
type ApiReplaceResourceRequest struct { ApiService *ResourcesApiService // contains filtered or unexported fields }
func (ApiReplaceResourceRequest) Execute ¶
func (r ApiReplaceResourceRequest) Execute() (*models.ResourceRead, *http.Response, error)
func (ApiReplaceResourceRequest) ResourceReplace ¶
func (r ApiReplaceResourceRequest) ResourceReplace(resourceReplace models.ResourceReplace) ApiReplaceResourceRequest
type ApiReplaceUserRequest ¶
type ApiReplaceUserRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
func (ApiReplaceUserRequest) UserCreate ¶
func (r ApiReplaceUserRequest) UserCreate(userCreate models.UserCreate) ApiReplaceUserRequest
type ApiRotatePdpApiKeyRequest ¶
type ApiRotatePdpApiKeyRequest struct { ApiService *PolicyDecisionPointsApiService // contains filtered or unexported fields }
func (ApiRotatePdpApiKeyRequest) Execute ¶
func (r ApiRotatePdpApiKeyRequest) Execute() (*models.PDPConfigRead, *http.Response, error)
type ApiSetConfigActiveRequest ¶
type ApiSetConfigActiveRequest struct { ApiService *ElementsDataApiService // contains filtered or unexported fields }
type ApiStatsEnvironmentsRequest ¶
type ApiStatsEnvironmentsRequest struct { ApiService *EnvironmentsApiService // contains filtered or unexported fields }
func (ApiStatsEnvironmentsRequest) Execute ¶
func (r ApiStatsEnvironmentsRequest) Execute() (*models.EnvironmentStats, *http.Response, error)
type ApiSwitchOrganizationRequest ¶
type ApiSwitchOrganizationRequest struct { ApiService *AuthenticationApiService // contains filtered or unexported fields }
func (ApiSwitchOrganizationRequest) Execute ¶
func (r ApiSwitchOrganizationRequest) Execute() (*models.LoginResult, *http.Response, error)
type ApiUnassignRoleFromUserRequest ¶
type ApiUnassignRoleFromUserRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
func (ApiUnassignRoleFromUserRequest) UserRoleRemove ¶
func (r ApiUnassignRoleFromUserRequest) UserRoleRemove(userRoleRemove models.UserRoleRemove) ApiUnassignRoleFromUserRequest
type ApiUnassignRoleRequest ¶
type ApiUnassignRoleRequest struct { ApiService *RoleAssignmentsApiService // contains filtered or unexported fields }
func (ApiUnassignRoleRequest) Execute ¶
func (r ApiUnassignRoleRequest) Execute() (*http.Response, error)
func (ApiUnassignRoleRequest) PermitSession ¶ added in v1.0.5
func (r ApiUnassignRoleRequest) PermitSession(permitSession string) ApiUnassignRoleRequest
func (ApiUnassignRoleRequest) RoleAssignmentRemove ¶
func (r ApiUnassignRoleRequest) RoleAssignmentRemove(roleAssignmentRemove models.RoleAssignmentRemove) ApiUnassignRoleRequest
type ApiUnassignSetPermissionsRequest ¶
type ApiUnassignSetPermissionsRequest struct { ApiService *ConditionSetRulesApiService // contains filtered or unexported fields }
func (ApiUnassignSetPermissionsRequest) ConditionSetRuleRemove ¶
func (r ApiUnassignSetPermissionsRequest) ConditionSetRuleRemove(conditionSetRuleRemove models.ConditionSetRuleRemove) ApiUnassignSetPermissionsRequest
type ApiUpdateConditionSetRequest ¶
type ApiUpdateConditionSetRequest struct { ApiService *ConditionSetsApiService // contains filtered or unexported fields }
func (ApiUpdateConditionSetRequest) ConditionSetUpdate ¶
func (r ApiUpdateConditionSetRequest) ConditionSetUpdate(conditionSetUpdate models.ConditionSetUpdate) ApiUpdateConditionSetRequest
func (ApiUpdateConditionSetRequest) Execute ¶
func (r ApiUpdateConditionSetRequest) Execute() (*models.ConditionSetRead, *http.Response, error)
type ApiUpdateElementsConfigRequest ¶
type ApiUpdateElementsConfigRequest struct { ApiService *ElementsConfigsApiService // contains filtered or unexported fields }
func (ApiUpdateElementsConfigRequest) ElementsConfigUpdate ¶
func (r ApiUpdateElementsConfigRequest) ElementsConfigUpdate(elementsConfigUpdate models.ElementsConfigUpdate) ApiUpdateElementsConfigRequest
func (ApiUpdateElementsConfigRequest) Execute ¶
func (r ApiUpdateElementsConfigRequest) Execute() (*models.ElementsConfigRead, *http.Response, error)
type ApiUpdateElementsEnvRequest ¶
type ApiUpdateElementsEnvRequest struct { ApiService *ElementsConfigsApiService // contains filtered or unexported fields }
func (ApiUpdateElementsEnvRequest) ElementsEnvUpdate ¶
func (r ApiUpdateElementsEnvRequest) ElementsEnvUpdate(elementsEnvUpdate models.ElementsEnvUpdate) ApiUpdateElementsEnvRequest
func (ApiUpdateElementsEnvRequest) Execute ¶
func (r ApiUpdateElementsEnvRequest) Execute() (*models.ElementsEnvRead, *http.Response, error)
type ApiUpdateEnvironmentRequest ¶
type ApiUpdateEnvironmentRequest struct { ApiService *EnvironmentsApiService // contains filtered or unexported fields }
func (ApiUpdateEnvironmentRequest) EnvironmentUpdate ¶
func (r ApiUpdateEnvironmentRequest) EnvironmentUpdate(environmentUpdate models.EnvironmentUpdate) ApiUpdateEnvironmentRequest
func (ApiUpdateEnvironmentRequest) Execute ¶
func (r ApiUpdateEnvironmentRequest) Execute() (*models.EnvironmentRead, *http.Response, error)
type ApiUpdateImplicitGrantsConditionsRequest ¶ added in v1.0.5
type ApiUpdateImplicitGrantsConditionsRequest struct { ApiService *ImplicitGrantsAPIService // contains filtered or unexported fields }
func (ApiUpdateImplicitGrantsConditionsRequest) PermitBackendSchemasSchemaDerivedRoleRuleDerivationSettings ¶ added in v1.0.5
func (r ApiUpdateImplicitGrantsConditionsRequest) PermitBackendSchemasSchemaDerivedRoleRuleDerivationSettings(permitBackendSchemasSchemaDerivedRoleRuleDerivationSettings models.PermitBackendSchemasSchemaDerivedRoleRuleDerivationSettings) ApiUpdateImplicitGrantsConditionsRequest
func (ApiUpdateImplicitGrantsConditionsRequest) PermitSession ¶ added in v1.0.5
func (r ApiUpdateImplicitGrantsConditionsRequest) PermitSession(permitSession string) ApiUpdateImplicitGrantsConditionsRequest
type ApiUpdateOrganizationMemberRequest ¶
type ApiUpdateOrganizationMemberRequest struct { ApiService *MembersApiService // contains filtered or unexported fields }
func (ApiUpdateOrganizationMemberRequest) Execute ¶
func (r ApiUpdateOrganizationMemberRequest) Execute() (*models.OrgMemberRead, *http.Response, error)
func (ApiUpdateOrganizationMemberRequest) OrgMemberUpdate ¶
func (r ApiUpdateOrganizationMemberRequest) OrgMemberUpdate(orgMemberUpdate models.OrgMemberUpdate) ApiUpdateOrganizationMemberRequest
type ApiUpdateOrganizationRequest ¶
type ApiUpdateOrganizationRequest struct { ApiService *OrganizationsApiService // contains filtered or unexported fields }
func (ApiUpdateOrganizationRequest) Execute ¶
func (r ApiUpdateOrganizationRequest) Execute() (*models.OrganizationRead, *http.Response, error)
func (ApiUpdateOrganizationRequest) OrganizationUpdate ¶
func (r ApiUpdateOrganizationRequest) OrganizationUpdate(organizationUpdate models.OrganizationUpdate) ApiUpdateOrganizationRequest
type ApiUpdateProjectRequest ¶
type ApiUpdateProjectRequest struct { ApiService *ProjectsApiService // contains filtered or unexported fields }
func (ApiUpdateProjectRequest) Execute ¶
func (r ApiUpdateProjectRequest) Execute() (*models.ProjectRead, *http.Response, error)
func (ApiUpdateProjectRequest) ProjectUpdate ¶
func (r ApiUpdateProjectRequest) ProjectUpdate(projectUpdate models.ProjectUpdate) ApiUpdateProjectRequest
type ApiUpdateProxyConfigRequest ¶ added in v1.0.1
type ApiUpdateProxyConfigRequest struct { ApiService *ProxyConfigAPIService // contains filtered or unexported fields }
func (ApiUpdateProxyConfigRequest) Execute ¶ added in v1.0.1
func (r ApiUpdateProxyConfigRequest) Execute() (*models.ProxyConfigRead, *http.Response, error)
func (ApiUpdateProxyConfigRequest) ProxyConfigUpdate ¶ added in v1.0.1
func (r ApiUpdateProxyConfigRequest) ProxyConfigUpdate(proxyConfigUpdate models.ProxyConfigUpdate) ApiUpdateProxyConfigRequest
type ApiUpdateResourceActionRequest ¶
type ApiUpdateResourceActionRequest struct { ApiService *ResourceActionsApiService // contains filtered or unexported fields }
func (ApiUpdateResourceActionRequest) Execute ¶
func (r ApiUpdateResourceActionRequest) Execute() (*models.ResourceActionRead, *http.Response, error)
func (ApiUpdateResourceActionRequest) ResourceActionUpdate ¶
func (r ApiUpdateResourceActionRequest) ResourceActionUpdate(resourceActionUpdate models.ResourceActionUpdate) ApiUpdateResourceActionRequest
type ApiUpdateResourceAttributeRequest ¶
type ApiUpdateResourceAttributeRequest struct { ApiService *ResourceAttributesApiService // contains filtered or unexported fields }
func (ApiUpdateResourceAttributeRequest) Execute ¶
func (r ApiUpdateResourceAttributeRequest) Execute() (*models.ResourceAttributeRead, *http.Response, error)
func (ApiUpdateResourceAttributeRequest) ResourceAttributeUpdate ¶
func (r ApiUpdateResourceAttributeRequest) ResourceAttributeUpdate(resourceAttributeUpdate models.ResourceAttributeUpdate) ApiUpdateResourceAttributeRequest
type ApiUpdateResourceInstanceRequest ¶
type ApiUpdateResourceInstanceRequest struct { ApiService *ResourceInstancesApiService // contains filtered or unexported fields }
func (ApiUpdateResourceInstanceRequest) Execute ¶
func (r ApiUpdateResourceInstanceRequest) Execute() (*models.ResourceInstanceRead, *http.Response, error)
func (ApiUpdateResourceInstanceRequest) PermitSession ¶ added in v1.0.5
func (r ApiUpdateResourceInstanceRequest) PermitSession(permitSession string) ApiUpdateResourceInstanceRequest
func (ApiUpdateResourceInstanceRequest) ResourceInstanceUpdate ¶
func (r ApiUpdateResourceInstanceRequest) ResourceInstanceUpdate(resourceInstanceUpdate models.ResourceInstanceUpdate) ApiUpdateResourceInstanceRequest
type ApiUpdateResourceRequest ¶
type ApiUpdateResourceRequest struct { ApiService *ResourcesApiService // contains filtered or unexported fields }
func (ApiUpdateResourceRequest) Execute ¶
func (r ApiUpdateResourceRequest) Execute() (*models.ResourceRead, *http.Response, error)
func (ApiUpdateResourceRequest) ResourceUpdate ¶
func (r ApiUpdateResourceRequest) ResourceUpdate(resourceUpdate models.ResourceUpdate) ApiUpdateResourceRequest
type ApiUpdateResourceRoleRequest ¶
type ApiUpdateResourceRoleRequest struct { ApiService *ResourceRolesApiService // contains filtered or unexported fields }
func (ApiUpdateResourceRoleRequest) Execute ¶
func (r ApiUpdateResourceRoleRequest) Execute() (*models.ResourceRoleRead, *http.Response, error)
func (ApiUpdateResourceRoleRequest) PermitSession ¶ added in v1.0.5
func (r ApiUpdateResourceRoleRequest) PermitSession(permitSession string) ApiUpdateResourceRoleRequest
func (ApiUpdateResourceRoleRequest) ResourceRoleUpdate ¶
func (r ApiUpdateResourceRoleRequest) ResourceRoleUpdate(resourceRoleUpdate models.ResourceRoleUpdate) ApiUpdateResourceRoleRequest
type ApiUpdateRoleRequest ¶
type ApiUpdateRoleRequest struct { ApiService *RolesApiService // contains filtered or unexported fields }
func (ApiUpdateRoleRequest) RoleUpdate ¶
func (r ApiUpdateRoleRequest) RoleUpdate(roleUpdate models.RoleUpdate) ApiUpdateRoleRequest
type ApiUpdateTenantRequest ¶
type ApiUpdateTenantRequest struct { ApiService *TenantsApiService // contains filtered or unexported fields }
func (ApiUpdateTenantRequest) Execute ¶
func (r ApiUpdateTenantRequest) Execute() (*models.TenantRead, *http.Response, error)
func (ApiUpdateTenantRequest) TenantUpdate ¶
func (r ApiUpdateTenantRequest) TenantUpdate(tenantUpdate models.TenantUpdate) ApiUpdateTenantRequest
type ApiUpdateUserAttributeRequest ¶
type ApiUpdateUserAttributeRequest struct { ApiService *UserAttributesApiService // contains filtered or unexported fields }
func (ApiUpdateUserAttributeRequest) Execute ¶
func (r ApiUpdateUserAttributeRequest) Execute() (*models.ResourceAttributeRead, *http.Response, error)
func (ApiUpdateUserAttributeRequest) ResourceAttributeUpdate ¶
func (r ApiUpdateUserAttributeRequest) ResourceAttributeUpdate(resourceAttributeUpdate models.ResourceAttributeUpdate) ApiUpdateUserAttributeRequest
func (ApiUpdateUserAttributeRequest) ResourceId ¶
func (r ApiUpdateUserAttributeRequest) ResourceId(resourceId string) ApiUpdateUserAttributeRequest
type ApiUpdateUserRequest ¶
type ApiUpdateUserRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
func (ApiUpdateUserRequest) UserUpdate ¶
func (r ApiUpdateUserRequest) UserUpdate(userUpdate models.UserUpdate) ApiUpdateUserRequest
type AuthenticationApiService ¶
type AuthenticationApiService service
AuthenticationApiService AuthenticationApi service
func (*AuthenticationApiService) DevLogin ¶
func (a *AuthenticationApiService) DevLogin(ctx context.Context) ApiDevLoginRequest
DevLogin (DEV MODE) Login
The dev-login endpoints allows a developer inside permit.io to log in with an email address.
THIS IS ONLY AVAILABLE IN DEV MODE.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiDevLoginRequest
func (*AuthenticationApiService) DevLoginExecute ¶
func (a *AuthenticationApiService) DevLoginExecute(r ApiDevLoginRequest) (*http.Response, error)
Execute executes the request
func (*AuthenticationApiService) ElementsLoginAs ¶
func (a *AuthenticationApiService) ElementsLoginAs(ctx context.Context) ApiElementsLoginAsRequest
ElementsLoginAs Elements Login As
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiElementsLoginAsRequest
func (*AuthenticationApiService) ElementsLoginAsExecute ¶
func (a *AuthenticationApiService) ElementsLoginAsExecute(r ApiElementsLoginAsRequest) (*models.EmbeddedLoginRequestOutput, *http.Response, error)
Execute executes the request
@return EmbeddedLoginRequestOutput
func (*AuthenticationApiService) Login ¶
func (a *AuthenticationApiService) Login(ctx context.Context) ApiLoginRequest
Login Login
The login endpoint allows the frontend app to exchange a user JWT with a user session. The user session is stored on an httpOnly + secure cookie.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiLoginRequest
func (*AuthenticationApiService) LoginElements ¶
func (a *AuthenticationApiService) LoginElements(ctx context.Context) ApiLoginElementsRequest
LoginElements Login Elements
The login endpoint allows the frontend app to exchange a user JWT with a user session. The user session is stored on an httpOnly + secure cookie.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiLoginElementsRequest
func (*AuthenticationApiService) LoginElementsExecute ¶
func (a *AuthenticationApiService) LoginElementsExecute(r ApiLoginElementsRequest) (*models.LoginResult, *http.Response, error)
Execute executes the request
@return LoginResult
func (*AuthenticationApiService) LoginExecute ¶
func (a *AuthenticationApiService) LoginExecute(r ApiLoginRequest) (*models.LoginResult, *http.Response, error)
Execute executes the request
@return LoginResult
func (*AuthenticationApiService) LogoutGet ¶
func (a *AuthenticationApiService) LogoutGet(ctx context.Context) ApiLogoutGetRequest
LogoutGet Logout Get
The logout endpoint deletes the session cookie of a logged in user and invalidates cached VCs.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiLogoutGetRequest
func (*AuthenticationApiService) LogoutGetExecute ¶
func (a *AuthenticationApiService) LogoutGetExecute(r ApiLogoutGetRequest) (*http.Response, error)
Execute executes the request
func (*AuthenticationApiService) LogoutPost ¶
func (a *AuthenticationApiService) LogoutPost(ctx context.Context) ApiLogoutPostRequest
LogoutPost Logout Post
The logout endpoint deletes the session cookie of a logged in user and invalidates cached VCs.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiLogoutPostRequest
func (*AuthenticationApiService) LogoutPostExecute ¶
func (a *AuthenticationApiService) LogoutPostExecute(r ApiLogoutPostRequest) (*http.Response, error)
Execute executes the request
func (*AuthenticationApiService) Me ¶
func (a *AuthenticationApiService) Me(ctx context.Context) ApiMeRequest
Me Me
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiMeRequest
func (*AuthenticationApiService) MeExecute ¶
func (a *AuthenticationApiService) MeExecute(r ApiMeRequest) (*models.AuthnMeRead, *http.Response, error)
Execute executes the request
@return AuthnMeRead
func (*AuthenticationApiService) SwitchOrganization ¶
func (a *AuthenticationApiService) SwitchOrganization(ctx context.Context, orgId string) ApiSwitchOrganizationRequest
SwitchOrganization Switch Organization
Allows the user to switch his active organization (manipulates the user's login session).
This route will return a new login cookie to the user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param orgId the organization id the user wishes to switch to as the active org on the session @return ApiSwitchOrganizationRequest
func (*AuthenticationApiService) SwitchOrganizationExecute ¶
func (a *AuthenticationApiService) SwitchOrganizationExecute(r ApiSwitchOrganizationRequest) (*models.LoginResult, *http.Response, error)
Execute executes the request
@return LoginResult
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type ConditionSetRulesApiService ¶
type ConditionSetRulesApiService service
ConditionSetRulesApiService ConditionSetRulesApi service
func (*ConditionSetRulesApiService) AssignSetPermissions ¶
func (a *ConditionSetRulesApiService) AssignSetPermissions(ctx context.Context, projId string, envId string) ApiAssignSetPermissionsRequest
AssignSetPermissions Assign Set Permissions
Grant permissions to a user set *on* a resource set.
If the permission is already granted, it is skipped.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiAssignSetPermissionsRequest
func (*ConditionSetRulesApiService) AssignSetPermissionsExecute ¶
func (a *ConditionSetRulesApiService) AssignSetPermissionsExecute(r ApiAssignSetPermissionsRequest) ([]models.ConditionSetRuleRead, *http.Response, error)
Execute executes the request
@return []ConditionSetRuleRead
func (*ConditionSetRulesApiService) ListSetPermissions ¶
func (a *ConditionSetRulesApiService) ListSetPermissions(ctx context.Context, projId string, envId string) ApiListSetPermissionsRequest
ListSetPermissions List Set Permissions
Lists the condition set rules matching the filter. - If the `user_set` filter is present, will only return the permissions set of that user set. - If the `permission` filter is present, will only return the permissions sets that equals to the queried permission. - If the `resource_set` filter is present, will only return the permissions set of that resource set.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiListSetPermissionsRequest
func (*ConditionSetRulesApiService) ListSetPermissionsExecute ¶
func (a *ConditionSetRulesApiService) ListSetPermissionsExecute(r ApiListSetPermissionsRequest) ([]models.ConditionSetRuleRead, *http.Response, error)
Execute executes the request
@return []ConditionSetRuleRead
func (*ConditionSetRulesApiService) UnassignSetPermissions ¶
func (a *ConditionSetRulesApiService) UnassignSetPermissions(ctx context.Context, projId string, envId string) ApiUnassignSetPermissionsRequest
UnassignSetPermissions Unassign Set Permissions
Revokes permissions to a user set *on* a resource set.
If the permission is not granted, it is skipped.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiUnassignSetPermissionsRequest
func (*ConditionSetRulesApiService) UnassignSetPermissionsExecute ¶
func (a *ConditionSetRulesApiService) UnassignSetPermissionsExecute(r ApiUnassignSetPermissionsRequest) (*http.Response, error)
Execute executes the request
type ConditionSetsApiService ¶
type ConditionSetsApiService service
ConditionSetsApiService ConditionSetsApi service
func (*ConditionSetsApiService) CreateConditionSet ¶
func (a *ConditionSetsApiService) CreateConditionSet(ctx context.Context, projId string, envId string) ApiCreateConditionSetRequest
CreateConditionSet Create Condition Set
Creates a new condition set (can be either a user set or a resource set).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiCreateConditionSetRequest
func (*ConditionSetsApiService) CreateConditionSetExecute ¶
func (a *ConditionSetsApiService) CreateConditionSetExecute(r ApiCreateConditionSetRequest) (*models.ConditionSetRead, *http.Response, error)
Execute executes the request
@return ConditionSetRead
func (*ConditionSetsApiService) DeleteConditionSet ¶
func (a *ConditionSetsApiService) DeleteConditionSet(ctx context.Context, projId string, envId string, conditionSetId string) ApiDeleteConditionSetRequest
DeleteConditionSet Delete Condition Set
Deletes a condition set and all its related data. This includes any permissions granted to said condition set (i.e: any matching condition set rules).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param conditionSetId Either the unique id of the condition set, or the URL-friendly key of the condition set (i.e: the \"slug\"). @return ApiDeleteConditionSetRequest
func (*ConditionSetsApiService) DeleteConditionSetExecute ¶
func (a *ConditionSetsApiService) DeleteConditionSetExecute(r ApiDeleteConditionSetRequest) (*http.Response, error)
Execute executes the request
func (*ConditionSetsApiService) GetConditionSet ¶
func (a *ConditionSetsApiService) GetConditionSet(ctx context.Context, projId string, envId string, conditionSetId string) ApiGetConditionSetRequest
GetConditionSet Get Condition Set
Gets a single condition set, if such condition set exists.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param conditionSetId Either the unique id of the condition set, or the URL-friendly key of the condition set (i.e: the \"slug\"). @return ApiGetConditionSetRequest
func (*ConditionSetsApiService) GetConditionSetAncestors ¶ added in v0.0.10
func (a *ConditionSetsApiService) GetConditionSetAncestors(ctx context.Context, projId string, envId string, conditionSetId string) ApiGetConditionSetAncestorsRequest
GetConditionSetAncestors Get Condition Set Ancestors
Gets all ancestors (parent, parent of parent, and so on)
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param conditionSetId Either the unique id of the condition set, or the URL-friendly key of the condition set (i.e: the \"slug\"). @return ApiGetConditionSetAncestorsRequest
func (*ConditionSetsApiService) GetConditionSetAncestorsExecute ¶ added in v0.0.10
func (a *ConditionSetsApiService) GetConditionSetAncestorsExecute(r ApiGetConditionSetAncestorsRequest) ([]models.ConditionSetRead, *http.Response, error)
Execute executes the request
@return []ConditionSetRead
func (*ConditionSetsApiService) GetConditionSetDescendants ¶ added in v0.0.10
func (a *ConditionSetsApiService) GetConditionSetDescendants(ctx context.Context, projId string, envId string, conditionSetId string) ApiGetConditionSetDescendantsRequest
GetConditionSetDescendants Get Condition Set Descendants
Gets all descendants (children, children of children, and so on)
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param conditionSetId Either the unique id of the condition set, or the URL-friendly key of the condition set (i.e: the \"slug\"). @return ApiGetConditionSetDescendantsRequest
func (*ConditionSetsApiService) GetConditionSetDescendantsExecute ¶ added in v0.0.10
func (a *ConditionSetsApiService) GetConditionSetDescendantsExecute(r ApiGetConditionSetDescendantsRequest) ([]models.ConditionSetRead, *http.Response, error)
Execute executes the request
@return []ConditionSetRead
func (*ConditionSetsApiService) GetConditionSetExecute ¶
func (a *ConditionSetsApiService) GetConditionSetExecute(r ApiGetConditionSetRequest) (*models.ConditionSetRead, *http.Response, error)
Execute executes the request
@return ConditionSetRead
func (*ConditionSetsApiService) GetConditionSetPossibleParents ¶ added in v0.0.10
func (a *ConditionSetsApiService) GetConditionSetPossibleParents(ctx context.Context, projId string, envId string, conditionSetId string) ApiGetConditionSetPossibleParentsRequest
GetConditionSetPossibleParents Get Condition Set Possible Parents
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param conditionSetId Either the unique id of the condition set, or the URL-friendly key of the condition set (i.e: the \"slug\"). @return ApiGetConditionSetPossibleParentsRequest
func (*ConditionSetsApiService) GetConditionSetPossibleParentsExecute ¶ added in v0.0.10
func (a *ConditionSetsApiService) GetConditionSetPossibleParentsExecute(r ApiGetConditionSetPossibleParentsRequest) ([]models.ConditionSetRead, *http.Response, error)
Execute executes the request
@return []ConditionSetRead
func (*ConditionSetsApiService) ListConditionSets ¶
func (a *ConditionSetsApiService) ListConditionSets(ctx context.Context, projId string, envId string) ApiListConditionSetsRequest
ListConditionSets List Condition Sets
Lists all condition sets matching a filter.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiListConditionSetsRequest
func (*ConditionSetsApiService) ListConditionSetsExecute ¶
func (a *ConditionSetsApiService) ListConditionSetsExecute(r ApiListConditionSetsRequest) (*models.ResponseListConditionSetsV2SchemaProjIdEnvIdConditionSetsGet, *http.Response, error)
Execute executes the request
@return ResponseListConditionSetsV2SchemaProjIdEnvIdConditionSetsGet
Deprecated
func (*ConditionSetsApiService) UpdateConditionSet ¶
func (a *ConditionSetsApiService) UpdateConditionSet(ctx context.Context, projId string, envId string, conditionSetId string) ApiUpdateConditionSetRequest
UpdateConditionSet Update Condition Set
Partially updates a condition set. Fields that will be provided will be completely overwritten.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param conditionSetId Either the unique id of the condition set, or the URL-friendly key of the condition set (i.e: the \"slug\"). @return ApiUpdateConditionSetRequest
func (*ConditionSetsApiService) UpdateConditionSetExecute ¶
func (a *ConditionSetsApiService) UpdateConditionSetExecute(r ApiUpdateConditionSetRequest) (*models.ConditionSetRead, *http.Response, error)
Execute executes the request
@return ConditionSetRead
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"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type DecisionLogsApiService ¶
type DecisionLogsApiService service
DecisionLogsApiService DecisionLogsApi service
func (*DecisionLogsApiService) ListPdpDecisionLogs ¶
func (a *DecisionLogsApiService) ListPdpDecisionLogs(ctx context.Context, projId string, envId string, pdpId string) ApiListPdpDecisionLogsRequest
ListPdpDecisionLogs List PDP Decisions
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param pdpId The unique id of the pdp @return ApiListPdpDecisionLogsRequest
func (*DecisionLogsApiService) ListPdpDecisionLogsExecute ¶
func (a *DecisionLogsApiService) ListPdpDecisionLogsExecute(r ApiListPdpDecisionLogsRequest) (*models.PaginatedResultOPADecisionLog, *http.Response, error)
Execute executes the request
@return PaginatedResultOPADecisionLog
type DecisionLogsIngressApiService ¶
type DecisionLogsIngressApiService service
DecisionLogsIngressApiService DecisionLogsIngressApi service
func (*DecisionLogsIngressApiService) InsertOpaDecisionLogs ¶
func (a *DecisionLogsIngressApiService) InsertOpaDecisionLogs(ctx context.Context) ApiInsertOpaDecisionLogsRequest
InsertOpaDecisionLogs OPA Decision Logs Ingress
This ingress endpoint captures OPA decision logs.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiInsertOpaDecisionLogsRequest
func (*DecisionLogsIngressApiService) InsertOpaDecisionLogsExecute ¶
func (a *DecisionLogsIngressApiService) InsertOpaDecisionLogsExecute(r ApiInsertOpaDecisionLogsRequest) (*http.Response, error)
Execute executes the request
type DefaultApiService ¶
type DefaultApiService service
DefaultApiService DefaultApi service
func (*DefaultApiService) Dummy ¶
func (a *DefaultApiService) Dummy(ctx context.Context) ApiDummyRequest
Dummy Dummy
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiDummyRequest
func (*DefaultApiService) DummyDb ¶
func (a *DefaultApiService) DummyDb(ctx context.Context) ApiDummyDbRequest
DummyDb Dummy Db
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiDummyDbRequest
func (*DefaultApiService) DummyDbExecute ¶
func (a *DefaultApiService) DummyDbExecute(r ApiDummyDbRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*DefaultApiService) DummyExecute ¶
func (a *DefaultApiService) DummyExecute(r ApiDummyRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*DefaultApiService) GetOrganizationV2StressDbOrganizationGet ¶
func (a *DefaultApiService) GetOrganizationV2StressDbOrganizationGet(ctx context.Context) ApiGetOrganizationV2StressDbOrganizationGetRequest
GetOrganizationV2StressDbOrganizationGet Get Organization
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetOrganizationV2StressDbOrganizationGetRequest
func (*DefaultApiService) GetOrganizationV2StressDbOrganizationGetExecute ¶
func (a *DefaultApiService) GetOrganizationV2StressDbOrganizationGetExecute(r ApiGetOrganizationV2StressDbOrganizationGetRequest) (*models.OrganizationRead, *http.Response, error)
Execute executes the request
@return OrganizationRead
func (*DefaultApiService) GetOrganizationWithAuthn ¶
func (a *DefaultApiService) GetOrganizationWithAuthn(ctx context.Context) ApiGetOrganizationWithAuthnRequest
GetOrganizationWithAuthn Get Organization With Authn
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetOrganizationWithAuthnRequest
func (*DefaultApiService) GetOrganizationWithAuthnExecute ¶
func (a *DefaultApiService) GetOrganizationWithAuthnExecute(r ApiGetOrganizationWithAuthnRequest) (*models.OrganizationRead, *http.Response, error)
Execute executes the request
@return OrganizationRead
func (*DefaultApiService) GetOrganizationWithAuthz ¶
func (a *DefaultApiService) GetOrganizationWithAuthz(ctx context.Context) ApiGetOrganizationWithAuthzRequest
GetOrganizationWithAuthz Get Organization With Authz
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetOrganizationWithAuthzRequest
func (*DefaultApiService) GetOrganizationWithAuthzExecute ¶
func (a *DefaultApiService) GetOrganizationWithAuthzExecute(r ApiGetOrganizationWithAuthzRequest) (*models.OrganizationRead, *http.Response, error)
Execute executes the request
@return OrganizationRead
type ElementsConfigsApiService ¶
type ElementsConfigsApiService service
ElementsConfigsApiService ElementsConfigsApi service
func (*ElementsConfigsApiService) CreateElementsConfig ¶
func (a *ElementsConfigsApiService) CreateElementsConfig(ctx context.Context, projId string, envId string) ApiCreateElementsConfigRequest
CreateElementsConfig Create Elements Config
Creates a new elements_config under the active organization.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiCreateElementsConfigRequest
func (*ElementsConfigsApiService) CreateElementsConfigExecute ¶
func (a *ElementsConfigsApiService) CreateElementsConfigExecute(r ApiCreateElementsConfigRequest) (*models.ElementsConfigRead, *http.Response, error)
Execute executes the request
@return ElementsConfigRead
func (*ElementsConfigsApiService) DeleteElementsConfig ¶
func (a *ElementsConfigsApiService) DeleteElementsConfig(ctx context.Context, elementsConfigId string, projId string, envId string) ApiDeleteElementsConfigRequest
DeleteElementsConfig Delete Elements Config
Deletes the elements_config and all its related data.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param elementsConfigId Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\"). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiDeleteElementsConfigRequest
func (*ElementsConfigsApiService) DeleteElementsConfigExecute ¶
func (a *ElementsConfigsApiService) DeleteElementsConfigExecute(r ApiDeleteElementsConfigRequest) (*http.Response, error)
Execute executes the request
func (*ElementsConfigsApiService) GetElementsConfig ¶
func (a *ElementsConfigsApiService) GetElementsConfig(ctx context.Context, projId string, envId string, elementsConfigId string) ApiGetElementsConfigRequest
GetElementsConfig Get Elements Config
Gets a single elements_config matching the given elements_config_id, if such elements_config exists.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param elementsConfigId Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\"). @return ApiGetElementsConfigRequest
func (*ElementsConfigsApiService) GetElementsConfigExecute ¶
func (a *ElementsConfigsApiService) GetElementsConfigExecute(r ApiGetElementsConfigRequest) (*models.ElementsConfigRead, *http.Response, error)
Execute executes the request
@return ElementsConfigRead
func (*ElementsConfigsApiService) GetEnvConfig ¶
func (a *ElementsConfigsApiService) GetEnvConfig(ctx context.Context, projId string, envId string) ApiGetEnvConfigRequest
GetEnvConfig Get Env Config
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiGetEnvConfigRequest
func (*ElementsConfigsApiService) GetEnvConfigExecute ¶
func (a *ElementsConfigsApiService) GetEnvConfigExecute(r ApiGetEnvConfigRequest) (*models.ElementsEnvRead, *http.Response, error)
Execute executes the request
@return ElementsEnvRead
func (*ElementsConfigsApiService) ListElementsConfigs ¶
func (a *ElementsConfigsApiService) ListElementsConfigs(ctx context.Context, projId string, envId string) ApiListElementsConfigsRequest
ListElementsConfigs List Elements Configs
Lists all the elements_configs under the active organization.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiListElementsConfigsRequest
func (*ElementsConfigsApiService) ListElementsConfigsExecute ¶
func (a *ElementsConfigsApiService) ListElementsConfigsExecute(r ApiListElementsConfigsRequest) (*models.PaginatedResultElementsConfigRead, *http.Response, error)
Execute executes the request
@return PaginatedResultElementsConfigRead
func (*ElementsConfigsApiService) UpdateElementsConfig ¶
func (a *ElementsConfigsApiService) UpdateElementsConfig(ctx context.Context, elementsConfigId string, projId string, envId string) ApiUpdateElementsConfigRequest
UpdateElementsConfig Update Elements Config
Updates the elements_config.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param elementsConfigId Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\"). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiUpdateElementsConfigRequest
func (*ElementsConfigsApiService) UpdateElementsConfigExecute ¶
func (a *ElementsConfigsApiService) UpdateElementsConfigExecute(r ApiUpdateElementsConfigRequest) (*models.ElementsConfigRead, *http.Response, error)
Execute executes the request
@return ElementsConfigRead
func (*ElementsConfigsApiService) UpdateElementsEnv ¶
func (a *ElementsConfigsApiService) UpdateElementsEnv(ctx context.Context, projId string, envId string) ApiUpdateElementsEnvRequest
UpdateElementsEnv Update Elements Env
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiUpdateElementsEnvRequest
func (*ElementsConfigsApiService) UpdateElementsEnvExecute ¶
func (a *ElementsConfigsApiService) UpdateElementsEnvExecute(r ApiUpdateElementsEnvRequest) (*models.ElementsEnvRead, *http.Response, error)
Execute executes the request
@return ElementsEnvRead
type ElementsDataApiService ¶
type ElementsDataApiService service
ElementsDataApiService ElementsDataApi service
func (*ElementsDataApiService) ElementsAssignRoleToUser ¶
func (a *ElementsDataApiService) ElementsAssignRoleToUser(ctx context.Context, projId string, envId string, elementsConfigId string, userId string) ApiElementsAssignRoleToUserRequest
ElementsAssignRoleToUser Assign role to user
Assigns a role to the user within the tenant.
The tenant defines the scope of the assignment. In other words, the role is effective only within the tenant.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param elementsConfigId Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\"). @param userId Either the unique id of the user, or the URL-friendly key of the user (i.e: the \"slug\"). @return ApiElementsAssignRoleToUserRequest
func (*ElementsDataApiService) ElementsAssignRoleToUserExecute ¶
func (a *ElementsDataApiService) ElementsAssignRoleToUserExecute(r ApiElementsAssignRoleToUserRequest) (*models.RoleAssignmentRead, *http.Response, error)
Execute executes the request
@return RoleAssignmentRead
func (*ElementsDataApiService) ElementsCreateUser ¶
func (a *ElementsDataApiService) ElementsCreateUser(ctx context.Context, projId string, envId string, elementsConfigId string) ApiElementsCreateUserRequest
ElementsCreateUser Create user
Creates a new user inside the Permit.io system, from that point forward you may run permission checks on that user.
If the user is already created: will return 200 instead of 201, and will return the existing user object in the response body.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param elementsConfigId Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\"). @return ApiElementsCreateUserRequest
func (*ElementsDataApiService) ElementsCreateUserExecute ¶
func (a *ElementsDataApiService) ElementsCreateUserExecute(r ApiElementsCreateUserRequest) (*models.UserRead, *http.Response, error)
Execute executes the request
@return UserRead
func (*ElementsDataApiService) ElementsDeleteUser ¶
func (a *ElementsDataApiService) ElementsDeleteUser(ctx context.Context, projId string, envId string, elementsConfigId string, userId string) ApiElementsDeleteUserRequest
ElementsDeleteUser Delete user
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param elementsConfigId Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\"). @param userId Either the unique id of the user, or the URL-friendly key of the user (i.e: the \"slug\"). @return ApiElementsDeleteUserRequest
func (*ElementsDataApiService) ElementsDeleteUserExecute ¶
func (a *ElementsDataApiService) ElementsDeleteUserExecute(r ApiElementsDeleteUserRequest) (*http.Response, error)
Execute executes the request
func (*ElementsDataApiService) ElementsListRoles ¶
func (a *ElementsDataApiService) ElementsListRoles(ctx context.Context, projId string, envId string, elementsConfigId string) ApiElementsListRolesRequest
ElementsListRoles List roles
Lists all the users defined within an environment.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param elementsConfigId Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\"). @return ApiElementsListRolesRequest
func (*ElementsDataApiService) ElementsListRolesExecute ¶
func (a *ElementsDataApiService) ElementsListRolesExecute(r ApiElementsListRolesRequest) ([]models.ElementsRoleRead, *http.Response, error)
Execute executes the request
@return []ElementsRoleRead
func (*ElementsDataApiService) ElementsListUsers ¶
func (a *ElementsDataApiService) ElementsListUsers(ctx context.Context, projId string, envId string, elementsConfigId string) ApiElementsListUsersRequest
ElementsListUsers List users
Lists all the users defined within an environment.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param elementsConfigId Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\"). @return ApiElementsListUsersRequest
func (*ElementsDataApiService) ElementsListUsersExecute ¶
func (a *ElementsDataApiService) ElementsListUsersExecute(r ApiElementsListUsersRequest) (*models.PaginatedResultUserRead, *http.Response, error)
Execute executes the request
@return PaginatedResultUserRead
func (*ElementsDataApiService) ElementsUnassignRoleFromUser ¶
func (a *ElementsDataApiService) ElementsUnassignRoleFromUser(ctx context.Context, projId string, envId string, elementsConfigId string, userId string) ApiElementsUnassignRoleFromUserRequest
ElementsUnassignRoleFromUser Unassign role from user
Unassigns the role from the user within the tenant.
The tenant defines the scope of the assignment. In other words, the role is effective only within the tenant.
If the role is not actually assigned, will return 404.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param elementsConfigId Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\"). @param userId Either the unique id of the user, or the URL-friendly key of the user (i.e: the \"slug\"). @return ApiElementsUnassignRoleFromUserRequest
func (*ElementsDataApiService) ElementsUnassignRoleFromUserExecute ¶
func (a *ElementsDataApiService) ElementsUnassignRoleFromUserExecute(r ApiElementsUnassignRoleFromUserRequest) (*http.Response, error)
Execute executes the request
func (*ElementsDataApiService) SetConfigActive ¶
func (a *ElementsDataApiService) SetConfigActive(ctx context.Context, elementsConfigId string, projId string, envId string) ApiSetConfigActiveRequest
SetConfigActive Set Config Active
Updates the embed_config.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param elementsConfigId Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\"). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiSetConfigActiveRequest
func (*ElementsDataApiService) SetConfigActiveExecute ¶
func (a *ElementsDataApiService) SetConfigActiveExecute(r ApiSetConfigActiveRequest) (*http.Response, error)
Execute executes the request
type EnvironmentsApiService ¶
type EnvironmentsApiService service
EnvironmentsApiService EnvironmentsApi service
func (*EnvironmentsApiService) CopyEnvironment ¶ added in v0.0.10
func (a *EnvironmentsApiService) CopyEnvironment(ctx context.Context, projId string, envId string) ApiCopyEnvironmentRequest
CopyEnvironment Copy Environment
Copy environment ¶
This endpoint either duplicates an existing environment to a new environment in the same project, or copies from an existing environment to another existing environment.
The `scope` object controls which objects will be copied to the target environment.
To clone to a new environment, the user must have write permissions to the containing project. To clone into an existing environment, the user must have write permissions to the target environment.
Copying environments across projects or organizations is not allowed.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiCopyEnvironmentRequest
func (*EnvironmentsApiService) CopyEnvironmentExecute ¶ added in v0.0.10
func (a *EnvironmentsApiService) CopyEnvironmentExecute(r ApiCopyEnvironmentRequest) (*models.EnvironmentRead, *http.Response, error)
Execute executes the request
@return EnvironmentRead
func (*EnvironmentsApiService) CreateEnvironment ¶
func (a *EnvironmentsApiService) CreateEnvironment(ctx context.Context, projId string) ApiCreateEnvironmentRequest
CreateEnvironment Create Environment
Creates a new environment under a given project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @return ApiCreateEnvironmentRequest
func (*EnvironmentsApiService) CreateEnvironmentExecute ¶
func (a *EnvironmentsApiService) CreateEnvironmentExecute(r ApiCreateEnvironmentRequest) (*models.EnvironmentRead, *http.Response, error)
Execute executes the request
@return EnvironmentRead
func (*EnvironmentsApiService) DeleteEnvironment ¶
func (a *EnvironmentsApiService) DeleteEnvironment(ctx context.Context, projId string, envId string) ApiDeleteEnvironmentRequest
DeleteEnvironment Delete Environment
Deletes an environment and all its related data.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiDeleteEnvironmentRequest
func (*EnvironmentsApiService) DeleteEnvironmentExecute ¶
func (a *EnvironmentsApiService) DeleteEnvironmentExecute(r ApiDeleteEnvironmentRequest) (*http.Response, error)
Execute executes the request
func (*EnvironmentsApiService) GetEnvironment ¶
func (a *EnvironmentsApiService) GetEnvironment(ctx context.Context, projId string, envId string) ApiGetEnvironmentRequest
GetEnvironment Get Environment
Gets a single environment matching the given env_id, if such environment exists.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiGetEnvironmentRequest
func (*EnvironmentsApiService) GetEnvironmentExecute ¶
func (a *EnvironmentsApiService) GetEnvironmentExecute(r ApiGetEnvironmentRequest) (*models.EnvironmentRead, *http.Response, error)
Execute executes the request
@return EnvironmentRead
func (*EnvironmentsApiService) ListEnvironments ¶
func (a *EnvironmentsApiService) ListEnvironments(ctx context.Context, projId string) ApiListEnvironmentsRequest
ListEnvironments List Environments
Lists all the environments under a given project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @return ApiListEnvironmentsRequest
func (*EnvironmentsApiService) ListEnvironmentsExecute ¶
func (a *EnvironmentsApiService) ListEnvironmentsExecute(r ApiListEnvironmentsRequest) ([]models.EnvironmentRead, *http.Response, error)
Execute executes the request
@return []EnvironmentRead
func (*EnvironmentsApiService) StatsEnvironments ¶
func (a *EnvironmentsApiService) StatsEnvironments(ctx context.Context, projId string, envId string) ApiStatsEnvironmentsRequest
StatsEnvironments Stats Environments
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiStatsEnvironmentsRequest
func (*EnvironmentsApiService) StatsEnvironmentsExecute ¶
func (a *EnvironmentsApiService) StatsEnvironmentsExecute(r ApiStatsEnvironmentsRequest) (*models.EnvironmentStats, *http.Response, error)
Execute executes the request
@return EnvironmentStats
func (*EnvironmentsApiService) UpdateEnvironment ¶
func (a *EnvironmentsApiService) UpdateEnvironment(ctx context.Context, projId string, envId string) ApiUpdateEnvironmentRequest
UpdateEnvironment Update Environment
Updates the environment.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiUpdateEnvironmentRequest
func (*EnvironmentsApiService) UpdateEnvironmentExecute ¶
func (a *EnvironmentsApiService) UpdateEnvironmentExecute(r ApiUpdateEnvironmentRequest) (*models.EnvironmentRead, *http.Response, error)
Execute executes the request
@return EnvironmentRead
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type ImplicitGrantsAPIService ¶ added in v1.0.5
type ImplicitGrantsAPIService service
ImplicitGrantsAPIService ImplicitGrantsAPI service
func (*ImplicitGrantsAPIService) CreateImplicitGrant ¶ added in v1.0.5
func (a *ImplicitGrantsAPIService) CreateImplicitGrant(ctx context.Context, projId string, envId string, resourceId string, roleId string) ApiCreateImplicitGrantRequest
CreateImplicitGrant Create Implicit Grant
Creates an implicit grant on a given role
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param resourceId Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\"). @param roleId Either the unique id of the role, or the URL-friendly key of the role (i.e: the \"slug\"). @return ApiCreateImplicitGrantRequest
func (*ImplicitGrantsAPIService) CreateImplicitGrantExecute ¶ added in v1.0.5
func (a *ImplicitGrantsAPIService) CreateImplicitGrantExecute(r ApiCreateImplicitGrantRequest) (*models.DerivedRoleRuleRead, *http.Response, error)
Execute executes the request
@return DerivedRoleRuleRead
func (*ImplicitGrantsAPIService) DeleteImplicitGrant ¶ added in v1.0.5
func (a *ImplicitGrantsAPIService) DeleteImplicitGrant(ctx context.Context, projId string, envId string, roleId string, resourceId string) ApiDeleteImplicitGrantRequest
DeleteImplicitGrant Delete Implicit Grant
Deletes an implicit grant on a given role
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param roleId Either the unique id of the role, or the URL-friendly key of the role (i.e: the \"slug\"). @param resourceId Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\"). @return ApiDeleteImplicitGrantRequest
func (*ImplicitGrantsAPIService) DeleteImplicitGrantExecute ¶ added in v1.0.5
func (a *ImplicitGrantsAPIService) DeleteImplicitGrantExecute(r ApiDeleteImplicitGrantRequest) (*http.Response, error)
Execute executes the request
func (*ImplicitGrantsAPIService) UpdateImplicitGrantsConditions ¶ added in v1.0.5
func (a *ImplicitGrantsAPIService) UpdateImplicitGrantsConditions(ctx context.Context, projId string, envId string, resourceId string, roleId string) ApiUpdateImplicitGrantsConditionsRequest
UpdateImplicitGrantsConditions Update Implicit Grants Conditions
Update the `when` for implicit grants on a given role
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param resourceId Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\"). @param roleId Either the unique id of the role, or the URL-friendly key of the role (i.e: the \"slug\"). @return ApiUpdateImplicitGrantsConditionsRequest
func (*ImplicitGrantsAPIService) UpdateImplicitGrantsConditionsExecute ¶ added in v1.0.5
func (a *ImplicitGrantsAPIService) UpdateImplicitGrantsConditionsExecute(r ApiUpdateImplicitGrantsConditionsRequest) (*models.PermitBackendSchemasSchemaDerivedRoleRuleDerivationSettings, *http.Response, error)
Execute executes the request
@return PermitBackendSchemasSchemaDerivedRoleRuleDerivationSettings
type InstructionsApiService ¶
type InstructionsApiService service
InstructionsApiService InstructionsApi service
func (*InstructionsApiService) ListLanguageInstructions ¶
func (a *InstructionsApiService) ListLanguageInstructions(ctx context.Context, projId string, envId string) ApiListLanguageInstructionsRequest
ListLanguageInstructions List Language Instructions
Lists pending organization invites
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiListLanguageInstructionsRequest
func (*InstructionsApiService) ListLanguageInstructionsExecute ¶
func (a *InstructionsApiService) ListLanguageInstructionsExecute(r ApiListLanguageInstructionsRequest) ([]models.LanguageInstructions, *http.Response, error)
Execute executes the request
@return []LanguageInstructions
type MembersApiService ¶
type MembersApiService service
MembersApiService MembersApi service
func (*MembersApiService) DeleteOrganizationMember ¶
func (a *MembersApiService) DeleteOrganizationMember(ctx context.Context, memberId string) ApiDeleteOrganizationMemberRequest
DeleteOrganizationMember Delete Organization Member
Deletes an account member matching the given id or email address. The member will be removed from the active account in permit.io.
If the member is the only member in its account (organization), returns 400 (bad request), due to nobody remains with access to the account, meaning deletion of the entire account (org). To completely remove an account, call DELETE `/orgs/{org}`.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param memberId Either the unique id (UUID) of the account member, or the email address of the account member. @return ApiDeleteOrganizationMemberRequest
func (*MembersApiService) DeleteOrganizationMemberExecute ¶
func (a *MembersApiService) DeleteOrganizationMemberExecute(r ApiDeleteOrganizationMemberRequest) (*http.Response, error)
Execute executes the request
func (*MembersApiService) GetAuthenticatedMember ¶
func (a *MembersApiService) GetAuthenticatedMember(ctx context.Context) ApiGetAuthenticatedMemberRequest
GetAuthenticatedMember Get the authenticated account member
Gets the authenticated account member's details.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetAuthenticatedMemberRequest
func (*MembersApiService) GetAuthenticatedMemberExecute ¶
func (a *MembersApiService) GetAuthenticatedMemberExecute(r ApiGetAuthenticatedMemberRequest) (*models.OrgMemberRead, *http.Response, error)
Execute executes the request
@return OrgMemberRead
func (*MembersApiService) GetOrganizationMember ¶
func (a *MembersApiService) GetOrganizationMember(ctx context.Context, memberId string) ApiGetOrganizationMemberRequest
GetOrganizationMember Get Organization Member
Gets a single account member by its id or email address. matching the given member, if no such member exists under the current active account (organization), returns 404.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param memberId Either the unique id (UUID) of the account member, or the email address of the account member. @return ApiGetOrganizationMemberRequest
func (*MembersApiService) GetOrganizationMemberExecute ¶
func (a *MembersApiService) GetOrganizationMemberExecute(r ApiGetOrganizationMemberRequest) (*models.OrgMemberRead, *http.Response, error)
Execute executes the request
@return OrgMemberRead
func (*MembersApiService) ListOrganizationMembers ¶
func (a *MembersApiService) ListOrganizationMembers(ctx context.Context) ApiListOrganizationMembersRequest
ListOrganizationMembers List Organization Members
Lists all the account members that have access to the current active account. The active account/organization is determined by the API Key used or by the authenticated session id.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListOrganizationMembersRequest
func (*MembersApiService) ListOrganizationMembersExecute ¶
func (a *MembersApiService) ListOrganizationMembersExecute(r ApiListOrganizationMembersRequest) ([]models.OrgMemberRead, *http.Response, error)
Execute executes the request
@return []OrgMemberRead
func (*MembersApiService) UpdateOrganizationMember ¶
func (a *MembersApiService) UpdateOrganizationMember(ctx context.Context, memberId string) ApiUpdateOrganizationMemberRequest
UpdateOrganizationMember Update Organization Member
Updates an account member's settings.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param memberId Either the unique id (UUID) of the account member, or the email address of the account member. @return ApiUpdateOrganizationMemberRequest
func (*MembersApiService) UpdateOrganizationMemberExecute ¶
func (a *MembersApiService) UpdateOrganizationMemberExecute(r ApiUpdateOrganizationMemberRequest) (*models.OrgMemberRead, *http.Response, error)
Execute executes the request
@return OrgMemberRead
type OPALDataApiService ¶
type OPALDataApiService service
OPALDataApiService OPALDataApi service
func (*OPALDataApiService) GetAllData ¶
func (a *OPALDataApiService) GetAllData(ctx context.Context, orgId string, projId string, envId string) ApiGetAllDataRequest
GetAllData Get All Data
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param orgId Either the unique id of the organization, or the URL-friendly key of the organization (i.e: the \"slug\"). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiGetAllDataRequest
func (*OPALDataApiService) GetAllDataExecute ¶
func (a *OPALDataApiService) GetAllDataExecute(r ApiGetAllDataRequest) (*models.FullData, *http.Response, error)
Execute executes the request
@return FullData
func (*OPALDataApiService) GetDataForRole ¶
func (a *OPALDataApiService) GetDataForRole(ctx context.Context, orgId string, projId string, envId string, roleId string) ApiGetDataForRoleRequest
GetDataForRole Get Data For Role
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param orgId Either the unique id of the organization, or the URL-friendly key of the organization (i.e: the \"slug\"). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param roleId @return ApiGetDataForRoleRequest
func (*OPALDataApiService) GetDataForRoleExecute ¶
func (a *OPALDataApiService) GetDataForRoleExecute(r ApiGetDataForRoleRequest) (*models.RoleData, *http.Response, error)
Execute executes the request
@return RoleData
func (*OPALDataApiService) GetDataForSetRule ¶
func (a *OPALDataApiService) GetDataForSetRule(ctx context.Context, orgId string, projId string, envId string, userSetId string, resourceSetId string) ApiGetDataForSetRuleRequest
GetDataForSetRule Get Data For Set Rule
return permission assignment data between user sets and resource sets (i.e: condition set rules data)
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param orgId Either the unique id of the organization, or the URL-friendly key of the organization (i.e: the \"slug\"). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param userSetId @param resourceSetId @return ApiGetDataForSetRuleRequest
func (*OPALDataApiService) GetDataForSetRuleExecute ¶
func (a *OPALDataApiService) GetDataForSetRuleExecute(r ApiGetDataForSetRuleRequest) (*map[string][]string, *http.Response, error)
Execute executes the request
@return map[string][]string
func (*OPALDataApiService) GetDataForUser ¶
func (a *OPALDataApiService) GetDataForUser(ctx context.Context, orgId string, projId string, envId string, userId string) ApiGetDataForUserRequest
GetDataForUser Get Data For User
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param orgId Either the unique id of the organization, or the URL-friendly key of the organization (i.e: the \"slug\"). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param userId @return ApiGetDataForUserRequest
func (*OPALDataApiService) GetDataForUserExecute ¶
func (a *OPALDataApiService) GetDataForUserExecute(r ApiGetDataForUserRequest) (*models.UserData, *http.Response, error)
Execute executes the request
@return UserData
type OrganizationsApiService ¶
type OrganizationsApiService service
OrganizationsApiService OrganizationsApi service
func (*OrganizationsApiService) CancelInvite ¶
func (a *OrganizationsApiService) CancelInvite(ctx context.Context, orgId string, inviteId string) ApiCancelInviteRequest
CancelInvite Cancel Invite
Cancels an invite that was sent to a new member.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param orgId Either the unique id of the organization, or the URL-friendly key of the organization (i.e: the \"slug\"). @param inviteId Id of the invite to cancel @return ApiCancelInviteRequest
func (*OrganizationsApiService) CancelInviteExecute ¶
func (a *OrganizationsApiService) CancelInviteExecute(r ApiCancelInviteRequest) (*http.Response, error)
Execute executes the request
func (*OrganizationsApiService) CreateOrganization ¶
func (a *OrganizationsApiService) CreateOrganization(ctx context.Context) ApiCreateOrganizationRequest
CreateOrganization Create Organization
Creates a new organization that will be owned by the authenticated actor (i.e: human team member or api key).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateOrganizationRequest
func (*OrganizationsApiService) CreateOrganizationExecute ¶
func (a *OrganizationsApiService) CreateOrganizationExecute(r ApiCreateOrganizationRequest) (*models.OrganizationReadWithAPIKey, *http.Response, error)
Execute executes the request
@return OrganizationReadWithAPIKey
func (*OrganizationsApiService) DeleteOrganization ¶
func (a *OrganizationsApiService) DeleteOrganization(ctx context.Context, orgId string) ApiDeleteOrganizationRequest
DeleteOrganization Delete Organization
Deletes an organization (Permit.io account) and all its related data.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param orgId Either the unique id of the organization, or the URL-friendly key of the organization (i.e: the \"slug\"). @return ApiDeleteOrganizationRequest
func (*OrganizationsApiService) DeleteOrganizationExecute ¶
func (a *OrganizationsApiService) DeleteOrganizationExecute(r ApiDeleteOrganizationRequest) (*http.Response, error)
Execute executes the request
func (*OrganizationsApiService) GetActiveOrganization ¶
func (a *OrganizationsApiService) GetActiveOrganization(ctx context.Context) ApiGetActiveOrganizationRequest
GetActiveOrganization Get Active Organization
Gets a single organization (Permit.io account) matching the given org_id, if such org exists and can be accessed by the authenticated actor.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetActiveOrganizationRequest
func (*OrganizationsApiService) GetActiveOrganizationExecute ¶
func (a *OrganizationsApiService) GetActiveOrganizationExecute(r ApiGetActiveOrganizationRequest) (*models.OrganizationRead, *http.Response, error)
Execute executes the request
@return OrganizationRead
func (*OrganizationsApiService) GetOrganization ¶
func (a *OrganizationsApiService) GetOrganization(ctx context.Context, orgId string) ApiGetOrganizationRequest
GetOrganization Get Organization
Gets a single organization (Permit.io account) matching the given org_id, if such org exists and can be accessed by the authenticated actor.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param orgId Either the unique id of the organization, or the URL-friendly key of the organization (i.e: the \"slug\"). @return ApiGetOrganizationRequest
func (*OrganizationsApiService) GetOrganizationExecute ¶
func (a *OrganizationsApiService) GetOrganizationExecute(r ApiGetOrganizationRequest) (*models.OrganizationRead, *http.Response, error)
Execute executes the request
@return OrganizationRead
func (*OrganizationsApiService) InviteMembersToOrganization ¶
func (a *OrganizationsApiService) InviteMembersToOrganization(ctx context.Context, orgId string) ApiInviteMembersToOrganizationRequest
InviteMembersToOrganization Invite Members To Organization
Invite new members into the organization.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param orgId Either the unique id of the organization, or the URL-friendly key of the organization (i.e: the \"slug\"). @return ApiInviteMembersToOrganizationRequest
func (*OrganizationsApiService) InviteMembersToOrganizationExecute ¶
func (a *OrganizationsApiService) InviteMembersToOrganizationExecute(r ApiInviteMembersToOrganizationRequest) (*models.MultiInviteResult, *http.Response, error)
Execute executes the request
@return MultiInviteResult
func (*OrganizationsApiService) ListOrganizationInvites ¶
func (a *OrganizationsApiService) ListOrganizationInvites(ctx context.Context, orgId string) ApiListOrganizationInvitesRequest
ListOrganizationInvites List Organization Invites
Lists pending organization invites
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param orgId Either the unique id of the organization, or the URL-friendly key of the organization (i.e: the \"slug\"). @return ApiListOrganizationInvitesRequest
func (*OrganizationsApiService) ListOrganizationInvitesExecute ¶
func (a *OrganizationsApiService) ListOrganizationInvitesExecute(r ApiListOrganizationInvitesRequest) ([]models.InviteRead, *http.Response, error)
Execute executes the request
@return []InviteRead
func (*OrganizationsApiService) ListOrganizations ¶
func (a *OrganizationsApiService) ListOrganizations(ctx context.Context) ApiListOrganizationsRequest
ListOrganizations List Organizations
Lists all the organizations that can be accessed by the authenticated actor (i.e: human team member or api key).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListOrganizationsRequest
func (*OrganizationsApiService) ListOrganizationsExecute ¶
func (a *OrganizationsApiService) ListOrganizationsExecute(r ApiListOrganizationsRequest) ([]models.OrganizationRead, *http.Response, error)
Execute executes the request
@return []OrganizationRead
func (*OrganizationsApiService) UpdateOrganization ¶
func (a *OrganizationsApiService) UpdateOrganization(ctx context.Context, orgId string) ApiUpdateOrganizationRequest
UpdateOrganization Update Organization
Updates the organization's profile.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param orgId Either the unique id of the organization, or the URL-friendly key of the organization (i.e: the \"slug\"). @return ApiUpdateOrganizationRequest
func (*OrganizationsApiService) UpdateOrganizationExecute ¶
func (a *OrganizationsApiService) UpdateOrganizationExecute(r ApiUpdateOrganizationRequest) (*models.OrganizationRead, *http.Response, error)
Execute executes the request
@return OrganizationRead
type PolicyApiService ¶
type PolicyApiService service
PolicyApiService PolicyApi service
func (*PolicyApiService) GetOpalDataSources ¶
func (a *PolicyApiService) GetOpalDataSources(ctx context.Context) ApiGetOpalDataSourcesRequest
GetOpalDataSources Get Opal Data Sources
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetOpalDataSourcesRequest
func (*PolicyApiService) GetOpalDataSourcesExecute ¶
func (a *PolicyApiService) GetOpalDataSourcesExecute(r ApiGetOpalDataSourcesRequest) (*models.DataSourceConfig, *http.Response, error)
Execute executes the request
@return DataSourceConfig
func (*PolicyApiService) GetOpalDataSourcesOpalDataConfigGet ¶
func (a *PolicyApiService) GetOpalDataSourcesOpalDataConfigGet(ctx context.Context) ApiGetOpalDataSourcesOpalDataConfigGetRequest
GetOpalDataSourcesOpalDataConfigGet Get Opal Data Sources
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetOpalDataSourcesOpalDataConfigGetRequest
func (*PolicyApiService) GetOpalDataSourcesOpalDataConfigGetExecute ¶
func (a *PolicyApiService) GetOpalDataSourcesOpalDataConfigGetExecute(r ApiGetOpalDataSourcesOpalDataConfigGetRequest) (*models.DataSourceConfig, *http.Response, error)
Execute executes the request
@return DataSourceConfig
type PolicyDecisionPointsApiService ¶
type PolicyDecisionPointsApiService service
PolicyDecisionPointsApiService PolicyDecisionPointsApi service
func (*PolicyDecisionPointsApiService) GetAuthenticatingPdpConfigValues ¶
func (a *PolicyDecisionPointsApiService) GetAuthenticatingPdpConfigValues(ctx context.Context) ApiGetAuthenticatingPdpConfigValuesRequest
GetAuthenticatingPdpConfigValues Get connected PDP configuration and push state
Gets the configuration values for the currently authenticated PDP container.
The PDP authenticates with an API key scoped to a given Permit.io environment. The system identifies the PDP via its API key and then returns all the configuration values required for the container to run correctly.
The config values returned are considered "overrides", meaning they are overriding any default values given to the container by the user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetAuthenticatingPdpConfigValuesRequest
func (*PolicyDecisionPointsApiService) GetAuthenticatingPdpConfigValuesExecute ¶
func (a *PolicyDecisionPointsApiService) GetAuthenticatingPdpConfigValuesExecute(r ApiGetAuthenticatingPdpConfigValuesRequest) (*models.RemoteConfig, *http.Response, error)
Execute executes the request
@return RemoteConfig
func (*PolicyDecisionPointsApiService) GetAuthenticatingPdpConfigValuesLegacy ¶
func (a *PolicyDecisionPointsApiService) GetAuthenticatingPdpConfigValuesLegacy(ctx context.Context) ApiGetAuthenticatingPdpConfigValuesLegacyRequest
GetAuthenticatingPdpConfigValuesLegacy Get connected PDP configuration
Gets the configuration values for the currently authenticated PDP container.
The PDP authenticates with an API key scoped to a given Permit.io environment. The system identifies the PDP via its API key and then returns all the configuration values required for the container to run correctly.
The config values returned are considered "overrides", meaning they are overriding any default values given to the container by the user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetAuthenticatingPdpConfigValuesLegacyRequest
func (*PolicyDecisionPointsApiService) GetAuthenticatingPdpConfigValuesLegacyExecute ¶
func (a *PolicyDecisionPointsApiService) GetAuthenticatingPdpConfigValuesLegacyExecute(r ApiGetAuthenticatingPdpConfigValuesLegacyRequest) (*models.RemoteConfig, *http.Response, error)
Execute executes the request
@return RemoteConfig
func (*PolicyDecisionPointsApiService) GetPdpConfigValues ¶
func (a *PolicyDecisionPointsApiService) GetPdpConfigValues(ctx context.Context, projId string, envId string, pdpId string) ApiGetPdpConfigValuesRequest
GetPdpConfigValues Get PDP configuration
Gets the configuration values for the PDP container with id `pdp_id`.
The config values returned are considered "overrides", meaning they are overriding any default values given to the container by the user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param pdpId The unique id of the pdp @return ApiGetPdpConfigValuesRequest
func (*PolicyDecisionPointsApiService) GetPdpConfigValuesExecute ¶
func (a *PolicyDecisionPointsApiService) GetPdpConfigValuesExecute(r ApiGetPdpConfigValuesRequest) (*models.RemoteConfig, *http.Response, error)
Execute executes the request
@return RemoteConfig
func (*PolicyDecisionPointsApiService) ListPdpConfigs ¶
func (a *PolicyDecisionPointsApiService) ListPdpConfigs(ctx context.Context, projId string, envId string) ApiListPdpConfigsRequest
ListPdpConfigs List PDP configurations
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiListPdpConfigsRequest
func (*PolicyDecisionPointsApiService) ListPdpConfigsExecute ¶
func (a *PolicyDecisionPointsApiService) ListPdpConfigsExecute(r ApiListPdpConfigsRequest) ([]models.PDPConfigRead, *http.Response, error)
Execute executes the request
@return []PDPConfigRead
func (*PolicyDecisionPointsApiService) RotatePdpApiKey ¶
func (a *PolicyDecisionPointsApiService) RotatePdpApiKey(ctx context.Context, projId string, envId string, pdpId string) ApiRotatePdpApiKeyRequest
RotatePdpApiKey Rotate PDP API Key
Rotates the API key of the PDP container with id `pdp_id`.
The rotation of the API key revokes the old API key and issues a new API key to the PDP.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param pdpId The unique id of the pdp @return ApiRotatePdpApiKeyRequest
func (*PolicyDecisionPointsApiService) RotatePdpApiKeyExecute ¶
func (a *PolicyDecisionPointsApiService) RotatePdpApiKeyExecute(r ApiRotatePdpApiKeyRequest) (*models.PDPConfigRead, *http.Response, error)
Execute executes the request
@return PDPConfigRead
type PolicyGitRepositoriesApiService ¶
type PolicyGitRepositoriesApiService service
PolicyGitRepositoriesApiService PolicyGitRepositoriesApi service
func (*PolicyGitRepositoriesApiService) ActivatePolicyRepo ¶
func (a *PolicyGitRepositoriesApiService) ActivatePolicyRepo(ctx context.Context, projId string, repoId string) ApiActivatePolicyRepoRequest
ActivatePolicyRepo Activate Policy Repo
Disable the currently active policy repo, this action means to turn off the gitops feature. If there is no active policy repo, this action will do nothing.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param repoId Either the unique id of the policy repo, or the URL-friendly key of the policy repo (i.e: the \"slug\"). @return ApiActivatePolicyRepoRequest
func (*PolicyGitRepositoriesApiService) ActivatePolicyRepoExecute ¶
func (a *PolicyGitRepositoriesApiService) ActivatePolicyRepoExecute(r ApiActivatePolicyRepoRequest) (*models.ProjectRead, *http.Response, error)
Execute executes the request
@return ProjectRead
func (*PolicyGitRepositoriesApiService) CreatePolicyRepo ¶
func (a *PolicyGitRepositoriesApiService) CreatePolicyRepo(ctx context.Context, projId string) ApiCreatePolicyRepoRequest
CreatePolicyRepo Create Policy Repo
Creates a new policy repository configuration under a given project. The given repository is created with status 'pending', it will be changed and used as the 'active' repository for the policy only after a successful attempt to use it. The repository main branch must be present in the remote.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @return ApiCreatePolicyRepoRequest
func (*PolicyGitRepositoriesApiService) CreatePolicyRepoExecute ¶
func (a *PolicyGitRepositoriesApiService) CreatePolicyRepoExecute(r ApiCreatePolicyRepoRequest) (*models.PolicyRepoRead, *http.Response, error)
Execute executes the request
@return PolicyRepoRead
func (*PolicyGitRepositoriesApiService) DeletePolicyRepo ¶
func (a *PolicyGitRepositoriesApiService) DeletePolicyRepo(ctx context.Context, projId string, repoId string) ApiDeletePolicyRepoRequest
DeletePolicyRepo Delete Policy Repo
Deletes an environment and all its related data.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param repoId Either the unique id of the policy repo, or the URL-friendly key of the policy repo (i.e: the \"slug\"). @return ApiDeletePolicyRepoRequest
func (*PolicyGitRepositoriesApiService) DeletePolicyRepoExecute ¶
func (a *PolicyGitRepositoriesApiService) DeletePolicyRepoExecute(r ApiDeletePolicyRepoRequest) (*http.Response, error)
Execute executes the request
func (*PolicyGitRepositoriesApiService) DisableActivePolicyRepo ¶
func (a *PolicyGitRepositoriesApiService) DisableActivePolicyRepo(ctx context.Context, projId string) ApiDisableActivePolicyRepoRequest
DisableActivePolicyRepo Disable Active Policy Repo
Disable the currently active policy repo, this action means to turn off the gitops feature. If there is no active policy repo, this action will do nothing.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @return ApiDisableActivePolicyRepoRequest
func (*PolicyGitRepositoriesApiService) DisableActivePolicyRepoExecute ¶
func (a *PolicyGitRepositoriesApiService) DisableActivePolicyRepoExecute(r ApiDisableActivePolicyRepoRequest) (*models.ProjectRead, *http.Response, error)
Execute executes the request
@return ProjectRead
func (*PolicyGitRepositoriesApiService) GetActivePolicyRepo ¶
func (a *PolicyGitRepositoriesApiService) GetActivePolicyRepo(ctx context.Context, projId string) ApiGetActivePolicyRepoRequest
GetActivePolicyRepo Get Active Policy Repo
Gets the currently active repository, if such repository exists.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @return ApiGetActivePolicyRepoRequest
func (*PolicyGitRepositoriesApiService) GetActivePolicyRepoExecute ¶
func (a *PolicyGitRepositoriesApiService) GetActivePolicyRepoExecute(r ApiGetActivePolicyRepoRequest) (*models.PolicyRepoRead, *http.Response, error)
Execute executes the request
@return PolicyRepoRead
func (*PolicyGitRepositoriesApiService) GetPolicyRepo ¶
func (a *PolicyGitRepositoriesApiService) GetPolicyRepo(ctx context.Context, projId string, repoId string) ApiGetPolicyRepoRequest
GetPolicyRepo Get Policy Repo
Gets a single repository matching the given repo_id, if such repository exists.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param repoId Either the unique id of the policy repo, or the URL-friendly key of the policy repo (i.e: the \"slug\"). @return ApiGetPolicyRepoRequest
func (*PolicyGitRepositoriesApiService) GetPolicyRepoExecute ¶
func (a *PolicyGitRepositoriesApiService) GetPolicyRepoExecute(r ApiGetPolicyRepoRequest) (*models.PolicyRepoRead, *http.Response, error)
Execute executes the request
@return PolicyRepoRead
func (*PolicyGitRepositoriesApiService) ListPolicyRepos ¶
func (a *PolicyGitRepositoriesApiService) ListPolicyRepos(ctx context.Context, projId string) ApiListPolicyReposRequest
ListPolicyRepos List Policy Repos
Lists all the policy repositories under a given project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @return ApiListPolicyReposRequest
func (*PolicyGitRepositoriesApiService) ListPolicyReposExecute ¶
func (a *PolicyGitRepositoriesApiService) ListPolicyReposExecute(r ApiListPolicyReposRequest) ([]models.PolicyRepoRead, *http.Response, error)
Execute executes the request
@return []PolicyRepoRead
type ProjectsApiService ¶
type ProjectsApiService service
ProjectsApiService ProjectsApi service
func (*ProjectsApiService) CreateProject ¶
func (a *ProjectsApiService) CreateProject(ctx context.Context) ApiCreateProjectRequest
CreateProject Create Project
Creates a new project under the active organization.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateProjectRequest
func (*ProjectsApiService) CreateProjectExecute ¶
func (a *ProjectsApiService) CreateProjectExecute(r ApiCreateProjectRequest) (*models.ProjectRead, *http.Response, error)
Execute executes the request
@return ProjectRead
func (*ProjectsApiService) DeleteProject ¶
func (a *ProjectsApiService) DeleteProject(ctx context.Context, projId string) ApiDeleteProjectRequest
DeleteProject Delete Project
Deletes the project and all its related data.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @return ApiDeleteProjectRequest
func (*ProjectsApiService) DeleteProjectExecute ¶
func (a *ProjectsApiService) DeleteProjectExecute(r ApiDeleteProjectRequest) (*http.Response, error)
Execute executes the request
func (*ProjectsApiService) GetProject ¶
func (a *ProjectsApiService) GetProject(ctx context.Context, projId string) ApiGetProjectRequest
GetProject Get Project
Gets a single project matching the given proj_id, if such project exists.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @return ApiGetProjectRequest
func (*ProjectsApiService) GetProjectExecute ¶
func (a *ProjectsApiService) GetProjectExecute(r ApiGetProjectRequest) (*models.ProjectRead, *http.Response, error)
Execute executes the request
@return ProjectRead
func (*ProjectsApiService) ListProjects ¶
func (a *ProjectsApiService) ListProjects(ctx context.Context) ApiListProjectsRequest
ListProjects List Projects
Lists all the projects under the active organization.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListProjectsRequest
func (*ProjectsApiService) ListProjectsExecute ¶
func (a *ProjectsApiService) ListProjectsExecute(r ApiListProjectsRequest) ([]models.ProjectRead, *http.Response, error)
Execute executes the request
@return []ProjectRead
func (*ProjectsApiService) UpdateProject ¶
func (a *ProjectsApiService) UpdateProject(ctx context.Context, projId string) ApiUpdateProjectRequest
UpdateProject Update Project
Updates the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @return ApiUpdateProjectRequest
func (*ProjectsApiService) UpdateProjectExecute ¶
func (a *ProjectsApiService) UpdateProjectExecute(r ApiUpdateProjectRequest) (*models.ProjectRead, *http.Response, error)
Execute executes the request
@return ProjectRead
type ProxyConfigAPIService ¶ added in v1.0.1
type ProxyConfigAPIService service
ProxyConfigAPIService ProxyConfigAPI service
func (*ProxyConfigAPIService) CreateProxyConfig ¶ added in v1.0.1
func (a *ProxyConfigAPIService) CreateProxyConfig(ctx context.Context, projId string, envId string) ApiCreateProxyConfigRequest
CreateProxyConfig Create Proxy Config
Creates a new proxy config inside the Permit.io system.
If the proxy config is already created: will return 200 instead of 201, and will return the existing proxy config object in the response body.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiCreateProxyConfigRequest
func (*ProxyConfigAPIService) CreateProxyConfigExecute ¶ added in v1.0.1
func (a *ProxyConfigAPIService) CreateProxyConfigExecute(r ApiCreateProxyConfigRequest) (*models.ProxyConfigRead, *http.Response, error)
Execute executes the request
@return ProxyConfigRead
func (*ProxyConfigAPIService) DeleteProxyConfig ¶ added in v1.0.1
func (a *ProxyConfigAPIService) DeleteProxyConfig(ctx context.Context, projId string, envId string, proxyConfigId string) ApiDeleteProxyConfigRequest
DeleteProxyConfig Delete Proxy Config
Deletes the proxy config and all its related data.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param proxyConfigId Either the unique id of the proxy config, or the URL-friendly key of the proxy config (i.e: the \"slug\"). @return ApiDeleteProxyConfigRequest
func (*ProxyConfigAPIService) DeleteProxyConfigExecute ¶ added in v1.0.1
func (a *ProxyConfigAPIService) DeleteProxyConfigExecute(r ApiDeleteProxyConfigRequest) (*http.Response, error)
Execute executes the request
func (*ProxyConfigAPIService) GetProxyConfig ¶ added in v1.0.1
func (a *ProxyConfigAPIService) GetProxyConfig(ctx context.Context, projId string, envId string, proxyConfigId string) ApiGetProxyConfigRequest
GetProxyConfig Get Proxy Config
Gets a proxy config, if such proxy config exists. Otherwise returns 404.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param proxyConfigId Either the unique id of the proxy config, or the URL-friendly key of the proxy config (i.e: the \"slug\"). @return ApiGetProxyConfigRequest
func (*ProxyConfigAPIService) GetProxyConfigExecute ¶ added in v1.0.1
func (a *ProxyConfigAPIService) GetProxyConfigExecute(r ApiGetProxyConfigRequest) (*models.ProxyConfigRead, *http.Response, error)
Execute executes the request
@return ProxyConfigRead
func (*ProxyConfigAPIService) ListProxyConfigs ¶ added in v1.0.1
func (a *ProxyConfigAPIService) ListProxyConfigs(ctx context.Context, projId string, envId string) ApiListProxyConfigsRequest
ListProxyConfigs List Proxy Configs
Lists all the proxy configs defined within an environment.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiListProxyConfigsRequest
func (*ProxyConfigAPIService) ListProxyConfigsExecute ¶ added in v1.0.1
func (a *ProxyConfigAPIService) ListProxyConfigsExecute(r ApiListProxyConfigsRequest) ([]models.ProxyConfigRead, *http.Response, error)
Execute executes the request
@return []ProxyConfigRead
func (*ProxyConfigAPIService) UpdateProxyConfig ¶ added in v1.0.1
func (a *ProxyConfigAPIService) UpdateProxyConfig(ctx context.Context, projId string, envId string, proxyConfigId string) ApiUpdateProxyConfigRequest
UpdateProxyConfig Update Proxy Config
Partially updates the proxy config definition. Fields that will be provided will be completely overwritten.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param proxyConfigId Either the unique id of the proxy config, or the URL-friendly key of the proxy config (i.e: the \"slug\"). @return ApiUpdateProxyConfigRequest
func (*ProxyConfigAPIService) UpdateProxyConfigExecute ¶ added in v1.0.1
func (a *ProxyConfigAPIService) UpdateProxyConfigExecute(r ApiUpdateProxyConfigRequest) (*models.ProxyConfigRead, *http.Response, error)
Execute executes the request
@return ProxyConfigRead
type RelationshipTuplesAPIService ¶ added in v1.0.5
type RelationshipTuplesAPIService service
RelationshipTuplesAPIService RelationshipTuplesAPI service
func (*RelationshipTuplesAPIService) BulkCreateRelationshipTuples ¶ added in v1.0.5
func (a *RelationshipTuplesAPIService) BulkCreateRelationshipTuples(ctx context.Context, projId string, envId string) ApiBulkCreateRelationshipTuplesRequest
BulkCreateRelationshipTuples Bulk Create Relationship Tuples
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiBulkCreateRelationshipTuplesRequest
func (*RelationshipTuplesAPIService) BulkCreateRelationshipTuplesExecute ¶ added in v1.0.5
func (a *RelationshipTuplesAPIService) BulkCreateRelationshipTuplesExecute(r ApiBulkCreateRelationshipTuplesRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
func (*RelationshipTuplesAPIService) BulkDeleteRelationshipTuples ¶ added in v1.0.5
func (a *RelationshipTuplesAPIService) BulkDeleteRelationshipTuples(ctx context.Context, projId string, envId string) ApiBulkDeleteRelationshipTuplesRequest
BulkDeleteRelationshipTuples Bulk Delete Relationship Tuples
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiBulkDeleteRelationshipTuplesRequest
func (*RelationshipTuplesAPIService) BulkDeleteRelationshipTuplesExecute ¶ added in v1.0.5
func (a *RelationshipTuplesAPIService) BulkDeleteRelationshipTuplesExecute(r ApiBulkDeleteRelationshipTuplesRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
func (*RelationshipTuplesAPIService) CreateRelationshipTuple ¶ added in v1.0.5
func (a *RelationshipTuplesAPIService) CreateRelationshipTuple(ctx context.Context, projId string, envId string) ApiCreateRelationshipTupleRequest
CreateRelationshipTuple Create Relationship Tuple
Create a relationship between two resource instances using a relation.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiCreateRelationshipTupleRequest
func (*RelationshipTuplesAPIService) CreateRelationshipTupleExecute ¶ added in v1.0.5
func (a *RelationshipTuplesAPIService) CreateRelationshipTupleExecute(r ApiCreateRelationshipTupleRequest) (*models.RelationshipTupleRead, *http.Response, error)
Execute executes the request
@return RelationshipTupleRead
func (*RelationshipTuplesAPIService) DeleteRelationshipTuple ¶ added in v1.0.5
func (a *RelationshipTuplesAPIService) DeleteRelationshipTuple(ctx context.Context, projId string, envId string) ApiDeleteRelationshipTupleRequest
DeleteRelationshipTuple Delete Relationship Tuple
Delete a relationship between two resource instances.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiDeleteRelationshipTupleRequest
func (*RelationshipTuplesAPIService) DeleteRelationshipTupleExecute ¶ added in v1.0.5
func (a *RelationshipTuplesAPIService) DeleteRelationshipTupleExecute(r ApiDeleteRelationshipTupleRequest) (*http.Response, error)
Execute executes the request
func (*RelationshipTuplesAPIService) ListRelationshipTuples ¶ added in v1.0.5
func (a *RelationshipTuplesAPIService) ListRelationshipTuples(ctx context.Context, projId string, envId string) ApiListRelationshipTuplesRequest
ListRelationshipTuples List Relationship Tuples
Lists the relationship tuples defined within an environment.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiListRelationshipTuplesRequest
func (*RelationshipTuplesAPIService) ListRelationshipTuplesExecute ¶ added in v1.0.5
func (a *RelationshipTuplesAPIService) ListRelationshipTuplesExecute(r ApiListRelationshipTuplesRequest) ([]models.RelationshipTupleRead, *http.Response, error)
Execute executes the request
@return []RelationshipTupleRead
type ResourceActionGroupsApiService ¶ added in v0.0.10
type ResourceActionGroupsApiService service
ResourceActionGroupsApiService ResourceActionGroupsApi service
func (*ResourceActionGroupsApiService) CreateResourceActionGroup ¶ added in v0.0.10
func (a *ResourceActionGroupsApiService) CreateResourceActionGroup(ctx context.Context, projId string, envId string, resourceId string) ApiCreateResourceActionGroupRequest
CreateResourceActionGroup Create Resource Action Group
Creates a new action group that can affect the resource.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param resourceId Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\"). @return ApiCreateResourceActionGroupRequest
func (*ResourceActionGroupsApiService) CreateResourceActionGroupExecute ¶ added in v0.0.10
func (a *ResourceActionGroupsApiService) CreateResourceActionGroupExecute(r ApiCreateResourceActionGroupRequest) (*models.ResourceActionGroupRead, *http.Response, error)
Execute executes the request
@return ResourceActionGroupRead
func (*ResourceActionGroupsApiService) DeleteResourceActionGroup ¶ added in v0.0.10
func (a *ResourceActionGroupsApiService) DeleteResourceActionGroup(ctx context.Context, projId string, envId string, resourceId string, actionGroupId string) ApiDeleteResourceActionGroupRequest
DeleteResourceActionGroup Delete Resource Action Group
Deletes the action and all its related data. This includes any permissions granted to perform the action.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param resourceId Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\"). @param actionGroupId Either the unique id of the action group, or the URL-friendly key of the action group (i.e: the \"slug\"). @return ApiDeleteResourceActionGroupRequest
func (*ResourceActionGroupsApiService) DeleteResourceActionGroupExecute ¶ added in v0.0.10
func (a *ResourceActionGroupsApiService) DeleteResourceActionGroupExecute(r ApiDeleteResourceActionGroupRequest) (*http.Response, error)
Execute executes the request
func (*ResourceActionGroupsApiService) GetResourceActionGroup ¶ added in v0.0.10
func (a *ResourceActionGroupsApiService) GetResourceActionGroup(ctx context.Context, projId string, envId string, resourceId string, actionGroupId string) ApiGetResourceActionGroupRequest
GetResourceActionGroup Get Resource Action Group
Gets a single action group defined on the resource, if such action exists.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param resourceId Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\"). @param actionGroupId Either the unique id of the action group, or the URL-friendly key of the action group (i.e: the \"slug\"). @return ApiGetResourceActionGroupRequest
func (*ResourceActionGroupsApiService) GetResourceActionGroupExecute ¶ added in v0.0.10
func (a *ResourceActionGroupsApiService) GetResourceActionGroupExecute(r ApiGetResourceActionGroupRequest) (*models.ResourceActionGroupRead, *http.Response, error)
Execute executes the request
@return ResourceActionGroupRead
func (*ResourceActionGroupsApiService) ListResourceActionGroups ¶ added in v0.0.10
func (a *ResourceActionGroupsApiService) ListResourceActionGroups(ctx context.Context, projId string, envId string, resourceId string) ApiListResourceActionGroupsRequest
ListResourceActionGroups List Resource Action Groups
Lists all the action groups defined on the resource.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param resourceId Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\"). @return ApiListResourceActionGroupsRequest
func (*ResourceActionGroupsApiService) ListResourceActionGroupsExecute ¶ added in v0.0.10
func (a *ResourceActionGroupsApiService) ListResourceActionGroupsExecute(r ApiListResourceActionGroupsRequest) ([]models.ResourceActionGroupRead, *http.Response, error)
Execute executes the request
@return []ResourceActionGroupRead
type ResourceActionsApiService ¶
type ResourceActionsApiService service
ResourceActionsApiService ResourceActionsApi service
func (*ResourceActionsApiService) CreateResourceAction ¶
func (a *ResourceActionsApiService) CreateResourceAction(ctx context.Context, projId string, envId string, resourceId string) ApiCreateResourceActionRequest
CreateResourceAction Create Resource Action
Creates a new action that can affect the resource.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param resourceId Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\"). @return ApiCreateResourceActionRequest
func (*ResourceActionsApiService) CreateResourceActionExecute ¶
func (a *ResourceActionsApiService) CreateResourceActionExecute(r ApiCreateResourceActionRequest) (*models.ResourceActionRead, *http.Response, error)
Execute executes the request
@return ResourceActionRead
func (*ResourceActionsApiService) DeleteResourceAction ¶
func (a *ResourceActionsApiService) DeleteResourceAction(ctx context.Context, projId string, envId string, resourceId string, actionId string) ApiDeleteResourceActionRequest
DeleteResourceAction Delete Resource Action
Deletes the action and all its related data. This includes any permissions granted to perform the action.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param resourceId Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\"). @param actionId Either the unique id of the action, or the URL-friendly key of the action (i.e: the \"slug\"). @return ApiDeleteResourceActionRequest
func (*ResourceActionsApiService) DeleteResourceActionExecute ¶
func (a *ResourceActionsApiService) DeleteResourceActionExecute(r ApiDeleteResourceActionRequest) (*http.Response, error)
Execute executes the request
func (*ResourceActionsApiService) GetResourceAction ¶
func (a *ResourceActionsApiService) GetResourceAction(ctx context.Context, projId string, envId string, resourceId string, actionId string) ApiGetResourceActionRequest
GetResourceAction Get Resource Action
Gets a single action defined on the resource, if such action exists.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param resourceId Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\"). @param actionId Either the unique id of the action, or the URL-friendly key of the action (i.e: the \"slug\"). @return ApiGetResourceActionRequest
func (*ResourceActionsApiService) GetResourceActionExecute ¶
func (a *ResourceActionsApiService) GetResourceActionExecute(r ApiGetResourceActionRequest) (*models.ResourceActionRead, *http.Response, error)
Execute executes the request
@return ResourceActionRead
func (*ResourceActionsApiService) ListResourceActions ¶
func (a *ResourceActionsApiService) ListResourceActions(ctx context.Context, projId string, envId string, resourceId string) ApiListResourceActionsRequest
ListResourceActions List Resource Actions
Lists all the actions defined on the resource.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param resourceId Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\"). @return ApiListResourceActionsRequest
func (*ResourceActionsApiService) ListResourceActionsExecute ¶
func (a *ResourceActionsApiService) ListResourceActionsExecute(r ApiListResourceActionsRequest) ([]models.ResourceActionRead, *http.Response, error)
Execute executes the request
@return []ResourceActionRead
func (*ResourceActionsApiService) UpdateResourceAction ¶
func (a *ResourceActionsApiService) UpdateResourceAction(ctx context.Context, projId string, envId string, resourceId string, actionId string) ApiUpdateResourceActionRequest
UpdateResourceAction Update Resource Action
Partially updates the action defined on a resource. Fields that will be provided will be completely overwritten.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param resourceId Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\"). @param actionId Either the unique id of the action, or the URL-friendly key of the action (i.e: the \"slug\"). @return ApiUpdateResourceActionRequest
func (*ResourceActionsApiService) UpdateResourceActionExecute ¶
func (a *ResourceActionsApiService) UpdateResourceActionExecute(r ApiUpdateResourceActionRequest) (*models.ResourceActionRead, *http.Response, error)
Execute executes the request
@return ResourceActionRead
type ResourceAttributesApiService ¶
type ResourceAttributesApiService service
ResourceAttributesApiService ResourceAttributesApi service
func (*ResourceAttributesApiService) CreateResourceAttribute ¶
func (a *ResourceAttributesApiService) CreateResourceAttribute(ctx context.Context, projId string, envId string, resourceId string) ApiCreateResourceAttributeRequest
CreateResourceAttribute Create Resource Attribute
Creates a new attribute as part of the resource definition.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param resourceId Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\"). @return ApiCreateResourceAttributeRequest
func (*ResourceAttributesApiService) CreateResourceAttributeExecute ¶
func (a *ResourceAttributesApiService) CreateResourceAttributeExecute(r ApiCreateResourceAttributeRequest) (*models.ResourceAttributeRead, *http.Response, error)
Execute executes the request
@return ResourceAttributeRead
func (*ResourceAttributesApiService) DeleteResourceAttribute ¶
func (a *ResourceAttributesApiService) DeleteResourceAttribute(ctx context.Context, projId string, envId string, resourceId string, attributeId string) ApiDeleteResourceAttributeRequest
DeleteResourceAttribute Delete Resource Attribute
Deletes the attribute and all its related data.
Note: If the attribute is used by policies, removing it will cause the attribute to evaluate as `undefined`.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param resourceId Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\"). @param attributeId Either the unique id of the attribute, or the URL-friendly key of the attribute (i.e: the \"slug\"). @return ApiDeleteResourceAttributeRequest
func (*ResourceAttributesApiService) DeleteResourceAttributeExecute ¶
func (a *ResourceAttributesApiService) DeleteResourceAttributeExecute(r ApiDeleteResourceAttributeRequest) (*http.Response, error)
Execute executes the request
func (*ResourceAttributesApiService) GetResourceAttribute ¶
func (a *ResourceAttributesApiService) GetResourceAttribute(ctx context.Context, projId string, envId string, resourceId string, attributeId string) ApiGetResourceAttributeRequest
GetResourceAttribute Get Resource Attribute
Gets a single attribute defined on the resource, if such attribute exists.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param resourceId Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\"). @param attributeId Either the unique id of the attribute, or the URL-friendly key of the attribute (i.e: the \"slug\"). @return ApiGetResourceAttributeRequest
func (*ResourceAttributesApiService) GetResourceAttributeExecute ¶
func (a *ResourceAttributesApiService) GetResourceAttributeExecute(r ApiGetResourceAttributeRequest) (*models.ResourceAttributeRead, *http.Response, error)
Execute executes the request
@return ResourceAttributeRead
func (*ResourceAttributesApiService) ListResourceAttributes ¶
func (a *ResourceAttributesApiService) ListResourceAttributes(ctx context.Context, projId string, envId string, resourceId string) ApiListResourceAttributesRequest
ListResourceAttributes List Resource Attributes
Lists all the attributes defined on the resource.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param resourceId Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\"). @return ApiListResourceAttributesRequest
func (*ResourceAttributesApiService) ListResourceAttributesExecute ¶
func (a *ResourceAttributesApiService) ListResourceAttributesExecute(r ApiListResourceAttributesRequest) ([]models.ResourceAttributeRead, *http.Response, error)
Execute executes the request
@return []ResourceAttributeRead
func (*ResourceAttributesApiService) UpdateResourceAttribute ¶
func (a *ResourceAttributesApiService) UpdateResourceAttribute(ctx context.Context, projId string, envId string, resourceId string, attributeId string) ApiUpdateResourceAttributeRequest
UpdateResourceAttribute Update Resource Attribute
Partially updates the attribute defined on a resource. Fields that will be provided will be completely overwritten.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param resourceId Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\"). @param attributeId Either the unique id of the attribute, or the URL-friendly key of the attribute (i.e: the \"slug\"). @return ApiUpdateResourceAttributeRequest
func (*ResourceAttributesApiService) UpdateResourceAttributeExecute ¶
func (a *ResourceAttributesApiService) UpdateResourceAttributeExecute(r ApiUpdateResourceAttributeRequest) (*models.ResourceAttributeRead, *http.Response, error)
Execute executes the request
@return ResourceAttributeRead
type ResourceInstancesApiService ¶
type ResourceInstancesApiService service
ResourceInstancesApiService ResourceInstancesAPI service
func (*ResourceInstancesApiService) CreateResourceInstance ¶
func (a *ResourceInstancesApiService) CreateResourceInstance(ctx context.Context, projId string, envId string) ApiCreateResourceInstanceRequest
CreateResourceInstance Create Resource Instance
Creates a new instance inside the Permit.io system.
If the instance is already created: will return 200 instead of 201, and will return the existing instance object in the response body.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiCreateResourceInstanceRequest
func (*ResourceInstancesApiService) CreateResourceInstanceExecute ¶
func (a *ResourceInstancesApiService) CreateResourceInstanceExecute(r ApiCreateResourceInstanceRequest) (*models.ResourceInstanceRead, *http.Response, error)
Execute executes the request
@return ResourceInstanceRead
func (*ResourceInstancesApiService) DeleteResourceInstance ¶
func (a *ResourceInstancesApiService) DeleteResourceInstance(ctx context.Context, projId string, envId string, instanceId string) ApiDeleteResourceInstanceRequest
DeleteResourceInstance Delete Resource Instance
Deletes the instance and all its related data.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param instanceId Either the unique id of the resource instance, or the URL-friendly key of the resource instance (i.e: the \"slug\"). @return ApiDeleteResourceInstanceRequest
func (*ResourceInstancesApiService) DeleteResourceInstanceExecute ¶
func (a *ResourceInstancesApiService) DeleteResourceInstanceExecute(r ApiDeleteResourceInstanceRequest) (*http.Response, error)
Execute executes the request
func (*ResourceInstancesApiService) GetResourceInstance ¶
func (a *ResourceInstancesApiService) GetResourceInstance(ctx context.Context, projId string, envId string, instanceId string) ApiGetResourceInstanceRequest
GetResourceInstance Get Resource Instance
Gets a instance, if such instance exists. Otherwise returns 404.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param instanceId Either the unique id of the resource instance, or the URL-friendly key of the resource instance (i.e: the \"slug\"). @return ApiGetResourceInstanceRequest
func (*ResourceInstancesApiService) GetResourceInstanceExecute ¶
func (a *ResourceInstancesApiService) GetResourceInstanceExecute(r ApiGetResourceInstanceRequest) (*models.ResourceInstanceRead, *http.Response, error)
Execute executes the request
@return ResourceInstanceRead
func (*ResourceInstancesApiService) ListResourceInstances ¶
func (a *ResourceInstancesApiService) ListResourceInstances(ctx context.Context, projId string, envId string) ApiListResourceInstancesRequest
ListResourceInstances List Resource Instances
Lists all the resource instances defined within an environment.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiListResourceInstancesRequest
func (*ResourceInstancesApiService) ListResourceInstancesExecute ¶
func (a *ResourceInstancesApiService) ListResourceInstancesExecute(r ApiListResourceInstancesRequest) ([]models.ResourceInstanceRead, *http.Response, error)
Execute executes the request
@return []ResourceInstanceRead
func (*ResourceInstancesApiService) UpdateResourceInstance ¶
func (a *ResourceInstancesApiService) UpdateResourceInstance(ctx context.Context, projId string, envId string, instanceId string) ApiUpdateResourceInstanceRequest
UpdateResourceInstance Update Resource Instance
Partially updates the instance definition. Fields that will be provided will be completely overwritten.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param instanceId Either the unique id of the resource instance, or the URL-friendly key of the resource instance (i.e: the \"slug\"). @return ApiUpdateResourceInstanceRequest
func (*ResourceInstancesApiService) UpdateResourceInstanceExecute ¶
func (a *ResourceInstancesApiService) UpdateResourceInstanceExecute(r ApiUpdateResourceInstanceRequest) (*models.ResourceInstanceRead, *http.Response, error)
Execute executes the request
@return ResourceInstanceRead
type ResourceRelationsAPIService ¶ added in v1.0.5
type ResourceRelationsAPIService service
ResourceRelationsAPIService ResourceRelationsAPI service
func (*ResourceRelationsAPIService) CreateResourceRelation ¶ added in v1.0.5
func (a *ResourceRelationsAPIService) CreateResourceRelation(ctx context.Context, projId string, envId string, resourceId string) ApiCreateResourceRelationRequest
CreateResourceRelation Create Resource Relation
Creates a resource relation to another resource
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param resourceId Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\"). @return ApiCreateResourceRelationRequest
func (*ResourceRelationsAPIService) CreateResourceRelationExecute ¶ added in v1.0.5
func (a *ResourceRelationsAPIService) CreateResourceRelationExecute(r ApiCreateResourceRelationRequest) (*models.RelationRead, *http.Response, error)
Execute executes the request
@return RelationRead
func (*ResourceRelationsAPIService) DeleteResourceRelation ¶ added in v1.0.5
func (a *ResourceRelationsAPIService) DeleteResourceRelation(ctx context.Context, projId string, envId string, resourceId string, relationId string) ApiDeleteResourceRelationRequest
DeleteResourceRelation Delete Resource Relation
Deletes a resource relation
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param resourceId Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\"). @param relationId Either the unique id of the relation, or the URL-friendly key of the relation (i.e: the \"slug\"). @return ApiDeleteResourceRelationRequest
func (*ResourceRelationsAPIService) DeleteResourceRelationExecute ¶ added in v1.0.5
func (a *ResourceRelationsAPIService) DeleteResourceRelationExecute(r ApiDeleteResourceRelationRequest) (*http.Response, error)
Execute executes the request
func (*ResourceRelationsAPIService) GetResourceRelation ¶ added in v1.0.5
func (a *ResourceRelationsAPIService) GetResourceRelation(ctx context.Context, projId string, envId string, resourceId string, relationId string) ApiGetResourceRelationRequest
GetResourceRelation Get Resource Relation
Get a resource relation
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param resourceId Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\"). @param relationId Either the unique id of the relation, or the URL-friendly key of the relation (i.e: the \"slug\"). @return ApiGetResourceRelationRequest
func (*ResourceRelationsAPIService) GetResourceRelationExecute ¶ added in v1.0.5
func (a *ResourceRelationsAPIService) GetResourceRelationExecute(r ApiGetResourceRelationRequest) (*models.RelationRead, *http.Response, error)
Execute executes the request
@return RelationRead
func (*ResourceRelationsAPIService) ListResourceRelations ¶ added in v1.0.5
func (a *ResourceRelationsAPIService) ListResourceRelations(ctx context.Context, projId string, envId string, resourceId string) ApiListResourceRelationsRequest
ListResourceRelations List Resource Relations
List relations on a given resource
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param resourceId Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\"). @return ApiListResourceRelationsRequest
func (*ResourceRelationsAPIService) ListResourceRelationsExecute ¶ added in v1.0.5
func (a *ResourceRelationsAPIService) ListResourceRelationsExecute(r ApiListResourceRelationsRequest) (*models.PaginatedResultRelationRead, *http.Response, error)
Execute executes the request
@return PaginatedResultRelationRead
type ResourceRolesApiService ¶
type ResourceRolesApiService service
ResourceRolesApiService ResourceRolesAPI service
func (*ResourceRolesApiService) AddParentResourceRole ¶
func (a *ResourceRolesApiService) AddParentResourceRole(ctx context.Context, projId string, envId string, resourceId string, roleId string, parentRoleId string) ApiAddParentResourceRoleRequest
AddParentResourceRole Add Parent Role
This endpoint is part of the role hierarchy feature.
Makes role with id `role_id` extend the role with id `parent_role_id`. In other words, `role_id` will automatically be assigned any permissions that are granted to `parent_role_id`.
We can say the `role_id` **extends** `parent_role_id` or **inherits** from `parent_role_id`.
If `role_id` is already an ancestor of `parent_role_id`, the request will fail with HTTP 400 to prevent a cycle in the role hierarchy.
Both roles must be defined on the same resource, identified by id `resource_id`.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param resourceId Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\"). @param roleId Either the unique id of the role, or the URL-friendly key of the role (i.e: the \"slug\"). @param parentRoleId Either the unique id of the parent role, or the URL-friendly key of the parent role (i.e: the \"slug\"). @return ApiAddParentResourceRoleRequest
func (*ResourceRolesApiService) AddParentResourceRoleExecute ¶
func (a *ResourceRolesApiService) AddParentResourceRoleExecute(r ApiAddParentResourceRoleRequest) (*models.ResourceRoleRead, *http.Response, error)
Execute executes the request
@return ResourceRoleRead
func (*ResourceRolesApiService) AssignPermissionsToResourceRole ¶
func (a *ResourceRolesApiService) AssignPermissionsToResourceRole(ctx context.Context, projId string, envId string, resourceId string, roleId string) ApiAssignPermissionsToResourceRoleRequest
AssignPermissionsToResourceRole Assign Permissions to Role
Assign permissions to role.
If some of the permissions specified are already assigned, will skip them.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param resourceId Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\"). @param roleId Either the unique id of the role, or the URL-friendly key of the role (i.e: the \"slug\"). @return ApiAssignPermissionsToResourceRoleRequest
func (*ResourceRolesApiService) AssignPermissionsToResourceRoleExecute ¶
func (a *ResourceRolesApiService) AssignPermissionsToResourceRoleExecute(r ApiAssignPermissionsToResourceRoleRequest) (*models.ResourceRoleRead, *http.Response, error)
Execute executes the request
@return ResourceRoleRead
func (*ResourceRolesApiService) CreateResourceRole ¶
func (a *ResourceRolesApiService) CreateResourceRole(ctx context.Context, projId string, envId string, resourceId string) ApiCreateResourceRoleRequest
CreateResourceRole Create Resource Role
Creates a new role associated with the resource.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param resourceId Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\"). @return ApiCreateResourceRoleRequest
func (*ResourceRolesApiService) CreateResourceRoleExecute ¶
func (a *ResourceRolesApiService) CreateResourceRoleExecute(r ApiCreateResourceRoleRequest) (*models.ResourceRoleRead, *http.Response, error)
Execute executes the request
@return ResourceRoleRead
func (*ResourceRolesApiService) DeleteResourceRole ¶
func (a *ResourceRolesApiService) DeleteResourceRole(ctx context.Context, projId string, envId string, resourceId string, roleId string) ApiDeleteResourceRoleRequest
DeleteResourceRole Delete Resource Role
Deletes the role and all its related data. This includes any permissions granted to said role.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param resourceId Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\"). @param roleId Either the unique id of the role, or the URL-friendly key of the role (i.e: the \"slug\"). @return ApiDeleteResourceRoleRequest
func (*ResourceRolesApiService) DeleteResourceRoleExecute ¶
func (a *ResourceRolesApiService) DeleteResourceRoleExecute(r ApiDeleteResourceRoleRequest) (*http.Response, error)
Execute executes the request
func (*ResourceRolesApiService) GetResourceRole ¶
func (a *ResourceRolesApiService) GetResourceRole(ctx context.Context, projId string, envId string, resourceId string, roleId string) ApiGetResourceRoleRequest
GetResourceRole Get Resource Role
Gets a single role defined on the resource, if such role exists.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param resourceId Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\"). @param roleId Either the unique id of the role, or the URL-friendly key of the role (i.e: the \"slug\"). @return ApiGetResourceRoleRequest
func (*ResourceRolesApiService) GetResourceRoleAncestors ¶ added in v1.0.5
func (a *ResourceRolesApiService) GetResourceRoleAncestors(ctx context.Context, projId string, envId string, resourceId string, roleId string) ApiGetResourceRoleAncestorsRequest
GetResourceRoleAncestors Get Resource Role Ancestors
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param resourceId Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\"). @param roleId Either the unique id of the role, or the URL-friendly key of the role (i.e: the \"slug\"). @return ApiGetResourceRoleAncestorsRequest
func (*ResourceRolesApiService) GetResourceRoleAncestorsExecute ¶ added in v1.0.5
func (a *ResourceRolesApiService) GetResourceRoleAncestorsExecute(r ApiGetResourceRoleAncestorsRequest) (*models.ResourceRoleList, *http.Response, error)
Execute executes the request
@return ResourceRoleList
func (*ResourceRolesApiService) GetResourceRoleDescendants ¶ added in v1.0.5
func (a *ResourceRolesApiService) GetResourceRoleDescendants(ctx context.Context, projId string, envId string, resourceId string, roleId string) ApiGetResourceRoleDescendantsRequest
GetResourceRoleDescendants Get Resource Role Descendants
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param resourceId Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\"). @param roleId Either the unique id of the role, or the URL-friendly key of the role (i.e: the \"slug\"). @return ApiGetResourceRoleDescendantsRequest
func (*ResourceRolesApiService) GetResourceRoleDescendantsExecute ¶ added in v1.0.5
func (a *ResourceRolesApiService) GetResourceRoleDescendantsExecute(r ApiGetResourceRoleDescendantsRequest) (*models.ResourceRoleList, *http.Response, error)
Execute executes the request
@return ResourceRoleList
func (*ResourceRolesApiService) GetResourceRoleExecute ¶
func (a *ResourceRolesApiService) GetResourceRoleExecute(r ApiGetResourceRoleRequest) (*models.ResourceRoleRead, *http.Response, error)
Execute executes the request
@return ResourceRoleRead
func (*ResourceRolesApiService) ListResourceRoles ¶
func (a *ResourceRolesApiService) ListResourceRoles(ctx context.Context, projId string, envId string, resourceId string) ApiListResourceRolesRequest
ListResourceRoles List Resource Roles
Lists all the roles defined on the resource.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param resourceId Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\"). @return ApiListResourceRolesRequest
func (*ResourceRolesApiService) ListResourceRolesExecute ¶
func (a *ResourceRolesApiService) ListResourceRolesExecute(r ApiListResourceRolesRequest) ([]models.ResourceRoleRead, *http.Response, error)
Execute executes the request
@return []ResourceRoleRead
func (*ResourceRolesApiService) RemoveParentResourceRole ¶
func (a *ResourceRolesApiService) RemoveParentResourceRole(ctx context.Context, projId string, envId string, resourceId string, roleId string, parentRoleId string) ApiRemoveParentResourceRoleRequest
RemoveParentResourceRole Remove Parent Role
This endpoint is part of the role hierarchy feature.
Removes `parent_role_id` from the list of parent roles of role with id `role_id`. In other words, `role_id` will no longer be automatically assigned permissions that are granted to `parent_role_id`.
We can say the `role_id` **not longer extends** `parent_role_id` or **no longer inherits** from `parent_role_id`.
Both roles must be defined on the same resource, identified by id `resource_id`.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param resourceId Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\"). @param roleId Either the unique id of the role, or the URL-friendly key of the role (i.e: the \"slug\"). @param parentRoleId Either the unique id of the parent role, or the URL-friendly key of the parent role (i.e: the \"slug\"). @return ApiRemoveParentResourceRoleRequest
func (*ResourceRolesApiService) RemoveParentResourceRoleExecute ¶
func (a *ResourceRolesApiService) RemoveParentResourceRoleExecute(r ApiRemoveParentResourceRoleRequest) (*models.ResourceRoleRead, *http.Response, error)
Execute executes the request
@return ResourceRoleRead
func (*ResourceRolesApiService) RemovePermissionsFromResourceRole ¶
func (a *ResourceRolesApiService) RemovePermissionsFromResourceRole(ctx context.Context, projId string, envId string, resourceId string, roleId string) ApiRemovePermissionsFromResourceRoleRequest
RemovePermissionsFromResourceRole Remove Permissions from Role
Remove permissions from role.
If some of the permissions specified are already unassigned, will skip them.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param resourceId Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\"). @param roleId Either the unique id of the role, or the URL-friendly key of the role (i.e: the \"slug\"). @return ApiRemovePermissionsFromResourceRoleRequest
func (*ResourceRolesApiService) RemovePermissionsFromResourceRoleExecute ¶
func (a *ResourceRolesApiService) RemovePermissionsFromResourceRoleExecute(r ApiRemovePermissionsFromResourceRoleRequest) (*models.ResourceRoleRead, *http.Response, error)
Execute executes the request
@return ResourceRoleRead
func (*ResourceRolesApiService) UpdateResourceRole ¶
func (a *ResourceRolesApiService) UpdateResourceRole(ctx context.Context, projId string, envId string, resourceId string, roleId string) ApiUpdateResourceRoleRequest
UpdateResourceRole Update Resource Role
Partially updates the role defined on a resource. Fields that will be provided will be completely overwritten.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param resourceId Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\"). @param roleId Either the unique id of the role, or the URL-friendly key of the role (i.e: the \"slug\"). @return ApiUpdateResourceRoleRequest
func (*ResourceRolesApiService) UpdateResourceRoleExecute ¶
func (a *ResourceRolesApiService) UpdateResourceRoleExecute(r ApiUpdateResourceRoleRequest) (*models.ResourceRoleRead, *http.Response, error)
Execute executes the request
@return ResourceRoleRead
type ResourcesApiService ¶
type ResourcesApiService service
ResourcesApiService ResourcesApi service
func (*ResourcesApiService) CreateResource ¶
func (a *ResourcesApiService) CreateResource(ctx context.Context, projId string, envId string) ApiCreateResourceRequest
CreateResource Create Resource
Creates a new resource (a type of object you may protect with permissions).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiCreateResourceRequest
func (*ResourcesApiService) CreateResourceExecute ¶
func (a *ResourcesApiService) CreateResourceExecute(r ApiCreateResourceRequest) (*models.ResourceRead, *http.Response, error)
Execute executes the request
@return ResourceRead
func (*ResourcesApiService) DeleteResource ¶
func (a *ResourcesApiService) DeleteResource(ctx context.Context, projId string, envId string, resourceId string) ApiDeleteResourceRequest
DeleteResource Delete Resource
Deletes the resource and all its related data.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param resourceId Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\"). @return ApiDeleteResourceRequest
func (*ResourcesApiService) DeleteResourceExecute ¶
func (a *ResourcesApiService) DeleteResourceExecute(r ApiDeleteResourceRequest) (*http.Response, error)
Execute executes the request
func (*ResourcesApiService) GetResource ¶
func (a *ResourcesApiService) GetResource(ctx context.Context, projId string, envId string, resourceId string) ApiGetResourceRequest
GetResource Get Resource
Gets a single resource, if such resource exists.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param resourceId Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\"). @return ApiGetResourceRequest
func (*ResourcesApiService) GetResourceExecute ¶
func (a *ResourcesApiService) GetResourceExecute(r ApiGetResourceRequest) (*models.ResourceRead, *http.Response, error)
Execute executes the request
@return ResourceRead
func (*ResourcesApiService) ListResources ¶
func (a *ResourcesApiService) ListResources(ctx context.Context, projId string, envId string) ApiListResourcesRequest
ListResources List Resources
Lists all the resources defined in your schema.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiListResourcesRequest
func (*ResourcesApiService) ListResourcesExecute ¶
func (a *ResourcesApiService) ListResourcesExecute(r ApiListResourcesRequest) ([]models.ResourceRead, *http.Response, error)
Execute executes the request
@return []ResourceRead
func (*ResourcesApiService) ReplaceResource ¶
func (a *ResourcesApiService) ReplaceResource(ctx context.Context, projId string, envId string, resourceId string) ApiReplaceResourceRequest
ReplaceResource Replace Resource
Completely replaces the resource definition.
- If the resource key is changed, all role and permissions assignments for the the resource will be revoked. - If the resource key is unchanged, but some actions are removed or renamed from the resource definition, role and permissions assignments for these actions will be revoked.
TODO: we need to decide if we are auto-revoking, or if we are rejecting the PUT completely while there are permissions that can be affected.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param resourceId Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\"). @return ApiReplaceResourceRequest
func (*ResourcesApiService) ReplaceResourceExecute ¶
func (a *ResourcesApiService) ReplaceResourceExecute(r ApiReplaceResourceRequest) (*models.ResourceRead, *http.Response, error)
Execute executes the request
@return ResourceRead
func (*ResourcesApiService) UpdateResource ¶
func (a *ResourcesApiService) UpdateResource(ctx context.Context, projId string, envId string, resourceId string) ApiUpdateResourceRequest
UpdateResource Update Resource
Partially updates the resource definition. Fields that will be provided will be completely overwritten.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param resourceId Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\"). @return ApiUpdateResourceRequest
func (*ResourcesApiService) UpdateResourceExecute ¶
func (a *ResourcesApiService) UpdateResourceExecute(r ApiUpdateResourceRequest) (*models.ResourceRead, *http.Response, error)
Execute executes the request
@return ResourceRead
type RoleAssignmentsApiService ¶
type RoleAssignmentsApiService service
RoleAssignmentsApiService RoleAssignmentsAPI service
func (*RoleAssignmentsApiService) AssignRole ¶
func (a *RoleAssignmentsApiService) AssignRole(ctx context.Context, projId string, envId string) ApiAssignRoleRequest
AssignRole Assign Role
Assigns a role to a user within a tenant.
The tenant defines the scope of the assignment. In other words, the role is effective only within the tenant.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiAssignRoleRequest
func (*RoleAssignmentsApiService) AssignRoleExecute ¶
func (a *RoleAssignmentsApiService) AssignRoleExecute(r ApiAssignRoleRequest) (*models.RoleAssignmentRead, *http.Response, error)
Execute executes the request
@return RoleAssignmentRead
func (*RoleAssignmentsApiService) BulkAssignRole ¶ added in v0.0.10
func (a *RoleAssignmentsApiService) BulkAssignRole(ctx context.Context, projId string, envId string) ApiBulkAssignRoleRequest
BulkAssignRole Bulk Assign Role
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiBulkAssignRoleRequest
func (*RoleAssignmentsApiService) BulkAssignRoleExecute ¶ added in v0.0.10
func (a *RoleAssignmentsApiService) BulkAssignRoleExecute(r ApiBulkAssignRoleRequest) (*models.BulkRoleAssignmentReport, *http.Response, error)
Execute executes the request
@return BulkRoleAssignmentReport
func (*RoleAssignmentsApiService) BulkUnassignRole ¶ added in v0.0.10
func (a *RoleAssignmentsApiService) BulkUnassignRole(ctx context.Context, projId string, envId string) ApiBulkUnassignRoleRequest
BulkUnassignRole Bulk Unassign Role
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiBulkUnassignRoleRequest
func (*RoleAssignmentsApiService) BulkUnassignRoleExecute ¶ added in v0.0.10
func (a *RoleAssignmentsApiService) BulkUnassignRoleExecute(r ApiBulkUnassignRoleRequest) (*models.BulkRoleUnAssignmentReport, *http.Response, error)
Execute executes the request
@return BulkRoleUnAssignmentReport
func (*RoleAssignmentsApiService) ListRoleAssignments ¶
func (a *RoleAssignmentsApiService) ListRoleAssignments(ctx context.Context, projId string, envId string) ApiListRoleAssignmentsRequest
ListRoleAssignments List Role Assignments
Lists the role assignments defined within an environment.
- If the `user` filter is present, will only return the role assignments of that user. - If the `tenant` filter is present, will only return the role assignments in that tenant. - If the `role` filter is present, will only return role assignments that are granting that role.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiListRoleAssignmentsRequest
func (*RoleAssignmentsApiService) ListRoleAssignmentsExecute ¶
func (a *RoleAssignmentsApiService) ListRoleAssignmentsExecute(r ApiListRoleAssignmentsRequest) (*models.ResponseListRoleAssignmentsV2FactsProjIdEnvIdRoleAssignmentsGet, *http.Response, error)
Execute executes the request
@return ResponseListRoleAssignmentsV2FactsProjIdEnvIdRoleAssignmentsGet
func (*RoleAssignmentsApiService) UnassignRole ¶
func (a *RoleAssignmentsApiService) UnassignRole(ctx context.Context, projId string, envId string) ApiUnassignRoleRequest
UnassignRole Unassign Role
Unassigns a user role within a tenant.
The tenant defines the scope of the assignment. In other words, the role is effective only within the tenant.
If the role is not actually assigned, will return 404.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiUnassignRoleRequest
func (*RoleAssignmentsApiService) UnassignRoleExecute ¶
func (a *RoleAssignmentsApiService) UnassignRoleExecute(r ApiUnassignRoleRequest) (*http.Response, error)
Execute executes the request
type RolesApiService ¶
type RolesApiService service
RolesApiService RolesApi service
func (*RolesApiService) AddParentRole ¶
func (a *RolesApiService) AddParentRole(ctx context.Context, projId string, envId string, roleId string, parentRoleId string) ApiAddParentRoleRequest
AddParentRole Add Parent Role
This endpoint is part of the role hierarchy feature.
Makes role with id `role_id` extend the role with id `parent_role_id`. In other words, `role_id` will automatically be assigned any permissions that are granted to `parent_role_id`.
We can say the `role_id` **extends** `parent_role_id` or **inherits** from `parent_role_id`.
If `role_id` is already an ancestor of `parent_role_id`, the request will fail with HTTP 400 to prevent a cycle in the role hierarchy.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param roleId Either the unique id of the role, or the URL-friendly key of the role (i.e: the \"slug\"). @param parentRoleId Either the unique id of the parent role, or the URL-friendly key of the parent role (i.e: the \"slug\"). @return ApiAddParentRoleRequest
func (*RolesApiService) AddParentRoleExecute ¶
func (a *RolesApiService) AddParentRoleExecute(r ApiAddParentRoleRequest) (*models.RoleRead, *http.Response, error)
Execute executes the request
@return RoleRead
func (*RolesApiService) AssignPermissionsToRole ¶
func (a *RolesApiService) AssignPermissionsToRole(ctx context.Context, projId string, envId string, roleId string) ApiAssignPermissionsToRoleRequest
AssignPermissionsToRole Assign Permissions To Role
Assign permissions to role.
If some of the permissions specified are already unassigned, will skip them.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param roleId Either the unique id of the role, or the URL-friendly key of the role (i.e: the \"slug\"). @return ApiAssignPermissionsToRoleRequest
func (*RolesApiService) AssignPermissionsToRoleExecute ¶
func (a *RolesApiService) AssignPermissionsToRoleExecute(r ApiAssignPermissionsToRoleRequest) (*models.RoleRead, *http.Response, error)
Execute executes the request
@return RoleRead
func (*RolesApiService) CreateRole ¶
func (a *RolesApiService) CreateRole(ctx context.Context, projId string, envId string) ApiCreateRoleRequest
CreateRole Create Role
Creates a new tenant role.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiCreateRoleRequest
func (*RolesApiService) CreateRoleExecute ¶
func (a *RolesApiService) CreateRoleExecute(r ApiCreateRoleRequest) (*models.RoleRead, *http.Response, error)
Execute executes the request
@return RoleRead
func (*RolesApiService) DeleteRole ¶
func (a *RolesApiService) DeleteRole(ctx context.Context, projId string, envId string, roleId string) ApiDeleteRoleRequest
DeleteRole Delete Role
Deletes a tenant role and all its related data. This includes any permissions granted to said role.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param roleId Either the unique id of the role, or the URL-friendly key of the role (i.e: the \"slug\"). @return ApiDeleteRoleRequest
func (*RolesApiService) DeleteRoleExecute ¶
func (a *RolesApiService) DeleteRoleExecute(r ApiDeleteRoleRequest) (*http.Response, error)
Execute executes the request
func (*RolesApiService) GetRole ¶
func (a *RolesApiService) GetRole(ctx context.Context, projId string, envId string, roleId string) ApiGetRoleRequest
GetRole Get Role
Gets a single tenant role, if such role exists.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param roleId Either the unique id of the role, or the URL-friendly key of the role (i.e: the \"slug\"). @return ApiGetRoleRequest
func (*RolesApiService) GetRoleExecute ¶
func (a *RolesApiService) GetRoleExecute(r ApiGetRoleRequest) (*models.RoleRead, *http.Response, error)
Execute executes the request
@return RoleRead
func (*RolesApiService) ListRoles ¶
func (a *RolesApiService) ListRoles(ctx context.Context, projId string, envId string) ApiListRolesRequest
ListRoles List Roles
Lists all tenant roles.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiListRolesRequest
func (*RolesApiService) ListRolesExecute ¶
func (a *RolesApiService) ListRolesExecute(r ApiListRolesRequest) ([]models.RoleRead, *http.Response, error)
Execute executes the request
@return []RoleRead
func (*RolesApiService) RemoveParentRole ¶
func (a *RolesApiService) RemoveParentRole(ctx context.Context, projId string, envId string, roleId string, parentRoleId string) ApiRemoveParentRoleRequest
RemoveParentRole Remove Parent Role
This endpoint is part of the role hierarchy feature.
Removes `parent_role_id` from the list of parent roles of role with id `role_id`. In other words, `role_id` will no longer be automatically assigned permissions that are granted to `parent_role_id`.
We can say the `role_id` **not longer extends** `parent_role_id` or **no longer inherits** from `parent_role_id`.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param roleId Either the unique id of the role, or the URL-friendly key of the role (i.e: the \"slug\"). @param parentRoleId Either the unique id of the parent role, or the URL-friendly key of the parent role (i.e: the \"slug\"). @return ApiRemoveParentRoleRequest
func (*RolesApiService) RemoveParentRoleExecute ¶
func (a *RolesApiService) RemoveParentRoleExecute(r ApiRemoveParentRoleRequest) (*models.RoleRead, *http.Response, error)
Execute executes the request
@return RoleRead
func (*RolesApiService) RemovePermissionsFromRole ¶
func (a *RolesApiService) RemovePermissionsFromRole(ctx context.Context, projId string, envId string, roleId string) ApiRemovePermissionsFromRoleRequest
RemovePermissionsFromRole Remove Permissions From Role
Remove permissions from role.
If some of the permissions specified are already unassigned, will skip them.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param roleId Either the unique id of the role, or the URL-friendly key of the role (i.e: the \"slug\"). @return ApiRemovePermissionsFromRoleRequest
func (*RolesApiService) RemovePermissionsFromRoleExecute ¶
func (a *RolesApiService) RemovePermissionsFromRoleExecute(r ApiRemovePermissionsFromRoleRequest) (*models.RoleRead, *http.Response, error)
Execute executes the request
@return RoleRead
func (*RolesApiService) UpdateRole ¶
func (a *RolesApiService) UpdateRole(ctx context.Context, projId string, envId string, roleId string) ApiUpdateRoleRequest
UpdateRole Update Role
Partially updates a tenant role. Fields that will be provided will be completely overwritten.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param roleId Either the unique id of the role, or the URL-friendly key of the role (i.e: the \"slug\"). @return ApiUpdateRoleRequest
func (*RolesApiService) UpdateRoleExecute ¶
func (a *RolesApiService) UpdateRoleExecute(r ApiUpdateRoleRequest) (*models.RoleRead, *http.Response, error)
Execute executes the request
@return RoleRead
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type TenantsApiService ¶
type TenantsApiService service
TenantsApiService TenantsApi service
func (*TenantsApiService) CreateTenant ¶
func (a *TenantsApiService) CreateTenant(ctx context.Context, projId string, envId string) ApiCreateTenantRequest
CreateTenant Create Tenant
Creates a new tenant inside the Permit.io system.
If the tenant is already created: will return 200 instead of 201, and will return the existing tenant object in the response body.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiCreateTenantRequest
func (*TenantsApiService) CreateTenantExecute ¶
func (a *TenantsApiService) CreateTenantExecute(r ApiCreateTenantRequest) (*models.TenantRead, *http.Response, error)
Execute executes the request
@return TenantRead
func (*TenantsApiService) DeleteTenant ¶
func (a *TenantsApiService) DeleteTenant(ctx context.Context, projId string, envId string, tenantId string) ApiDeleteTenantRequest
DeleteTenant Delete Tenant
Deletes the tenant and all its related data.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param tenantId Either the unique id of the tenant, or the URL-friendly key of the tenant (i.e: the \"slug\"). @return ApiDeleteTenantRequest
func (*TenantsApiService) DeleteTenantExecute ¶
func (a *TenantsApiService) DeleteTenantExecute(r ApiDeleteTenantRequest) (*http.Response, error)
Execute executes the request
func (*TenantsApiService) DeleteTenantUser ¶
func (a *TenantsApiService) DeleteTenantUser(ctx context.Context, projId string, envId string, tenantId string, userId string) ApiDeleteTenantUserRequest
DeleteTenantUser Delete Tenant User
Deletes a user under a tenant.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param tenantId Either the unique id of the tenant, or the URL-friendly key of the tenant (i.e: the \"slug\"). @param userId Either the unique id of the user, or the URL-friendly key of the user (i.e: the \"slug\"). @return ApiDeleteTenantUserRequest
func (*TenantsApiService) DeleteTenantUserExecute ¶
func (a *TenantsApiService) DeleteTenantUserExecute(r ApiDeleteTenantUserRequest) (*http.Response, error)
Execute executes the request
func (*TenantsApiService) GetTenant ¶
func (a *TenantsApiService) GetTenant(ctx context.Context, projId string, envId string, tenantId string) ApiGetTenantRequest
GetTenant Get Tenant
Gets a tenant, if such tenant exists. Otherwise returns 404.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param tenantId Either the unique id of the tenant, or the URL-friendly key of the tenant (i.e: the \"slug\"). @return ApiGetTenantRequest
func (*TenantsApiService) GetTenantExecute ¶
func (a *TenantsApiService) GetTenantExecute(r ApiGetTenantRequest) (*models.TenantRead, *http.Response, error)
Execute executes the request
@return TenantRead
func (*TenantsApiService) ListTenantUsers ¶
func (a *TenantsApiService) ListTenantUsers(ctx context.Context, projId string, tenantId string, envId string) ApiListTenantUsersRequest
ListTenantUsers List Tenant Users
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param tenantId Either the unique id of the tenant, or the URL-friendly key of the tenant (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiListTenantUsersRequest
func (*TenantsApiService) ListTenantUsersExecute ¶
func (a *TenantsApiService) ListTenantUsersExecute(r ApiListTenantUsersRequest) (*models.PaginatedResultUserRead, *http.Response, error)
Execute executes the request
@return PaginatedResultUserRead
func (*TenantsApiService) ListTenants ¶
func (a *TenantsApiService) ListTenants(ctx context.Context, projId string, envId string) ApiListTenantsRequest
ListTenants List Tenants
Lists all the tenants defined within an environment.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiListTenantsRequest
func (*TenantsApiService) ListTenantsExecute ¶
func (a *TenantsApiService) ListTenantsExecute(r ApiListTenantsRequest) ([]models.TenantRead, *http.Response, error)
Execute executes the request
@return []TenantRead
func (*TenantsApiService) UpdateTenant ¶
func (a *TenantsApiService) UpdateTenant(ctx context.Context, projId string, envId string, tenantId string) ApiUpdateTenantRequest
UpdateTenant Update Tenant
Partially updates the tenant definition. Fields that will be provided will be completely overwritten.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param tenantId Either the unique id of the tenant, or the URL-friendly key of the tenant (i.e: the \"slug\"). @return ApiUpdateTenantRequest
func (*TenantsApiService) UpdateTenantExecute ¶
func (a *TenantsApiService) UpdateTenantExecute(r ApiUpdateTenantRequest) (*models.TenantRead, *http.Response, error)
Execute executes the request
@return TenantRead
type UserAttributesApiService ¶
type UserAttributesApiService service
UserAttributesApiService UserAttributesApi service
func (*UserAttributesApiService) CreateUserAttribute ¶
func (a *UserAttributesApiService) CreateUserAttribute(ctx context.Context, projId string, envId string) ApiCreateUserAttributeRequest
CreateUserAttribute Create User Attribute
Creates a new attribute for the User resource.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiCreateUserAttributeRequest
func (*UserAttributesApiService) CreateUserAttributeExecute ¶
func (a *UserAttributesApiService) CreateUserAttributeExecute(r ApiCreateUserAttributeRequest) (*models.ResourceAttributeRead, *http.Response, error)
Execute executes the request
@return ResourceAttributeRead
func (*UserAttributesApiService) DeleteUserAttribute ¶
func (a *UserAttributesApiService) DeleteUserAttribute(ctx context.Context, projId string, envId string, attributeId string) ApiDeleteUserAttributeRequest
DeleteUserAttribute Delete User Attribute
Deletes the attribute and all its related data.
Note: If the attribute is used by policies, removing it will cause the attribute to evaluate as `undefined`.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param attributeId Either the unique id of the attribute, or the URL-friendly key of the attribute (i.e: the \"slug\"). @return ApiDeleteUserAttributeRequest
func (*UserAttributesApiService) DeleteUserAttributeExecute ¶
func (a *UserAttributesApiService) DeleteUserAttributeExecute(r ApiDeleteUserAttributeRequest) (*http.Response, error)
Execute executes the request
func (*UserAttributesApiService) GetUserAttribute ¶
func (a *UserAttributesApiService) GetUserAttribute(ctx context.Context, projId string, envId string, attributeId string) ApiGetUserAttributeRequest
GetUserAttribute Get User Attribute
Gets a single attribute defined on the User resource, if such attribute exists.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param attributeId Either the unique id of the attribute, or the URL-friendly key of the attribute (i.e: the \"slug\"). @return ApiGetUserAttributeRequest
func (*UserAttributesApiService) GetUserAttributeExecute ¶
func (a *UserAttributesApiService) GetUserAttributeExecute(r ApiGetUserAttributeRequest) (*models.ResourceAttributeRead, *http.Response, error)
Execute executes the request
@return ResourceAttributeRead
func (*UserAttributesApiService) ListUserAttributes ¶
func (a *UserAttributesApiService) ListUserAttributes(ctx context.Context, projId string, envId string) ApiListUserAttributesRequest
ListUserAttributes List User Attributes
Lists all the attributes defined on the User resource.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiListUserAttributesRequest
func (*UserAttributesApiService) ListUserAttributesExecute ¶
func (a *UserAttributesApiService) ListUserAttributesExecute(r ApiListUserAttributesRequest) ([]models.ResourceAttributeRead, *http.Response, error)
Execute executes the request
@return []ResourceAttributeRead
func (*UserAttributesApiService) UpdateUserAttribute ¶
func (a *UserAttributesApiService) UpdateUserAttribute(ctx context.Context, projId string, envId string, attributeId string) ApiUpdateUserAttributeRequest
UpdateUserAttribute Update User Attribute
Partially updates the attribute defined on the User resource. Fields that will be provided will be completely overwritten.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param attributeId Either the unique id of the attribute, or the URL-friendly key of the attribute (i.e: the \"slug\"). @return ApiUpdateUserAttributeRequest
func (*UserAttributesApiService) UpdateUserAttributeExecute ¶
func (a *UserAttributesApiService) UpdateUserAttributeExecute(r ApiUpdateUserAttributeRequest) (*models.ResourceAttributeRead, *http.Response, error)
Execute executes the request
@return ResourceAttributeRead
type UsersApiService ¶
type UsersApiService service
UsersApiService UsersApi service
func (*UsersApiService) AssignRoleToUser ¶
func (a *UsersApiService) AssignRoleToUser(ctx context.Context, projId string, envId string, userId string) ApiAssignRoleToUserRequest
AssignRoleToUser Assign Role To User
Assigns a role to the user within the tenant.
The tenant defines the scope of the assignment. In other words, the role is effective only within the tenant.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param userId Either the unique id of the user, or the URL-friendly key of the user (i.e: the \"slug\"). @return ApiAssignRoleToUserRequest
func (*UsersApiService) AssignRoleToUserExecute ¶
func (a *UsersApiService) AssignRoleToUserExecute(r ApiAssignRoleToUserRequest) (*models.RoleAssignmentRead, *http.Response, error)
Execute executes the request
@return RoleAssignmentRead
func (*UsersApiService) CreateUser ¶
func (a *UsersApiService) CreateUser(ctx context.Context, projId string, envId string) ApiCreateUserRequest
CreateUser Create User
Creates a new user inside the Permit.io system, from that point forward you may run permission checks on that user.
If the user is already created: will return 200 instead of 201, and will return the existing user object in the response body.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiCreateUserRequest
func (*UsersApiService) CreateUserExecute ¶
func (a *UsersApiService) CreateUserExecute(r ApiCreateUserRequest) (*models.UserRead, *http.Response, error)
Execute executes the request
@return UserRead
func (*UsersApiService) DeleteUser ¶
func (a *UsersApiService) DeleteUser(ctx context.Context, projId string, envId string, userId string) ApiDeleteUserRequest
DeleteUser Delete User
Deletes the user and all its related data.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param userId Either the unique id of the user, or the URL-friendly key of the user (i.e: the \"slug\"). @return ApiDeleteUserRequest
func (*UsersApiService) DeleteUserExecute ¶
func (a *UsersApiService) DeleteUserExecute(r ApiDeleteUserRequest) (*http.Response, error)
Execute executes the request
func (*UsersApiService) GetUser ¶
func (a *UsersApiService) GetUser(ctx context.Context, projId string, envId string, userId string) ApiGetUserRequest
GetUser Get User
Gets a user, if such user exists. Otherwise returns 404.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param userId Either the unique id of the user, or the URL-friendly key of the user (i.e: the \"slug\"). @return ApiGetUserRequest
func (*UsersApiService) GetUserExecute ¶
func (a *UsersApiService) GetUserExecute(r ApiGetUserRequest) (*models.UserRead, *http.Response, error)
Execute executes the request
@return UserRead
func (*UsersApiService) ListUsers ¶
func (a *UsersApiService) ListUsers(ctx context.Context, projId string, envId string) ApiListUsersRequest
ListUsers List Users
Lists all the users defined within an environment.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @return ApiListUsersRequest
func (*UsersApiService) ListUsersExecute ¶
func (a *UsersApiService) ListUsersExecute(r ApiListUsersRequest) (*models.PaginatedResultUserRead, *http.Response, error)
Execute executes the request
@return PaginatedResultUserRead
func (*UsersApiService) ReplaceUser ¶
func (a *UsersApiService) ReplaceUser(ctx context.Context, projId string, envId string, userId string) ApiReplaceUserRequest
ReplaceUser Replace User
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param userId Either the unique id of the user, or the URL-friendly key of the user (i.e: the \"slug\"). @return ApiReplaceUserRequest
func (*UsersApiService) ReplaceUserExecute ¶
func (a *UsersApiService) ReplaceUserExecute(r ApiReplaceUserRequest) (*models.UserRead, *http.Response, error)
Execute executes the request
@return UserRead
func (*UsersApiService) UnassignRoleFromUser ¶
func (a *UsersApiService) UnassignRoleFromUser(ctx context.Context, projId string, envId string, userId string) ApiUnassignRoleFromUserRequest
UnassignRoleFromUser Unassign Role From User
Unassigns the role from the user within the tenant.
The tenant defines the scope of the assignment. In other words, the role is effective only within the tenant.
If the role is not actually assigned, will return 404.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param userId Either the unique id of the user, or the URL-friendly key of the user (i.e: the \"slug\"). @return ApiUnassignRoleFromUserRequest
func (*UsersApiService) UnassignRoleFromUserExecute ¶
func (a *UsersApiService) UnassignRoleFromUserExecute(r ApiUnassignRoleFromUserRequest) (*models.UserRead, *http.Response, error)
Execute executes the request
@return UserRead
func (*UsersApiService) UpdateUser ¶
func (a *UsersApiService) UpdateUser(ctx context.Context, projId string, envId string, userId string) ApiUpdateUserRequest
UpdateUser Update User
Partially updates the user definition. Fields that will be provided will be completely overwritten.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projId Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\"). @param envId Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\"). @param userId Either the unique id of the user, or the URL-friendly key of the user (i.e: the \"slug\"). @return ApiUpdateUserRequest
func (*UsersApiService) UpdateUserExecute ¶
func (a *UsersApiService) UpdateUserExecute(r ApiUpdateUserRequest) (*models.UserRead, *http.Response, error)
Execute executes the request
@return UserRead
Source Files
¶
- api_api_keys.go
- api_authentication.go
- api_condition_set_rules.go
- api_condition_sets.go
- api_decision_logs.go
- api_decision_logs_ingress.go
- api_default.go
- api_elements_configs.go
- api_elements_data.go
- api_environments.go
- api_implicit_grants.go
- api_instructions.go
- api_members.go
- api_opal_data.go
- api_organizations.go
- api_policy.go
- api_policy_decision_points.go
- api_policy_git_repositories.go
- api_projects.go
- api_proxy_config.go
- api_relationship_tuples.go
- api_resource_action_groups.go
- api_resource_actions.go
- api_resource_attributes.go
- api_resource_instances.go
- api_resource_relations.go
- api_resource_roles.go
- api_resources.go
- api_role_assignments.go
- api_roles.go
- api_tenants.go
- api_user_attributes.go
- api_users.go
- client.go
- configuration.go
- response.go