// Code generated by ogen, DO NOT EDIT. package api import ( "context" ht "github.com/ogen-go/ogen/http" ) // UnimplementedHandler is no-op Handler which returns http.ErrNotImplemented. type UnimplementedHandler struct{} var _ Handler = UnimplementedHandler{} // ActionSubmissionAccepted implements actionSubmissionAccepted operation. // // (Internal endpoint) Role Validator changes status from Validating -> Accepted. // // POST /submissions/{SubmissionID}/status/validator-failed func (UnimplementedHandler) ActionSubmissionAccepted(ctx context.Context, params ActionSubmissionAcceptedParams) error { return ht.ErrNotImplemented } // ActionSubmissionReleased implements actionSubmissionReleased operation. // // (Internal endpoint) Role Releaser changes status from releasing -> released. // // POST /submissions/{SubmissionID}/status/releaser-released func (UnimplementedHandler) ActionSubmissionReleased(ctx context.Context, params ActionSubmissionReleasedParams) error { return ht.ErrNotImplemented } // ActionSubmissionUploaded implements actionSubmissionUploaded operation. // // (Internal endpoint) Role Validator changes status from Uploading -> Uploaded. // // POST /submissions/{SubmissionID}/status/validator-uploaded func (UnimplementedHandler) ActionSubmissionUploaded(ctx context.Context, params ActionSubmissionUploadedParams) error { return ht.ErrNotImplemented } // ActionSubmissionValidated implements actionSubmissionValidated operation. // // (Internal endpoint) Role Validator changes status from Validating -> Validated. // // POST /submissions/{SubmissionID}/status/validator-validated func (UnimplementedHandler) ActionSubmissionValidated(ctx context.Context, params ActionSubmissionValidatedParams) error { return ht.ErrNotImplemented } // CreateScript implements createScript operation. // // Create a new script. // // POST /scripts func (UnimplementedHandler) CreateScript(ctx context.Context, req *ScriptCreate) (r *ID, _ error) { return r, ht.ErrNotImplemented } // CreateScriptPolicy implements createScriptPolicy operation. // // Create a new script policy. // // POST /script-policy func (UnimplementedHandler) CreateScriptPolicy(ctx context.Context, req *ScriptPolicyCreate) (r *ID, _ error) { return r, ht.ErrNotImplemented } // GetScript implements getScript operation. // // Get the specified script by ID. // // GET /scripts/{ScriptID} func (UnimplementedHandler) GetScript(ctx context.Context, params GetScriptParams) (r *Script, _ error) { return r, ht.ErrNotImplemented } // ListScriptPolicy implements listScriptPolicy operation. // // Get list of script policies. // // GET /script-policy func (UnimplementedHandler) ListScriptPolicy(ctx context.Context, params ListScriptPolicyParams) (r []ScriptPolicy, _ error) { return r, ht.ErrNotImplemented } // ListScripts implements listScripts operation. // // Get list of scripts. // // GET /scripts func (UnimplementedHandler) ListScripts(ctx context.Context, params ListScriptsParams) (r []Script, _ error) { return r, ht.ErrNotImplemented } // UpdateSubmissionModel implements updateSubmissionModel operation. // // Update model following role restrictions. // // POST /submissions/{SubmissionID}/model func (UnimplementedHandler) UpdateSubmissionModel(ctx context.Context, params UpdateSubmissionModelParams) error { return ht.ErrNotImplemented } // NewError creates *ErrorStatusCode from error returned by handler. // // Used for common default response. func (UnimplementedHandler) NewError(ctx context.Context, err error) (r *ErrorStatusCode) { r = new(ErrorStatusCode) return r }