Documentation ¶
Index ¶
- func NewApiKubemodIoModRuleV1Beta1Manifest() datasource.DataSource
- type ApiKubemodIoModRuleV1Beta1Manifest
- func (r *ApiKubemodIoModRuleV1Beta1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *ApiKubemodIoModRuleV1Beta1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *ApiKubemodIoModRuleV1Beta1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type ApiKubemodIoModRuleV1Beta1ManifestData
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 (r *ApiKubemodIoModRuleV1Beta1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*ApiKubemodIoModRuleV1Beta1Manifest) Read ¶
func (r *ApiKubemodIoModRuleV1Beta1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*ApiKubemodIoModRuleV1Beta1Manifest) Schema ¶
func (r *ApiKubemodIoModRuleV1Beta1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
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"` }
Click to show internal directories.
Click to hide internal directories.