Documentation ¶
Index ¶
- func NewVirtVirtinkSmartxComVirtualMachineMigrationV1Alpha1Manifest() datasource.DataSource
- func NewVirtVirtinkSmartxComVirtualMachineV1Alpha1Manifest() datasource.DataSource
- type VirtVirtinkSmartxComVirtualMachineMigrationV1Alpha1Manifest
- func (r *VirtVirtinkSmartxComVirtualMachineMigrationV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *VirtVirtinkSmartxComVirtualMachineMigrationV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *VirtVirtinkSmartxComVirtualMachineMigrationV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type VirtVirtinkSmartxComVirtualMachineMigrationV1Alpha1ManifestData
- type VirtVirtinkSmartxComVirtualMachineV1Alpha1Manifest
- func (r *VirtVirtinkSmartxComVirtualMachineV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *VirtVirtinkSmartxComVirtualMachineV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *VirtVirtinkSmartxComVirtualMachineV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type VirtVirtinkSmartxComVirtualMachineV1Alpha1ManifestData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewVirtVirtinkSmartxComVirtualMachineMigrationV1Alpha1Manifest ¶
func NewVirtVirtinkSmartxComVirtualMachineMigrationV1Alpha1Manifest() datasource.DataSource
func NewVirtVirtinkSmartxComVirtualMachineV1Alpha1Manifest ¶
func NewVirtVirtinkSmartxComVirtualMachineV1Alpha1Manifest() datasource.DataSource
Types ¶
type VirtVirtinkSmartxComVirtualMachineMigrationV1Alpha1Manifest ¶
type VirtVirtinkSmartxComVirtualMachineMigrationV1Alpha1Manifest struct{}
func (*VirtVirtinkSmartxComVirtualMachineMigrationV1Alpha1Manifest) Metadata ¶
func (r *VirtVirtinkSmartxComVirtualMachineMigrationV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*VirtVirtinkSmartxComVirtualMachineMigrationV1Alpha1Manifest) Read ¶
func (r *VirtVirtinkSmartxComVirtualMachineMigrationV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*VirtVirtinkSmartxComVirtualMachineMigrationV1Alpha1Manifest) Schema ¶
func (r *VirtVirtinkSmartxComVirtualMachineMigrationV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type VirtVirtinkSmartxComVirtualMachineMigrationV1Alpha1ManifestData ¶
type VirtVirtinkSmartxComVirtualMachineMigrationV1Alpha1ManifestData 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 { VmName *string `tfsdk:"vm_name" json:"vmName,omitempty"` } `tfsdk:"spec" json:"spec,omitempty"` }
type VirtVirtinkSmartxComVirtualMachineV1Alpha1Manifest ¶
type VirtVirtinkSmartxComVirtualMachineV1Alpha1Manifest struct{}
func (*VirtVirtinkSmartxComVirtualMachineV1Alpha1Manifest) Metadata ¶
func (r *VirtVirtinkSmartxComVirtualMachineV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*VirtVirtinkSmartxComVirtualMachineV1Alpha1Manifest) Read ¶
func (r *VirtVirtinkSmartxComVirtualMachineV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*VirtVirtinkSmartxComVirtualMachineV1Alpha1Manifest) Schema ¶
func (r *VirtVirtinkSmartxComVirtualMachineV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type VirtVirtinkSmartxComVirtualMachineV1Alpha1ManifestData ¶
type VirtVirtinkSmartxComVirtualMachineV1Alpha1ManifestData 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 { Affinity *struct { NodeAffinity *struct { PreferredDuringSchedulingIgnoredDuringExecution *[]struct { Preference *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchFields *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_fields" json:"matchFields,omitempty"` } `tfsdk:"preference" json:"preference,omitempty"` Weight *int64 `tfsdk:"weight" json:"weight,omitempty"` } `tfsdk:"preferred_during_scheduling_ignored_during_execution" json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"` RequiredDuringSchedulingIgnoredDuringExecution *struct { NodeSelectorTerms *[]struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchFields *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_fields" json:"matchFields,omitempty"` } `tfsdk:"node_selector_terms" json:"nodeSelectorTerms,omitempty"` } `tfsdk:"required_during_scheduling_ignored_during_execution" json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"` } `tfsdk:"node_affinity" json:"nodeAffinity,omitempty"` PodAffinity *struct { PreferredDuringSchedulingIgnoredDuringExecution *[]struct { PodAffinityTerm *struct { LabelSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"label_selector" json:"labelSelector,omitempty"` NamespaceSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"` Namespaces *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"` TopologyKey *string `tfsdk:"topology_key" json:"topologyKey,omitempty"` } `tfsdk:"pod_affinity_term" json:"podAffinityTerm,omitempty"` Weight *int64 `tfsdk:"weight" json:"weight,omitempty"` } `tfsdk:"preferred_during_scheduling_ignored_during_execution" json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"` RequiredDuringSchedulingIgnoredDuringExecution *[]struct { LabelSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"label_selector" json:"labelSelector,omitempty"` NamespaceSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"` Namespaces *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"` TopologyKey *string `tfsdk:"topology_key" json:"topologyKey,omitempty"` } `tfsdk:"required_during_scheduling_ignored_during_execution" json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"` } `tfsdk:"pod_affinity" json:"podAffinity,omitempty"` PodAntiAffinity *struct { PreferredDuringSchedulingIgnoredDuringExecution *[]struct { PodAffinityTerm *struct { LabelSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"label_selector" json:"labelSelector,omitempty"` NamespaceSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"` Namespaces *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"` TopologyKey *string `tfsdk:"topology_key" json:"topologyKey,omitempty"` } `tfsdk:"pod_affinity_term" json:"podAffinityTerm,omitempty"` Weight *int64 `tfsdk:"weight" json:"weight,omitempty"` } `tfsdk:"preferred_during_scheduling_ignored_during_execution" json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"` RequiredDuringSchedulingIgnoredDuringExecution *[]struct { LabelSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"label_selector" json:"labelSelector,omitempty"` NamespaceSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"` Namespaces *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"` TopologyKey *string `tfsdk:"topology_key" json:"topologyKey,omitempty"` } `tfsdk:"required_during_scheduling_ignored_during_execution" json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"` } `tfsdk:"pod_anti_affinity" json:"podAntiAffinity,omitempty"` } `tfsdk:"affinity" json:"affinity,omitempty"` Instance *struct { Cpu *struct { CoresPerSocket *int64 `tfsdk:"cores_per_socket" json:"coresPerSocket,omitempty"` DedicatedCPUPlacement *bool `tfsdk:"dedicated_cpu_placement" json:"dedicatedCPUPlacement,omitempty"` Sockets *int64 `tfsdk:"sockets" json:"sockets,omitempty"` } `tfsdk:"cpu" json:"cpu,omitempty"` Disks *[]struct { Name *string `tfsdk:"name" json:"name,omitempty"` ReadOnly *bool `tfsdk:"read_only" json:"readOnly,omitempty"` } `tfsdk:"disks" json:"disks,omitempty"` FileSystems *[]struct { Name *string `tfsdk:"name" json:"name,omitempty"` } `tfsdk:"file_systems" json:"fileSystems,omitempty"` Interfaces *[]struct { Bridge *map[string]string `tfsdk:"bridge" json:"bridge,omitempty"` Mac *string `tfsdk:"mac" json:"mac,omitempty"` Masquerade *struct { Cidr *string `tfsdk:"cidr" json:"cidr,omitempty"` } `tfsdk:"masquerade" json:"masquerade,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Sriov *map[string]string `tfsdk:"sriov" json:"sriov,omitempty"` Vdpa *struct { Iommu *bool `tfsdk:"iommu" json:"iommu,omitempty"` NumQueues *int64 `tfsdk:"num_queues" json:"numQueues,omitempty"` } `tfsdk:"vdpa" json:"vdpa,omitempty"` VhostUser *map[string]string `tfsdk:"vhost_user" json:"vhostUser,omitempty"` } `tfsdk:"interfaces" json:"interfaces,omitempty"` Kernel *struct { Cmdline *string `tfsdk:"cmdline" json:"cmdline,omitempty"` Image *string `tfsdk:"image" json:"image,omitempty"` ImagePullPolicy *string `tfsdk:"image_pull_policy" json:"imagePullPolicy,omitempty"` } `tfsdk:"kernel" json:"kernel,omitempty"` Memory *struct { Hugepages *struct { PageSize *string `tfsdk:"page_size" json:"pageSize,omitempty"` } `tfsdk:"hugepages" json:"hugepages,omitempty"` Size *string `tfsdk:"size" json:"size,omitempty"` } `tfsdk:"memory" json:"memory,omitempty"` } `tfsdk:"instance" json:"instance,omitempty"` LivenessProbe *struct { Exec *struct { Command *[]string `tfsdk:"command" json:"command,omitempty"` } `tfsdk:"exec" json:"exec,omitempty"` FailureThreshold *int64 `tfsdk:"failure_threshold" json:"failureThreshold,omitempty"` Grpc *struct { Port *int64 `tfsdk:"port" json:"port,omitempty"` Service *string `tfsdk:"service" json:"service,omitempty"` } `tfsdk:"grpc" json:"grpc,omitempty"` HttpGet *struct { Host *string `tfsdk:"host" json:"host,omitempty"` HttpHeaders *[]struct { Name *string `tfsdk:"name" json:"name,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"http_headers" json:"httpHeaders,omitempty"` Path *string `tfsdk:"path" json:"path,omitempty"` Port *string `tfsdk:"port" json:"port,omitempty"` Scheme *string `tfsdk:"scheme" json:"scheme,omitempty"` } `tfsdk:"http_get" json:"httpGet,omitempty"` InitialDelaySeconds *int64 `tfsdk:"initial_delay_seconds" json:"initialDelaySeconds,omitempty"` PeriodSeconds *int64 `tfsdk:"period_seconds" json:"periodSeconds,omitempty"` SuccessThreshold *int64 `tfsdk:"success_threshold" json:"successThreshold,omitempty"` TcpSocket *struct { Host *string `tfsdk:"host" json:"host,omitempty"` Port *string `tfsdk:"port" json:"port,omitempty"` } `tfsdk:"tcp_socket" json:"tcpSocket,omitempty"` TerminationGracePeriodSeconds *int64 `tfsdk:"termination_grace_period_seconds" json:"terminationGracePeriodSeconds,omitempty"` TimeoutSeconds *int64 `tfsdk:"timeout_seconds" json:"timeoutSeconds,omitempty"` } `tfsdk:"liveness_probe" json:"livenessProbe,omitempty"` Networks *[]struct { Multus *struct { NetworkName *string `tfsdk:"network_name" json:"networkName,omitempty"` } `tfsdk:"multus" json:"multus,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Pod *map[string]string `tfsdk:"pod" json:"pod,omitempty"` } `tfsdk:"networks" json:"networks,omitempty"` NodeSelector *map[string]string `tfsdk:"node_selector" json:"nodeSelector,omitempty"` ReadinessProbe *struct { Exec *struct { Command *[]string `tfsdk:"command" json:"command,omitempty"` } `tfsdk:"exec" json:"exec,omitempty"` FailureThreshold *int64 `tfsdk:"failure_threshold" json:"failureThreshold,omitempty"` Grpc *struct { Port *int64 `tfsdk:"port" json:"port,omitempty"` Service *string `tfsdk:"service" json:"service,omitempty"` } `tfsdk:"grpc" json:"grpc,omitempty"` HttpGet *struct { Host *string `tfsdk:"host" json:"host,omitempty"` HttpHeaders *[]struct { Name *string `tfsdk:"name" json:"name,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"http_headers" json:"httpHeaders,omitempty"` Path *string `tfsdk:"path" json:"path,omitempty"` Port *string `tfsdk:"port" json:"port,omitempty"` Scheme *string `tfsdk:"scheme" json:"scheme,omitempty"` } `tfsdk:"http_get" json:"httpGet,omitempty"` InitialDelaySeconds *int64 `tfsdk:"initial_delay_seconds" json:"initialDelaySeconds,omitempty"` PeriodSeconds *int64 `tfsdk:"period_seconds" json:"periodSeconds,omitempty"` SuccessThreshold *int64 `tfsdk:"success_threshold" json:"successThreshold,omitempty"` TcpSocket *struct { Host *string `tfsdk:"host" json:"host,omitempty"` Port *string `tfsdk:"port" json:"port,omitempty"` } `tfsdk:"tcp_socket" json:"tcpSocket,omitempty"` TerminationGracePeriodSeconds *int64 `tfsdk:"termination_grace_period_seconds" json:"terminationGracePeriodSeconds,omitempty"` TimeoutSeconds *int64 `tfsdk:"timeout_seconds" json:"timeoutSeconds,omitempty"` } `tfsdk:"readiness_probe" json:"readinessProbe,omitempty"` Resources *struct { Limits *map[string]string `tfsdk:"limits" json:"limits,omitempty"` Requests *map[string]string `tfsdk:"requests" json:"requests,omitempty"` } `tfsdk:"resources" json:"resources,omitempty"` RunPolicy *string `tfsdk:"run_policy" json:"runPolicy,omitempty"` Tolerations *[]struct { Effect *string `tfsdk:"effect" json:"effect,omitempty"` Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` TolerationSeconds *int64 `tfsdk:"toleration_seconds" json:"tolerationSeconds,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"tolerations" json:"tolerations,omitempty"` Volumes *[]struct { CloudInit *struct { NetworkData *string `tfsdk:"network_data" json:"networkData,omitempty"` NetworkDataBase64 *string `tfsdk:"network_data_base64" json:"networkDataBase64,omitempty"` NetworkDataSecretName *string `tfsdk:"network_data_secret_name" json:"networkDataSecretName,omitempty"` UserData *string `tfsdk:"user_data" json:"userData,omitempty"` UserDataBase64 *string `tfsdk:"user_data_base64" json:"userDataBase64,omitempty"` UserDataSecretName *string `tfsdk:"user_data_secret_name" json:"userDataSecretName,omitempty"` } `tfsdk:"cloud_init" json:"cloudInit,omitempty"` ContainerDisk *struct { Image *string `tfsdk:"image" json:"image,omitempty"` ImagePullPolicy *string `tfsdk:"image_pull_policy" json:"imagePullPolicy,omitempty"` } `tfsdk:"container_disk" json:"containerDisk,omitempty"` ContainerRootfs *struct { Image *string `tfsdk:"image" json:"image,omitempty"` ImagePullPolicy *string `tfsdk:"image_pull_policy" json:"imagePullPolicy,omitempty"` Size *string `tfsdk:"size" json:"size,omitempty"` } `tfsdk:"container_rootfs" json:"containerRootfs,omitempty"` DataVolume *struct { Hotpluggable *bool `tfsdk:"hotpluggable" json:"hotpluggable,omitempty"` VolumeName *string `tfsdk:"volume_name" json:"volumeName,omitempty"` } `tfsdk:"data_volume" json:"dataVolume,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` PersistentVolumeClaim *struct { ClaimName *string `tfsdk:"claim_name" json:"claimName,omitempty"` Hotpluggable *bool `tfsdk:"hotpluggable" json:"hotpluggable,omitempty"` } `tfsdk:"persistent_volume_claim" json:"persistentVolumeClaim,omitempty"` } `tfsdk:"volumes" json:"volumes,omitempty"` } `tfsdk:"spec" json:"spec,omitempty"` }
Click to show internal directories.
Click to hide internal directories.