package
3.16.1+incompatible
Repository: https://github.com/redhat-developer/odo.git
Documentation: pkg.go.dev

# Functions

AssertAnnotationRequired checks if the required fields are not zero-ed.
AssertApplyCommandRequired checks if the required fields are not zero-ed.
AssertCommandRequired checks if the required fields are not zero-ed.
AssertComponentCommandPostRequestRequired checks if the required fields are not zero-ed.
AssertComponentGet200ResponseRequired checks if the required fields are not zero-ed.
AssertCompositeCommandRequired checks if the required fields are not zero-ed.
AssertContainerRequired checks if the required fields are not zero-ed.
AssertDevfileContentRequired checks if the required fields are not zero-ed.
AssertDevfileGet200ResponseRequired checks if the required fields are not zero-ed.
AssertDevfilePutRequestRequired checks if the required fields are not zero-ed.
AssertDevstateApplyCommandCommandNamePatchRequestRequired checks if the required fields are not zero-ed.
AssertDevstateApplyCommandPostRequestRequired checks if the required fields are not zero-ed.
AssertDevstateChartGet200ResponseRequired checks if the required fields are not zero-ed.
AssertDevstateCommandCommandNameMovePostRequestRequired checks if the required fields are not zero-ed.
AssertDevstateCommandCommandNameSetDefaultPostRequestRequired checks if the required fields are not zero-ed.
AssertDevstateCompositeCommandCommandNamePatchRequestRequired checks if the required fields are not zero-ed.
AssertDevstateCompositeCommandPostRequestRequired checks if the required fields are not zero-ed.
AssertDevstateContainerContainerNamePatchRequestRequired checks if the required fields are not zero-ed.
AssertDevstateContainerPostRequestRequired checks if the required fields are not zero-ed.
AssertDevstateDevfilePutRequestRequired checks if the required fields are not zero-ed.
AssertDevstateEventsPutRequestRequired checks if the required fields are not zero-ed.
AssertDevstateExecCommandCommandNamePatchRequestRequired checks if the required fields are not zero-ed.
AssertDevstateExecCommandPostRequestRequired checks if the required fields are not zero-ed.
AssertDevstateImageImageNamePatchRequestRequired checks if the required fields are not zero-ed.
AssertDevstateImagePostRequestRequired checks if the required fields are not zero-ed.
AssertDevstateQuantityValidPostRequestRequired checks if the required fields are not zero-ed.
AssertDevstateResourcePostRequestRequired checks if the required fields are not zero-ed.
AssertDevstateResourceResourceNamePatchRequestRequired checks if the required fields are not zero-ed.
AssertDevstateVolumePostRequestRequired checks if the required fields are not zero-ed.
AssertDevstateVolumeVolumeNamePatchRequestRequired checks if the required fields are not zero-ed.
AssertEndpointRequired checks if the required fields are not zero-ed.
AssertEnvRequired checks if the required fields are not zero-ed.
AssertEventsRequired checks if the required fields are not zero-ed.
AssertExecCommandRequired checks if the required fields are not zero-ed.
AssertGeneralErrorRequired checks if the required fields are not zero-ed.
AssertGeneralSuccessRequired checks if the required fields are not zero-ed.
AssertImageCommandRequired checks if the required fields are not zero-ed.
AssertImageRequired checks if the required fields are not zero-ed.
AssertInstanceGet200ResponseRequired checks if the required fields are not zero-ed.
AssertMetadataRequestRequired checks if the required fields are not zero-ed.
AssertMetadataRequired checks if the required fields are not zero-ed.
AssertRecurseAnnotationRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseApplyCommandRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseCommandRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseComponentCommandPostRequestRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseComponentGet200ResponseRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseCompositeCommandRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseContainerRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseDevfileContentRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseDevfileGet200ResponseRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseDevfilePutRequestRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseDevstateApplyCommandCommandNamePatchRequestRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseDevstateApplyCommandPostRequestRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseDevstateChartGet200ResponseRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseDevstateCommandCommandNameMovePostRequestRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseDevstateCommandCommandNameSetDefaultPostRequestRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseDevstateCompositeCommandCommandNamePatchRequestRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseDevstateCompositeCommandPostRequestRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseDevstateContainerContainerNamePatchRequestRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseDevstateContainerPostRequestRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseDevstateDevfilePutRequestRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseDevstateEventsPutRequestRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseDevstateExecCommandCommandNamePatchRequestRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseDevstateExecCommandPostRequestRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseDevstateImageImageNamePatchRequestRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseDevstateImagePostRequestRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseDevstateQuantityValidPostRequestRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseDevstateResourcePostRequestRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseDevstateResourceResourceNamePatchRequestRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseDevstateVolumePostRequestRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseDevstateVolumeVolumeNamePatchRequestRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseEndpointRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseEnvRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseEventsRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseExecCommandRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseGeneralErrorRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseGeneralSuccessRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseImageCommandRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseImageRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseInstanceGet200ResponseRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseInterfaceRequired recursively checks each struct in a slice against the callback.
AssertRecurseMetadataRequestRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseMetadataRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseResourceRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseTelemetryGet200ResponseRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseTelemetryResponseRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseValueRequired checks each struct in the nested slice against the callback.
AssertRecurseVolumeMountRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertRecurseVolumeRequired recursively checks if required fields are not zero-ed in a nested slice.
AssertResourceRequired checks if the required fields are not zero-ed.
AssertTelemetryGet200ResponseRequired checks if the required fields are not zero-ed.
AssertTelemetryResponseRequired checks if the required fields are not zero-ed.
AssertVolumeMountRequired checks if the required fields are not zero-ed.
AssertVolumeRequired checks if the required fields are not zero-ed.
DefaultErrorHandler defines the default logic on how to handle errors from the controller.
EncodeJSONResponse uses the json encoder to write an interface to the http response with an optional status code.
IsZeroValue checks if the val is the zero-ed value.
No description provided by the author
NewDefaultApiController creates a default api controller.
NewDevstateApiController creates a default api controller.
NewRouter creates a new router for any number of api routers.
ReadFormFilesToTempFiles reads files array data from a request form and writes it to a temporary files.
ReadFormFileToTempFile reads file data from a request form and writes it to a temporary file.
Response return a ImplResponse struct filled.
WithDefaultApiErrorHandler inject ErrorHandler into controller.
WithDevstateApiErrorHandler inject ErrorHandler into controller.

