api_kubemod_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 NewApiKubemodIoModRuleV1Beta1Manifest

func NewApiKubemodIoModRuleV1Beta1Manifest() datasource.DataSource

Types

type ApiKubemodIoModRuleV1Beta1Manifest

type ApiKubemodIoModRuleV1Beta1Manifest struct{}

func (*ApiKubemodIoModRuleV1Beta1Manifest) Metadata

func (*ApiKubemodIoModRuleV1Beta1Manifest) Read

func (*ApiKubemodIoModRuleV1Beta1Manifest) Schema

type ApiKubemodIoModRuleV1Beta1ManifestData

type ApiKubemodIoModRuleV1Beta1ManifestData 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 {
		AdmissionOperations *[]string `tfsdk:"admission_operations" json:"admissionOperations,omitempty"`
		ExecutionTier       *int64    `tfsdk:"execution_tier" json:"executionTier,omitempty"`
		Match               *[]struct {
			MatchFor    *string   `tfsdk:"match_for" json:"matchFor,omitempty"`
			MatchRegex  *string   `tfsdk:"match_regex" json:"matchRegex,omitempty"`
			MatchValue  *string   `tfsdk:"match_value" json:"matchValue,omitempty"`
			MatchValues *[]string `tfsdk:"match_values" json:"matchValues,omitempty"`
			Negate      *bool     `tfsdk:"negate" json:"negate,omitempty"`
			Select      *string   `tfsdk:"select" json:"select,omitempty"`
		} `tfsdk:"match" json:"match,omitempty"`
		Patch *[]struct {
			Op     *string `tfsdk:"op" json:"op,omitempty"`
			Path   *string `tfsdk:"path" json:"path,omitempty"`
			Select *string `tfsdk:"select" json:"select,omitempty"`
			Value  *string `tfsdk:"value" json:"value,omitempty"`
		} `tfsdk:"patch" json:"patch,omitempty"`
		RejectMessage        *string `tfsdk:"reject_message" json:"rejectMessage,omitempty"`
		TargetNamespaceRegex *string `tfsdk:"target_namespace_regex" json:"targetNamespaceRegex,omitempty"`
		Type                 *string `tfsdk:"type" json:"type,omitempty"`
	} `tfsdk:"spec" json:"spec,omitempty"`
}

Jump to

Keyboard shortcuts

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