v1beta1

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=modelarts.flexibleengine.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "modelarts.flexibleengine.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

View Source
var (
	Dataset_Kind             = "Dataset"
	Dataset_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Dataset_Kind}.String()
	Dataset_KindAPIVersion   = Dataset_Kind + "." + CRDGroupVersion.String()
	Dataset_GroupVersionKind = CRDGroupVersion.WithKind(Dataset_Kind)
)

Repository type metadata.

View Source
var (
	DatasetVersion_Kind             = "DatasetVersion"
	DatasetVersion_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: DatasetVersion_Kind}.String()
	DatasetVersion_KindAPIVersion   = DatasetVersion_Kind + "." + CRDGroupVersion.String()
	DatasetVersion_GroupVersionKind = CRDGroupVersion.WithKind(DatasetVersion_Kind)
)

Repository type metadata.

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type DataSourceObservation

type DataSourceObservation struct {
}

func (*DataSourceObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataSourceObservation.

func (*DataSourceObservation) DeepCopyInto

func (in *DataSourceObservation) DeepCopyInto(out *DataSourceObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DataSourceParameters

type DataSourceParameters struct {

	// Specifies the cluster ID of DWS/MRS when data_type is 1 or 4.
	// Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// Specifies the type of data source. The options are as follows:
	// +kubebuilder:validation:Optional
	DataType *float64 `json:"dataType,omitempty" tf:"data_type,omitempty"`

	// Specifies the database name of DWS/DLI when data_type is 1 or 2.
	// Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	DatabaseName *string `json:"databaseName,omitempty" tf:"database_name,omitempty"`

	// Specifies the password of database when data_type is 1.
	// Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"`

	// Specifies the OBS path when data_type is 0
	// or the hdsf path when data_type is 4. All the file in this directory and subdirectories will be which be imported
	// to the dataset. Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	// Specifies the queue name of DLI when data_type is 2.
	// Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	QueueName *string `json:"queueName,omitempty" tf:"queue_name,omitempty"`

	// Specifies the table name of DWS/DLI when data_type is 1 or 2.
	// Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	TableName *string `json:"tableName,omitempty" tf:"table_name,omitempty"`

	// Specifies the user name of databse when data_type is 1.
	// Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	UserName *string `json:"userName,omitempty" tf:"user_name,omitempty"`

	// Specifies whether the data contains table header when the type
	// of dataset is 400(Table type). Default value is true. Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	WithColumnHeader *bool `json:"withColumnHeader,omitempty" tf:"with_column_header,omitempty"`
}

func (*DataSourceParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataSourceParameters.

func (*DataSourceParameters) DeepCopyInto

func (in *DataSourceParameters) DeepCopyInto(out *DataSourceParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Dataset

type Dataset struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DatasetSpec   `json:"spec"`
	Status            DatasetStatus `json:"status,omitempty"`
}

Dataset is the Schema for the Datasets API. ""page_title: "flexibleengine_modelarts_dataset" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,flexibleengine}

func (*Dataset) DeepCopy

func (in *Dataset) DeepCopy() *Dataset

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Dataset.

func (*Dataset) DeepCopyInto

func (in *Dataset) DeepCopyInto(out *Dataset)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Dataset) DeepCopyObject

func (in *Dataset) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Dataset) GetCondition

func (mg *Dataset) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Dataset.

func (*Dataset) GetConnectionDetailsMapping

func (tr *Dataset) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Dataset

func (*Dataset) GetDeletionPolicy

func (mg *Dataset) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Dataset.

func (*Dataset) GetID

func (tr *Dataset) GetID() string

GetID returns ID of underlying Terraform resource of this Dataset

func (*Dataset) GetObservation

func (tr *Dataset) GetObservation() (map[string]any, error)

GetObservation of this Dataset

func (*Dataset) GetParameters

func (tr *Dataset) GetParameters() (map[string]any, error)

GetParameters of this Dataset

func (*Dataset) GetProviderConfigReference

func (mg *Dataset) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Dataset.

func (*Dataset) GetProviderReference

func (mg *Dataset) GetProviderReference() *xpv1.Reference

GetProviderReference of this Dataset. Deprecated: Use GetProviderConfigReference.

func (*Dataset) GetPublishConnectionDetailsTo

func (mg *Dataset) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Dataset.

