mlplatform

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MPL-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewJupyterHubResource

func NewJupyterHubResource() resource.Resource

func NewK8SRegistryResource added in v0.7.0

func NewK8SRegistryResource() resource.Resource

func NewMLFlowDeployResource

func NewMLFlowDeployResource() resource.Resource

func NewMLFlowResource

func NewMLFlowResource() resource.Resource

func NewSparkK8SResource added in v0.7.0

func NewSparkK8SResource() resource.Resource

Types

type JupyterHubResource

type JupyterHubResource struct {
	// contains filtered or unexported fields
}

func (*JupyterHubResource) Configure

func (*JupyterHubResource) Create

func (*JupyterHubResource) Delete

func (*JupyterHubResource) ImportState

func (*JupyterHubResource) Metadata

func (*JupyterHubResource) Read

func (*JupyterHubResource) Schema

func (*JupyterHubResource) Update

type JupyterHubResourceModel

type JupyterHubResourceModel struct {
	ID               types.String              `tfsdk:"id"`
	Name             types.String              `tfsdk:"name"`
	DomainName       types.String              `tfsdk:"domain_name"`
	AdminName        types.String              `tfsdk:"admin_name"`
	AdminPassword    types.String              `tfsdk:"admin_password"`
	FlavorID         types.String              `tfsdk:"flavor_id"`
	AvailabilityZone types.String              `tfsdk:"availability_zone"`
	BootVolume       *MLPlatformVolumeModel    `tfsdk:"boot_volume"`
	DataVolumes      []*MLPlatformVolumeModel  `tfsdk:"data_volumes"`
	Networks         []*MLPlatformNetworkModel `tfsdk:"networks"`
	S3FSBucket       types.String              `tfsdk:"s3fs_bucket"`
	CreatedAt        types.String              `tfsdk:"created_at"`
	PrivateIP        types.String              `tfsdk:"private_ip"`
	DNSName          types.String              `tfsdk:"dns_name"`
	Region           types.String              `tfsdk:"region"`
	Timeouts         timeouts.Value            `tfsdk:"timeouts"`
}

type K8SRegistryResource added in v0.7.0

type K8SRegistryResource struct {
	// contains filtered or unexported fields
}

func (*K8SRegistryResource) Configure added in v0.7.0

func (*K8SRegistryResource) Create added in v0.7.0

func (*K8SRegistryResource) Delete added in v0.7.0

func (*K8SRegistryResource) ImportState added in v0.7.0

func (*K8SRegistryResource) Metadata added in v0.7.0

func (*K8SRegistryResource) Read added in v0.7.0

func (*K8SRegistryResource) Schema added in v0.7.0

func (*K8SRegistryResource) Update added in v0.7.0

type K8SRegistryResourceModel added in v0.7.0

type K8SRegistryResourceModel struct {
	ID               types.String              `tfsdk:"id"`
	Name             types.String              `tfsdk:"name"`
	DomainName       types.String              `tfsdk:"domain_name"`
	AdminName        types.String              `tfsdk:"admin_name"`
	AdminPassword    types.String              `tfsdk:"admin_password"`
	FlavorID         types.String              `tfsdk:"flavor_id"`
	AvailabilityZone types.String              `tfsdk:"availability_zone"`
	BootVolume       *MLPlatformVolumeModel    `tfsdk:"boot_volume"`
	DataVolumes      []*MLPlatformVolumeModel  `tfsdk:"data_volumes"`
	Networks         []*MLPlatformNetworkModel `tfsdk:"networks"`
	CreatedAt        types.String              `tfsdk:"created_at"`
	PrivateIP        types.String              `tfsdk:"private_ip"`
	DNSName          types.String              `tfsdk:"dns_name"`
	Region           types.String              `tfsdk:"region"`
	Timeouts         timeouts.Value            `tfsdk:"timeouts"`
}

type MLFlowDeployResource

type MLFlowDeployResource struct {
	// contains filtered or unexported fields
}

func (*MLFlowDeployResource) Configure

func (*MLFlowDeployResource) Create

func (*MLFlowDeployResource) Delete

func (*MLFlowDeployResource) ImportState

func (*MLFlowDeployResource) Metadata

func (*MLFlowDeployResource) Read

func (*MLFlowDeployResource) Schema

func (*MLFlowDeployResource) Update

type MLFlowDeployResourceModel

type MLFlowDeployResourceModel struct {
	ID               types.String              `tfsdk:"id"`
	Name             types.String              `tfsdk:"name"`
	FlavorID         types.String              `tfsdk:"flavor_id"`
	MLFlowInstanceID types.String              `tfsdk:"mlflow_instance_id"`
	AvailabilityZone types.String              `tfsdk:"availability_zone"`
	BootVolume       *MLPlatformVolumeModel    `tfsdk:"boot_volume"`
	DataVolumes      []*MLPlatformVolumeModel  `tfsdk:"data_volumes"`
	Networks         []*MLPlatformNetworkModel `tfsdk:"networks"`
	CreatedAt        types.String              `tfsdk:"created_at"`
	PrivateIP        types.String              `tfsdk:"private_ip"`
	DNSName          types.String              `tfsdk:"dns_name"`
	Region           types.String              `tfsdk:"region"`
	Timeouts         timeouts.Value            `tfsdk:"timeouts"`
}

