Documentation ¶
Index ¶
- func NewNfdKubernetesIoNodeFeatureRuleV1Alpha1Manifest() datasource.DataSource
- type NfdKubernetesIoNodeFeatureRuleV1Alpha1Manifest
- func (r *NfdKubernetesIoNodeFeatureRuleV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *NfdKubernetesIoNodeFeatureRuleV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *NfdKubernetesIoNodeFeatureRuleV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type NfdKubernetesIoNodeFeatureRuleV1Alpha1ManifestData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNfdKubernetesIoNodeFeatureRuleV1Alpha1Manifest ¶
func NewNfdKubernetesIoNodeFeatureRuleV1Alpha1Manifest() datasource.DataSource
Types ¶
type NfdKubernetesIoNodeFeatureRuleV1Alpha1Manifest ¶
type NfdKubernetesIoNodeFeatureRuleV1Alpha1Manifest struct{}
func (*NfdKubernetesIoNodeFeatureRuleV1Alpha1Manifest) Metadata ¶
func (r *NfdKubernetesIoNodeFeatureRuleV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*NfdKubernetesIoNodeFeatureRuleV1Alpha1Manifest) Read ¶
func (r *NfdKubernetesIoNodeFeatureRuleV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*NfdKubernetesIoNodeFeatureRuleV1Alpha1Manifest) Schema ¶
func (r *NfdKubernetesIoNodeFeatureRuleV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type NfdKubernetesIoNodeFeatureRuleV1Alpha1ManifestData ¶
type NfdKubernetesIoNodeFeatureRuleV1Alpha1ManifestData 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 { Rules *[]struct { Labels *map[string]string `tfsdk:"labels" json:"labels,omitempty"` LabelsTemplate *string `tfsdk:"labels_template" json:"labelsTemplate,omitempty"` MatchAny *[]struct { MatchFeatures *[]struct { Feature *string `tfsdk:"feature" json:"feature,omitempty"` MatchExpressions *struct { Op *string `tfsdk:"op" json:"op,omitempty"` Value *[]string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` } `tfsdk:"match_features" json:"matchFeatures,omitempty"` } `tfsdk:"match_any" json:"matchAny,omitempty"` MatchFeatures *[]struct { Feature *string `tfsdk:"feature" json:"feature,omitempty"` MatchExpressions *struct { Op *string `tfsdk:"op" json:"op,omitempty"` Value *[]string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` } `tfsdk:"match_features" json:"matchFeatures,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Vars *map[string]string `tfsdk:"vars" json:"vars,omitempty"` VarsTemplate *string `tfsdk:"vars_template" json:"varsTemplate,omitempty"` } `tfsdk:"rules" json:"rules,omitempty"` } `tfsdk:"spec" json:"spec,omitempty"` }
Click to show internal directories.
Click to hide internal directories.