tinkerbell_org_v1alpha1

package
v0.0.0-...-6209148 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: 0BSD Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTinkerbellOrgHardwareV1Alpha1Manifest

func NewTinkerbellOrgHardwareV1Alpha1Manifest() datasource.DataSource

func NewTinkerbellOrgOsieV1Alpha1Manifest

func NewTinkerbellOrgOsieV1Alpha1Manifest() datasource.DataSource

func NewTinkerbellOrgStackV1Alpha1Manifest

func NewTinkerbellOrgStackV1Alpha1Manifest() datasource.DataSource

func NewTinkerbellOrgTemplateV1Alpha1Manifest

func NewTinkerbellOrgTemplateV1Alpha1Manifest() datasource.DataSource

func NewTinkerbellOrgWorkflowV1Alpha1Manifest

func NewTinkerbellOrgWorkflowV1Alpha1Manifest() datasource.DataSource

Types

type TinkerbellOrgHardwareV1Alpha1Manifest

type TinkerbellOrgHardwareV1Alpha1Manifest struct{}

func (*TinkerbellOrgHardwareV1Alpha1Manifest) Metadata

func (*TinkerbellOrgHardwareV1Alpha1Manifest) Read

func (*TinkerbellOrgHardwareV1Alpha1Manifest) Schema

type TinkerbellOrgHardwareV1Alpha1ManifestData

