Documentation
¶
Index ¶
- func NewTemplatesGatekeeperShConstraintTemplateV1Alpha1Manifest() datasource.DataSource
- type TemplatesGatekeeperShConstraintTemplateV1Alpha1Manifest
- func (r *TemplatesGatekeeperShConstraintTemplateV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *TemplatesGatekeeperShConstraintTemplateV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *TemplatesGatekeeperShConstraintTemplateV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type TemplatesGatekeeperShConstraintTemplateV1Alpha1ManifestData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTemplatesGatekeeperShConstraintTemplateV1Alpha1Manifest ¶
func NewTemplatesGatekeeperShConstraintTemplateV1Alpha1Manifest() datasource.DataSource
Types ¶
type TemplatesGatekeeperShConstraintTemplateV1Alpha1Manifest ¶
type TemplatesGatekeeperShConstraintTemplateV1Alpha1Manifest struct{}
func (*TemplatesGatekeeperShConstraintTemplateV1Alpha1Manifest) Metadata ¶
func (r *TemplatesGatekeeperShConstraintTemplateV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*TemplatesGatekeeperShConstraintTemplateV1Alpha1Manifest) Read ¶
func (r *TemplatesGatekeeperShConstraintTemplateV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*TemplatesGatekeeperShConstraintTemplateV1Alpha1Manifest) Schema ¶
func (r *TemplatesGatekeeperShConstraintTemplateV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type TemplatesGatekeeperShConstraintTemplateV1Alpha1ManifestData ¶
type TemplatesGatekeeperShConstraintTemplateV1Alpha1ManifestData 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 { Crd *struct { Spec *struct { Names *struct { Kind *string `tfsdk:"kind" json:"kind,omitempty"` ShortNames *[]string `tfsdk:"short_names" json:"shortNames,omitempty"` } `tfsdk:"names" json:"names,omitempty"` Validation *struct { LegacySchema *bool `tfsdk:"legacy_schema" json:"legacySchema,omitempty"` OpenAPIV3Schema *map[string]string `tfsdk:"open_apiv3_schema" json:"openAPIV3Schema,omitempty"` } `tfsdk:"validation" json:"validation,omitempty"` } `tfsdk:"spec" json:"spec,omitempty"` } `tfsdk:"crd" json:"crd,omitempty"` Targets *[]struct { Code *[]struct { Engine *string `tfsdk:"engine" json:"engine,omitempty"` Source *map[string]string `tfsdk:"source" json:"source,omitempty"` } `tfsdk:"code" json:"code,omitempty"` Libs *[]string `tfsdk:"libs" json:"libs,omitempty"` Rego *string `tfsdk:"rego" json:"rego,omitempty"` Target *string `tfsdk:"target" json:"target,omitempty"` } `tfsdk:"targets" json:"targets,omitempty"` } `tfsdk:"spec" json:"spec,omitempty"` }
Click to show internal directories.
Click to hide internal directories.