Documentation
¶
Index ¶
- func NewKyvernoIoCleanupPolicyV2Alpha1Manifest() datasource.DataSource
- func NewKyvernoIoClusterCleanupPolicyV2Alpha1Manifest() datasource.DataSource
- func NewKyvernoIoGlobalContextEntryV2Alpha1Manifest() datasource.DataSource
- func NewKyvernoIoPolicyExceptionV2Alpha1Manifest() datasource.DataSource
- type KyvernoIoCleanupPolicyV2Alpha1Manifest
- func (r *KyvernoIoCleanupPolicyV2Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *KyvernoIoCleanupPolicyV2Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *KyvernoIoCleanupPolicyV2Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type KyvernoIoCleanupPolicyV2Alpha1ManifestData
- type KyvernoIoClusterCleanupPolicyV2Alpha1Manifest
- func (r *KyvernoIoClusterCleanupPolicyV2Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *KyvernoIoClusterCleanupPolicyV2Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *KyvernoIoClusterCleanupPolicyV2Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type KyvernoIoClusterCleanupPolicyV2Alpha1ManifestData
- type KyvernoIoGlobalContextEntryV2Alpha1Manifest
- func (r *KyvernoIoGlobalContextEntryV2Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *KyvernoIoGlobalContextEntryV2Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *KyvernoIoGlobalContextEntryV2Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type KyvernoIoGlobalContextEntryV2Alpha1ManifestData
- type KyvernoIoPolicyExceptionV2Alpha1Manifest
- func (r *KyvernoIoPolicyExceptionV2Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *KyvernoIoPolicyExceptionV2Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *KyvernoIoPolicyExceptionV2Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type KyvernoIoPolicyExceptionV2Alpha1ManifestData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewKyvernoIoCleanupPolicyV2Alpha1Manifest ¶
func NewKyvernoIoCleanupPolicyV2Alpha1Manifest() datasource.DataSource
func NewKyvernoIoClusterCleanupPolicyV2Alpha1Manifest ¶
func NewKyvernoIoClusterCleanupPolicyV2Alpha1Manifest() datasource.DataSource
func NewKyvernoIoGlobalContextEntryV2Alpha1Manifest ¶
func NewKyvernoIoGlobalContextEntryV2Alpha1Manifest() datasource.DataSource
func NewKyvernoIoPolicyExceptionV2Alpha1Manifest ¶
func NewKyvernoIoPolicyExceptionV2Alpha1Manifest() datasource.DataSource
Types ¶
type KyvernoIoCleanupPolicyV2Alpha1Manifest ¶
type KyvernoIoCleanupPolicyV2Alpha1Manifest struct{}
func (*KyvernoIoCleanupPolicyV2Alpha1Manifest) Metadata ¶
func (r *KyvernoIoCleanupPolicyV2Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*KyvernoIoCleanupPolicyV2Alpha1Manifest) Read ¶
func (r *KyvernoIoCleanupPolicyV2Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*KyvernoIoCleanupPolicyV2Alpha1Manifest) Schema ¶
func (r *KyvernoIoCleanupPolicyV2Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type KyvernoIoCleanupPolicyV2Alpha1ManifestData ¶
type KyvernoIoCleanupPolicyV2Alpha1ManifestData struct { YAML types.String `tfsdk:"yaml" json:"-"` ApiVersion *string `tfsdk:"-" json:"apiVersion"` Kind *string `tfsdk:"-" json:"kind"` Metadata struct { Name string `tfsdk:"name" json:"name"` Namespace string `tfsdk:"namespace" json:"namespace"` Labels map[string]string `tfsdk:"labels" json:"labels,omitempty"` Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"` } `tfsdk:"metadata" json:"metadata"` Spec *struct { Conditions *struct { All *[]struct { Key *map[string]string `tfsdk:"key" json:"key,omitempty"` Message *string `tfsdk:"message" json:"message,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Value *map[string]string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"all" json:"all,omitempty"` Any *[]struct { Key *map[string]string `tfsdk:"key" json:"key,omitempty"` Message *string `tfsdk:"message" json:"message,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Value *map[string]string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"any" json:"any,omitempty"` } `tfsdk:"conditions" json:"conditions,omitempty"` Context *[]struct { ApiCall *struct { Data *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Value *map[string]string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"data" json:"data,omitempty"` JmesPath *string `tfsdk:"jmes_path" json:"jmesPath,omitempty"` Method *string `tfsdk:"method" json:"method,omitempty"` Service *struct { CaBundle *string `tfsdk:"ca_bundle" json:"caBundle,omitempty"` Url *string `tfsdk:"url" json:"url,omitempty"` } `tfsdk:"service" json:"service,omitempty"` UrlPath *string `tfsdk:"url_path" json:"urlPath,omitempty"` } `tfsdk:"api_call" json:"apiCall,omitempty"` ConfigMap *struct { Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` } `tfsdk:"config_map" json:"configMap,omitempty"` GlobalReference *struct { JmesPath *string `tfsdk:"jmes_path" json:"jmesPath,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` } `tfsdk:"global_reference" json:"globalReference,omitempty"` ImageRegistry *struct { ImageRegistryCredentials *struct { AllowInsecureRegistry *bool `tfsdk:"allow_insecure_registry" json:"allowInsecureRegistry,omitempty"` Providers *[]string `tfsdk:"providers" json:"providers,omitempty"` Secrets *[]string `tfsdk:"secrets" json:"secrets,omitempty"` } `tfsdk:"image_registry_credentials" json:"imageRegistryCredentials,omitempty"` JmesPath *string `tfsdk:"jmes_path" json:"jmesPath,omitempty"` Reference *string `tfsdk:"reference" json:"reference,omitempty"` } `tfsdk:"image_registry" json:"imageRegistry,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Variable *struct { Default *map[string]string `tfsdk:"default" json:"default,omitempty"` JmesPath *string `tfsdk:"jmes_path" json:"jmesPath,omitempty"` Value *map[string]string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"variable" json:"variable,omitempty"` } `tfsdk:"context" json:"context,omitempty"` Exclude *struct { All *[]struct { ClusterRoles *[]string `tfsdk:"cluster_roles" json:"clusterRoles,omitempty"` Resources *struct { Annotations *map[string]string `tfsdk:"annotations" json:"annotations,omitempty"` Kinds *[]string `tfsdk:"kinds" json:"kinds,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Names *[]string `tfsdk:"names" json:"names,omitempty"` NamespaceSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"` Namespaces *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"` Operations *[]string `tfsdk:"operations" json:"operations,omitempty"` Selector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"selector" json:"selector,omitempty"` } `tfsdk:"resources" json:"resources,omitempty"` Roles *[]string `tfsdk:"roles" json:"roles,omitempty"` Subjects *[]struct { ApiGroup *string `tfsdk:"api_group" json:"apiGroup,omitempty"` Kind *string `tfsdk:"kind" json:"kind,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` } `tfsdk:"subjects" json:"subjects,omitempty"` } `tfsdk:"all" json:"all,omitempty"` Any *[]struct { ClusterRoles *[]string `tfsdk:"cluster_roles" json:"clusterRoles,omitempty"` Resources *struct { Annotations *map[string]string `tfsdk:"annotations" json:"annotations,omitempty"` Kinds *[]string `tfsdk:"kinds" json:"kinds,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Names *[]string `tfsdk:"names" json:"names,omitempty"` NamespaceSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"` Namespaces *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"` Operations *[]string `tfsdk:"operations" json:"operations,omitempty"` Selector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"selector" json:"selector,omitempty"` } `tfsdk:"resources" json:"resources,omitempty"` Roles *[]string `tfsdk:"roles" json:"roles,omitempty"` Subjects *[]struct { ApiGroup *string `tfsdk:"api_group" json:"apiGroup,omitempty"` Kind *string `tfsdk:"kind" json:"kind,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` } `tfsdk:"subjects" json:"subjects,omitempty"` } `tfsdk:"any" json:"any,omitempty"` } `tfsdk:"exclude" json:"exclude,omitempty"` Match *struct { All *[]struct { ClusterRoles *[]string `tfsdk:"cluster_roles" json:"clusterRoles,omitempty"` Resources *struct { Annotations *map[string]string `tfsdk:"annotations" json:"annotations,omitempty"` Kinds *[]string `tfsdk:"kinds" json:"kinds,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Names *[]string `tfsdk:"names" json:"names,omitempty"` NamespaceSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"` Namespaces *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"` Operations *[]string `tfsdk:"operations" json:"operations,omitempty"` Selector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"selector" json:"selector,omitempty"` } `tfsdk:"resources" json:"resources,omitempty"` Roles *[]string `tfsdk:"roles" json:"roles,omitempty"` Subjects *[]struct { ApiGroup *string `tfsdk:"api_group" json:"apiGroup,omitempty"` Kind *string `tfsdk:"kind" json:"kind,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` } `tfsdk:"subjects" json:"subjects,omitempty"` } `tfsdk:"all" json:"all,omitempty"` Any *[]struct { ClusterRoles *[]string `tfsdk:"cluster_roles" json:"clusterRoles,omitempty"` Resources *struct { Annotations *map[string]string `tfsdk:"annotations" json:"annotations,omitempty"` Kinds *[]string `tfsdk:"kinds" json:"kinds,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Names *[]string `tfsdk:"names" json:"names,omitempty"` NamespaceSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"` Namespaces *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"` Operations *[]string `tfsdk:"operations" json:"operations,omitempty"` Selector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"selector" json:"selector,omitempty"` } `tfsdk:"resources" json:"resources,omitempty"` Roles *[]string `tfsdk:"roles" json:"roles,omitempty"` Subjects *[]struct { ApiGroup *string `tfsdk:"api_group" json:"apiGroup,omitempty"` Kind *string `tfsdk:"kind" json:"kind,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` } `tfsdk:"subjects" json:"subjects,omitempty"` } `tfsdk:"any" json:"any,omitempty"` } `tfsdk:"match" json:"match,omitempty"` Schedule *string `tfsdk:"schedule" json:"schedule,omitempty"` } `tfsdk:"spec" json:"spec,omitempty"` }
type KyvernoIoClusterCleanupPolicyV2Alpha1Manifest ¶
type KyvernoIoClusterCleanupPolicyV2Alpha1Manifest struct{}
func (*KyvernoIoClusterCleanupPolicyV2Alpha1Manifest) Metadata ¶
func (r *KyvernoIoClusterCleanupPolicyV2Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*KyvernoIoClusterCleanupPolicyV2Alpha1Manifest) Read ¶
func (r *KyvernoIoClusterCleanupPolicyV2Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*KyvernoIoClusterCleanupPolicyV2Alpha1Manifest) Schema ¶
func (r *KyvernoIoClusterCleanupPolicyV2Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type KyvernoIoClusterCleanupPolicyV2Alpha1ManifestData ¶
type KyvernoIoClusterCleanupPolicyV2Alpha1ManifestData struct { YAML types.String `tfsdk:"yaml" json:"-"` ApiVersion *string `tfsdk:"-" json:"apiVersion"` Kind *string `tfsdk:"-" json:"kind"` Metadata struct { Name string `tfsdk:"name" json:"name"` Labels map[string]string `tfsdk:"labels" json:"labels,omitempty"` Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"` } `tfsdk:"metadata" json:"metadata"` Spec *struct { Conditions *struct { All *[]struct { Key *map[string]string `tfsdk:"key" json:"key,omitempty"` Message *string `tfsdk:"message" json:"message,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Value *map[string]string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"all" json:"all,omitempty"` Any *[]struct { Key *map[string]string `tfsdk:"key" json:"key,omitempty"` Message *string `tfsdk:"message" json:"message,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Value *map[string]string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"any" json:"any,omitempty"` } `tfsdk:"conditions" json:"conditions,omitempty"` Context *[]struct { ApiCall *struct { Data *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Value *map[string]string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"data" json:"data,omitempty"` JmesPath *string `tfsdk:"jmes_path" json:"jmesPath,omitempty"` Method *string `tfsdk:"method" json:"method,omitempty"` Service *struct { CaBundle *string `tfsdk:"ca_bundle" json:"caBundle,omitempty"` Url *string `tfsdk:"url" json:"url,omitempty"` } `tfsdk:"service" json:"service,omitempty"` UrlPath *string `tfsdk:"url_path" json:"urlPath,omitempty"` } `tfsdk:"api_call" json:"apiCall,omitempty"` ConfigMap *struct { Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` } `tfsdk:"config_map" json:"configMap,omitempty"` GlobalReference *struct { JmesPath *string `tfsdk:"jmes_path" json:"jmesPath,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` } `tfsdk:"global_reference" json:"globalReference,omitempty"` ImageRegistry *struct { ImageRegistryCredentials *struct { AllowInsecureRegistry *bool `tfsdk:"allow_insecure_registry" json:"allowInsecureRegistry,omitempty"` Providers *[]string `tfsdk:"providers" json:"providers,omitempty"` Secrets *[]string `tfsdk:"secrets" json:"secrets,omitempty"` } `tfsdk:"image_registry_credentials" json:"imageRegistryCredentials,omitempty"` JmesPath *string `tfsdk:"jmes_path" json:"jmesPath,omitempty"` Reference *string `tfsdk:"reference" json:"reference,omitempty"` } `tfsdk:"image_registry" json:"imageRegistry,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Variable *struct { Default *map[string]string `tfsdk:"default" json:"default,omitempty"` JmesPath *string `tfsdk:"jmes_path" json:"jmesPath,omitempty"` Value *map[string]string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"variable" json:"variable,omitempty"` } `tfsdk:"context" json:"context,omitempty"` Exclude *struct { All *[]struct { ClusterRoles *[]string `tfsdk:"cluster_roles" json:"clusterRoles,omitempty"` Resources *struct { Annotations *map[string]string `tfsdk:"annotations" json:"annotations,omitempty"` Kinds *[]string `tfsdk:"kinds" json:"kinds,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Names *[]string `tfsdk:"names" json:"names,omitempty"` NamespaceSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"` Namespaces *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"` Operations *[]string `tfsdk:"operations" json:"operations,omitempty"` Selector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"selector" json:"selector,omitempty"` } `tfsdk:"resources" json:"resources,omitempty"` Roles *[]string `tfsdk:"roles" json:"roles,omitempty"` Subjects *[]struct { ApiGroup *string `tfsdk:"api_group" json:"apiGroup,omitempty"` Kind *string `tfsdk:"kind" json:"kind,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` } `tfsdk:"subjects" json:"subjects,omitempty"` } `tfsdk:"all" json:"all,omitempty"` Any *[]struct { ClusterRoles *[]string `tfsdk:"cluster_roles" json:"clusterRoles,omitempty"` Resources *struct { Annotations *map[string]string `tfsdk:"annotations" json:"annotations,omitempty"` Kinds *[]string `tfsdk:"kinds" json:"kinds,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Names *[]string `tfsdk:"names" json:"names,omitempty"` NamespaceSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"` Namespaces *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"` Operations *[]string `tfsdk:"operations" json:"operations,omitempty"` Selector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"selector" json:"selector,omitempty"` } `tfsdk:"resources" json:"resources,omitempty"` Roles *[]string `tfsdk:"roles" json:"roles,omitempty"` Subjects *[]struct { ApiGroup *string `tfsdk:"api_group" json:"apiGroup,omitempty"` Kind *string `tfsdk:"kind" json:"kind,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` } `tfsdk:"subjects" json:"subjects,omitempty"` } `tfsdk:"any" json:"any,omitempty"` } `tfsdk:"exclude" json:"exclude,omitempty"` Match *struct { All *[]struct { ClusterRoles *[]string `tfsdk:"cluster_roles" json:"clusterRoles,omitempty"` Resources *struct { Annotations *map[string]string `tfsdk:"annotations" json:"annotations,omitempty"` Kinds *[]string `tfsdk:"kinds" json:"kinds,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Names *[]string `tfsdk:"names" json:"names,omitempty"` NamespaceSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"` Namespaces *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"` Operations *[]string `tfsdk:"operations" json:"operations,omitempty"` Selector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"selector" json:"selector,omitempty"` } `tfsdk:"resources" json:"resources,omitempty"` Roles *[]string `tfsdk:"roles" json:"roles,omitempty"` Subjects *[]struct { ApiGroup *string `tfsdk:"api_group" json:"apiGroup,omitempty"` Kind *string `tfsdk:"kind" json:"kind,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` } `tfsdk:"subjects" json:"subjects,omitempty"` } `tfsdk:"all" json:"all,omitempty"` Any *[]struct { ClusterRoles *[]string `tfsdk:"cluster_roles" json:"clusterRoles,omitempty"` Resources *struct { Annotations *map[string]string `tfsdk:"annotations" json:"annotations,omitempty"` Kinds *[]string `tfsdk:"kinds" json:"kinds,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Names *[]string `tfsdk:"names" json:"names,omitempty"` NamespaceSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"` Namespaces *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"` Operations *[]string `tfsdk:"operations" json:"operations,omitempty"` Selector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"selector" json:"selector,omitempty"` } `tfsdk:"resources" json:"resources,omitempty"` Roles *[]string `tfsdk:"roles" json:"roles,omitempty"` Subjects *[]struct { ApiGroup *string `tfsdk:"api_group" json:"apiGroup,omitempty"` Kind *string `tfsdk:"kind" json:"kind,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` } `tfsdk:"subjects" json:"subjects,omitempty"` } `tfsdk:"any" json:"any,omitempty"` } `tfsdk:"match" json:"match,omitempty"` Schedule *string `tfsdk:"schedule" json:"schedule,omitempty"` } `tfsdk:"spec" json:"spec,omitempty"` }
type KyvernoIoGlobalContextEntryV2Alpha1Manifest ¶
type KyvernoIoGlobalContextEntryV2Alpha1Manifest struct{}
func (*KyvernoIoGlobalContextEntryV2Alpha1Manifest) Metadata ¶
func (r *KyvernoIoGlobalContextEntryV2Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*KyvernoIoGlobalContextEntryV2Alpha1Manifest) Read ¶
func (r *KyvernoIoGlobalContextEntryV2Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*KyvernoIoGlobalContextEntryV2Alpha1Manifest) Schema ¶
func (r *KyvernoIoGlobalContextEntryV2Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type KyvernoIoGlobalContextEntryV2Alpha1ManifestData ¶
type KyvernoIoGlobalContextEntryV2Alpha1ManifestData struct { YAML types.String `tfsdk:"yaml" json:"-"` ApiVersion *string `tfsdk:"-" json:"apiVersion"` Kind *string `tfsdk:"-" json:"kind"` Metadata struct { Name string `tfsdk:"name" json:"name"` Labels map[string]string `tfsdk:"labels" json:"labels,omitempty"` Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"` } `tfsdk:"metadata" json:"metadata"` Spec *struct { ApiCall *struct { Data *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Value *map[string]string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"data" json:"data,omitempty"` Method *string `tfsdk:"method" json:"method,omitempty"` RefreshInterval *string `tfsdk:"refresh_interval" json:"refreshInterval,omitempty"` RetryLimit *int64 `tfsdk:"retry_limit" json:"retryLimit,omitempty"` Service *struct { CaBundle *string `tfsdk:"ca_bundle" json:"caBundle,omitempty"` Headers *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"headers" json:"headers,omitempty"` Url *string `tfsdk:"url" json:"url,omitempty"` } `tfsdk:"service" json:"service,omitempty"` UrlPath *string `tfsdk:"url_path" json:"urlPath,omitempty"` } `tfsdk:"api_call" json:"apiCall,omitempty"` KubernetesResource *struct { Group *string `tfsdk:"group" json:"group,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` Resource *string `tfsdk:"resource" json:"resource,omitempty"` Version *string `tfsdk:"version" json:"version,omitempty"` } `tfsdk:"kubernetes_resource" json:"kubernetesResource,omitempty"` } `tfsdk:"spec" json:"spec,omitempty"` }
type KyvernoIoPolicyExceptionV2Alpha1Manifest ¶
type KyvernoIoPolicyExceptionV2Alpha1Manifest struct{}
func (*KyvernoIoPolicyExceptionV2Alpha1Manifest) Metadata ¶
func (r *KyvernoIoPolicyExceptionV2Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*KyvernoIoPolicyExceptionV2Alpha1Manifest) Read ¶
func (r *KyvernoIoPolicyExceptionV2Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*KyvernoIoPolicyExceptionV2Alpha1Manifest) Schema ¶
func (r *KyvernoIoPolicyExceptionV2Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type KyvernoIoPolicyExceptionV2Alpha1ManifestData ¶
type KyvernoIoPolicyExceptionV2Alpha1ManifestData struct { YAML types.String `tfsdk:"yaml" json:"-"` ApiVersion *string `tfsdk:"-" json:"apiVersion"` Kind *string `tfsdk:"-" json:"kind"` Metadata struct { Name string `tfsdk:"name" json:"name"` Namespace string `tfsdk:"namespace" json:"namespace"` Labels map[string]string `tfsdk:"labels" json:"labels,omitempty"` Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"` } `tfsdk:"metadata" json:"metadata"` Spec *struct { Background *bool `tfsdk:"background" json:"background,omitempty"` Conditions *struct { All *[]struct { Key *map[string]string `tfsdk:"key" json:"key,omitempty"` Message *string `tfsdk:"message" json:"message,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Value *map[string]string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"all" json:"all,omitempty"` Any *[]struct { Key *map[string]string `tfsdk:"key" json:"key,omitempty"` Message *string `tfsdk:"message" json:"message,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Value *map[string]string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"any" json:"any,omitempty"` } `tfsdk:"conditions" json:"conditions,omitempty"` Exceptions *[]struct { PolicyName *string `tfsdk:"policy_name" json:"policyName,omitempty"` RuleNames *[]string `tfsdk:"rule_names" json:"ruleNames,omitempty"` } `tfsdk:"exceptions" json:"exceptions,omitempty"` Match *struct { All *[]struct { ClusterRoles *[]string `tfsdk:"cluster_roles" json:"clusterRoles,omitempty"` Resources *struct { Annotations *map[string]string `tfsdk:"annotations" json:"annotations,omitempty"` Kinds *[]string `tfsdk:"kinds" json:"kinds,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Names *[]string `tfsdk:"names" json:"names,omitempty"` NamespaceSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"` Namespaces *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"` Operations *[]string `tfsdk:"operations" json:"operations,omitempty"` Selector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"selector" json:"selector,omitempty"` } `tfsdk:"resources" json:"resources,omitempty"` Roles *[]string `tfsdk:"roles" json:"roles,omitempty"` Subjects *[]struct { ApiGroup *string `tfsdk:"api_group" json:"apiGroup,omitempty"` Kind *string `tfsdk:"kind" json:"kind,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` } `tfsdk:"subjects" json:"subjects,omitempty"` } `tfsdk:"all" json:"all,omitempty"` Any *[]struct { ClusterRoles *[]string `tfsdk:"cluster_roles" json:"clusterRoles,omitempty"` Resources *struct { Annotations *map[string]string `tfsdk:"annotations" json:"annotations,omitempty"` Kinds *[]string `tfsdk:"kinds" json:"kinds,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Names *[]string `tfsdk:"names" json:"names,omitempty"` NamespaceSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"` Namespaces *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"` Operations *[]string `tfsdk:"operations" json:"operations,omitempty"` Selector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"selector" json:"selector,omitempty"` } `tfsdk:"resources" json:"resources,omitempty"` Roles *[]string `tfsdk:"roles" json:"roles,omitempty"` Subjects *[]struct { ApiGroup *string `tfsdk:"api_group" json:"apiGroup,omitempty"` Kind *string `tfsdk:"kind" json:"kind,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` } `tfsdk:"subjects" json:"subjects,omitempty"` } `tfsdk:"any" json:"any,omitempty"` } `tfsdk:"match" json:"match,omitempty"` PodSecurity *[]struct { ControlName *string `tfsdk:"control_name" json:"controlName,omitempty"` Images *[]string `tfsdk:"images" json:"images,omitempty"` RestrictedField *string `tfsdk:"restricted_field" json:"restrictedField,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"pod_security" json:"podSecurity,omitempty"` } `tfsdk:"spec" json:"spec,omitempty"` }
Click to show internal directories.
Click to hide internal directories.