func (*Dataset) GetTerraformResourceType

func (mg *Dataset) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Dataset

func (*Dataset) GetTerraformSchemaVersion

func (tr *Dataset) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Dataset) GetWriteConnectionSecretToReference

func (mg *Dataset) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Dataset.

func (*Dataset) LateInitialize

func (tr *Dataset) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Dataset using its observed tfState. returns True if there are any spec changes for the resource.

func (*Dataset) SetConditions

func (mg *Dataset) SetConditions(c ...xpv1.Condition)

SetConditions of this Dataset.

func (*Dataset) SetDeletionPolicy

func (mg *Dataset) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Dataset.

func (*Dataset) SetObservation

func (tr *Dataset) SetObservation(obs map[string]any) error

SetObservation for this Dataset

func (*Dataset) SetParameters

func (tr *Dataset) SetParameters(params map[string]any) error

SetParameters for this Dataset

func (*Dataset) SetProviderConfigReference

func (mg *Dataset) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Dataset.

func (*Dataset) SetProviderReference

func (mg *Dataset) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Dataset. Deprecated: Use SetProviderConfigReference.

func (*Dataset) SetPublishConnectionDetailsTo

func (mg *Dataset) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Dataset.

func (*Dataset) SetWriteConnectionSecretToReference

func (mg *Dataset) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Dataset.

type DatasetList

type DatasetList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Dataset `json:"items"`
}

DatasetList contains a list of Datasets

func (*DatasetList) DeepCopy

func (in *DatasetList) DeepCopy() *DatasetList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatasetList.

func (*DatasetList) DeepCopyInto

func (in *DatasetList) DeepCopyInto(out *DatasetList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DatasetList) DeepCopyObject

func (in *DatasetList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*DatasetList) GetItems

func (l *DatasetList) GetItems() []resource.Managed

GetItems of this DatasetList.

type DatasetObservation

type DatasetObservation struct {

	// The dataset creation time.
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// dataset format. Valid values include: Default, CarbonData: Carbon format(Supported only for
	// table type datasets).
	DataFormat *string `json:"dataFormat,omitempty" tf:"data_format,omitempty"`

	// The resource ID.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Dataset status. Valid values are as follows:
	Status *float64 `json:"status,omitempty" tf:"status,omitempty"`
}

func (*DatasetObservation) DeepCopy

func (in *DatasetObservation) DeepCopy() *DatasetObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatasetObservation.

func (*DatasetObservation) DeepCopyInto

func (in *DatasetObservation) DeepCopyInto(out *DatasetObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DatasetParameters

type DatasetParameters struct {

	// Specifies the data sources which be used to imported the source data (such
	// as pictures/files/audio, etc.) in this directory and subdirectories to the dataset. Structure is documented below.
	// Changing this parameter will create a new resource.
	// +kubebuilder:validation:Required
	DataSource []DataSourceParameters `json:"dataSource" tf:"data_source,omitempty"`

	// Specifies the description of dataset. It contains a maximum of 256 characters and
	// cannot contain special characters !<>=&"'.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Specifies whether to import labeled files.
	// Default value is true. Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	ImportLabeledEnabled *bool `json:"importLabeledEnabled,omitempty" tf:"import_labeled_enabled,omitempty"`

	// Specifies the custom format information of labeled files when import
	// labeled files for Text classification. Structure is documented below.
	// Changing this parameter will create a new resource.
	// It is required only the dataType=100
	// +kubebuilder:validation:Optional
	LabelFormat []LabelFormatParameters `json:"labelFormat,omitempty" tf:"label_format,omitempty"`

	// Specifies labels information. Structure is documented below.
	// +kubebuilder:validation:Optional
	Labels []LabelsParameters `json:"labels,omitempty" tf:"labels,omitempty"`

	// Specifies the name of the dataset. The name consists of 1 to 100 characters,
	// starting with a letter. Only letters, chinese charactors, digits underscores (_) and hyphens (-) are allowed.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Specifies the OBS path for storing output files such as labeled files.
	// The path cannot be the same as the import path or subdirectory of the import path.
	// Changing this parameter will create a new resource.
	// +kubebuilder:validation:Required
	OutputPath *string `json:"outputPath" tf:"output_path,omitempty"`

	// The region in which to create the resource. If omitted, the
	// provider-level region will be used. Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Specifies the schema information of source data when type is 400.
	// Structure is documented below. Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	Schemas []SchemasParameters `json:"schemas,omitempty" tf:"schemas,omitempty"`

	// Specifies the type of dataset. The options are as follows:
	// +kubebuilder:validation:Required
	Type *float64 `json:"type" tf:"type,omitempty"`
}

func (*DatasetParameters) DeepCopy

func (in *DatasetParameters) DeepCopy() *DatasetParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatasetParameters.

func (*DatasetParameters) DeepCopyInto

func (in *DatasetParameters) DeepCopyInto(out *DatasetParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DatasetSpec

type DatasetSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DatasetParameters `json:"forProvider"`
}

DatasetSpec defines the desired state of Dataset

func (*DatasetSpec) DeepCopy

func (in *DatasetSpec) DeepCopy() *DatasetSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatasetSpec.

func (*DatasetSpec) DeepCopyInto

func (in *DatasetSpec) DeepCopyInto(out *DatasetSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DatasetStatus

type DatasetStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        DatasetObservation `json:"atProvider,omitempty"`
}

DatasetStatus defines the observed state of Dataset.

func (*DatasetStatus) DeepCopy

func (in *DatasetStatus) DeepCopy() *DatasetStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatasetStatus.

func (*DatasetStatus) DeepCopyInto

func (in *DatasetStatus) DeepCopyInto(out *DatasetStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DatasetVersion

type DatasetVersion struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DatasetVersionSpec   `json:"spec"`
	Status            DatasetVersionStatus `json:"status,omitempty"`
}

DatasetVersion is the Schema for the DatasetVersions API. ""page_title: "flexibleengine_modelarts_dataset_version" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,flexibleengine}

