158 lines
5.0 KiB
Go
158 lines
5.0 KiB
Go
// 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{}
|
|
|
|
// ActionMapfixAccepted implements actionMapfixAccepted operation.
|
|
//
|
|
// (Internal endpoint) Role Validator changes status from Validating -> Accepted.
|
|
//
|
|
// POST /mapfixes/{MapfixID}/status/validator-failed
|
|
func (UnimplementedHandler) ActionMapfixAccepted(ctx context.Context, params ActionMapfixAcceptedParams) error {
|
|
return ht.ErrNotImplemented
|
|
}
|
|
|
|
// ActionMapfixUploaded implements actionMapfixUploaded operation.
|
|
//
|
|
// (Internal endpoint) Role Validator changes status from Uploading -> Uploaded.
|
|
//
|
|
// POST /mapfixes/{MapfixID}/status/validator-uploaded
|
|
func (UnimplementedHandler) ActionMapfixUploaded(ctx context.Context, params ActionMapfixUploadedParams) error {
|
|
return ht.ErrNotImplemented
|
|
}
|
|
|
|
// ActionMapfixValidated implements actionMapfixValidated operation.
|
|
//
|
|
// (Internal endpoint) Role Validator changes status from Validating -> Validated.
|
|
//
|
|
// POST /mapfixes/{MapfixID}/status/validator-validated
|
|
func (UnimplementedHandler) ActionMapfixValidated(ctx context.Context, params ActionMapfixValidatedParams) error {
|
|
return ht.ErrNotImplemented
|
|
}
|
|
|
|
// 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
|
|
}
|
|
|
|
// 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
|
|
}
|
|
|
|
// CreateMapfix implements createMapfix operation.
|
|
//
|
|
// Create a mapfix.
|
|
//
|
|
// POST /mapfixes
|
|
func (UnimplementedHandler) CreateMapfix(ctx context.Context, req *MapfixCreate) (r *ID, _ error) {
|
|
return r, 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
|
|
}
|
|
|
|
// CreateSubmission implements createSubmission operation.
|
|
//
|
|
// Create a new submission.
|
|
//
|
|
// POST /submissions
|
|
func (UnimplementedHandler) CreateSubmission(ctx context.Context, req *SubmissionCreate) (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
|
|
}
|
|
|
|
// UpdateMapfixValidatedModel implements updateMapfixValidatedModel operation.
|
|
//
|
|
// Update validated model.
|
|
//
|
|
// POST /mapfixes/{MapfixID}/validated-model
|
|
func (UnimplementedHandler) UpdateMapfixValidatedModel(ctx context.Context, params UpdateMapfixValidatedModelParams) error {
|
|
return ht.ErrNotImplemented
|
|
}
|
|
|
|
// UpdateSubmissionValidatedModel implements updateSubmissionValidatedModel operation.
|
|
//
|
|
// Update validated model.
|
|
//
|
|
// POST /submissions/{SubmissionID}/validated-model
|
|
func (UnimplementedHandler) UpdateSubmissionValidatedModel(ctx context.Context, params UpdateSubmissionValidatedModelParams) 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
|
|
}
|