Documentation ¶
Index ¶
- func NewWgpolicyk8SIoClusterPolicyReportV1Beta1Manifest() datasource.DataSource
- func NewWgpolicyk8SIoPolicyReportV1Beta1Manifest() datasource.DataSource
- type Wgpolicyk8SIoClusterPolicyReportV1Beta1Manifest
- func (r *Wgpolicyk8SIoClusterPolicyReportV1Beta1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *Wgpolicyk8SIoClusterPolicyReportV1Beta1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *Wgpolicyk8SIoClusterPolicyReportV1Beta1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type Wgpolicyk8SIoClusterPolicyReportV1Beta1ManifestData
- type Wgpolicyk8SIoPolicyReportV1Beta1Manifest
- func (r *Wgpolicyk8SIoPolicyReportV1Beta1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *Wgpolicyk8SIoPolicyReportV1Beta1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *Wgpolicyk8SIoPolicyReportV1Beta1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type Wgpolicyk8SIoPolicyReportV1Beta1ManifestData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWgpolicyk8SIoClusterPolicyReportV1Beta1Manifest ¶
func NewWgpolicyk8SIoClusterPolicyReportV1Beta1Manifest() datasource.DataSource
func NewWgpolicyk8SIoPolicyReportV1Beta1Manifest ¶
func NewWgpolicyk8SIoPolicyReportV1Beta1Manifest() datasource.DataSource
Types ¶
type Wgpolicyk8SIoClusterPolicyReportV1Beta1Manifest ¶
type Wgpolicyk8SIoClusterPolicyReportV1Beta1Manifest struct{}
func (*Wgpolicyk8SIoClusterPolicyReportV1Beta1Manifest) Metadata ¶
func (r *Wgpolicyk8SIoClusterPolicyReportV1Beta1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*Wgpolicyk8SIoClusterPolicyReportV1Beta1Manifest) Read ¶
func (r *Wgpolicyk8SIoClusterPolicyReportV1Beta1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*Wgpolicyk8SIoClusterPolicyReportV1Beta1Manifest) Schema ¶
func (r *Wgpolicyk8SIoClusterPolicyReportV1Beta1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type Wgpolicyk8SIoClusterPolicyReportV1Beta1ManifestData ¶
type Wgpolicyk8SIoClusterPolicyReportV1Beta1ManifestData 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"` Configuration *struct { Limits *struct { MaxResults *int64 `tfsdk:"max_results" json:"maxResults,omitempty"` StatusFilter *[]string `tfsdk:"status_filter" json:"statusFilter,omitempty"` } `tfsdk:"limits" json:"limits,omitempty"` } `tfsdk:"configuration" json:"configuration,omitempty"` Results *[]struct { Category *string `tfsdk:"category" json:"category,omitempty"` Message *string `tfsdk:"message" json:"message,omitempty"` Policy *string `tfsdk:"policy" json:"policy,omitempty"` Properties *map[string]string `tfsdk:"properties" json:"properties,omitempty"` ResourceSelector *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:"resource_selector" json:"resourceSelector,omitempty"` Resources *[]struct { ApiVersion *string `tfsdk:"api_version" json:"apiVersion,omitempty"` FieldPath *string `tfsdk:"field_path" json:"fieldPath,omitempty"` Kind *string `tfsdk:"kind" json:"kind,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` ResourceVersion *string `tfsdk:"resource_version" json:"resourceVersion,omitempty"` Uid *string `tfsdk:"uid" json:"uid,omitempty"` } `tfsdk:"resources" json:"resources,omitempty"` Result *string `tfsdk:"result" json:"result,omitempty"` Rule *string `tfsdk:"rule" json:"rule,omitempty"` Scored *bool `tfsdk:"scored" json:"scored,omitempty"` Severity *string `tfsdk:"severity" json:"severity,omitempty"` Source *string `tfsdk:"source" json:"source,omitempty"` Timestamp *struct { Nanos *int64 `tfsdk:"nanos" json:"nanos,omitempty"` Seconds *int64 `tfsdk:"seconds" json:"seconds,omitempty"` } `tfsdk:"timestamp" json:"timestamp,omitempty"` } `tfsdk:"results" json:"results,omitempty"` Scope *struct { ApiVersion *string `tfsdk:"api_version" json:"apiVersion,omitempty"` FieldPath *string `tfsdk:"field_path" json:"fieldPath,omitempty"` Kind *string `tfsdk:"kind" json:"kind,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` ResourceVersion *string `tfsdk:"resource_version" json:"resourceVersion,omitempty"` Uid *string `tfsdk:"uid" json:"uid,omitempty"` } `tfsdk:"scope" json:"scope,omitempty"` ScopeSelector *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:"scope_selector" json:"scopeSelector,omitempty"` Source *string `tfsdk:"source" json:"source,omitempty"` Summary *struct { Error *int64 `tfsdk:"error" json:"error,omitempty"` Fail *int64 `tfsdk:"fail" json:"fail,omitempty"` Pass *int64 `tfsdk:"pass" json:"pass,omitempty"` Skip *int64 `tfsdk:"skip" json:"skip,omitempty"` Warn *int64 `tfsdk:"warn" json:"warn,omitempty"` } `tfsdk:"summary" json:"summary,omitempty"` }
type Wgpolicyk8SIoPolicyReportV1Beta1Manifest ¶
type Wgpolicyk8SIoPolicyReportV1Beta1Manifest struct{}
func (*Wgpolicyk8SIoPolicyReportV1Beta1Manifest) Metadata ¶
func (r *Wgpolicyk8SIoPolicyReportV1Beta1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*Wgpolicyk8SIoPolicyReportV1Beta1Manifest) Read ¶
func (r *Wgpolicyk8SIoPolicyReportV1Beta1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*Wgpolicyk8SIoPolicyReportV1Beta1Manifest) Schema ¶
func (r *Wgpolicyk8SIoPolicyReportV1Beta1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type Wgpolicyk8SIoPolicyReportV1Beta1ManifestData ¶
type Wgpolicyk8SIoPolicyReportV1Beta1ManifestData 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"` Configuration *struct { Limits *struct { MaxResults *int64 `tfsdk:"max_results" json:"maxResults,omitempty"` StatusFilter *[]string `tfsdk:"status_filter" json:"statusFilter,omitempty"` } `tfsdk:"limits" json:"limits,omitempty"` } `tfsdk:"configuration" json:"configuration,omitempty"` Results *[]struct { Category *string `tfsdk:"category" json:"category,omitempty"` Message *string `tfsdk:"message" json:"message,omitempty"` Policy *string `tfsdk:"policy" json:"policy,omitempty"` Properties *map[string]string `tfsdk:"properties" json:"properties,omitempty"` ResourceSelector *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:"resource_selector" json:"resourceSelector,omitempty"` Resources *[]struct { ApiVersion *string `tfsdk:"api_version" json:"apiVersion,omitempty"` FieldPath *string `tfsdk:"field_path" json:"fieldPath,omitempty"` Kind *string `tfsdk:"kind" json:"kind,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` ResourceVersion *string `tfsdk:"resource_version" json:"resourceVersion,omitempty"` Uid *string `tfsdk:"uid" json:"uid,omitempty"` } `tfsdk:"resources" json:"resources,omitempty"` Result *string `tfsdk:"result" json:"result,omitempty"` Rule *string `tfsdk:"rule" json:"rule,omitempty"` Scored *bool `tfsdk:"scored" json:"scored,omitempty"` Severity *string `tfsdk:"severity" json:"severity,omitempty"` Source *string `tfsdk:"source" json:"source,omitempty"` Timestamp *struct { Nanos *int64 `tfsdk:"nanos" json:"nanos,omitempty"` Seconds *int64 `tfsdk:"seconds" json:"seconds,omitempty"` } `tfsdk:"timestamp" json:"timestamp,omitempty"` } `tfsdk:"results" json:"results,omitempty"` Scope *struct { ApiVersion *string `tfsdk:"api_version" json:"apiVersion,omitempty"` FieldPath *string `tfsdk:"field_path" json:"fieldPath,omitempty"` Kind *string `tfsdk:"kind" json:"kind,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` ResourceVersion *string `tfsdk:"resource_version" json:"resourceVersion,omitempty"` Uid *string `tfsdk:"uid" json:"uid,omitempty"` } `tfsdk:"scope" json:"scope,omitempty"` ScopeSelector *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:"scope_selector" json:"scopeSelector,omitempty"` Source *string `tfsdk:"source" json:"source,omitempty"` Summary *struct { Error *int64 `tfsdk:"error" json:"error,omitempty"` Fail *int64 `tfsdk:"fail" json:"fail,omitempty"` Pass *int64 `tfsdk:"pass" json:"pass,omitempty"` Skip *int64 `tfsdk:"skip" json:"skip,omitempty"` Warn *int64 `tfsdk:"warn" json:"warn,omitempty"` } `tfsdk:"summary" json:"summary,omitempty"` }
Click to show internal directories.
Click to hide internal directories.