Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewResourceRef ¶
func NewResourceRef(accountName string, resourceType ResourceType, resourceName string) string
func ParseResourceRef ¶
Types ¶
type Action ¶
type Action string
const ( CreateAccount Action = "create-account" ListAccounts Action = "list-accounts" GetAccount Action = "get-account" UpdateAccount Action = "update-account" DeleteAccount Action = "delete-account" CreateSecretsInAccount Action = "create-secrets-in-account" ReadSecretsFromAccount Action = "read-secrets-from-account" InviteAccountMember Action = "invite-account-member" InviteAccountAdmin Action = "invite-account-admin" ListAccountInvitations Action = "list-account-invitations" GetAccountInvitation Action = "get-account-invitation" ListProjectInvitations Action = "list-project-invitations" GetProjectInvitation Action = "get-project-invitation" DeleteAccountInvitation Action = "delete-account-invitation" DeleteProjectInvitation Action = "delete-project-invitation" ListMembershipsForAccount Action = "list-memberships-for-account" RemoveAccountMembership Action = "remove-account-membership" UpdateAccountMembership Action = "update-account-membership" ActivateAccount Action = "activate-account" DeactivateAccount Action = "deactivate-account" // clusters CreateCluster Action = "create-cluster" DeleteCluster Action = "delete-cluster" ListClusters Action = "list-clusters" GetCluster Action = "get-cluster" UpdateCluster Action = "update-cluster" // cluster managed services CreateClusterManagedService Action = "create-cluster-managed-service" CloneClusterManagedService Action = "clone-cluster-managed-service" DeleteClusterManagedService Action = "delete-cluster-managed-service" ListClusterManagedServices Action = "list-cluster-managed-services" GetClusterManagedService Action = "get-cluster-managed-service" UpdateClusterManagedService Action = "update-cluster-managed-service" // project managed services CreateProjectManagedService Action = "create-project-managed-service" DeleteProjectManagedService Action = "delete-project-managed-service" ListProjectManagedServices Action = "list-project-managed-services" GetProjectManagedService Action = "get-project-managed-service" UpdateProjectManagedService Action = "update-project-managed-service" // helm releases CreateHelmRelease Action = "create-helm-release" DeleteHelmRelease Action = "delete-helm-release" ListHelmReleases Action = "list-helm-releases" GetHelmRelease Action = "get-helm-release" UpdateHelmRelease Action = "update-helm-release" // nodepools CreateNodepool Action = "create-nodepool" DeleteNodepool Action = "delete-nodepool" ListNodepools Action = "list-nodepools" GetNodepool Action = "get-nodepool" UpdateNodepool Action = "update-nodepool" // managed resource CreateManagedResource Action = "create-managed-resource" DeleteManagedResource Action = "delete-managed-resource" ListManagedResources Action = "list-managed-resources" GetManagedResource Action = "get-managed-resource" UpdateManagedResource Action = "update-managed-resource" CreateCloudProviderSecret Action = "create-cloud-provider-secret" UpdateCloudProviderSecret Action = "update-cloud-provider-secret" DeleteCloudProviderSecret Action = "delete-cloud-provider-secret" ListCloudProviderSecrets Action = "list-cloud-provider-secrets" GetCloudProviderSecret Action = "get-cloud-provider-secret" CreateProject Action = "create-project" ListProjects Action = "list-projects" GetProject Action = "get-project" UpdateProject Action = "update-project" DeleteProject Action = "delete-project" // invite InviteProjectAdmin Action = "invite-project-admin" InviteProjectMember Action = "invite-project-member" MutateResourcesInProject Action = "mutate-resources-in-project" ListMembershipsForProject Action = "list-memberships-for-project" UpdateProjectMembership Action = "update-project-membership" RemoveProjectMembership Action = "remove-project-membership" CreateEnvironment Action = "create-environment" CloneEnvironment Action = "clone-environment" UpdateEnvironment Action = "update-environment" DeleteEnvironment Action = "delete-environment" GetEnvironment Action = "get-environment" ListEnvironments Action = "list-environments" MutateResourcesInEnvironment Action = "mutate-resources-in-environment" ReadResourcesInEnvironment Action = "read-resources-in-environment" ListVPNDevices Action = "list-vpn-devices" GetVPNDevice Action = "get-vpn-device" GetVPNDeviceConnectConfig Action = "get-vpn-device-connect-config" CreateVPNDevice Action = "create-vpn-device" UpdateVPNDevice Action = "update-vpn-device" DeleteVPNDevice Action = "delete-vpn-device" CreateDomainEntry Action = "create-domain-entry" UpdateDomainEntry Action = "update-domain-entry" DeleteDomainEntry Action = "delete-domain-entry" ListDomainEntries Action = "list-domain-entries" GetDomainEntry Action = "get-domain-entry" ReadLogs Action = "read-logs" ReadMetrics Action = "read-metrics" // build runs ListBuildRuns Action = "list-build-runs" GetBuildRun Action = "get-build-run" CreateBuildRun Action = "create-build-run" UpdateBuildRun Action = "update-build-run" DeleteBuildRun Action = "delete-build-run" // build integrations ListBuildIntegrations Action = "list-build-integrations" GetBuildIntegration Action = "get-build-integration" UpdateBuildIntegration Action = "update-build-integration" CreateBuildIntegration Action = "create-build-integration" DeleteBuildIntegration Action = "delete-build-integration" // image pull secrets ListImagePullSecrets Action = "list-image-pull-secrets" GetImagePullSecret Action = "get-image-pull-secret" UpdateImagePullSecret Action = "update-image-pull-secret" CreateImagePullSecret Action = "create-image-pull-secret" DeleteImagePullSecret Action = "delete-image-pull-secret" // registry images ListRegistryImages Action = "list-registry-images" )
type ResourceType ¶
type ResourceType string
const ( ResourceAccount ResourceType = "account" ResourceProject ResourceType = "project" ResourceEnvironment ResourceType = "environment" ResourceConsoleVPNDevice ResourceType = "console_vpn_device" ResourceInfraVPNDevice ResourceType = "infra_vpn_device" )
Click to show internal directories.
Click to hide internal directories.