func (*DatasetVersion) DeepCopy

func (in *DatasetVersion) DeepCopy() *DatasetVersion

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatasetVersion.

func (*DatasetVersion) DeepCopyInto

func (in *DatasetVersion) DeepCopyInto(out *DatasetVersion)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DatasetVersion) DeepCopyObject

func (in *DatasetVersion) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*DatasetVersion) GetCondition

func (mg *DatasetVersion) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this DatasetVersion.

func (*DatasetVersion) GetConnectionDetailsMapping

func (tr *DatasetVersion) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this DatasetVersion

func (*DatasetVersion) GetDeletionPolicy

func (mg *DatasetVersion) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this DatasetVersion.

func (*DatasetVersion) GetID

func (tr *DatasetVersion) GetID() string

GetID returns ID of underlying Terraform resource of this DatasetVersion

func (*DatasetVersion) GetObservation

func (tr *DatasetVersion) GetObservation() (map[string]any, error)

GetObservation of this DatasetVersion

func (*DatasetVersion) GetParameters

func (tr *DatasetVersion) GetParameters() (map[string]any, error)

GetParameters of this DatasetVersion

func (*DatasetVersion) GetProviderConfigReference

func (mg *DatasetVersion) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this DatasetVersion.

func (*DatasetVersion) GetProviderReference

func (mg *DatasetVersion) GetProviderReference() *xpv1.Reference

GetProviderReference of this DatasetVersion. Deprecated: Use GetProviderConfigReference.

func (*DatasetVersion) GetPublishConnectionDetailsTo

func (mg *DatasetVersion) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this DatasetVersion.

func (*DatasetVersion) GetTerraformResourceType

func (mg *DatasetVersion) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this DatasetVersion

func (*DatasetVersion) GetTerraformSchemaVersion

func (tr *DatasetVersion) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*DatasetVersion) GetWriteConnectionSecretToReference

func (mg *DatasetVersion) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this DatasetVersion.

func (*DatasetVersion) LateInitialize

func (tr *DatasetVersion) LateInitialize(attrs []byte) (bool, error)

LateInitialize this DatasetVersion using its observed tfState. returns True if there are any spec changes for the resource.

func (*DatasetVersion) ResolveReferences

func (mg *DatasetVersion) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this DatasetVersion.

func (*DatasetVersion) SetConditions

func (mg *DatasetVersion) SetConditions(c ...xpv1.Condition)

SetConditions of this DatasetVersion.

func (*DatasetVersion) SetDeletionPolicy

func (mg *DatasetVersion) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this DatasetVersion.

func (*DatasetVersion) SetObservation

