package
0.5.9
Repository: https://github.com/kusionstack/karpor.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

FailureRender renders a failed response and status code and respond to the client request.
FailureWithCodeRender renders a failed response and custom status code and respond to the client request.
HandleResult is a handler function that writes the response to the HTTP response writer based on the provided error and data.
NotFoundRender renders a not found response and status code and respond to the client request.
RemoveUnstructuredManagedFields remove managedFields information within a Unstructured.
Response creates a standard API response renderer.
SuccessRender renders a success response and status code and respond to the client request.

# Constants

SuccessMessage is the default success message for successful responses.

# Interfaces

Payload is an interface for incoming requests payloads Each handler should implement this interface to parse payloads.

# Type aliases

Duration is a custom type that represents a duration of time.