topology_node_k8s_io_v1alpha1

package
v0.0.0-...-12195c9 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2025 License: 0BSD Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTopologyNodeK8SIoNodeResourceTopologyV1Alpha1Manifest

func NewTopologyNodeK8SIoNodeResourceTopologyV1Alpha1Manifest() datasource.DataSource

Types

type TopologyNodeK8SIoNodeResourceTopologyV1Alpha1Manifest

type TopologyNodeK8SIoNodeResourceTopologyV1Alpha1Manifest struct{}

func (*TopologyNodeK8SIoNodeResourceTopologyV1Alpha1Manifest) Metadata

func (*TopologyNodeK8SIoNodeResourceTopologyV1Alpha1Manifest) Read

func (*TopologyNodeK8SIoNodeResourceTopologyV1Alpha1Manifest) Schema

type TopologyNodeK8SIoNodeResourceTopologyV1Alpha1ManifestData

type TopologyNodeK8SIoNodeResourceTopologyV1Alpha1ManifestData 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"`

	TopologyPolicies *[]string `tfsdk:"topology_policies" json:"topologyPolicies,omitempty"`
	Zones            *[]struct {
		Attributes *[]struct {
			Name  *string `tfsdk:"name" json:"name,omitempty"`
			Value *string `tfsdk:"value" json:"value,omitempty"`
		} `tfsdk:"attributes" json:"attributes,omitempty"`
		Costs *[]struct {
			Name  *string `tfsdk:"name" json:"name,omitempty"`
			Value *int64  `tfsdk:"value" json:"value,omitempty"`
		} `tfsdk:"costs" json:"costs,omitempty"`
		Name      *string `tfsdk:"name" json:"name,omitempty"`
		Parent    *string `tfsdk:"parent" json:"parent,omitempty"`
		Resources *[]struct {
			Allocatable *string `tfsdk:"allocatable" json:"allocatable,omitempty"`
			Available   *string `tfsdk:"available" json:"available,omitempty"`
			Capacity    *string `tfsdk:"capacity" json:"capacity,omitempty"`
			Name        *string `tfsdk:"name" json:"name,omitempty"`
		} `tfsdk:"resources" json:"resources,omitempty"`
		Type *string `tfsdk:"type" json:"type,omitempty"`
	} `tfsdk:"zones" json:"zones,omitempty"`
}

Jump to

Keyboard shortcuts

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