package
0.0.0-20241211132550-280de691300e
Repository: https://github.com/openshift-online/maestro.git
Documentation: pkg.go.dev
# Functions
CloudEventToJSONMap converts a CloudEvent to a JSONMap (resource manifest or status).
DecodeBundleStatus converts a CloudEvent JSONMap representation of a resource bundle status into resource bundle status (map[string]interface{}) in openapi output.
DecodeManifest converts a CloudEvent JSONMap representation of a resource manifest into resource manifest, deleteOption and updateStrategy (map[string]interface{}).
DecodeManifestBundle converts a CloudEvent JSONMap representation of a list of resource manifest into manifest bundle payload.
DecodeManifestBundleToObjects converts a CloudEvent JSONMap representation of a list of resource manifest into a list of resource object (map[string]interface{}).
DecodeStatus converts a CloudEvent JSONMap representation of a resource status into resource status (map[string]interface{}).
EncodeManifest converts resource manifest, deleteOption and updateStrategy (map[string]interface{}) into a CloudEvent JSONMap representation.
JSONMAPToCloudEvent converts a JSONMap (resource manifest or status) to a CloudEvent.
No description provided by the author
SendAPI sends API documentation response.
SendAPIV1 sends API version v1 documentation response.
SendNotFound sends a 404 response with some details about the non existing resource.
SendPanic sends a panic error response to the client, but it doesn't end the process.
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
ErrorType is the name of the type used to report errors.
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
# Structs
CollectionMetadata represents a collection.
No description provided by the author
No description provided by the author
Error represents an error reported by the API.
No description provided by the author
No description provided by the author
Meta is base model definition, embedded in all kinds.
Metadata api metadata.
List Paging metadata.
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
ServerInstance is employed by Maestro to discover active server instances.
No description provided by the author
VersionMetadata represents a version.
# Type aliases
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