Documentation ¶
Overview ¶
Copyright Red Hat
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Code generated by github.com/deepmap/oapi-codegen version v1.12.4. **DO NOT EDIT**
Copyright Red Hat ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Code generated by github.com/deepmap/oapi-codegen version v1.12.4. **DO NOT EDIT**
Copyright Red Hat ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- func GetSwagger() (swagger *openapi3.T, err error)
- func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)
- func RegisterHandlers(router *gin.Engine, si ServerInterface) *gin.Engine
- func RegisterHandlersWithOptions(router *gin.Engine, si ServerInterface, options GinServerOptions) *gin.Engine
- func ServeDevfileIndex(c *gin.Context, wantV1Index bool, params IndexParams)
- func ServeOciProxy(c *gin.Context)
- func ServeRegistry()
- func ServeUI(c *gin.Context)
- func SetMethodNotAllowedJSONResponse(c *gin.Context)
- type ArchParam
- type Architectures
- type AttributeNames
- type AttributeNamesParam
- type CommandGroups
- type CommandGroupsParam
- type Default
- type DefaultParam
- type Deprecated
- type DeprecatedParam
- type Description
- type DescriptionParam
- type Devfile
- type DevfileErrorResponse
- type DevfileNotFoundResponse
- type DevfileResponse
- type DisplayName
- type DisplayNameParam
- type GinServerOptions
- type GitRemoteName
- type GitRemoteNameParam
- type GitRemoteNames
- type GitRemoteNamesParam
- type GitRemotes
- type GitRemotesParam
- type GitRevision
- type GitRevisionParam
- type GitSubDir
- type GitSubDirParam
- type GitUrlParam
- type HealthResponse
- type Icon
- type IconParam
- type IconUri
- type IconUriParam
- type IndexParams
- type IndexResponse
- type IndexSchema
- type Language
- type LanguageParam
- type LinkNames
- type LinkNamesParam
- type Links
- type LinksParam
- type MaxSchemaVersionParam
- type MaxVersionParam
- type MethodNotAllowedResponse
- type MiddlewareFunc
- type MinSchemaVersionParam
- type MinVersionParam
- type Name
- type NameParam
- type ProjectType
- type ProjectTypeParam
- type Provider
- type ProviderParam
- type Resources
- type ResourcesParam
- type SchemaVersion
- type ServeDevfileIndexV1Params
- type ServeDevfileIndexV1WithTypeParams
- type ServeDevfileIndexV2Params
- type ServeDevfileIndexV2WithTypeParams
- type ServeDevfileParams
- type ServeDevfileStarterProjectParams
- type ServeDevfileStarterProjectWithVersionParams
- type ServeDevfileWithVersionParams
- type Server
- func (s *Server) DeleteDevfile(c *gin.Context, name string)
- func (*Server) DeleteDevfileIndexV1(c *gin.Context)
- func (*Server) DeleteDevfileIndexV1WithType(c *gin.Context, indexType string)
- func (*Server) DeleteDevfileIndexV2(c *gin.Context)
- func (*Server) DeleteDevfileIndexV2WithType(c *gin.Context, indexType string)
- func (s *Server) DeleteDevfileStarterProject(c *gin.Context, name string, starterProject string)
- func (*Server) DeleteDevfileStarterProjectWithVersion(c *gin.Context, name string, version string, starterProject string)
- func (*Server) DeleteDevfileWithVersion(c *gin.Context, name string, version string)
- func (*Server) DeleteHealthCheck(c *gin.Context)
- func (*Server) DeleteRootEndpoint(c *gin.Context)
- func (s *Server) PostDevfile(c *gin.Context, name string)
- func (*Server) PostDevfileIndexV1(c *gin.Context)
- func (*Server) PostDevfileIndexV1WithType(c *gin.Context, indexType string)
- func (*Server) PostDevfileIndexV2(c *gin.Context)
- func (*Server) PostDevfileIndexV2WithType(c *gin.Context, indexType string)
- func (s *Server) PostDevfileStarterProject(c *gin.Context, name string, starterProject string)
- func (*Server) PostDevfileStarterProjectWithVersion(c *gin.Context, name string, version string, starterProject string)
- func (*Server) PostDevfileWithVersion(c *gin.Context, name string, version string)
- func (*Server) PostHealthCheck(c *gin.Context)
- func (*Server) PostRootEndpoint(c *gin.Context)
- func (s *Server) PutDevfile(c *gin.Context, name string)
- func (*Server) PutDevfileIndexV1(c *gin.Context)
- func (*Server) PutDevfileIndexV1WithType(c *gin.Context, indexType string)
- func (*Server) PutDevfileIndexV2(c *gin.Context)
- func (*Server) PutDevfileIndexV2WithType(c *gin.Context, indexType string)
- func (s *Server) PutDevfileStarterProject(c *gin.Context, name string, starterProject string)
- func (*Server) PutDevfileStarterProjectWithVersion(c *gin.Context, name string, version string, starterProject string)
- func (*Server) PutDevfileWithVersion(c *gin.Context, name string, version string)
- func (*Server) PutHealthCheck(c *gin.Context)
- func (*Server) PutRootEndpoint(c *gin.Context)
- func (s *Server) ServeDevfile(c *gin.Context, name string, params ServeDevfileParams)
- func (*Server) ServeDevfileIndexV1(c *gin.Context, params ServeDevfileIndexV1Params)
- func (*Server) ServeDevfileIndexV1WithType(c *gin.Context, indexType string, params ServeDevfileIndexV1WithTypeParams)
- func (*Server) ServeDevfileIndexV2(c *gin.Context, params ServeDevfileIndexV2Params)
- func (*Server) ServeDevfileIndexV2WithType(c *gin.Context, indexType string, params ServeDevfileIndexV2WithTypeParams)
- func (s *Server) ServeDevfileStarterProject(c *gin.Context, name string, starterProject string, ...)
- func (*Server) ServeDevfileStarterProjectWithVersion(c *gin.Context, name string, version string, starterProject string, ...)
- func (*Server) ServeDevfileWithVersion(c *gin.Context, name string, version string, ...)
- func (*Server) ServeHealthCheck(c *gin.Context)
- func (*Server) ServeRootEndpoint(c *gin.Context)
- type ServerInterface
- type ServerInterfaceWrapper
- func (siw *ServerInterfaceWrapper) DeleteDevfile(c *gin.Context)
- func (siw *ServerInterfaceWrapper) DeleteDevfileIndexV1(c *gin.Context)
- func (siw *ServerInterfaceWrapper) DeleteDevfileIndexV1WithType(c *gin.Context)
- func (siw *ServerInterfaceWrapper) DeleteDevfileIndexV2(c *gin.Context)
- func (siw *ServerInterfaceWrapper) DeleteDevfileIndexV2WithType(c *gin.Context)
- func (siw *ServerInterfaceWrapper) DeleteDevfileStarterProject(c *gin.Context)
- func (siw *ServerInterfaceWrapper) DeleteDevfileStarterProjectWithVersion(c *gin.Context)
- func (siw *ServerInterfaceWrapper) DeleteDevfileWithVersion(c *gin.Context)
- func (siw *ServerInterfaceWrapper) DeleteHealthCheck(c *gin.Context)
- func (siw *ServerInterfaceWrapper) DeleteRootEndpoint(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PostDevfile(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PostDevfileIndexV1(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PostDevfileIndexV1WithType(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PostDevfileIndexV2(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PostDevfileIndexV2WithType(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PostDevfileStarterProject(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PostDevfileStarterProjectWithVersion(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PostDevfileWithVersion(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PostHealthCheck(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PostRootEndpoint(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PutDevfile(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PutDevfileIndexV1(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PutDevfileIndexV1WithType(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PutDevfileIndexV2(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PutDevfileIndexV2WithType(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PutDevfileStarterProject(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PutDevfileStarterProjectWithVersion(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PutDevfileWithVersion(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PutHealthCheck(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PutRootEndpoint(c *gin.Context)
- func (siw *ServerInterfaceWrapper) ServeDevfile(c *gin.Context)
- func (siw *ServerInterfaceWrapper) ServeDevfileIndexV1(c *gin.Context)
- func (siw *ServerInterfaceWrapper) ServeDevfileIndexV1WithType(c *gin.Context)
- func (siw *ServerInterfaceWrapper) ServeDevfileIndexV2(c *gin.Context)
- func (siw *ServerInterfaceWrapper) ServeDevfileIndexV2WithType(c *gin.Context)
- func (siw *ServerInterfaceWrapper) ServeDevfileStarterProject(c *gin.Context)
- func (siw *ServerInterfaceWrapper) ServeDevfileStarterProjectWithVersion(c *gin.Context)
- func (siw *ServerInterfaceWrapper) ServeDevfileWithVersion(c *gin.Context)
- func (siw *ServerInterfaceWrapper) ServeHealthCheck(c *gin.Context)
- func (siw *ServerInterfaceWrapper) ServeRootEndpoint(c *gin.Context)
- type StarterProjects
- type StarterProjectsParam
- type SupportUrlParam
- type Tags
- type TagsParam
- type Url
- type V2IndexResponse
- type Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSwagger ¶
GetSwagger returns the Swagger specification corresponding to the generated code in this file. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to "import-mapping" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.
func PathToRawSpec ¶
Constructs a synthetic filesystem for resolving external references when loading openapi specifications.
func RegisterHandlers ¶
func RegisterHandlers(router *gin.Engine, si ServerInterface) *gin.Engine
RegisterHandlers creates http.Handler with routing matching OpenAPI spec.
func RegisterHandlersWithOptions ¶
func RegisterHandlersWithOptions(router *gin.Engine, si ServerInterface, options GinServerOptions) *gin.Engine
RegisterHandlersWithOptions creates http.Handler with additional options
func ServeDevfileIndex ¶
func ServeDevfileIndex(c *gin.Context, wantV1Index bool, params IndexParams)
ServeDevfileIndex serves the index.json file located in the container at `ServeDevfileIndex`
func ServeOciProxy ¶
func ServeRegistry ¶
func ServeRegistry()
Types ¶
type ArchParam ¶
type ArchParam = Architectures
ArchParam Optional list of processor architectures that the devfile supports, empty list suggests that the devfile can be used on any architecture
type Architectures ¶
type Architectures = []string
Architectures Optional list of processor architectures that the devfile supports, empty list suggests that the devfile can be used on any architecture
type AttributeNames ¶
type AttributeNames = []string
AttributeNames List of the YAML free-form attribute names
type AttributeNamesParam ¶
type AttributeNamesParam = []string
AttributeNamesParam defines model for attributeNamesParam.
type CommandGroups ¶
type CommandGroups = []string
CommandGroups List of command groups defined in devfile
type CommandGroupsParam ¶
type CommandGroupsParam = CommandGroups
CommandGroupsParam List of command groups defined in devfile
type DefaultParam ¶
type DefaultParam = Default
DefaultParam Flag for default devfile registry entry version
type DeprecatedParam ¶
type DeprecatedParam = Deprecated
DeprecatedParam Flag for deprecated devfile registry entry
type DescriptionParam ¶
type DescriptionParam = Description
DescriptionParam Description of devfile registry entry
type Devfile ¶
Devfile Describes the structure of a cloud-native devworkspace and development environment.
type DevfileErrorResponse ¶
type DevfileErrorResponse struct { Error *string `json:"error,omitempty"` Status *string `json:"status,omitempty"` }
DevfileErrorResponse defines model for devfileErrorResponse.
type DevfileNotFoundResponse ¶
type DevfileNotFoundResponse struct {
Status *string `json:"status,omitempty"`
}
DevfileNotFoundResponse defines model for devfileNotFoundResponse.
type DevfileResponse ¶
type DevfileResponse = Devfile
DevfileResponse Describes the structure of a cloud-native devworkspace and development environment.
type DisplayName ¶
type DisplayName = string
DisplayName User readable name of devfile registry entry
type DisplayNameParam ¶
type DisplayNameParam = DisplayName
DisplayNameParam User readable name of devfile registry entry
type GinServerOptions ¶
type GinServerOptions struct { BaseURL string Middlewares []MiddlewareFunc ErrorHandler func(*gin.Context, error, int) }
GinServerOptions provides options for the Gin server.
type GitRemoteNameParam ¶
type GitRemoteNameParam = GitRemoteName
GitRemoteNameParam Git repository remote name
type GitRemoteNames ¶
type GitRemoteNames = []GitRemoteName
GitRemoteNames List of git repository remote names
type GitRemoteNamesParam ¶
type GitRemoteNamesParam = GitRemoteNames
GitRemoteNamesParam List of git repository remote names
type GitRemotesParam ¶
type GitRemotesParam = GitRemotes
GitRemotesParam List of git repository remote urls
type GitRevisionParam ¶
type GitRevisionParam = GitRevision
GitRevisionParam Branch, tag, or commit reference
type GitSubDir ¶
type GitSubDir = string
GitSubDir Subdirectory of git repository to use as reference
type GitSubDirParam ¶
type GitSubDirParam = GitSubDir
GitSubDirParam Subdirectory of git repository to use as reference
type HealthResponse ¶
type HealthResponse struct {
Message string `json:"message"`
}
HealthResponse defines model for healthResponse.
type IconUri ¶
type IconUri = string
IconUri Optional devfile icon uri, can be a URL or a relative path in the project
type IconUriParam ¶
type IconUriParam = IconUri
IconUriParam Optional devfile icon uri, can be a URL or a relative path in the project
type IndexParams ¶
type IndexParams struct { // Arch Optional list of processor architectures that the devfile supports, empty list suggests that the devfile can be used on any architecture Arch *Architectures `json:"arch,omitempty"` // AttributeNames List of the YAML free-form attribute names AttributeNames *AttributeNames `json:"attributeNames,omitempty"` // CommandGroups List of command groups defined in devfile CommandGroups *CommandGroups `json:"commandGroups,omitempty"` // Default Flag for default devfile registry entry version Default *Default `json:"default,omitempty"` // Deprecated Flag for deprecated devfile registry entry Deprecated *Deprecated `json:"deprecated,omitempty"` // Description Description of devfile registry entry Description *Description `json:"description,omitempty"` // DisplayName User readable name of devfile registry entry DisplayName *DisplayName `json:"displayName,omitempty"` // GitRemoteName Git repository remote name GitRemoteName *GitRemoteName `json:"gitRemoteName,omitempty"` // GitRemoteNames List of git repository remote names GitRemoteNames *GitRemoteNames `json:"gitRemoteNames,omitempty"` // GitRemotes List of git repository remote urls GitRemotes *GitRemotes `json:"gitRemotes,omitempty"` // GitRevision Branch, tag, or commit reference GitRevision *GitRevision `json:"gitRevision,omitempty"` // GitSubDir Subdirectory of git repository to use as reference GitSubDir *GitSubDir `json:"gitSubDir,omitempty"` // GitUrl Url field type GitUrl *Url `json:"gitUrl,omitempty"` // Icon Optional devfile icon encoding type Icon *Icon `json:"icon,omitempty"` // IconUri Optional devfile icon uri, can be a URL or a relative path in the project IconUri *IconUri `json:"iconUri,omitempty"` // Language Programming language of the devfile workspace Language *Language `json:"language,omitempty"` // LinkNames Names of devfile links LinkNames *LinkNames `json:"linkNames,omitempty"` // Links List of devfile links Links *Links `json:"links,omitempty"` // MaxSchemaVersion Devfile schema version number MaxSchemaVersion *SchemaVersion `json:"maxSchemaVersion,omitempty"` // MaxVersion Devfile registry entry version number MaxVersion *Version `json:"maxVersion,omitempty"` // MinSchemaVersion Devfile schema version number MinSchemaVersion *SchemaVersion `json:"minSchemaVersion,omitempty"` // MinVersion Devfile registry entry version number MinVersion *Version `json:"minVersion,omitempty"` // Name Name of devfile registry entry Name *Name `json:"name,omitempty"` // ProjectType Type of project the devfile supports ProjectType *ProjectType `json:"projectType,omitempty"` // Provider Name of provider of the devfile registry entry Provider *Provider `json:"provider,omitempty"` // Resources List of file resources for the devfile Resources *Resources `json:"resources,omitempty"` // StarterProjects List of starter project names StarterProjects *StarterProjects `json:"starterProjects,omitempty"` // SupportUrl Url field type SupportUrl *Url `json:"supportUrl,omitempty"` // Tags List of devfile subject tags Tags *Tags `json:"tags,omitempty"` }
IndexParams IndexParams defines parameters for index endpoints.
type LanguageParam ¶
type LanguageParam = Language
LanguageParam Programming language of the devfile workspace
type MaxSchemaVersionParam ¶
type MaxSchemaVersionParam = SchemaVersion
MaxSchemaVersionParam Devfile schema version number
type MaxVersionParam ¶
type MaxVersionParam = Version
MaxVersionParam Devfile registry entry version number
type MethodNotAllowedResponse ¶
type MethodNotAllowedResponse struct {
Message string `json:"message"`
}
MethodNotAllowedResponse defines model for methodNotAllowedResponse.
type MiddlewareFunc ¶
type MinSchemaVersionParam ¶
type MinSchemaVersionParam = SchemaVersion
MinSchemaVersionParam Devfile schema version number
type MinVersionParam ¶
type MinVersionParam = Version
MinVersionParam Devfile registry entry version number
type ProjectTypeParam ¶
type ProjectTypeParam = ProjectType
ProjectTypeParam Type of project the devfile supports
type ProviderParam ¶
type ProviderParam = Provider
ProviderParam Name of provider of the devfile registry entry
type ResourcesParam ¶
type ResourcesParam = Resources
ResourcesParam List of file resources for the devfile
type ServeDevfileIndexV1Params ¶
type ServeDevfileIndexV1Params struct { // Name Search string to filter stacks by their name Name *NameParam `form:"name,omitempty" json:"name,omitempty"` // DisplayName Search string to filter stacks by their display names DisplayName *DisplayNameParam `form:"displayName,omitempty" json:"displayName,omitempty"` // Description Search string to filter stacks by the description text Description *DescriptionParam `form:"description,omitempty" json:"description,omitempty"` // AttributeNames Collection of search strings to filter stacks by the names of // defined free-form attributes AttributeNames *AttributeNamesParam `form:"attributeNames,omitempty" json:"attributeNames,omitempty"` // Tags Collection of search strings to filter stacks by their tags Tags *TagsParam `form:"tags,omitempty" json:"tags,omitempty"` // Arch Collection of search strings to filter stacks by their architectures Arch *ArchParam `form:"arch,omitempty" json:"arch,omitempty"` // Icon Toggle on encoding content passed Icon *IconParam `form:"icon,omitempty" json:"icon,omitempty"` // IconUri Search string to filter stacks by their icon uri IconUri *IconUriParam `form:"iconUri,omitempty" json:"iconUri,omitempty"` // ProjectType Search string to filter stacks by their project type ProjectType *ProjectTypeParam `form:"projectType,omitempty" json:"projectType,omitempty"` // Language Search string to filter stacks by their programming language Language *LanguageParam `form:"language,omitempty" json:"language,omitempty"` // Deprecated Boolean to filter stacks if they are deprecated or not Deprecated *DeprecatedParam `form:"deprecated,omitempty" json:"deprecated,omitempty"` // Resources Collection of search strings to filter stacks by their // resource files Resources *ResourcesParam `form:"resources,omitempty" json:"resources,omitempty"` // StarterProjects Collection of search strings to filter stacks by the names // of the starter projects StarterProjects *StarterProjectsParam `form:"starterProjects,omitempty" json:"starterProjects,omitempty"` // LinkNames Collection of search strings to filter stacks by the names // of the link sources LinkNames *LinkNamesParam `form:"linkNames,omitempty" json:"linkNames,omitempty"` // Links Collection of search strings to filter stacks by their link // sources Links *LinksParam `form:"links,omitempty" json:"links,omitempty"` // GitRemoteNames Collection of search strings to filter stacks by the names of // the git remotes GitRemoteNames *GitRemoteNamesParam `form:"gitRemoteNames,omitempty" json:"gitRemoteNames,omitempty"` // GitRemotes Collection of search strings to filter stacks by the URIs of // the git remotes GitRemotes *GitRemotesParam `form:"gitRemotes,omitempty" json:"gitRemotes,omitempty"` // GitUrl Search string to filter stacks by their git urls GitUrl *GitUrlParam `form:"gitUrl,omitempty" json:"gitUrl,omitempty"` // GitRemoteName Search string to filter stacks by their git remote name GitRemoteName *GitRemoteNameParam `form:"gitRemoteName,omitempty" json:"gitRemoteName,omitempty"` // GitSubDir Search string to filter stacks by their target subdirectory // of the git repository GitSubDir *GitSubDirParam `form:"gitSubDir,omitempty" json:"gitSubDir,omitempty"` // GitRevision Search string to filter stacks by their git revision GitRevision *GitRevisionParam `form:"gitRevision,omitempty" json:"gitRevision,omitempty"` // Provider Search string to filter stacks by the stack provider Provider *ProviderParam `form:"provider,omitempty" json:"provider,omitempty"` // SupportUrl Search string to filter stacks by their given support url SupportUrl *SupportUrlParam `form:"supportUrl,omitempty" json:"supportUrl,omitempty"` }
ServeDevfileIndexV1Params defines parameters for ServeDevfileIndexV1.
type ServeDevfileIndexV1WithTypeParams ¶
type ServeDevfileIndexV1WithTypeParams struct { // Name Search string to filter stacks by their name Name *NameParam `form:"name,omitempty" json:"name,omitempty"` // DisplayName Search string to filter stacks by their display names DisplayName *DisplayNameParam `form:"displayName,omitempty" json:"displayName,omitempty"` // Description Search string to filter stacks by the description text Description *DescriptionParam `form:"description,omitempty" json:"description,omitempty"` // AttributeNames Collection of search strings to filter stacks by the names of // defined free-form attributes AttributeNames *AttributeNamesParam `form:"attributeNames,omitempty" json:"attributeNames,omitempty"` // Tags Collection of search strings to filter stacks by their tags Tags *TagsParam `form:"tags,omitempty" json:"tags,omitempty"` // Arch Collection of search strings to filter stacks by their architectures Arch *ArchParam `form:"arch,omitempty" json:"arch,omitempty"` // Icon Toggle on encoding content passed Icon *IconParam `form:"icon,omitempty" json:"icon,omitempty"` // IconUri Search string to filter stacks by their icon uri IconUri *IconUriParam `form:"iconUri,omitempty" json:"iconUri,omitempty"` // ProjectType Search string to filter stacks by their project type ProjectType *ProjectTypeParam `form:"projectType,omitempty" json:"projectType,omitempty"` // Language Search string to filter stacks by their programming language Language *LanguageParam `form:"language,omitempty" json:"language,omitempty"` // Deprecated Boolean to filter stacks if they are deprecated or not Deprecated *DeprecatedParam `form:"deprecated,omitempty" json:"deprecated,omitempty"` // Resources Collection of search strings to filter stacks by their // resource files Resources *ResourcesParam `form:"resources,omitempty" json:"resources,omitempty"` // StarterProjects Collection of search strings to filter stacks by the names // of the starter projects StarterProjects *StarterProjectsParam `form:"starterProjects,omitempty" json:"starterProjects,omitempty"` // LinkNames Collection of search strings to filter stacks by the names // of the link sources LinkNames *LinkNamesParam `form:"linkNames,omitempty" json:"linkNames,omitempty"` // Links Collection of search strings to filter stacks by their link // sources Links *LinksParam `form:"links,omitempty" json:"links,omitempty"` // GitRemoteNames Collection of search strings to filter stacks by the names of // the git remotes GitRemoteNames *GitRemoteNamesParam `form:"gitRemoteNames,omitempty" json:"gitRemoteNames,omitempty"` // GitRemotes Collection of search strings to filter stacks by the URIs of // the git remotes GitRemotes *GitRemotesParam `form:"gitRemotes,omitempty" json:"gitRemotes,omitempty"` // GitUrl Search string to filter stacks by their git urls GitUrl *GitUrlParam `form:"gitUrl,omitempty" json:"gitUrl,omitempty"` // GitRemoteName Search string to filter stacks by their git remote name GitRemoteName *GitRemoteNameParam `form:"gitRemoteName,omitempty" json:"gitRemoteName,omitempty"` // GitSubDir Search string to filter stacks by their target subdirectory // of the git repository GitSubDir *GitSubDirParam `form:"gitSubDir,omitempty" json:"gitSubDir,omitempty"` // GitRevision Search string to filter stacks by their git revision GitRevision *GitRevisionParam `form:"gitRevision,omitempty" json:"gitRevision,omitempty"` // Provider Search string to filter stacks by the stack provider Provider *ProviderParam `form:"provider,omitempty" json:"provider,omitempty"` // SupportUrl Search string to filter stacks by their given support url SupportUrl *SupportUrlParam `form:"supportUrl,omitempty" json:"supportUrl,omitempty"` }
ServeDevfileIndexV1WithTypeParams defines parameters for ServeDevfileIndexV1WithType.
type ServeDevfileIndexV2Params ¶
type ServeDevfileIndexV2Params struct { // Name Search string to filter stacks by their name Name *NameParam `form:"name,omitempty" json:"name,omitempty"` // DisplayName Search string to filter stacks by their display names DisplayName *DisplayNameParam `form:"displayName,omitempty" json:"displayName,omitempty"` // Description Search string to filter stacks by the description text Description *DescriptionParam `form:"description,omitempty" json:"description,omitempty"` // AttributeNames Collection of search strings to filter stacks by the names of // defined free-form attributes AttributeNames *AttributeNamesParam `form:"attributeNames,omitempty" json:"attributeNames,omitempty"` // Tags Collection of search strings to filter stacks by their tags Tags *TagsParam `form:"tags,omitempty" json:"tags,omitempty"` // Arch Collection of search strings to filter stacks by their architectures Arch *ArchParam `form:"arch,omitempty" json:"arch,omitempty"` // Icon Toggle on encoding content passed Icon *IconParam `form:"icon,omitempty" json:"icon,omitempty"` // IconUri Search string to filter stacks by their icon uri IconUri *IconUriParam `form:"iconUri,omitempty" json:"iconUri,omitempty"` // ProjectType Search string to filter stacks by their project type ProjectType *ProjectTypeParam `form:"projectType,omitempty" json:"projectType,omitempty"` // Language Search string to filter stacks by their programming language Language *LanguageParam `form:"language,omitempty" json:"language,omitempty"` // MinVersion The minimum stack version MinVersion *MinVersionParam `form:"minVersion,omitempty" json:"minVersion,omitempty"` // MaxVersion The maximum stack version MaxVersion *MaxVersionParam `form:"maxVersion,omitempty" json:"maxVersion,omitempty"` // MinSchemaVersion The minimum devfile schema version MinSchemaVersion *MinSchemaVersionParam `form:"minSchemaVersion,omitempty" json:"minSchemaVersion,omitempty"` // MaxSchemaVersion The maximum devfile schema version MaxSchemaVersion *MaxSchemaVersionParam `form:"maxSchemaVersion,omitempty" json:"maxSchemaVersion,omitempty"` // Deprecated Boolean to filter stacks if they are deprecated or not Deprecated *DeprecatedParam `form:"deprecated,omitempty" json:"deprecated,omitempty"` // Default Boolean to filter stacks if they are default or not Default *DefaultParam `form:"default,omitempty" json:"default,omitempty"` // Resources Collection of search strings to filter stacks by their // resource files Resources *ResourcesParam `form:"resources,omitempty" json:"resources,omitempty"` // StarterProjects Collection of search strings to filter stacks by the names // of the starter projects StarterProjects *StarterProjectsParam `form:"starterProjects,omitempty" json:"starterProjects,omitempty"` // LinkNames Collection of search strings to filter stacks by the names // of the link sources LinkNames *LinkNamesParam `form:"linkNames,omitempty" json:"linkNames,omitempty"` // Links Collection of search strings to filter stacks by their link // sources Links *LinksParam `form:"links,omitempty" json:"links,omitempty"` // CommandGroups Collection of search strings to filter stacks by their present command // groups CommandGroups *CommandGroupsParam `form:"commandGroups,omitempty" json:"commandGroups,omitempty"` // GitRemoteNames Collection of search strings to filter stacks by the names of // the git remotes GitRemoteNames *GitRemoteNamesParam `form:"gitRemoteNames,omitempty" json:"gitRemoteNames,omitempty"` // GitRemotes Collection of search strings to filter stacks by the URIs of // the git remotes GitRemotes *GitRemotesParam `form:"gitRemotes,omitempty" json:"gitRemotes,omitempty"` // GitUrl Search string to filter stacks by their git urls GitUrl *GitUrlParam `form:"gitUrl,omitempty" json:"gitUrl,omitempty"` // GitRemoteName Search string to filter stacks by their git remote name GitRemoteName *GitRemoteNameParam `form:"gitRemoteName,omitempty" json:"gitRemoteName,omitempty"` // GitSubDir Search string to filter stacks by their target subdirectory // of the git repository GitSubDir *GitSubDirParam `form:"gitSubDir,omitempty" json:"gitSubDir,omitempty"` // GitRevision Search string to filter stacks by their git revision GitRevision *GitRevisionParam `form:"gitRevision,omitempty" json:"gitRevision,omitempty"` // Provider Search string to filter stacks by the stack provider Provider *ProviderParam `form:"provider,omitempty" json:"provider,omitempty"` // SupportUrl Search string to filter stacks by their given support url SupportUrl *SupportUrlParam `form:"supportUrl,omitempty" json:"supportUrl,omitempty"` }
ServeDevfileIndexV2Params defines parameters for ServeDevfileIndexV2.
type ServeDevfileIndexV2WithTypeParams ¶
type ServeDevfileIndexV2WithTypeParams struct { // Name Search string to filter stacks by their name Name *NameParam `form:"name,omitempty" json:"name,omitempty"` // DisplayName Search string to filter stacks by their display names DisplayName *DisplayNameParam `form:"displayName,omitempty" json:"displayName,omitempty"` // Description Search string to filter stacks by the description text Description *DescriptionParam `form:"description,omitempty" json:"description,omitempty"` // AttributeNames Collection of search strings to filter stacks by the names of // defined free-form attributes AttributeNames *AttributeNamesParam `form:"attributeNames,omitempty" json:"attributeNames,omitempty"` // Tags Collection of search strings to filter stacks by their tags Tags *TagsParam `form:"tags,omitempty" json:"tags,omitempty"` // Arch Collection of search strings to filter stacks by their architectures Arch *ArchParam `form:"arch,omitempty" json:"arch,omitempty"` // Icon Toggle on encoding content passed Icon *IconParam `form:"icon,omitempty" json:"icon,omitempty"` // IconUri Search string to filter stacks by their icon uri IconUri *IconUriParam `form:"iconUri,omitempty" json:"iconUri,omitempty"` // ProjectType Search string to filter stacks by their project type ProjectType *ProjectTypeParam `form:"projectType,omitempty" json:"projectType,omitempty"` // Language Search string to filter stacks by their programming language Language *LanguageParam `form:"language,omitempty" json:"language,omitempty"` // MinVersion The minimum stack version MinVersion *MinVersionParam `form:"minVersion,omitempty" json:"minVersion,omitempty"` // MaxVersion The maximum stack version MaxVersion *MaxVersionParam `form:"maxVersion,omitempty" json:"maxVersion,omitempty"` // MinSchemaVersion The minimum devfile schema version MinSchemaVersion *MinSchemaVersionParam `form:"minSchemaVersion,omitempty" json:"minSchemaVersion,omitempty"` // MaxSchemaVersion The maximum devfile schema version MaxSchemaVersion *MaxSchemaVersionParam `form:"maxSchemaVersion,omitempty" json:"maxSchemaVersion,omitempty"` // Deprecated Boolean to filter stacks if they are deprecated or not Deprecated *DeprecatedParam `form:"deprecated,omitempty" json:"deprecated,omitempty"` // Default Boolean to filter stacks if they are default or not Default *DefaultParam `form:"default,omitempty" json:"default,omitempty"` // Resources Collection of search strings to filter stacks by their // resource files Resources *ResourcesParam `form:"resources,omitempty" json:"resources,omitempty"` // StarterProjects Collection of search strings to filter stacks by the names // of the starter projects StarterProjects *StarterProjectsParam `form:"starterProjects,omitempty" json:"starterProjects,omitempty"` // LinkNames Collection of search strings to filter stacks by the names // of the link sources LinkNames *LinkNamesParam `form:"linkNames,omitempty" json:"linkNames,omitempty"` // Links Collection of search strings to filter stacks by their link // sources Links *LinksParam `form:"links,omitempty" json:"links,omitempty"` // CommandGroups Collection of search strings to filter stacks by their present command // groups CommandGroups *CommandGroupsParam `form:"commandGroups,omitempty" json:"commandGroups,omitempty"` // GitRemoteNames Collection of search strings to filter stacks by the names of // the git remotes GitRemoteNames *GitRemoteNamesParam `form:"gitRemoteNames,omitempty" json:"gitRemoteNames,omitempty"` // GitRemotes Collection of search strings to filter stacks by the URIs of // the git remotes GitRemotes *GitRemotesParam `form:"gitRemotes,omitempty" json:"gitRemotes,omitempty"` // GitUrl Search string to filter stacks by their git urls GitUrl *GitUrlParam `form:"gitUrl,omitempty" json:"gitUrl,omitempty"` // GitRemoteName Search string to filter stacks by their git remote name GitRemoteName *GitRemoteNameParam `form:"gitRemoteName,omitempty" json:"gitRemoteName,omitempty"` // GitSubDir Search string to filter stacks by their target subdirectory // of the git repository GitSubDir *GitSubDirParam `form:"gitSubDir,omitempty" json:"gitSubDir,omitempty"` // GitRevision Search string to filter stacks by their git revision GitRevision *GitRevisionParam `form:"gitRevision,omitempty" json:"gitRevision,omitempty"` // Provider Search string to filter stacks by the stack provider Provider *ProviderParam `form:"provider,omitempty" json:"provider,omitempty"` // SupportUrl Search string to filter stacks by their given support url SupportUrl *SupportUrlParam `form:"supportUrl,omitempty" json:"supportUrl,omitempty"` }
ServeDevfileIndexV2WithTypeParams defines parameters for ServeDevfileIndexV2WithType.
type ServeDevfileParams ¶
type ServeDevfileParams struct { // MinSchemaVersion The minimum devfile schema version MinSchemaVersion *MinSchemaVersionParam `form:"minSchemaVersion,omitempty" json:"minSchemaVersion,omitempty"` // MaxSchemaVersion The maximum devfile schema version MaxSchemaVersion *MaxSchemaVersionParam `form:"maxSchemaVersion,omitempty" json:"maxSchemaVersion,omitempty"` }
ServeDevfileParams defines parameters for ServeDevfile.
type ServeDevfileStarterProjectParams ¶
type ServeDevfileStarterProjectParams struct { // MinSchemaVersion The minimum devfile schema version MinSchemaVersion *MinSchemaVersionParam `form:"minSchemaVersion,omitempty" json:"minSchemaVersion,omitempty"` // MaxSchemaVersion The maximum devfile schema version MaxSchemaVersion *MaxSchemaVersionParam `form:"maxSchemaVersion,omitempty" json:"maxSchemaVersion,omitempty"` }
ServeDevfileStarterProjectParams defines parameters for ServeDevfileStarterProject.
type ServeDevfileStarterProjectWithVersionParams ¶
type ServeDevfileStarterProjectWithVersionParams struct { // MinSchemaVersion The minimum devfile schema version MinSchemaVersion *MinSchemaVersionParam `form:"minSchemaVersion,omitempty" json:"minSchemaVersion,omitempty"` // MaxSchemaVersion The maximum devfile schema version MaxSchemaVersion *MaxSchemaVersionParam `form:"maxSchemaVersion,omitempty" json:"maxSchemaVersion,omitempty"` }
ServeDevfileStarterProjectWithVersionParams defines parameters for ServeDevfileStarterProjectWithVersion.
type ServeDevfileWithVersionParams ¶
type ServeDevfileWithVersionParams struct { // MinSchemaVersion The minimum devfile schema version MinSchemaVersion *MinSchemaVersionParam `form:"minSchemaVersion,omitempty" json:"minSchemaVersion,omitempty"` // MaxSchemaVersion The maximum devfile schema version MaxSchemaVersion *MaxSchemaVersionParam `form:"maxSchemaVersion,omitempty" json:"maxSchemaVersion,omitempty"` }
ServeDevfileWithVersionParams defines parameters for ServeDevfileWithVersion.
type Server ¶
type Server struct { }
func (*Server) DeleteDevfileIndexV1 ¶
func (*Server) DeleteDevfileIndexV1WithType ¶
func (*Server) DeleteDevfileIndexV2 ¶
func (*Server) DeleteDevfileIndexV2WithType ¶
func (*Server) DeleteDevfileStarterProject ¶
func (*Server) DeleteDevfileStarterProjectWithVersion ¶
func (*Server) DeleteDevfileWithVersion ¶
func (*Server) DeleteHealthCheck ¶
DeleteHealthCheck serves endpoint `/health` for registry health check with DELETE request
func (*Server) DeleteRootEndpoint ¶
func (*Server) PostDevfileIndexV1 ¶
func (*Server) PostDevfileIndexV1WithType ¶
func (*Server) PostDevfileIndexV2 ¶
func (*Server) PostDevfileIndexV2WithType ¶
func (*Server) PostDevfileStarterProject ¶
func (*Server) PostDevfileStarterProjectWithVersion ¶
func (*Server) PostDevfileWithVersion ¶
func (*Server) PostHealthCheck ¶
PostHealthCheck serves endpoint `/health` for registry health check with POST request
func (*Server) PostRootEndpoint ¶
func (*Server) PutDevfileIndexV1 ¶
func (*Server) PutDevfileIndexV1WithType ¶
func (*Server) PutDevfileIndexV2 ¶
func (*Server) PutDevfileIndexV2WithType ¶
func (*Server) PutDevfileStarterProject ¶
func (*Server) PutDevfileStarterProjectWithVersion ¶
func (*Server) PutDevfileWithVersion ¶
func (*Server) PutHealthCheck ¶
PutHealthCheck serves endpoint `/health` for registry health check with PUT request
func (*Server) PutRootEndpoint ¶
func (*Server) ServeDevfile ¶
func (s *Server) ServeDevfile(c *gin.Context, name string, params ServeDevfileParams)
ServeDevfile returns the devfile content
func (*Server) ServeDevfileIndexV1 ¶
func (*Server) ServeDevfileIndexV1(c *gin.Context, params ServeDevfileIndexV1Params)
func (*Server) ServeDevfileIndexV1WithType ¶
func (*Server) ServeDevfileIndexV1WithType(c *gin.Context, indexType string, params ServeDevfileIndexV1WithTypeParams)
func (*Server) ServeDevfileIndexV2 ¶
func (*Server) ServeDevfileIndexV2(c *gin.Context, params ServeDevfileIndexV2Params)
func (*Server) ServeDevfileIndexV2WithType ¶
func (*Server) ServeDevfileIndexV2WithType(c *gin.Context, indexType string, params ServeDevfileIndexV2WithTypeParams)
func (*Server) ServeDevfileStarterProject ¶
func (s *Server) ServeDevfileStarterProject(c *gin.Context, name string, starterProject string, params ServeDevfileStarterProjectParams)
ServeDevfileStarterProject returns the starter project content for the devfile using default version
func (*Server) ServeDevfileStarterProjectWithVersion ¶
func (*Server) ServeDevfileStarterProjectWithVersion(c *gin.Context, name string, version string, starterProject string, params ServeDevfileStarterProjectWithVersionParams)
ServeDevfileStarterProject returns the starter project content for the devfile using specified version
func (*Server) ServeDevfileWithVersion ¶
func (*Server) ServeHealthCheck ¶
ServeHealthCheck serves endpoint `/health` for registry health check with GET request
func (*Server) ServeRootEndpoint ¶
ServeRootEndpoint sets up the handler for the root (/) endpoint on the server If html is requested (i.e. from a web browser), the viewer is displayed, otherwise the devfile index is served.
type ServerInterface ¶
type ServerInterface interface { // (DELETE /) DeleteRootEndpoint(c *gin.Context) // Root endpoint of registry server. // (GET /) ServeRootEndpoint(c *gin.Context) // (POST /) PostRootEndpoint(c *gin.Context) // (PUT /) PutRootEndpoint(c *gin.Context) // (DELETE /devfiles/{stack}) DeleteDevfile(c *gin.Context, stack string) // Get devfile by stack name. // (GET /devfiles/{stack}) ServeDevfile(c *gin.Context, stack string, params ServeDevfileParams) // (POST /devfiles/{stack}) PostDevfile(c *gin.Context, stack string) // (PUT /devfiles/{stack}) PutDevfile(c *gin.Context, stack string) // (DELETE /devfiles/{stack}/starter-projects/{starterProject}) DeleteDevfileStarterProject(c *gin.Context, stack string, starterProject string) // Fetches starter project by stack and project name // (GET /devfiles/{stack}/starter-projects/{starterProject}) ServeDevfileStarterProject(c *gin.Context, stack string, starterProject string, params ServeDevfileStarterProjectParams) // (POST /devfiles/{stack}/starter-projects/{starterProject}) PostDevfileStarterProject(c *gin.Context, stack string, starterProject string) // (PUT /devfiles/{stack}/starter-projects/{starterProject}) PutDevfileStarterProject(c *gin.Context, stack string, starterProject string) // (DELETE /devfiles/{stack}/{version}) DeleteDevfileWithVersion(c *gin.Context, stack string, version string) // Get devfile by stack name. // (GET /devfiles/{stack}/{version}) ServeDevfileWithVersion(c *gin.Context, stack string, version string, params ServeDevfileWithVersionParams) // (POST /devfiles/{stack}/{version}) PostDevfileWithVersion(c *gin.Context, stack string, version string) // (PUT /devfiles/{stack}/{version}) PutDevfileWithVersion(c *gin.Context, stack string, version string) // (DELETE /devfiles/{stack}/{version}/starter-projects/{starterProject}) DeleteDevfileStarterProjectWithVersion(c *gin.Context, stack string, version string, starterProject string) // Fetches starter project by stack name, stack version, and project name // (GET /devfiles/{stack}/{version}/starter-projects/{starterProject}) ServeDevfileStarterProjectWithVersion(c *gin.Context, stack string, version string, starterProject string, params ServeDevfileStarterProjectWithVersionParams) // (POST /devfiles/{stack}/{version}/starter-projects/{starterProject}) PostDevfileStarterProjectWithVersion(c *gin.Context, stack string, version string, starterProject string) // (PUT /devfiles/{stack}/{version}/starter-projects/{starterProject}) PutDevfileStarterProjectWithVersion(c *gin.Context, stack string, version string, starterProject string) // (DELETE /health) DeleteHealthCheck(c *gin.Context) // Get health status. // (GET /health) ServeHealthCheck(c *gin.Context) // (POST /health) PostHealthCheck(c *gin.Context) // (PUT /health) PutHealthCheck(c *gin.Context) // (DELETE /index) DeleteDevfileIndexV1(c *gin.Context) // Gets index schemas of the stack devfiles. // (GET /index) ServeDevfileIndexV1(c *gin.Context, params ServeDevfileIndexV1Params) // (POST /index) PostDevfileIndexV1(c *gin.Context) // (PUT /index) PutDevfileIndexV1(c *gin.Context) // (DELETE /index/{indexType}) DeleteDevfileIndexV1WithType(c *gin.Context, indexType string) // Gets index schemas of the devfiles of specific type. // (GET /index/{indexType}) ServeDevfileIndexV1WithType(c *gin.Context, indexType string, params ServeDevfileIndexV1WithTypeParams) // (POST /index/{indexType}) PostDevfileIndexV1WithType(c *gin.Context, indexType string) // (PUT /index/{indexType}) PutDevfileIndexV1WithType(c *gin.Context, indexType string) // (DELETE /v2index) DeleteDevfileIndexV2(c *gin.Context) // Gets V2 index schemas of the stack devfiles. // (GET /v2index) ServeDevfileIndexV2(c *gin.Context, params ServeDevfileIndexV2Params) // (POST /v2index) PostDevfileIndexV2(c *gin.Context) // (PUT /v2index) PutDevfileIndexV2(c *gin.Context) // (DELETE /v2index/{indexType}) DeleteDevfileIndexV2WithType(c *gin.Context, indexType string) // Gets V2 index schemas of the devfiles of specific type. // (GET /v2index/{indexType}) ServeDevfileIndexV2WithType(c *gin.Context, indexType string, params ServeDevfileIndexV2WithTypeParams) // (POST /v2index/{indexType}) PostDevfileIndexV2WithType(c *gin.Context, indexType string) // (PUT /v2index/{indexType}) PutDevfileIndexV2WithType(c *gin.Context, indexType string) }
type ServerInterfaceWrapper ¶
type ServerInterfaceWrapper struct { Handler ServerInterface HandlerMiddlewares []MiddlewareFunc ErrorHandler func(*gin.Context, error, int) }
ServerInterfaceWrapper converts contexts to parameters.
func (*ServerInterfaceWrapper) DeleteDevfile ¶
func (siw *ServerInterfaceWrapper) DeleteDevfile(c *gin.Context)
DeleteDevfile operation middleware
func (*ServerInterfaceWrapper) DeleteDevfileIndexV1 ¶
func (siw *ServerInterfaceWrapper) DeleteDevfileIndexV1(c *gin.Context)
DeleteDevfileIndexV1 operation middleware
func (*ServerInterfaceWrapper) DeleteDevfileIndexV1WithType ¶
func (siw *ServerInterfaceWrapper) DeleteDevfileIndexV1WithType(c *gin.Context)
DeleteDevfileIndexV1WithType operation middleware
func (*ServerInterfaceWrapper) DeleteDevfileIndexV2 ¶
func (siw *ServerInterfaceWrapper) DeleteDevfileIndexV2(c *gin.Context)
DeleteDevfileIndexV2 operation middleware
func (*ServerInterfaceWrapper) DeleteDevfileIndexV2WithType ¶
func (siw *ServerInterfaceWrapper) DeleteDevfileIndexV2WithType(c *gin.Context)
DeleteDevfileIndexV2WithType operation middleware
func (*ServerInterfaceWrapper) DeleteDevfileStarterProject ¶
func (siw *ServerInterfaceWrapper) DeleteDevfileStarterProject(c *gin.Context)
DeleteDevfileStarterProject operation middleware
func (*ServerInterfaceWrapper) DeleteDevfileStarterProjectWithVersion ¶
func (siw *ServerInterfaceWrapper) DeleteDevfileStarterProjectWithVersion(c *gin.Context)
DeleteDevfileStarterProjectWithVersion operation middleware
func (*ServerInterfaceWrapper) DeleteDevfileWithVersion ¶
func (siw *ServerInterfaceWrapper) DeleteDevfileWithVersion(c *gin.Context)
DeleteDevfileWithVersion operation middleware
func (*ServerInterfaceWrapper) DeleteHealthCheck ¶
func (siw *ServerInterfaceWrapper) DeleteHealthCheck(c *gin.Context)
DeleteHealthCheck operation middleware
func (*ServerInterfaceWrapper) DeleteRootEndpoint ¶
func (siw *ServerInterfaceWrapper) DeleteRootEndpoint(c *gin.Context)
DeleteRootEndpoint operation middleware
func (*ServerInterfaceWrapper) PostDevfile ¶
func (siw *ServerInterfaceWrapper) PostDevfile(c *gin.Context)
PostDevfile operation middleware
func (*ServerInterfaceWrapper) PostDevfileIndexV1 ¶
func (siw *ServerInterfaceWrapper) PostDevfileIndexV1(c *gin.Context)
PostDevfileIndexV1 operation middleware
func (*ServerInterfaceWrapper) PostDevfileIndexV1WithType ¶
func (siw *ServerInterfaceWrapper) PostDevfileIndexV1WithType(c *gin.Context)
PostDevfileIndexV1WithType operation middleware
func (*ServerInterfaceWrapper) PostDevfileIndexV2 ¶
func (siw *ServerInterfaceWrapper) PostDevfileIndexV2(c *gin.Context)
PostDevfileIndexV2 operation middleware
func (*ServerInterfaceWrapper) PostDevfileIndexV2WithType ¶
func (siw *ServerInterfaceWrapper) PostDevfileIndexV2WithType(c *gin.Context)
PostDevfileIndexV2WithType operation middleware
func (*ServerInterfaceWrapper) PostDevfileStarterProject ¶
func (siw *ServerInterfaceWrapper) PostDevfileStarterProject(c *gin.Context)
PostDevfileStarterProject operation middleware
func (*ServerInterfaceWrapper) PostDevfileStarterProjectWithVersion ¶
func (siw *ServerInterfaceWrapper) PostDevfileStarterProjectWithVersion(c *gin.Context)
PostDevfileStarterProjectWithVersion operation middleware
func (*ServerInterfaceWrapper) PostDevfileWithVersion ¶
func (siw *ServerInterfaceWrapper) PostDevfileWithVersion(c *gin.Context)
PostDevfileWithVersion operation middleware
func (*ServerInterfaceWrapper) PostHealthCheck ¶
func (siw *ServerInterfaceWrapper) PostHealthCheck(c *gin.Context)
PostHealthCheck operation middleware
func (*ServerInterfaceWrapper) PostRootEndpoint ¶
func (siw *ServerInterfaceWrapper) PostRootEndpoint(c *gin.Context)
PostRootEndpoint operation middleware
func (*ServerInterfaceWrapper) PutDevfile ¶
func (siw *ServerInterfaceWrapper) PutDevfile(c *gin.Context)
PutDevfile operation middleware
func (*ServerInterfaceWrapper) PutDevfileIndexV1 ¶
func (siw *ServerInterfaceWrapper) PutDevfileIndexV1(c *gin.Context)
PutDevfileIndexV1 operation middleware
func (*ServerInterfaceWrapper) PutDevfileIndexV1WithType ¶
func (siw *ServerInterfaceWrapper) PutDevfileIndexV1WithType(c *gin.Context)
PutDevfileIndexV1WithType operation middleware
func (*ServerInterfaceWrapper) PutDevfileIndexV2 ¶
func (siw *ServerInterfaceWrapper) PutDevfileIndexV2(c *gin.Context)
PutDevfileIndexV2 operation middleware
func (*ServerInterfaceWrapper) PutDevfileIndexV2WithType ¶
func (siw *ServerInterfaceWrapper) PutDevfileIndexV2WithType(c *gin.Context)
PutDevfileIndexV2WithType operation middleware
func (*ServerInterfaceWrapper) PutDevfileStarterProject ¶
func (siw *ServerInterfaceWrapper) PutDevfileStarterProject(c *gin.Context)
PutDevfileStarterProject operation middleware
func (*ServerInterfaceWrapper) PutDevfileStarterProjectWithVersion ¶
func (siw *ServerInterfaceWrapper) PutDevfileStarterProjectWithVersion(c *gin.Context)
PutDevfileStarterProjectWithVersion operation middleware
func (*ServerInterfaceWrapper) PutDevfileWithVersion ¶
func (siw *ServerInterfaceWrapper) PutDevfileWithVersion(c *gin.Context)
PutDevfileWithVersion operation middleware
func (*ServerInterfaceWrapper) PutHealthCheck ¶
func (siw *ServerInterfaceWrapper) PutHealthCheck(c *gin.Context)
PutHealthCheck operation middleware
func (*ServerInterfaceWrapper) PutRootEndpoint ¶
func (siw *ServerInterfaceWrapper) PutRootEndpoint(c *gin.Context)
PutRootEndpoint operation middleware
func (*ServerInterfaceWrapper) ServeDevfile ¶
func (siw *ServerInterfaceWrapper) ServeDevfile(c *gin.Context)
ServeDevfile operation middleware
func (*ServerInterfaceWrapper) ServeDevfileIndexV1 ¶
func (siw *ServerInterfaceWrapper) ServeDevfileIndexV1(c *gin.Context)
ServeDevfileIndexV1 operation middleware
func (*ServerInterfaceWrapper) ServeDevfileIndexV1WithType ¶
func (siw *ServerInterfaceWrapper) ServeDevfileIndexV1WithType(c *gin.Context)
ServeDevfileIndexV1WithType operation middleware
func (*ServerInterfaceWrapper) ServeDevfileIndexV2 ¶
func (siw *ServerInterfaceWrapper) ServeDevfileIndexV2(c *gin.Context)
ServeDevfileIndexV2 operation middleware
func (*ServerInterfaceWrapper) ServeDevfileIndexV2WithType ¶
func (siw *ServerInterfaceWrapper) ServeDevfileIndexV2WithType(c *gin.Context)
ServeDevfileIndexV2WithType operation middleware
func (*ServerInterfaceWrapper) ServeDevfileStarterProject ¶
func (siw *ServerInterfaceWrapper) ServeDevfileStarterProject(c *gin.Context)
ServeDevfileStarterProject operation middleware
func (*ServerInterfaceWrapper) ServeDevfileStarterProjectWithVersion ¶
func (siw *ServerInterfaceWrapper) ServeDevfileStarterProjectWithVersion(c *gin.Context)
ServeDevfileStarterProjectWithVersion operation middleware
func (*ServerInterfaceWrapper) ServeDevfileWithVersion ¶
func (siw *ServerInterfaceWrapper) ServeDevfileWithVersion(c *gin.Context)
ServeDevfileWithVersion operation middleware
func (*ServerInterfaceWrapper) ServeHealthCheck ¶
func (siw *ServerInterfaceWrapper) ServeHealthCheck(c *gin.Context)
ServeHealthCheck operation middleware
func (*ServerInterfaceWrapper) ServeRootEndpoint ¶
func (siw *ServerInterfaceWrapper) ServeRootEndpoint(c *gin.Context)
ServeRootEndpoint operation middleware
type StarterProjects ¶
type StarterProjects = []string
StarterProjects List of starter project names
type StarterProjectsParam ¶
type StarterProjectsParam = StarterProjects
StarterProjectsParam List of starter project names
type V2IndexResponse ¶
V2IndexResponse defines model for v2IndexResponse.