func (tr *DatasetVersion) SetObservation(obs map[string]any) error

SetObservation for this DatasetVersion

func (*DatasetVersion) SetParameters

func (tr *DatasetVersion) SetParameters(params map[string]any) error

SetParameters for this DatasetVersion

func (*DatasetVersion) SetProviderConfigReference

func (mg *DatasetVersion) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this DatasetVersion.

func (*DatasetVersion) SetProviderReference

func (mg *DatasetVersion) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this DatasetVersion. Deprecated: Use SetProviderConfigReference.

func (*DatasetVersion) SetPublishConnectionDetailsTo

func (mg *DatasetVersion) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this DatasetVersion.

func (*DatasetVersion) SetWriteConnectionSecretToReference

func (mg *DatasetVersion) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this DatasetVersion.

type DatasetVersionList

type DatasetVersionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []DatasetVersion `json:"items"`
}

DatasetVersionList contains a list of DatasetVersions

func (*DatasetVersionList) DeepCopy

func (in *DatasetVersionList) DeepCopy() *DatasetVersionList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatasetVersionList.

func (*DatasetVersionList) DeepCopyInto

func (in *DatasetVersionList) DeepCopyInto(out *DatasetVersionList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DatasetVersionList) DeepCopyObject

func (in *DatasetVersionList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*DatasetVersionList) GetItems

func (l *DatasetVersionList) GetItems() []resource.Managed

GetItems of this DatasetVersionList.

type DatasetVersionObservation

type DatasetVersionObservation struct {

	// The creation time, in UTC format.
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// The total number of samples.
	Files *float64 `json:"files,omitempty" tf:"files,omitempty"`

	// The resource ID in format of dataset_id/version_id. It is composed of dataset ID and version ID,
	// separated by a slash.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Whether this version is current version.
	IsCurrent *bool `json:"isCurrent,omitempty" tf:"is_current,omitempty"`

	// The label type of the dataset version. Valid values are as follows:
	LabelingType *string `json:"labelingType,omitempty" tf:"labeling_type,omitempty"`

	// The status of the dataset version. Valid values are as follows:
	Status *float64 `json:"status,omitempty" tf:"status,omitempty"`

	// The path to save the manifest file of the version.
	StoragePath *string `json:"storagePath,omitempty" tf:"storage_path,omitempty"`

	// The last update time, in UTC format.
	UpdatedAt *string `json:"updatedAt,omitempty" tf:"updated_at,omitempty"`

	// Whether the data has been verified by the verification algorithm before publishing.
	Verification *bool `json:"verification,omitempty" tf:"verification,omitempty"`

	// The version ID.
	VersionID *string `json:"versionId,omitempty" tf:"version_id,omitempty"`
}