type TinkerbellOrgHardwareV1Alpha1ManifestData 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 {
		BmcRef *struct {
			ApiGroup *string `tfsdk:"api_group" json:"apiGroup,omitempty"`
			Kind     *string `tfsdk:"kind" json:"kind,omitempty"`
			Name     *string `tfsdk:"name" json:"name,omitempty"`
		} `tfsdk:"bmc_ref" json:"bmcRef,omitempty"`
		Disks *[]struct {
			Device *string `tfsdk:"device" json:"device,omitempty"`
		} `tfsdk:"disks" json:"disks,omitempty"`
		Interfaces *[]struct {
			Dhcp *struct {
				Arch       *string `tfsdk:"arch" json:"arch,omitempty"`
				Hostname   *string `tfsdk:"hostname" json:"hostname,omitempty"`
				Iface_name *string `tfsdk:"iface_name" json:"iface_name,omitempty"`
				Ip         *struct {
					Address *string `tfsdk:"address" json:"address,omitempty"`
					Family  *int64  `tfsdk:"family" json:"family,omitempty"`
					Gateway *string `tfsdk:"gateway" json:"gateway,omitempty"`
					Netmask *string `tfsdk:"netmask" json:"netmask,omitempty"`
				} `tfsdk:"ip" json:"ip,omitempty"`
				Lease_time   *int64    `tfsdk:"lease_time" json:"lease_time,omitempty"`
				Mac          *string   `tfsdk:"mac" json:"mac,omitempty"`
				Name_servers *[]string `tfsdk:"name_servers" json:"name_servers,omitempty"`
				Time_servers *[]string `tfsdk:"time_servers" json:"time_servers,omitempty"`
				Uefi         *bool     `tfsdk:"uefi" json:"uefi,omitempty"`
				Vlan_id      *string   `tfsdk:"vlan_id" json:"vlan_id,omitempty"`
			} `tfsdk:"dhcp" json:"dhcp,omitempty"`
			Netboot *struct {
				AllowPXE      *bool `tfsdk:"allow_pxe" json:"allowPXE,omitempty"`
				AllowWorkflow *bool `tfsdk:"allow_workflow" json:"allowWorkflow,omitempty"`
				Ipxe          *struct {
					Contents *string `tfsdk:"contents" json:"contents,omitempty"`
					Url      *string `tfsdk:"url" json:"url,omitempty"`
				} `tfsdk:"ipxe" json:"ipxe,omitempty"`
				Osie *struct {
					BaseURL *string `tfsdk:"base_url" json:"baseURL,omitempty"`
					Initrd  *string `tfsdk:"initrd" json:"initrd,omitempty"`
					Kernel  *string `tfsdk:"kernel" json:"kernel,omitempty"`
				} `tfsdk:"osie" json:"osie,omitempty"`
			} `tfsdk:"netboot" json:"netboot,omitempty"`
		} `tfsdk:"interfaces" json:"interfaces,omitempty"`
		Metadata *struct {
			Bonding_mode *int64 `tfsdk:"bonding_mode" json:"bonding_mode,omitempty"`
			Custom       *struct {
				Preinstalled_operating_system_version *struct {
					Distro    *string `tfsdk:"distro" json:"distro,omitempty"`
					Image_tag *string `tfsdk:"image_tag" json:"image_tag,omitempty"`
					Os_slug   *string `tfsdk:"os_slug" json:"os_slug,omitempty"`
					Slug      *string `tfsdk:"slug" json:"slug,omitempty"`
					Version   *string `tfsdk:"version" json:"version,omitempty"`
				} `tfsdk:"preinstalled_operating_system_version" json:"preinstalled_operating_system_version,omitempty"`
				Private_subnets *[]string `tfsdk:"private_subnets" json:"private_subnets,omitempty"`
			} `tfsdk:"custom" json:"custom,omitempty"`
			Facility *struct {
				Facility_code     *string `tfsdk:"facility_code" json:"facility_code,omitempty"`
				Plan_slug         *string `tfsdk:"plan_slug" json:"plan_slug,omitempty"`
				Plan_version_slug *string `tfsdk:"plan_version_slug" json:"plan_version_slug,omitempty"`
			} `tfsdk:"facility" json:"facility,omitempty"`
			Instance *struct {
				Allow_pxe             *bool   `tfsdk:"allow_pxe" json:"allow_pxe,omitempty"`
				Always_pxe            *bool   `tfsdk:"always_pxe" json:"always_pxe,omitempty"`
				Crypted_root_password *string `tfsdk:"crypted_root_password" json:"crypted_root_password,omitempty"`
				Hostname              *string `tfsdk:"hostname" json:"hostname,omitempty"`
				Id                    *string `tfsdk:"id" json:"id,omitempty"`
				Ips                   *[]struct {
					Address    *string `tfsdk:"address" json:"address,omitempty"`
					Family     *int64  `tfsdk:"family" json:"family,omitempty"`
					Gateway    *string `tfsdk:"gateway" json:"gateway,omitempty"`
					Management *bool   `tfsdk:"management" json:"management,omitempty"`
					Netmask    *string `tfsdk:"netmask" json:"netmask,omitempty"`
					Public     *bool   `tfsdk:"public" json:"public,omitempty"`
				} `tfsdk:"ips" json:"ips,omitempty"`
				Ipxe_script_url  *string `tfsdk:"ipxe_script_url" json:"ipxe_script_url,omitempty"`
				Network_ready    *bool   `tfsdk:"network_ready" json:"network_ready,omitempty"`
				Operating_system *struct {
					Distro    *string `tfsdk:"distro" json:"distro,omitempty"`
					Image_tag *string `tfsdk:"image_tag" json:"image_tag,omitempty"`
					Os_slug   *string `tfsdk:"os_slug" json:"os_slug,omitempty"`
					Slug      *string `tfsdk:"slug" json:"slug,omitempty"`
					Version   *string `tfsdk:"version" json:"version,omitempty"`
				} `tfsdk:"operating_system" json:"operating_system,omitempty"`
				Rescue   *bool     `tfsdk:"rescue" json:"rescue,omitempty"`
				Ssh_keys *[]string `tfsdk:"ssh_keys" json:"ssh_keys,omitempty"`
				State    *string   `tfsdk:"state" json:"state,omitempty"`
				Storage  *struct {
					Disks *[]struct {
						Device     *string `tfsdk:"device" json:"device,omitempty"`
						Partitions *[]struct {
							Label     *string `tfsdk:"label" json:"label,omitempty"`
							Number    *int64  `tfsdk:"number" json:"number,omitempty"`
							Size      *int64  `tfsdk:"size" json:"size,omitempty"`
							Start     *int64  `tfsdk:"start" json:"start,omitempty"`
							Type_guid *string `tfsdk:"type_guid" json:"type_guid,omitempty"`
						} `tfsdk:"partitions" json:"partitions,omitempty"`
						Wipe_table *bool `tfsdk:"wipe_table" json:"wipe_table,omitempty"`
					} `tfsdk:"disks" json:"disks,omitempty"`
					Filesystems *[]struct {
						Mount *struct {
							Create *struct {
								Force   *bool     `tfsdk:"force" json:"force,omitempty"`
								Options *[]string `tfsdk:"options" json:"options,omitempty"`
							} `tfsdk:"create" json:"create,omitempty"`
							Device *string `tfsdk:"device" json:"device,omitempty"`
							Files  *[]struct {
								Contents *string `tfsdk:"contents" json:"contents,omitempty"`
								Gid      *int64  `tfsdk:"gid" json:"gid,omitempty"`
								Mode     *int64  `tfsdk:"mode" json:"mode,omitempty"`
								Path     *string `tfsdk:"path" json:"path,omitempty"`
								Uid      *int64  `tfsdk:"uid" json:"uid,omitempty"`
							} `tfsdk:"files" json:"files,omitempty"`
							Format *string `tfsdk:"format" json:"format,omitempty"`
							Point  *string `tfsdk:"point" json:"point,omitempty"`
						} `tfsdk:"mount" json:"mount,omitempty"`
					} `tfsdk:"filesystems" json:"filesystems,omitempty"`
					Raid *[]struct {
						Devices *[]string `tfsdk:"devices" json:"devices,omitempty"`
						Level   *string   `tfsdk:"level" json:"level,omitempty"`
						Name    *string   `tfsdk:"name" json:"name,omitempty"`
						Spare   *int64    `tfsdk:"spare" json:"spare,omitempty"`
					} `tfsdk:"raid" json:"raid,omitempty"`
				} `tfsdk:"storage" json:"storage,omitempty"`
				Tags     *[]string `tfsdk:"tags" json:"tags,omitempty"`
				Userdata *string   `tfsdk:"userdata" json:"userdata,omitempty"`
			} `tfsdk:"instance" json:"instance,omitempty"`
			Manufacturer *struct {
				Id   *string `tfsdk:"id" json:"id,omitempty"`
				Slug *string `tfsdk:"slug" json:"slug,omitempty"`
			} `tfsdk:"manufacturer" json:"manufacturer,omitempty"`
			State *string `tfsdk:"state" json:"state,omitempty"`
		} `tfsdk:"metadata" json:"metadata,omitempty"`
		Resources   *map[string]string `tfsdk:"resources" json:"resources,omitempty"`
		TinkVersion *int64             `tfsdk:"tink_version" json:"tinkVersion,omitempty"`
		UserData    *string            `tfsdk:"user_data" json:"userData,omitempty"`
		VendorData  *string            `tfsdk:"vendor_data" json:"vendorData,omitempty"`
	} `tfsdk:"spec" json:"spec,omitempty"`
}