type MLFlowResource

type MLFlowResource struct {
	// contains filtered or unexported fields
}

func (*MLFlowResource) Configure

func (*MLFlowResource) Create

func (*MLFlowResource) Delete

func (*MLFlowResource) ImportState

func (*MLFlowResource) Metadata

func (*MLFlowResource) Read

func (*MLFlowResource) Schema

func (*MLFlowResource) Update

type MLFlowResourceModel

type MLFlowResourceModel struct {
	ID               types.String              `tfsdk:"id"`
	Name             types.String              `tfsdk:"name"`
	FlavorID         types.String              `tfsdk:"flavor_id"`
	JHInstanceID     types.String              `tfsdk:"jh_instance_id"`
	AvailabilityZone types.String              `tfsdk:"availability_zone"`
	BootVolume       *MLPlatformVolumeModel    `tfsdk:"boot_volume"`
	DataVolumes      []*MLPlatformVolumeModel  `tfsdk:"data_volumes"`
	Networks         []*MLPlatformNetworkModel `tfsdk:"networks"`
	DemoMode         types.Bool                `tfsdk:"demo_mode"`
	CreatedAt        types.String              `tfsdk:"created_at"`
	PrivateIP        types.String              `tfsdk:"private_ip"`
	DNSName          types.String              `tfsdk:"dns_name"`
	Region           types.String              `tfsdk:"region"`
	Timeouts         timeouts.Value            `tfsdk:"timeouts"`
}

type MLPlatformNetworkModel

type MLPlatformNetworkModel struct {
	IPPool    types.String `tfsdk:"ip_pool"`
	NetworkID types.String `tfsdk:"network_id"`
}

type MLPlatformVolumeModel

type MLPlatformVolumeModel struct {
	Name       types.String `tfsdk:"name"`
	Size       types.Int64  `tfsdk:"size"`
	VolumeType types.String `tfsdk:"volume_type"`
	VolumeID   types.String `tfsdk:"volume_id"`
}

type SparkK8SNodeGroupModel added in v0.7.0

type SparkK8SNodeGroupModel struct {
	NodeCount          types.Int64  `tfsdk:"node_count"`
	FlavorID           types.String `tfsdk:"flavor_id"`
	AutoscalingEnabled types.Bool   `tfsdk:"autoscaling_enabled"`
	MinNodes           types.Int64  `tfsdk:"min_nodes"`
	MaxNodes           types.Int64  `tfsdk:"max_nodes"`
}

type SparkK8SResource added in v0.7.0

type SparkK8SResource struct {
	// contains filtered or unexported fields
}

func (*SparkK8SResource) Configure added in v0.7.0

func (*SparkK8SResource) Create added in v0.7.0

func (*SparkK8SResource) Delete added in v0.7.0

func (*SparkK8SResource) ImportState added in v0.7.0

func (*SparkK8SResource) Metadata added in v0.7.0

func (*SparkK8SResource) Read added in v0.7.0

func (*SparkK8SResource) Schema added in v0.7.0

func (*SparkK8SResource) Update added in v0.7.0

type SparkK8SResourceModel added in v0.7.0

type SparkK8SResourceModel struct {
	ID                   types.String              `tfsdk:"id"`
	Name                 types.String              `tfsdk:"name"`
	AvailabilityZone     types.String              `tfsdk:"availability_zone"`
	NetworkID            types.String              `tfsdk:"network_id"`
	SubnetID             types.String              `tfsdk:"subnet_id"`
	NodeGroups           []*SparkK8SNodeGroupModel `tfsdk:"node_groups"`
	ClusterMode          types.String              `tfsdk:"cluster_mode"`
	RegistryID           types.String              `tfsdk:"registry_id"`
	IPPool               types.String              `tfsdk:"ip_pool"`
	SparkConfiguration   types.String              `tfsdk:"spark_configuration"`
	EnvironmentVariables types.String              `tfsdk:"environment_variables"`

	S3BucketName            types.String `tfsdk:"s3_bucket_name"`
	HistoryServerURL        types.String `tfsdk:"history_server_url"`
	ControlInstanceID       types.String `tfsdk:"control_instance_id"`
	InactiveMin             types.Int64  `tfsdk:"inactive_min"`
	SuspendAfterInactiveMin types.Int64  `tfsdk:"suspend_after_inactive_min"`
	DeleteAfterInactiveMin  types.Int64  `tfsdk:"delete_after_inactive_min"`

	Region   types.String   `tfsdk:"region"`
	Timeouts timeouts.Value `tfsdk:"timeouts"`
}

Jump to

Keyboard shortcuts

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