Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResourceMlflowModel ¶
func ResourceMlflowWebhook ¶
Types ¶
type Experiment ¶
type Experiment struct { Name string `json:"name"` Description string `json:"description,omitempty"` ExperimentId string `json:"experiment_id,omitempty" tf:"computed"` ArtifactLocation string `json:"artifact_location,omitempty" tf:"force_new,suppress_diff"` LifecycleStage string `json:"lifecycle_stage,omitempty" tf:"computed"` LastUpdateTime int64 `json:"last_update_time,omitempty" tf:"computed"` CreationTime int64 `json:"creation_time,omitempty" tf:"computed"` }
Experiment defines the response object from the API
type ExperimentsAPI ¶
type ExperimentsAPI struct {
// contains filtered or unexported fields
}
ExperimentsAPI ...
func NewExperimentsAPI ¶
func NewExperimentsAPI(ctx context.Context, m any) ExperimentsAPI
NewExperimentsAPI ...
func (ExperimentsAPI) Read ¶
func (a ExperimentsAPI) Read(experimentId string) (*Experiment, error)
Read ...
type HttpUrlSpec ¶
type Model ¶
type Model struct { Name string `json:"name" tf:"force_new"` CreationTimestamp int64 `json:"creation_timestamp,omitempty" tf:"computed"` LastUpdatedTimestamp int64 `json:"last_updated_timestamp,omitempty" tf:"computed"` UserID string `json:"user_id,omitempty" tf:"computed"` LatestVersions []ModelVersion `json:"latest_versions,omitempty" tf:"computed"` Description string `json:"description,omitempty"` Tags []Tag `json:"tags,omitempty"` RegisteredModelID string `json:"id,omitempty" tf:"computed,alias:registered_model_id"` }
Model defines the response object from the API
type ModelVersion ¶
type ModelVersion struct { Name string `json:"name"` Version string `json:"version"` CreationTimestamp int64 `json:"creation_timestamp,omitempty"` LastUpdatedTimestamp int64 `json:"last_updated_timestamp,omitempty"` UserID string `json:"user_id,omitempty"` CurrentStage string `json:"current_stage,omitempty"` Source string `json:"source,omitempty"` Status string `json:"status,omitempty"` }
ModelVersion defines a MLFlow model version as returned by the API
type ModelsAPI ¶
type ModelsAPI struct {
// contains filtered or unexported fields
}
type Webhook ¶
type Webhook struct { ID string `json:"id" tf:"computed"` Events []string `json:"events"` Status string `json:"status,omitempty" tf:"default:ACTIVE"` Description string `json:"description,omitempty"` ModelName string `json:"model_name,omitempty" tf:"force_new"` HttpUrlSpec *HttpUrlSpec `json:"http_url_spec,omitempty"` // TODO: add diff suppressor? JobSpec *JobSpec `json:"job_spec,omitempty"` // TODO: add diff suppressor? }
type WebhooksAPI ¶
type WebhooksAPI struct {
// contains filtered or unexported fields
}
func NewWebhooksAPI ¶
func NewWebhooksAPI(ctx context.Context, m any) WebhooksAPI
func (WebhooksAPI) Delete ¶
func (a WebhooksAPI) Delete(ID string) error
Delete removes the webhook by its ID
Click to show internal directories.
Click to hide internal directories.