Versions in this module Expand all Collapse all v0 v0.8.0 Mar 24, 2022 Changes in this version + type Config struct + Credentials Credentials + Description string + DisplayName string + Home bool + Name string + PermissionsEnabled bool + type Credentials struct + ClientID string + ClientSecret string + SubscriptionID string + TenantID string + type Instance interface + CheckPermissions func(pluginName string, user *authContext.User, ...) error + ContainerInstancesClient func() containerinstances.Client + CostManagementClient func() costmanagement.Client + GetName func() string + KubernetesServicesClient func() kubernetesservices.Client + MonitorClient func() monitor.Client + ResourceGroupsClient func() resourcegroups.Client + VirtualMachineScaleSetsClient func() virtualmachinescalesets.Client + func New(config Config) (Instance, error) + type MockInstance struct + func (_m *MockInstance) CheckPermissions(pluginName string, user *context.User, resource string, resourceGroup string, ...) error + func (_m *MockInstance) ContainerInstancesClient() containerinstances.Client + func (_m *MockInstance) CostManagementClient() costmanagement.Client + func (_m *MockInstance) GetName() string + func (_m *MockInstance) KubernetesServicesClient() kubernetesservices.Client + func (_m *MockInstance) MonitorClient() monitor.Client + func (_m *MockInstance) ResourceGroupsClient() resourcegroups.Client + func (_m *MockInstance) VirtualMachineScaleSetsClient() virtualmachinescalesets.Client + type Permissions struct + ResourceGroups []string + Resources []string + Verbs []string