Documentation ¶
Overview ¶
data_source_eula.go
data_source_group_services.go
data_source_policy_ids.go
data_source_registry.go
data_source_registry_names.go
resource_admission_rule.go
resource_eula.go
resource_group.go
resource_policy.go
resource_promote.go
resource_registry.go
resource_service.go
resource_service_config.go
resource_user.go
resourceuser_role.go
Index ¶
- Constants
- Variables
- func DataSourceEULA() *schema.Resource
- func DataSourceGroupMetadata() *schema.Resource
- func DataSourcePolicyIDs() *schema.Resource
- func DataSourceRegistry() *schema.Resource
- func DataSourceRegistryNames() *schema.Resource
- func GetDynamicPolicyIndexes(policies *[]goneuvector.PolicyRule) []int
- func GetPolicyRuleMap(p *goneuvector.PolicyRule) *map[string]any
- func GetPolicyRulesSet(policies *[]goneuvector.PolicyRule) []map[string]any
- func ResourceAdmissionRule() *schema.Resource
- func ResourceEULA() *schema.Resource
- func ResourceGroup() *schema.Resource
- func ResourcePolicy() *schema.Resource
- func ResourcePromote() *schema.Resource
- func ResourceRegistry() *schema.Resource
- func ResourceService() *schema.Resource
- func ResourceServiceConfig() *schema.Resource
- func ResourceUser() *schema.Resource
- func ResourceUserRole() *schema.Resource
- type ScopeChanges
Constants ¶
View Source
const ( // Specified ID when we want to create a dynamic policy ID // // In the resource creation process, we will first get every policies IDs from NeuVector, // then we will use these IDs for find the available ones in the "user_created" range. // We only get the needed amount. DynamicPolicyID = -1 // Default scope DefaultScope = "user_created" )
Variables ¶
View Source
var AllowedMetadata = []string{
"services",
"container_ids",
"image_ids",
}
Functions ¶
func DataSourceEULA ¶ added in v0.1.1
func DataSourceGroupMetadata ¶ added in v0.4.3
func DataSourcePolicyIDs ¶
func DataSourceRegistry ¶
func DataSourceRegistryNames ¶
func GetDynamicPolicyIndexes ¶
func GetDynamicPolicyIndexes(policies *[]goneuvector.PolicyRule) []int
Return the indexes of the dynamic policies
func GetPolicyRuleMap ¶
func GetPolicyRuleMap(p *goneuvector.PolicyRule) *map[string]any
func GetPolicyRulesSet ¶
func GetPolicyRulesSet(policies *[]goneuvector.PolicyRule) []map[string]any
func ResourceAdmissionRule ¶
func ResourceEULA ¶ added in v0.1.1
func ResourceGroup ¶ added in v0.1.1
func ResourcePolicy ¶
func ResourcePromote ¶
func ResourceRegistry ¶
func ResourceService ¶ added in v0.2.1
func ResourceServiceConfig ¶ added in v0.3.1
func ResourceUser ¶ added in v0.3.1
func ResourceUserRole ¶ added in v0.3.1
Types ¶
type ScopeChanges ¶
type ScopeChanges struct { IsFed bool // contains filtered or unexported fields }
Stores the changing parameters between the differents scopes
func GetScopeChanges ¶
func GetScopeChanges(scopeName string) *ScopeChanges
Source Files ¶
- data_source_eula.go
- data_source_group_metadata.go
- data_source_policy_ids.go
- data_source_registry.go
- data_source_registry_names.go
- resource_admission_rule.go
- resource_eula.go
- resource_group.go
- resource_policy.go
- resource_promote.go
- resource_registry.go
- resource_service.go
- resource_service_config.go
- resource_user.go
- resource_user_role.go
Click to show internal directories.
Click to hide internal directories.