Constants for the fields of the /alter/model request.
Option fields
action
Constants for action.
pub const CONTAINER: &str = “container”;Container that has the model implementation.
pub const CREDENTIAL: &str = “credential”;Credential name.
pub const REFRESH: &str = “refresh”;Re-import the model using the new configuration.
pub const REGISTRY: &str = “registry”;Registry that has the docker and credential information to pull the images.
pub const REMOTE_MODEL_LOCATION: &str = “remote_model_location”;URl of remote model.
pub const REMOTE_MODEL_NAME: &str = “remote_model_name”;Name of the remote model.
pub const REMOTE_MODEL_PROVIDER_TYPE: &str = “remote_model_provider_type”;Name of remote provider.
pub const REMOTE_MODEL_TYPE: &str = “remote_model_type”;Type of remote model.
pub const STOP_DEPLOYMENT: &str = “stop_deployment”;Stops a continuous model deployment.