Documentation ¶
Overview ¶
Package tfpolicygen provides property based test (PBT) generators for BastionZero Terraform Provider policy schema model types
Index ¶
- func JITPolicySchemaGen(ctx context.Context) *rapid.Generator[jit.JITPolicyModel]
- func KubernetesPolicySchemaGen(ctx context.Context) *rapid.Generator[kubernetes.KubernetesPolicyModel]
- func PolicySchemaChildPoliciesGen() *rapid.Generator[basetypes.SetValue]
- func PolicySchemaClusterGroupsGen() *rapid.Generator[basetypes.SetValue]
- func PolicySchemaClusterUsersGen() *rapid.Generator[basetypes.SetValue]
- func PolicySchemaClustersGen() *rapid.Generator[basetypes.SetValue]
- func PolicySchemaDescriptionGen() *rapid.Generator[basetypes.StringValue]
- func PolicySchemaEnvironmentsGen() *rapid.Generator[basetypes.SetValue]
- func PolicySchemaGroupsGen() *rapid.Generator[basetypes.SetValue]
- func PolicySchemaIDGen() *rapid.Generator[basetypes.StringValue]
- func PolicySchemaNameGen() *rapid.Generator[basetypes.StringValue]
- func PolicySchemaSubjectsGen() *rapid.Generator[basetypes.SetValue]
- func PolicySchemaTargetUsersGen() *rapid.Generator[basetypes.SetValue]
- func PolicySchemaTargetsGen() *rapid.Generator[basetypes.SetValue]
- func PolicySchemaTypeGen(policyType policytype.PolicyType) *rapid.Generator[basetypes.StringValue]
- func PolicySchemaVerbsGen() *rapid.Generator[basetypes.SetValue]
- func ProxyPolicySchemaGen(ctx context.Context) *rapid.Generator[proxy.ProxyPolicyModel]
- func SessionRecordingPolicySchemaGen(ctx context.Context) *rapid.Generator[sessionrecording.SessionRecordingPolicyModel]
- func TargetConnectPolicySchemaGen(ctx context.Context) *rapid.Generator[targetconnect.TargetConnectPolicyModel]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JITPolicySchemaGen ¶
func KubernetesPolicySchemaGen ¶
func KubernetesPolicySchemaGen(ctx context.Context) *rapid.Generator[kubernetes.KubernetesPolicyModel]
func PolicySchemaDescriptionGen ¶
func PolicySchemaDescriptionGen() *rapid.Generator[basetypes.StringValue]
func PolicySchemaIDGen ¶
func PolicySchemaIDGen() *rapid.Generator[basetypes.StringValue]
func PolicySchemaNameGen ¶
func PolicySchemaNameGen() *rapid.Generator[basetypes.StringValue]
func PolicySchemaTypeGen ¶
func PolicySchemaTypeGen(policyType policytype.PolicyType) *rapid.Generator[basetypes.StringValue]
func ProxyPolicySchemaGen ¶
func SessionRecordingPolicySchemaGen ¶
func SessionRecordingPolicySchemaGen(ctx context.Context) *rapid.Generator[sessionrecording.SessionRecordingPolicyModel]
func TargetConnectPolicySchemaGen ¶
func TargetConnectPolicySchemaGen(ctx context.Context) *rapid.Generator[targetconnect.TargetConnectPolicyModel]
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.