func (*DatasetVersionObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatasetVersionObservation.

func (*DatasetVersionObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DatasetVersionParameters

type DatasetVersionParameters struct {

	// Specifies the ID of dataset.
	// Changing this parameter will create a new resource.
	// +crossplane:generate:reference:type=Dataset
	// +kubebuilder:validation:Optional
	DatasetID *string `json:"datasetId,omitempty" tf:"dataset_id,omitempty"`

	// Reference to a Dataset to populate datasetId.
	// +kubebuilder:validation:Optional
	DatasetIDRef *v1.Reference `json:"datasetIdRef,omitempty" tf:"-"`

	// Selector for a Dataset to populate datasetId.
	// +kubebuilder:validation:Optional
	DatasetIDSelector *v1.Selector `json:"datasetIdSelector,omitempty" tf:"-"`

	// Specifies the description of dataset version. It contains a maximum of
	// 256 characters and cannot contain special characters !<>=&"'. Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Specifies whether to enable ModelArts to write the hard example
	// attributes (difficult, hard-coefficient, and hard-reasons) into the XML and manifest labeling files. ModelArts will
	// use these attributes to optimize hard example filtering. Default value is false.
	// Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	HardExample *bool `json:"hardExample,omitempty" tf:"hard_example,omitempty"`

	// Specifies the name of the dataset version. The name consists of 1 to 32
	// characters. Only letters, Chinese characters, digits underscores (_) and hyphens (-) are allowed.
	// Changing this parameter will create a new resource.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// The region in which to create the resource. If omitted, the
	// provider-level region will be used. Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Specifies the ratio of splitting which randomly divides a labeled sample
	// into a training set and a validation set. Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	SplitRatio *string `json:"splitRatio,omitempty" tf:"split_ratio,omitempty"`
}

func (*DatasetVersionParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatasetVersionParameters.

func (*DatasetVersionParameters) DeepCopyInto

func (in *DatasetVersionParameters) DeepCopyInto(out *DatasetVersionParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DatasetVersionSpec

type DatasetVersionSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DatasetVersionParameters `json:"forProvider"`
}

DatasetVersionSpec defines the desired state of DatasetVersion

func (*DatasetVersionSpec) DeepCopy

func (in *DatasetVersionSpec) DeepCopy() *DatasetVersionSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatasetVersionSpec.

func (*DatasetVersionSpec) DeepCopyInto

func (in *DatasetVersionSpec) DeepCopyInto(out *DatasetVersionSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DatasetVersionStatus

type DatasetVersionStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        DatasetVersionObservation `json:"atProvider,omitempty"`
}

DatasetVersionStatus defines the observed state of DatasetVersion.

func (*DatasetVersionStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatasetVersionStatus.

func (*DatasetVersionStatus) DeepCopyInto

func (in *DatasetVersionStatus) DeepCopyInto(out *DatasetVersionStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LabelFormatObservation

type LabelFormatObservation struct {
}

func (*LabelFormatObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelFormatObservation.

func (*LabelFormatObservation) DeepCopyInto

func (in *LabelFormatObservation) DeepCopyInto(out *LabelFormatObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LabelFormatParameters

type LabelFormatParameters struct {

	// Specifies the separator between label and label.
	// Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	LabelSeparator *string `json:"labelSeparator,omitempty" tf:"label_separator,omitempty"`

	// Specifies the separator between text and label.
	// Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	TextLabelSeparator *string `json:"textLabelSeparator,omitempty" tf:"text_label_separator,omitempty"`

	// Specifies Label type for text classification.
	// The optional values are as follows:
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*LabelFormatParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelFormatParameters.

func (*LabelFormatParameters) DeepCopyInto

func (in *LabelFormatParameters) DeepCopyInto(out *LabelFormatParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LabelsObservation

type LabelsObservation struct {
}

func (*LabelsObservation) DeepCopy

func (in *LabelsObservation) DeepCopy() *LabelsObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelsObservation.

func (*LabelsObservation) DeepCopyInto

func (in *LabelsObservation) DeepCopyInto(out *LabelsObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LabelsParameters

type LabelsParameters struct {

	// Specifies the name of label.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Specifies color of label.
	// +kubebuilder:validation:Optional
	PropertyColor *string `json:"propertyColor,omitempty" tf:"property_color,omitempty"`

	// Specifies shape of label. Valid values include: bndbox, polygon,
	// circle, line, dashed, point, polyline.
	// +kubebuilder:validation:Optional
	PropertyShape *string `json:"propertyShape,omitempty" tf:"property_shape,omitempty"`

	// Specifies shortcut of label.
	// +kubebuilder:validation:Optional
	PropertyShortcut *string `json:"propertyShortcut,omitempty" tf:"property_shortcut,omitempty"`
}

func (*LabelsParameters) DeepCopy

func (in *LabelsParameters) DeepCopy() *LabelsParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelsParameters.

func (*LabelsParameters) DeepCopyInto

func (in *LabelsParameters) DeepCopyInto(out *LabelsParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SchemasObservation

type SchemasObservation struct {
}

func (*SchemasObservation) DeepCopy

func (in *SchemasObservation) DeepCopy() *SchemasObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchemasObservation.

func (*SchemasObservation) DeepCopyInto

func (in *SchemasObservation) DeepCopyInto(out *SchemasObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SchemasParameters

type SchemasParameters struct {

	// Specifies the field name. Changing this parameter will create a new resource.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Specifies the field type. Valid values include: String, Short, Int,
	// Long, Double, Float, Byte, Date, Timestamp, Bool. Changing this parameter will create a new resource.
	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*SchemasParameters) DeepCopy

func (in *SchemasParameters) DeepCopy() *SchemasParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchemasParameters.

func (*SchemasParameters) DeepCopyInto

func (in *SchemasParameters) DeepCopyInto(out *SchemasParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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