package
0.40.0
Repository: https://github.com/radius-project/radius.git
Documentation: pkg.go.dev

# Functions

NewAcceptedAsyncResponse creates an AcceptedAsyncResponse.
NewAsyncOperationResponse creates an AsyncOperationResponse.
NewAsyncOperationResultResponse creates a new AsyncOperationResultResponse with the given headers.
NewBadRequestARMResponse creates a BadRequestResponse with error message.
NewBadRequestResponse creates a BadRequestResponse with a given error message.
NewClientAuthenticationFailedARMResponse creates a ClientAuthenticationFailed Response with CodeInvalidAuthenticationInfo code and its message.
NewConflictResponse creates a ConflictResponse for conflicting operations and resources.
NewCreatedAsyncResponse creates a new HTTP Response for asynchronous operation.
NewCreatedResponse creates a Created HTTP Response object with the given data.
NewDependencyMissingResponse creates a DependencyMissingResponse with a given error message.
NewInternalServerErrorARMResponse creates a new InternalServerErrorResponse with the given error message.
NewLinkedResourceUpdateErrorResponse represents a HTTP 400 with an error message when user updates environment id and application id.
NewMethodNotAllowedResponse creates a MethodNotAllowedResponse with the given message and target resource.
NewNoContentResponse creates a new NoContentResponse object.
NewNotFoundAPIVersionResponse creates Response for unsupported api version.
NewNotFoundMessageResponse represents an HTTP 404 with string message.
NewNotFoundResponse creates a NotFoundResponse with resource id.
NewOKResponse creates an OKResponse that will write a 200 OK with the provided body as JSON.
NewOKResponseWithHeaders creates an OKResponse that will write a 200 OK with the provided body as JSON.
NewPreconditionFailedResponse creates a new PreconditionFailedResponse with the given target resource and message.
NewValidationErrorResponse creates a BadRequest response for invalid API validation.

# Constants

No description provided by the author

# Structs

AcceptedAsyncResponse represents an HTTP 202 with a JSON payload and location header.
AsyncOperationResponse represents the response for an async operation request.
AsyncOperationResultResponse.
BadRequestResponse represents an HTTP 400 with an error message in ARM error format.
ClientAuthenticationFailed represents an HTTP 401 with an ARM error payload.
ConflictResponse represents an HTTP 409 with an ARM error payload.
CreatedAsyncResponse represents an HTTP 201 with a JSON payload and location header.
CreatedResponse represents an HTTP 201 with a JSON payload.
No description provided by the author
MethodNotAllowedResponse represents an HTTP 405 with an ARM error payload.
NoContentResponse represents an HTTP 204.
NotFoundResponse represents an HTTP 404 with an ARM error payload.
OKResponse represents an HTTP 200 with a JSON payload.
PreconditionFailedResponse represents an HTTP 412 with an ARM error payload.
ValidationErrorResponse represents an HTTP 400 with validation errors in ARM error format.

# Interfaces

Response represents a category of HTTP response (eg.