wgpolicyk8s_io_v1beta1

package
v0.0.0-...-6209148 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2024 License: 0BSD Imports: 11 Imported by: 0

Documentation

Index

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 (*Wgpolicyk8SIoClusterPolicyReportV1Beta1Manifest) Read

func (*Wgpolicyk8SIoClusterPolicyReportV1Beta1Manifest) Schema

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 (*Wgpolicyk8SIoPolicyReportV1Beta1Manifest) Read

func (*Wgpolicyk8SIoPolicyReportV1Beta1Manifest) Schema

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL