# README
Go API client for accountmgmtclient
Manage user subscriptions and clusters
Overview
This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.
- API version: 0.0.1
- Package version: 1.0.0
- Build package: org.openapitools.codegen.languages.GoClientCodegen
Installation
Install the following dependencies:
go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context
Put the package under your project folder and add the following in import:
import sw "./accountmgmtclient"
To use a proxy, set the environment variable HTTP_PROXY
:
os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")
Configuration of Server URL
Default configuration comes with Servers
field that contains server objects as defined in the OpenAPI specification.
Select Server Configuration
For using other server than the one defined on index 0 set context value sw.ContextServerIndex
of type int
.
ctx := context.WithValue(context.Background(), sw.ContextServerIndex, 1)
Templated Server URL
Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables
of type map[string]string
.
ctx := context.WithValue(context.Background(), sw.ContextServerVariables, map[string]string{
"basePath": "v2",
})
Note, enum values are always validated and all unused variables are silently ignored.
URLs Configuration per Operation
Each operation can use different server URL defined using OperationServers
map in the Configuration
.
An operation is uniquely identifield by "{classname}Service.{nickname}"
string.
Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices
and sw.ContextOperationServerVariables
context maps.
ctx := context.WithValue(context.Background(), sw.ContextOperationServerIndices, map[string]int{
"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), sw.ContextOperationServerVariables, map[string]map[string]string{
"{classname}Service.{nickname}": {
"port": "8443",
},
})
Documentation for API Endpoints
All URIs are relative to http://localhost:14321
Class | Method | HTTP request | Description |
---|---|---|---|
AppServicesApi | ApiAccountsMgmtV1AccessTokenPost | Post /api/accounts_mgmt/v1/access_token | Return access token generated from registries in docker format |
AppServicesApi | ApiAccountsMgmtV1CurrentAccountGet | Get /api/accounts_mgmt/v1/current_account | Get the authenticated account |
AppServicesApi | ApiAccountsMgmtV1OrganizationsOrgIdQuotaCostGet | Get /api/accounts_mgmt/v1/organizations/{orgId}/quota_cost | Returns a summary of quota cost |
AppServicesApi | ApiAuthorizationsV1SelfTermsReviewPost | Post /api/authorizations/v1/self_terms_review | Review your status of Terms |
DefaultApi | ApiAccountsMgmtV1AccountsGet | Get /api/accounts_mgmt/v1/accounts | Returns a list of accounts |
DefaultApi | ApiAccountsMgmtV1AccountsIdGet | Get /api/accounts_mgmt/v1/accounts/{id} | Get an account by id |
DefaultApi | ApiAccountsMgmtV1AccountsIdLabelsGet | Get /api/accounts_mgmt/v1/accounts/{id}/labels | Returns a list of labels |
DefaultApi | ApiAccountsMgmtV1AccountsIdLabelsKeyDelete | Delete /api/accounts_mgmt/v1/accounts/{id}/labels/{key} | Delete a label |
DefaultApi | ApiAccountsMgmtV1AccountsIdLabelsKeyGet | Get /api/accounts_mgmt/v1/accounts/{id}/labels/{key} | Get subscription labels by label key |
DefaultApi | ApiAccountsMgmtV1AccountsIdLabelsKeyPatch | Patch /api/accounts_mgmt/v1/accounts/{id}/labels/{key} | Create a new label or update an existing label |
DefaultApi | ApiAccountsMgmtV1AccountsIdLabelsPost | Post /api/accounts_mgmt/v1/accounts/{id}/labels | Create a new label or update an existing label |
DefaultApi | ApiAccountsMgmtV1AccountsIdPatch | Patch /api/accounts_mgmt/v1/accounts/{id} | Update an account |
DefaultApi | ApiAccountsMgmtV1AccountsPost | Post /api/accounts_mgmt/v1/accounts | Create a new account |
DefaultApi | ApiAccountsMgmtV1CertificatesPost | Post /api/accounts_mgmt/v1/certificates | Fetch certificates of a particular type |
DefaultApi | ApiAccountsMgmtV1CloudResourcesGet | Get /api/accounts_mgmt/v1/cloud_resources | Returns a list of cloud resources |
DefaultApi | ApiAccountsMgmtV1CloudResourcesIdDelete | Delete /api/accounts_mgmt/v1/cloud_resources/{id} | Delete a cloud resource |
DefaultApi | ApiAccountsMgmtV1CloudResourcesIdGet | Get /api/accounts_mgmt/v1/cloud_resources/{id} | Get a cloud resource |
DefaultApi | ApiAccountsMgmtV1CloudResourcesIdPatch | Patch /api/accounts_mgmt/v1/cloud_resources/{id} | Update a cloud resource |
DefaultApi | ApiAccountsMgmtV1CloudResourcesPost | Post /api/accounts_mgmt/v1/cloud_resources | Create a new cloud resource |
DefaultApi | ApiAccountsMgmtV1ClusterAuthorizationsPost | Post /api/accounts_mgmt/v1/cluster_authorizations | Authorizes new cluster creation against an exsiting RH Subscription. |
DefaultApi | ApiAccountsMgmtV1ClusterRegistrationsPost | Post /api/accounts_mgmt/v1/cluster_registrations | Finds or creates a cluster registration with a registy credential token and cluster ID |
DefaultApi | ApiAccountsMgmtV1ClusterTransfersGet | Get /api/accounts_mgmt/v1/cluster_transfers | List cluster transfers - returns either an empty result set or a valid ClusterTransfer instance that is within a valid transfer window. |
DefaultApi | ApiAccountsMgmtV1ClusterTransfersIdPatch | Patch /api/accounts_mgmt/v1/cluster_transfers/{id} | Update specific cluster transfer |
DefaultApi | ApiAccountsMgmtV1ClusterTransfersPost | Post /api/accounts_mgmt/v1/cluster_transfers | Initiate cluster transfer. |
DefaultApi | ApiAccountsMgmtV1ConfigSkusGet | Get /api/accounts_mgmt/v1/config/skus | Returns a list of skus |
DefaultApi | ApiAccountsMgmtV1ConfigSkusIdDelete | Delete /api/accounts_mgmt/v1/config/skus/{id} | Delete a sku |
DefaultApi | ApiAccountsMgmtV1ConfigSkusIdGet | Get /api/accounts_mgmt/v1/config/skus/{id} | Get a sku |
DefaultApi | ApiAccountsMgmtV1ConfigSkusIdPatch | Patch /api/accounts_mgmt/v1/config/skus/{id} | Update a Sku |
DefaultApi | ApiAccountsMgmtV1ConfigSkusPost | Post /api/accounts_mgmt/v1/config/skus | Create a new sku |
DefaultApi | ApiAccountsMgmtV1DeletedSubscriptionsGet | Get /api/accounts_mgmt/v1/deleted_subscriptions | Returns a list of deleted subscriptions |
DefaultApi | ApiAccountsMgmtV1ErrorsGet | Get /api/accounts_mgmt/v1/errors | Returns a list of errors |
DefaultApi | ApiAccountsMgmtV1ErrorsIdGet | Get /api/accounts_mgmt/v1/errors/{id} | Get an error by id |
DefaultApi | ApiAccountsMgmtV1FeatureTogglesIdQueryPost | Post /api/accounts_mgmt/v1/feature_toggles/{id}/query | Query a feature toggle by id |
DefaultApi | ApiAccountsMgmtV1LabelsGet | Get /api/accounts_mgmt/v1/labels | Returns a list of labels |
DefaultApi | ApiAccountsMgmtV1LandingPageSelfServiceGet | Get /api/accounts_mgmt/v1/landing_page/self_service | Get a console.redhat.com landing page content JSON schema |
DefaultApi | ApiAccountsMgmtV1MetricsGet | Get /api/accounts_mgmt/v1/metrics | Returns a list of metrics |
DefaultApi | ApiAccountsMgmtV1NotifyPost | Post /api/accounts_mgmt/v1/notify | Notify the owner of cluster/subscription |
DefaultApi | ApiAccountsMgmtV1OrganizationsGet | Get /api/accounts_mgmt/v1/organizations | Returns a list of organizations |
DefaultApi | ApiAccountsMgmtV1OrganizationsIdGet | Get /api/accounts_mgmt/v1/organizations/{id} | Get an organization by id |
DefaultApi | ApiAccountsMgmtV1OrganizationsIdLabelsGet | Get /api/accounts_mgmt/v1/organizations/{id}/labels | Returns a list of labels |
DefaultApi | ApiAccountsMgmtV1OrganizationsIdLabelsKeyDelete | Delete /api/accounts_mgmt/v1/organizations/{id}/labels/{key} | Delete a label |
DefaultApi | ApiAccountsMgmtV1OrganizationsIdLabelsKeyGet | Get /api/accounts_mgmt/v1/organizations/{id}/labels/{key} | Get subscription labels by label key |
DefaultApi | ApiAccountsMgmtV1OrganizationsIdLabelsKeyPatch | Patch /api/accounts_mgmt/v1/organizations/{id}/labels/{key} | Create a new label or update an existing label |
DefaultApi | ApiAccountsMgmtV1OrganizationsIdLabelsPost | Post /api/accounts_mgmt/v1/organizations/{id}/labels | Create a new label or update an existing label |
DefaultApi | ApiAccountsMgmtV1OrganizationsIdPatch | Patch /api/accounts_mgmt/v1/organizations/{id} | Update an organization |
DefaultApi | ApiAccountsMgmtV1OrganizationsIdSummaryDashboardGet | Get /api/accounts_mgmt/v1/organizations/{id}/summary_dashboard | Returns a summary of organizations clusters based on metrics |
DefaultApi | ApiAccountsMgmtV1OrganizationsOrgIdAccountGroupAssignmentsAcctGrpAsgnIdDelete | Delete /api/accounts_mgmt/v1/organizations/{orgId}/account_group_assignments/{acctGrpAsgnId} | Delete an account group assignment |
DefaultApi | ApiAccountsMgmtV1OrganizationsOrgIdAccountGroupAssignmentsAcctGrpAsgnIdGet | Get /api/accounts_mgmt/v1/organizations/{orgId}/account_group_assignments/{acctGrpAsgnId} | Get account group assignment by id |
DefaultApi | ApiAccountsMgmtV1OrganizationsOrgIdAccountGroupAssignmentsGet | Get /api/accounts_mgmt/v1/organizations/{orgId}/account_group_assignments | Returns a list of account group assignments for the given org |
DefaultApi | ApiAccountsMgmtV1OrganizationsOrgIdAccountGroupAssignmentsPost | Post /api/accounts_mgmt/v1/organizations/{orgId}/account_group_assignments | Create a new AccountGroupAssignment |
DefaultApi | ApiAccountsMgmtV1OrganizationsOrgIdAccountGroupsAcctGrpIdDelete | Delete /api/accounts_mgmt/v1/organizations/{orgId}/account_groups/{acctGrpId} | Delete an account group |
DefaultApi | ApiAccountsMgmtV1OrganizationsOrgIdAccountGroupsAcctGrpIdGet | Get /api/accounts_mgmt/v1/organizations/{orgId}/account_groups/{acctGrpId} | Get account group by id |
DefaultApi | ApiAccountsMgmtV1OrganizationsOrgIdAccountGroupsAcctGrpIdPatch | Patch /api/accounts_mgmt/v1/organizations/{orgId}/account_groups/{acctGrpId} | Update an account group |
DefaultApi | ApiAccountsMgmtV1OrganizationsOrgIdAccountGroupsGet | Get /api/accounts_mgmt/v1/organizations/{orgId}/account_groups | Returns a list of account groups for the given org |
DefaultApi | ApiAccountsMgmtV1OrganizationsOrgIdAccountGroupsPost | Post /api/accounts_mgmt/v1/organizations/{orgId}/account_groups | Create a new AccountGroup |
DefaultApi | ApiAccountsMgmtV1OrganizationsOrgIdConsumedQuotaGet | Get /api/accounts_mgmt/v1/organizations/{orgId}/consumed_quota | Returns a list of consumed quota for an organization |
DefaultApi | ApiAccountsMgmtV1OrganizationsOrgIdResourceQuotaGet | Get /api/accounts_mgmt/v1/organizations/{orgId}/resource_quota | Returns a list of resource quota objects |
DefaultApi | ApiAccountsMgmtV1OrganizationsOrgIdResourceQuotaPost | Post /api/accounts_mgmt/v1/organizations/{orgId}/resource_quota | Create a new resource quota |
DefaultApi | ApiAccountsMgmtV1OrganizationsOrgIdResourceQuotaQuotaIdDelete | Delete /api/accounts_mgmt/v1/organizations/{orgId}/resource_quota/{quotaId} | Delete a resource quota |
DefaultApi | ApiAccountsMgmtV1OrganizationsOrgIdResourceQuotaQuotaIdGet | Get /api/accounts_mgmt/v1/organizations/{orgId}/resource_quota/{quotaId} | Get a resource quota by id |
DefaultApi | ApiAccountsMgmtV1OrganizationsOrgIdResourceQuotaQuotaIdPatch | Patch /api/accounts_mgmt/v1/organizations/{orgId}/resource_quota/{quotaId} | Update a resource quota |
DefaultApi | ApiAccountsMgmtV1OrganizationsPost | Post /api/accounts_mgmt/v1/organizations | Create a new organization |
DefaultApi | ApiAccountsMgmtV1PlansGet | Get /api/accounts_mgmt/v1/plans | Get all plans |
DefaultApi | ApiAccountsMgmtV1PlansIdGet | Get /api/accounts_mgmt/v1/plans/{id} | Get a plan by id |
DefaultApi | ApiAccountsMgmtV1PullSecretsExternalResourceIdDelete | Delete /api/accounts_mgmt/v1/pull_secrets/{externalResourceId} | Delete a pull secret |
DefaultApi | ApiAccountsMgmtV1PullSecretsPost | Post /api/accounts_mgmt/v1/pull_secrets | Return access token generated from registries in docker format |
DefaultApi | ApiAccountsMgmtV1QuotaCostGet | Get /api/accounts_mgmt/v1/quota_cost | Returns a summary of quota cost for the authenticated user |
DefaultApi | ApiAccountsMgmtV1QuotaRulesGet | Get /api/accounts_mgmt/v1/quota_rules | Returns a list of UHC product Quota Rules |
DefaultApi | ApiAccountsMgmtV1QuotasGet | Get /api/accounts_mgmt/v1/quotas | Returns a list of quotas |
DefaultApi | ApiAccountsMgmtV1QuotasIdDelete | Delete /api/accounts_mgmt/v1/quotas/{id} | Delete a quota |
DefaultApi | ApiAccountsMgmtV1QuotasIdGet | Get /api/accounts_mgmt/v1/quotas/{id} | Get a quota |
DefaultApi | ApiAccountsMgmtV1QuotasIdPatch | Patch /api/accounts_mgmt/v1/quotas/{id} | Update a quota |
DefaultApi | ApiAccountsMgmtV1QuotasPost | Post /api/accounts_mgmt/v1/quotas | Create a new quota |
DefaultApi | ApiAccountsMgmtV1RegistriesGet | Get /api/accounts_mgmt/v1/registries | Returns a list of registries |
DefaultApi | ApiAccountsMgmtV1RegistriesIdGet | Get /api/accounts_mgmt/v1/registries/{id} | Get an registry by id |
DefaultApi | ApiAccountsMgmtV1RegistryCredentialsGet | Get /api/accounts_mgmt/v1/registry_credentials | |
DefaultApi | ApiAccountsMgmtV1RegistryCredentialsIdDelete | Delete /api/accounts_mgmt/v1/registry_credentials/{id} | Delete a registry credential by id |
DefaultApi | ApiAccountsMgmtV1RegistryCredentialsIdGet | Get /api/accounts_mgmt/v1/registry_credentials/{id} | Get a registry credentials by id |
DefaultApi | ApiAccountsMgmtV1RegistryCredentialsIdPatch | Patch /api/accounts_mgmt/v1/registry_credentials/{id} | Update a registry credential |
DefaultApi | ApiAccountsMgmtV1RegistryCredentialsPost | Post /api/accounts_mgmt/v1/registry_credentials | Request the creation of a registry credential |
DefaultApi | ApiAccountsMgmtV1ReservedResourcesGet | Get /api/accounts_mgmt/v1/reserved_resources | Returns a list of reserved resources |
DefaultApi | ApiAccountsMgmtV1ResourceQuotaGet | Get /api/accounts_mgmt/v1/resource_quota | Returns a list of resource quota objects |
DefaultApi | ApiAccountsMgmtV1RoleBindingsGet | Get /api/accounts_mgmt/v1/role_bindings | Returns a list of role bindings |
DefaultApi | ApiAccountsMgmtV1RoleBindingsIdDelete | Delete /api/accounts_mgmt/v1/role_bindings/{id} | Delete a role binding |
DefaultApi | ApiAccountsMgmtV1RoleBindingsIdGet | Get /api/accounts_mgmt/v1/role_bindings/{id} | Get a role binding |
DefaultApi | ApiAccountsMgmtV1RoleBindingsIdPatch | Patch /api/accounts_mgmt/v1/role_bindings/{id} | Update a role binding |
DefaultApi | ApiAccountsMgmtV1RoleBindingsPost | Post /api/accounts_mgmt/v1/role_bindings | Create a new role binding |
DefaultApi | ApiAccountsMgmtV1RolesGet | Get /api/accounts_mgmt/v1/roles | Returns a list of roles |
DefaultApi | ApiAccountsMgmtV1RolesIdGet | Get /api/accounts_mgmt/v1/roles/{id} | Get a role by id |
DefaultApi | ApiAccountsMgmtV1SelfEntitlementProductPost | Post /api/accounts_mgmt/v1/self_entitlement/{product} | Create or renew the entitlement to support a product for the user's organization. |
DefaultApi | ApiAccountsMgmtV1SkuRulesGet | Get /api/accounts_mgmt/v1/sku_rules | Returns a list of UHC product SKU Rules |
DefaultApi | ApiAccountsMgmtV1SkuRulesIdDelete | Delete /api/accounts_mgmt/v1/sku_rules/{id} | Delete a sku rule |
DefaultApi | ApiAccountsMgmtV1SkuRulesIdGet | Get /api/accounts_mgmt/v1/sku_rules/{id} | Get a sku rules by id |
DefaultApi | ApiAccountsMgmtV1SkuRulesIdPatch | Patch /api/accounts_mgmt/v1/sku_rules/{id} | Update a sku rule |
DefaultApi | ApiAccountsMgmtV1SkuRulesPost | Post /api/accounts_mgmt/v1/sku_rules | Create a new sku rule |
DefaultApi | ApiAccountsMgmtV1SkusGet | Get /api/accounts_mgmt/v1/skus | Returns a list of UHC product SKUs |
DefaultApi | ApiAccountsMgmtV1SkusIdGet | Get /api/accounts_mgmt/v1/skus/{id} | Get a sku by id |
DefaultApi | ApiAccountsMgmtV1SubscriptionsGet | Get /api/accounts_mgmt/v1/subscriptions | Returns a list of subscriptions |
DefaultApi | ApiAccountsMgmtV1SubscriptionsIdDelete | Delete /api/accounts_mgmt/v1/subscriptions/{id} | Deletes a subscription by id |
DefaultApi | ApiAccountsMgmtV1SubscriptionsIdGet | Get /api/accounts_mgmt/v1/subscriptions/{id} | Get a subscription by id |
DefaultApi | ApiAccountsMgmtV1SubscriptionsIdLabelsGet | Get /api/accounts_mgmt/v1/subscriptions/{id}/labels | Returns a list of labels |
DefaultApi | ApiAccountsMgmtV1SubscriptionsIdLabelsKeyDelete | Delete /api/accounts_mgmt/v1/subscriptions/{id}/labels/{key} | Delete a label |
DefaultApi | ApiAccountsMgmtV1SubscriptionsIdLabelsKeyGet | Get /api/accounts_mgmt/v1/subscriptions/{id}/labels/{key} | Get subscription labels by label key |
DefaultApi | ApiAccountsMgmtV1SubscriptionsIdLabelsKeyPatch | Patch /api/accounts_mgmt/v1/subscriptions/{id}/labels/{key} | Create a new label or update an existing label |
DefaultApi | ApiAccountsMgmtV1SubscriptionsIdLabelsPost | Post /api/accounts_mgmt/v1/subscriptions/{id}/labels | Create a new label or update an existing label |
DefaultApi | ApiAccountsMgmtV1SubscriptionsIdMetricsMetricNameGet | Get /api/accounts_mgmt/v1/subscriptions/{id}/metrics/{metric_name} | Get subscription's metrics by metric name |
DefaultApi | ApiAccountsMgmtV1SubscriptionsIdNotifyPost | Post /api/accounts_mgmt/v1/subscriptions/{id}/notify | Notify the owner of a subscription |
DefaultApi | ApiAccountsMgmtV1SubscriptionsIdPatch | Patch /api/accounts_mgmt/v1/subscriptions/{id} | Update a subscription |
DefaultApi | ApiAccountsMgmtV1SubscriptionsIdReservedResourcesGet | Get /api/accounts_mgmt/v1/subscriptions/{id}/reserved_resources | Returns a list of reserved resources |
DefaultApi | ApiAccountsMgmtV1SubscriptionsIdSupportCasesGet | Get /api/accounts_mgmt/v1/subscriptions/{id}/support_cases | Returns a list of open support creates opened against the external cluster id of this subscrption |
DefaultApi | ApiAccountsMgmtV1SubscriptionsPost | Post /api/accounts_mgmt/v1/subscriptions | Create a new subscription |
DefaultApi | ApiAccountsMgmtV1SubscriptionsSubIdNotificationContactsAccountIdDelete | Delete /api/accounts_mgmt/v1/subscriptions/{subId}/notification_contacts/{accountId} | Deletes a notification contact by subscription and account id |
DefaultApi | ApiAccountsMgmtV1SubscriptionsSubIdNotificationContactsGet | Get /api/accounts_mgmt/v1/subscriptions/{subId}/notification_contacts | Returns a list of notification contacts for the given subscription |
DefaultApi | ApiAccountsMgmtV1SubscriptionsSubIdNotificationContactsPost | Post /api/accounts_mgmt/v1/subscriptions/{subId}/notification_contacts | Add an account as a notification contact to this subscription |
DefaultApi | ApiAccountsMgmtV1SubscriptionsSubIdReservedResourcesReservedResourceIdDelete | Delete /api/accounts_mgmt/v1/subscriptions/{subId}/reserved_resources/{reservedResourceId} | Delete reserved resources by id |
DefaultApi | ApiAccountsMgmtV1SubscriptionsSubIdReservedResourcesReservedResourceIdGet | Get /api/accounts_mgmt/v1/subscriptions/{subId}/reserved_resources/{reservedResourceId} | Get reserved resources by id |
DefaultApi | ApiAccountsMgmtV1SubscriptionsSubIdReservedResourcesReservedResourceIdPatch | Patch /api/accounts_mgmt/v1/subscriptions/{subId}/reserved_resources/{reservedResourceId} | Update a reserved resource |
DefaultApi | ApiAccountsMgmtV1SubscriptionsSubIdRoleBindingsGet | Get /api/accounts_mgmt/v1/subscriptions/{subId}/role_bindings | Get subscription role bindings |
DefaultApi | ApiAccountsMgmtV1SubscriptionsSubIdRoleBindingsIdDelete | Delete /api/accounts_mgmt/v1/subscriptions/{subId}/role_bindings/{id} | Delete a subscription role binding |
DefaultApi | ApiAccountsMgmtV1SubscriptionsSubIdRoleBindingsIdGet | Get /api/accounts_mgmt/v1/subscriptions/{subId}/role_bindings/{id} | Get a Subscription Role Binding by id |
DefaultApi | ApiAccountsMgmtV1SubscriptionsSubIdRoleBindingsPost | Post /api/accounts_mgmt/v1/subscriptions/{subId}/role_bindings | Create a new subscription role binding |
DefaultApi | ApiAccountsMgmtV1SupportCasesCaseIdDelete | Delete /api/accounts_mgmt/v1/support_cases/{caseId} | Delete a support case |
DefaultApi | ApiAccountsMgmtV1SupportCasesPost | Post /api/accounts_mgmt/v1/support_cases | create a support case for the subscription |
DefaultApi | ApiAccountsMgmtV1TokenAuthorizationPost | Post /api/accounts_mgmt/v1/token_authorization | Finds the account owner of the provided token |
DefaultApi | ApiAuthorizationsV1AccessReviewPost | Post /api/authorizations/v1/access_review | Review an account's access to perform an action on a particular resource or resource type |
DefaultApi | ApiAuthorizationsV1CapabilityReviewPost | Post /api/authorizations/v1/capability_review | Review an account's capabilities |
DefaultApi | ApiAuthorizationsV1ExportControlReviewPost | Post /api/authorizations/v1/export_control_review | Determine whether a user is restricted from downloading Red Hat software based on export control compliance. |
DefaultApi | ApiAuthorizationsV1FeatureReviewPost | Post /api/authorizations/v1/feature_review | Review feature to perform an action on it such as toggle a feature on/off |
DefaultApi | ApiAuthorizationsV1ResourceReviewPost | Post /api/authorizations/v1/resource_review | Obtain resource ids for resources an account may perform the specified action upon. Resource ids returned as ["*"] is shorthand for all ids. |
DefaultApi | ApiAuthorizationsV1SelfAccessReviewPost | Post /api/authorizations/v1/self_access_review | Review your ability to perform an action on a particular resource or resource type |
DefaultApi | ApiAuthorizationsV1SelfFeatureReviewPost | Post /api/authorizations/v1/self_feature_review | Review your ability to toggle a feature |
DefaultApi | ApiAuthorizationsV1SelfResourceReviewPost | Post /api/authorizations/v1/self_resource_review | Obtain resource ids for resources you may perform the specified action upon. Resource ids returned as ["*"] is shorthand for all ids. |
DefaultApi | ApiAuthorizationsV1TermsReviewPost | Post /api/authorizations/v1/terms_review | Review an account's status of Terms |
Documentation For Models
- AccessReview
- AccessReviewResponse
- AccessTokenCfg
- Account
- AccountAllOf
- AccountGroup
- AccountGroupAllOf
- AccountGroupAssignment
- AccountGroupAssignmentAllOf
- AccountGroupAssignmentList
- AccountGroupAssignmentListAllOf
- AccountGroupList
- AccountGroupListAllOf
- AccountGroupRequest
- AccountGroupRequestAllOf
- AccountList
- AccountListAllOf
- AccountPatchRequest
- AccountReference
- AccountReferenceAllOf
- Capability
- CapabilityAllOf
- CapabilityReview
- CapabilityReviewRequest
- Certificate
- CertificateSerial
- CertificatesRequest
- CloudAccount
- CloudResource
- CloudResourceAllOf
- CloudResourceList
- CloudResourceListAllOf
- ClusterAuthorizationRequest
- ClusterAuthorizationResponse
- ClusterMetricsNodes
- ClusterRegistrationRequest
- ClusterRegistrationResponse
- ClusterResource
- ClusterResourceTotal
- ClusterTransfer
- ClusterTransferAllOf
- ClusterTransferList
- ClusterTransferListAllOf
- ClusterTransferPatchRequest
- ClusterTransferRequest
- ClusterUpgrade
- ConsumedQuota
- ConsumedQuotaAllOf
- ConsumedQuotaList
- ConsumedQuotaListAllOf
- DeletedSubscription
- DeletedSubscriptionAllOf
- DeletedSubscriptionList
- DeletedSubscriptionListAllOf
- EphemeralResourceQuota
- Error
- ErrorAllOf
- ErrorList
- ErrorListAllOf
- ExcessResource
- ExcessResourceAllOf
- ExportControlReview
- ExportControlReviewRequest
- FeatureReview
- FeatureReviewResponse
- FeatureToggle
- FeatureToggleAllOf
- FeatureToggleQueryRequest
- FeatureToggleQueryRequestAllOf
- Label
- LabelAllOf
- LabelList
- LabelListAllOf
- LandingPageCTLItem
- LandingPageCTLItemShape
- LandingPageEstateItem
- LandingPageLinkShape
- List
- Metric
- MetricAllOf
- MetricsList
- MetricsListAllOf
- NotificationContactCreateRequest
- NotificationRequest
- ObjectReference
- OneMetric
- Organization
- OrganizationAllOf
- OrganizationList
- OrganizationListAllOf
- OrganizationPatchRequest
- Permission
- PermissionAllOf
- PermissionList
- PermissionListAllOf
- Plan
- PlanAllOf
- PlanList
- PlanListAllOf
- PullSecretRequest
- Quota
- QuotaAllOf
- QuotaCost
- QuotaCostAllOf
- QuotaCostList
- QuotaCostListAllOf
- QuotaList
- QuotaListAllOf
- QuotaRules
- QuotaRulesAllOf
- QuotaRulesList
- QuotaRulesListAllOf
- Registry
- RegistryAllOf
- RegistryCreateRequest
- RegistryCredential
- RegistryCredentialAllOf
- RegistryCredentialList
- RegistryCredentialListAllOf
- RegistryCredentialPatchRequest
- RegistryList
- RegistryListAllOf
- RegistryRequest
- RelatedResource
- RelatedResourceAllOf
- ReservedResource
- ReservedResourceAllOf
- ReservedResourceList
- ReservedResourceListAllOf
- ReservedResourcePatchRequest
- ResourceQuota
- ResourceQuotaAllOf
- ResourceQuotaList
- ResourceQuotaListAllOf
- ResourceQuotaRequest
- ResourceReview
- ResourceReviewRequest
- Role
- RoleAllOf
- RoleBinding
- RoleBindingAllOf
- RoleBindingCreateRequest
- RoleBindingList
- RoleBindingListAllOf
- RoleBindingRequest
- RoleList
- RoleListAllOf
- SKU
- SKUAllOf
- SelfAccessReview
- SelfEntitlementStatus
- SelfFeatureReview
- SelfResourceReview
- SelfResourceReviewRequest
- SelfServiceLandingPageSchema
- SelfServiceLandingPageSchemaConfigTryLearn
- SelfServiceLandingPageSchemaEstate
- SelfTermsReview
- SkuList
- SkuListAllOf
- SkuRules
- SkuRulesAllOf
- SkuRulesList
- SkuRulesListAllOf
- Subscription
- SubscriptionAllOf
- SubscriptionCommonFields
- SubscriptionCommonFieldsAllOf
- SubscriptionCreateRequest
- SubscriptionList
- SubscriptionListAllOf
- SubscriptionMetric
- SubscriptionMetricAllOf
- SubscriptionMetricList
- SubscriptionMetricListAllOf
- SubscriptionPatchRequest
- SubscriptionRoleBinding
- SubscriptionRoleBindingAllOf
- SubscriptionRoleBindingCreateRequest
- SubscriptionRoleBindingList
- SubscriptionRoleBindingListAllOf
- Summary
- SummaryAllOf
- SummaryMetrics
- SummaryMetricsAllOf
- SummaryVector
- SummaryVectorAllOf
- SupportCasesCreatedResponse
- SupportCasesRequest
- TemplateParameter
- TermsReview
- TermsReviewResponse
- TokenAuthorizationRequest
- TokenAuthorizationResponse
Documentation For Authorization
AccessToken
- Type: API key
- API key parameter name: Authorization
- Location: HTTP header
Note, each API key must be added to a map of map[string]APIKey
where the key is: Authorization and passed in as the auth context for each request.
Bearer
- Type: HTTP Bearer token authentication
Example
auth := context.WithValue(context.Background(), sw.ContextAccessToken, "BEARERTOKENSTRING")
r, err := client.Service.Operation(auth, args)
Documentation for Utility Methods
Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:
PtrBool
PtrInt
PtrInt32
PtrInt64
PtrFloat
PtrFloat32
PtrFloat64
PtrString
PtrTime