type TinkerbellOrgOsieV1Alpha1Manifest

type TinkerbellOrgOsieV1Alpha1Manifest struct{}

func (*TinkerbellOrgOsieV1Alpha1Manifest) Metadata

func (*TinkerbellOrgOsieV1Alpha1Manifest) Read

func (*TinkerbellOrgOsieV1Alpha1Manifest) Schema

type TinkerbellOrgOsieV1Alpha1ManifestData

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

	BaseURL *string `tfsdk:"base_url" json:"baseURL,omitempty"`
	Initrd  *string `tfsdk:"initrd" json:"initrd,omitempty"`
	Kernel  *string `tfsdk:"kernel" json:"kernel,omitempty"`
}

type TinkerbellOrgStackV1Alpha1Manifest

type TinkerbellOrgStackV1Alpha1Manifest struct{}

func (*TinkerbellOrgStackV1Alpha1Manifest) Metadata

func (*TinkerbellOrgStackV1Alpha1Manifest) Read

func (*TinkerbellOrgStackV1Alpha1Manifest) Schema

type TinkerbellOrgStackV1Alpha1ManifestData

type TinkerbellOrgStackV1Alpha1ManifestData 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 {
		DnsResolverIP    *string   `tfsdk:"dns_resolver_ip" json:"dnsResolverIP,omitempty"`
		ImagePullSecrets *[]string `tfsdk:"image_pull_secrets" json:"imagePullSecrets,omitempty"`
		Registry         *string   `tfsdk:"registry" json:"registry,omitempty"`
		Services         *struct {
			Hegel *struct {
				Image *struct {
					Repository *string `tfsdk:"repository" json:"repository,omitempty"`
					Tag        *string `tfsdk:"tag" json:"tag,omitempty"`
				} `tfsdk:"image" json:"image,omitempty"`
				TrustedProxies *[]string `tfsdk:"trusted_proxies" json:"trustedProxies,omitempty"`
			} `tfsdk:"hegel" json:"hegel,omitempty"`
			Rufio *struct {
				Image *struct {
					Repository *string `tfsdk:"repository" json:"repository,omitempty"`
					Tag        *string `tfsdk:"tag" json:"tag,omitempty"`
				} `tfsdk:"image" json:"image,omitempty"`
			} `tfsdk:"rufio" json:"rufio,omitempty"`
			Smee *struct {
				BackendConfigs *struct {
					BackendFileMode *struct {
						FilePath *string `tfsdk:"file_path" json:"filePath,omitempty"`
					} `tfsdk:"backend_file_mode" json:"backendFileMode,omitempty"`
					BackendKubeMode *struct {
						ConfigFilePath *string `tfsdk:"config_file_path" json:"configFilePath,omitempty"`
						KubeAPIURL     *string `tfsdk:"kube_api_url" json:"kubeAPIURL,omitempty"`
						KubeNamespace  *string `tfsdk:"kube_namespace" json:"kubeNamespace,omitempty"`
					} `tfsdk:"backend_kube_mode" json:"backendKubeMode,omitempty"`
				} `tfsdk:"backend_configs" json:"backendConfigs,omitempty"`
				DhcpConfigs *struct {
					IPForPacket           *string `tfsdk:"ip_for_packet" json:"IPForPacket,omitempty"`
					HttpIPXEBinaryAddress *string `tfsdk:"http_ipxe_binary_address" json:"httpIPXEBinaryAddress,omitempty"`
					HttpIPXEBinaryURI     *string `tfsdk:"http_ipxe_binary_uri" json:"httpIPXEBinaryURI,omitempty"`
					Ip                    *string `tfsdk:"ip" json:"ip,omitempty"`
					Port                  *int64  `tfsdk:"port" json:"port,omitempty"`
					SyslogIP              *string `tfsdk:"syslog_ip" json:"syslogIP,omitempty"`
					TftpAddress           *string `tfsdk:"tftp_address" json:"tftpAddress,omitempty"`
				} `tfsdk:"dhcp_configs" json:"dhcpConfigs,omitempty"`
				Image *struct {
					Repository *string `tfsdk:"repository" json:"repository,omitempty"`
					Tag        *string `tfsdk:"tag" json:"tag,omitempty"`
				} `tfsdk:"image" json:"image,omitempty"`
				IpxeConfigs *struct {
					EnableHTTPBinary  *bool     `tfsdk:"enable_http_binary" json:"enableHTTPBinary,omitempty"`
					EnableTLS         *bool     `tfsdk:"enable_tls" json:"enableTLS,omitempty"`
					ExtraKernelArgs   *string   `tfsdk:"extra_kernel_args" json:"extraKernelArgs,omitempty"`
					HookURL           *string   `tfsdk:"hook_url" json:"hookURL,omitempty"`
					Ip                *string   `tfsdk:"ip" json:"ip,omitempty"`
					Port              *int64    `tfsdk:"port" json:"port,omitempty"`
					TinkServerAddress *string   `tfsdk:"tink_server_address" json:"tinkServerAddress,omitempty"`
					TrustedProxies    *[]string `tfsdk:"trusted_proxies" json:"trustedProxies,omitempty"`
				} `tfsdk:"ipxe_configs" json:"ipxeConfigs,omitempty"`
				LogLevel      *string `tfsdk:"log_level" json:"logLevel,omitempty"`
				SyslogConfigs *struct {
					BindAddress *string `tfsdk:"bind_address" json:"bindAddress,omitempty"`
					Port        *int64  `tfsdk:"port" json:"port,omitempty"`
				} `tfsdk:"syslog_configs" json:"syslogConfigs,omitempty"`
				TftpConfigs *struct {
					Ip              *string `tfsdk:"ip" json:"ip,omitempty"`
					IpxeScriptPatch *string `tfsdk:"ipxe_script_patch" json:"ipxeScriptPatch,omitempty"`
					Port            *int64  `tfsdk:"port" json:"port,omitempty"`
					TftpTimeout     *int64  `tfsdk:"tftp_timeout" json:"tftpTimeout,omitempty"`
				} `tfsdk:"tftp_configs" json:"tftpConfigs,omitempty"`
			} `tfsdk:"smee" json:"smee,omitempty"`
			TinkController *struct {
				Image *struct {
					Repository *string `tfsdk:"repository" json:"repository,omitempty"`
					Tag        *string `tfsdk:"tag" json:"tag,omitempty"`
				} `tfsdk:"image" json:"image,omitempty"`
			} `tfsdk:"tink_controller" json:"tinkController,omitempty"`
			TinkServer *struct {
				EnableTLS *bool `tfsdk:"enable_tls" json:"enableTLS,omitempty"`
				Image     *struct {
					Repository *string `tfsdk:"repository" json:"repository,omitempty"`
					Tag        *string `tfsdk:"tag" json:"tag,omitempty"`
				} `tfsdk:"image" json:"image,omitempty"`
			} `tfsdk:"tink_server" json:"tinkServer,omitempty"`
		} `tfsdk:"services" json:"services,omitempty"`
		Version *string `tfsdk:"version" json:"version,omitempty"`
	} `tfsdk:"spec" json:"spec,omitempty"`
}