# Variables

ErrTypeAssertionError is thrown when type an interface does not match the asserted type.

# Structs

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
DefaultApiController binds http requests to an api service and writes the service results to the http response.
No description provided by the author
No description provided by the author
No description provided by the author
DevstateApiController binds http requests to an api service and writes the service results to the http response.
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
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
No description provided by the author
No description provided by the author
ImplResponse response defines an error code with the associated body.
No description provided by the author
No description provided by the author
No description provided by the author
ParsingError indicates that an error has occurred when parsing request parameters.
RequiredError indicates that an error has occurred when parsing request parameters.
No description provided by the author
A Route defines the parameters for an api endpoint.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

DefaultApiRouter defines the required methods for binding the api requests to a responses for the DefaultApi The DefaultApiRouter implementation should parse necessary information from the http request, pass the data to a DefaultApiServicer to perform the required actions, then write the service results to the http response.
DefaultApiServicer defines the api actions for the DefaultApi service This interface intended to stay up to date with the openapi yaml used to generate it, while the service implementation can be ignored with the .openapi-generator-ignore file and updated with the logic required for the API.
DevstateApiRouter defines the required methods for binding the api requests to a responses for the DevstateApi The DevstateApiRouter implementation should parse necessary information from the http request, pass the data to a DevstateApiServicer to perform the required actions, then write the service results to the http response.
DevstateApiServicer defines the api actions for the DevstateApi service This interface intended to stay up to date with the openapi yaml used to generate it, while the service implementation can be ignored with the .openapi-generator-ignore file and updated with the logic required for the API.
Router defines the required methods for retrieving api routes.

# Type aliases

DefaultApiOption for how the controller is set up.
DevstateApiOption for how the controller is set up.
ErrorHandler defines the required method for handling error.
Routes are a collection of defined api endpoints.