nfd_kubernetes_io_v1alpha1

package
v0.0.0-...-0c7cfb0 Latest Latest
Warning

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

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

Documentation

Index

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

func (*NfdKubernetesIoNodeFeatureRuleV1Alpha1Manifest) Schema

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

Jump to

Keyboard shortcuts

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