type TinkerbellOrgTemplateV1Alpha1Manifest

type TinkerbellOrgTemplateV1Alpha1Manifest struct{}

func (*TinkerbellOrgTemplateV1Alpha1Manifest) Metadata

func (*TinkerbellOrgTemplateV1Alpha1Manifest) Read

func (*TinkerbellOrgTemplateV1Alpha1Manifest) Schema

type TinkerbellOrgTemplateV1Alpha1ManifestData

type TinkerbellOrgTemplateV1Alpha1ManifestData 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 {
		Data *string `tfsdk:"data" json:"data,omitempty"`
	} `tfsdk:"spec" json:"spec,omitempty"`
}

type TinkerbellOrgWorkflowV1Alpha1Manifest

type TinkerbellOrgWorkflowV1Alpha1Manifest struct{}

func (*TinkerbellOrgWorkflowV1Alpha1Manifest) Metadata

func (*TinkerbellOrgWorkflowV1Alpha1Manifest) Read

func (*TinkerbellOrgWorkflowV1Alpha1Manifest) Schema

type TinkerbellOrgWorkflowV1Alpha1ManifestData

type TinkerbellOrgWorkflowV1Alpha1ManifestData 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 {
		BootOptions *struct {
			BootMode           *string `tfsdk:"boot_mode" json:"bootMode,omitempty"`
			IsoURL             *string `tfsdk:"iso_url" json:"isoURL,omitempty"`
			ToggleAllowNetboot *bool   `tfsdk:"toggle_allow_netboot" json:"toggleAllowNetboot,omitempty"`
		} `tfsdk:"boot_options" json:"bootOptions,omitempty"`
		HardwareMap *map[string]string `tfsdk:"hardware_map" json:"hardwareMap,omitempty"`
		HardwareRef *string            `tfsdk:"hardware_ref" json:"hardwareRef,omitempty"`
		TemplateRef *string            `tfsdk:"template_ref" json:"templateRef,omitempty"`
	} `tfsdk:"spec" json:"spec,omitempty"`
}

Jump to

Keyboard shortcuts

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