generated

package
v0.0.0-...-a88e0ec Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package generated provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.1 DO NOT EDIT.

Index

Constants

View Source
const (
	Oauth2Scopes = "oauth2.Scopes"
)

Variables

This section is empty.

Functions

func GetSwagger

func GetSwagger() (swagger *openapi3.T, err error)

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 Handler

func Handler(si ServerInterface) http.Handler

Handler creates http.Handler with routing matching OpenAPI spec.

func HandlerFromMux

func HandlerFromMux(si ServerInterface, m ServeMux) http.Handler

HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.

func HandlerFromMuxWithBaseURL

func HandlerFromMuxWithBaseURL(si ServerInterface, m ServeMux, baseURL string) http.Handler

func HandlerWithOptions

func HandlerWithOptions(si ServerInterface, options StdHTTPServerOptions) http.Handler

HandlerWithOptions creates http.Handler with additional options

func PathToRawSpec

func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)

Constructs a synthetic filesystem for resolving external references when loading openapi specifications.

Types

type GetAllVersions200JSONResponse

type GetAllVersions200JSONResponse externalRef0.APIVersions

func (GetAllVersions200JSONResponse) VisitGetAllVersionsResponse

func (response GetAllVersions200JSONResponse) VisitGetAllVersionsResponse(w http.ResponseWriter) error

type GetAllVersions400ApplicationProblemPlusJSONResponse

type GetAllVersions400ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (GetAllVersions400ApplicationProblemPlusJSONResponse) VisitGetAllVersionsResponse

func (response GetAllVersions400ApplicationProblemPlusJSONResponse) VisitGetAllVersionsResponse(w http.ResponseWriter) error

type GetAllVersions401ApplicationProblemPlusJSONResponse

type GetAllVersions401ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (GetAllVersions401ApplicationProblemPlusJSONResponse) VisitGetAllVersionsResponse

func (response GetAllVersions401ApplicationProblemPlusJSONResponse) VisitGetAllVersionsResponse(w http.ResponseWriter) error

type GetAllVersions403ApplicationProblemPlusJSONResponse

type GetAllVersions403ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (GetAllVersions403ApplicationProblemPlusJSONResponse) VisitGetAllVersionsResponse

func (response GetAllVersions403ApplicationProblemPlusJSONResponse) VisitGetAllVersionsResponse(w http.ResponseWriter) error

type GetAllVersions500ApplicationProblemPlusJSONResponse

type GetAllVersions500ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (GetAllVersions500ApplicationProblemPlusJSONResponse) VisitGetAllVersionsResponse

func (response GetAllVersions500ApplicationProblemPlusJSONResponse) VisitGetAllVersionsResponse(w http.ResponseWriter) error

type GetAllVersionsRequestObject

type GetAllVersionsRequestObject struct {
}

type GetAllVersionsResponseObject

type GetAllVersionsResponseObject interface {
	VisitGetAllVersionsResponse(w http.ResponseWriter) error
}

type GetManagedInfrastructureTemplate200JSONResponse

type GetManagedInfrastructureTemplate200JSONResponse ManagedInfrastructureTemplate

func (GetManagedInfrastructureTemplate200JSONResponse) VisitGetManagedInfrastructureTemplateResponse

func (response GetManagedInfrastructureTemplate200JSONResponse) VisitGetManagedInfrastructureTemplateResponse(w http.ResponseWriter) error

type GetManagedInfrastructureTemplate400ApplicationProblemPlusJSONResponse

type GetManagedInfrastructureTemplate400ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (GetManagedInfrastructureTemplate400ApplicationProblemPlusJSONResponse) VisitGetManagedInfrastructureTemplateResponse

func (response GetManagedInfrastructureTemplate400ApplicationProblemPlusJSONResponse) VisitGetManagedInfrastructureTemplateResponse(w http.ResponseWriter) error

type GetManagedInfrastructureTemplate401ApplicationProblemPlusJSONResponse

type GetManagedInfrastructureTemplate401ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (GetManagedInfrastructureTemplate401ApplicationProblemPlusJSONResponse) VisitGetManagedInfrastructureTemplateResponse

func (response GetManagedInfrastructureTemplate401ApplicationProblemPlusJSONResponse) VisitGetManagedInfrastructureTemplateResponse(w http.ResponseWriter) error

type GetManagedInfrastructureTemplate403ApplicationProblemPlusJSONResponse

type GetManagedInfrastructureTemplate403ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (GetManagedInfrastructureTemplate403ApplicationProblemPlusJSONResponse) VisitGetManagedInfrastructureTemplateResponse

func (response GetManagedInfrastructureTemplate403ApplicationProblemPlusJSONResponse) VisitGetManagedInfrastructureTemplateResponse(w http.ResponseWriter) error

type GetManagedInfrastructureTemplate404ApplicationProblemPlusJSONResponse

type GetManagedInfrastructureTemplate404ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (GetManagedInfrastructureTemplate404ApplicationProblemPlusJSONResponse) VisitGetManagedInfrastructureTemplateResponse

func (response GetManagedInfrastructureTemplate404ApplicationProblemPlusJSONResponse) VisitGetManagedInfrastructureTemplateResponse(w http.ResponseWriter) error

type GetManagedInfrastructureTemplate500ApplicationProblemPlusJSONResponse

type GetManagedInfrastructureTemplate500ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (GetManagedInfrastructureTemplate500ApplicationProblemPlusJSONResponse) VisitGetManagedInfrastructureTemplateResponse

func (response GetManagedInfrastructureTemplate500ApplicationProblemPlusJSONResponse) VisitGetManagedInfrastructureTemplateResponse(w http.ResponseWriter) error

type GetManagedInfrastructureTemplateDefaults200JSONResponse

type GetManagedInfrastructureTemplateDefaults200JSONResponse ManagedInfrastructureTemplateDefaults

func (GetManagedInfrastructureTemplateDefaults200JSONResponse) VisitGetManagedInfrastructureTemplateDefaultsResponse

func (response GetManagedInfrastructureTemplateDefaults200JSONResponse) VisitGetManagedInfrastructureTemplateDefaultsResponse(w http.ResponseWriter) error

type GetManagedInfrastructureTemplateDefaults400ApplicationProblemPlusJSONResponse

type GetManagedInfrastructureTemplateDefaults400ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (GetManagedInfrastructureTemplateDefaults400ApplicationProblemPlusJSONResponse) VisitGetManagedInfrastructureTemplateDefaultsResponse

func (response GetManagedInfrastructureTemplateDefaults400ApplicationProblemPlusJSONResponse) VisitGetManagedInfrastructureTemplateDefaultsResponse(w http.ResponseWriter) error

type GetManagedInfrastructureTemplateDefaults401ApplicationProblemPlusJSONResponse

type GetManagedInfrastructureTemplateDefaults401ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (GetManagedInfrastructureTemplateDefaults401ApplicationProblemPlusJSONResponse) VisitGetManagedInfrastructureTemplateDefaultsResponse

func (response GetManagedInfrastructureTemplateDefaults401ApplicationProblemPlusJSONResponse) VisitGetManagedInfrastructureTemplateDefaultsResponse(w http.ResponseWriter) error

type GetManagedInfrastructureTemplateDefaults403ApplicationProblemPlusJSONResponse

type GetManagedInfrastructureTemplateDefaults403ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (GetManagedInfrastructureTemplateDefaults403ApplicationProblemPlusJSONResponse) VisitGetManagedInfrastructureTemplateDefaultsResponse

func (response GetManagedInfrastructureTemplateDefaults403ApplicationProblemPlusJSONResponse) VisitGetManagedInfrastructureTemplateDefaultsResponse(w http.ResponseWriter) error

type GetManagedInfrastructureTemplateDefaults404ApplicationProblemPlusJSONResponse

type GetManagedInfrastructureTemplateDefaults404ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (GetManagedInfrastructureTemplateDefaults404ApplicationProblemPlusJSONResponse) VisitGetManagedInfrastructureTemplateDefaultsResponse

func (response GetManagedInfrastructureTemplateDefaults404ApplicationProblemPlusJSONResponse) VisitGetManagedInfrastructureTemplateDefaultsResponse(w http.ResponseWriter) error

type GetManagedInfrastructureTemplateDefaults500ApplicationProblemPlusJSONResponse

type GetManagedInfrastructureTemplateDefaults500ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (GetManagedInfrastructureTemplateDefaults500ApplicationProblemPlusJSONResponse) VisitGetManagedInfrastructureTemplateDefaultsResponse

func (response GetManagedInfrastructureTemplateDefaults500ApplicationProblemPlusJSONResponse) VisitGetManagedInfrastructureTemplateDefaultsResponse(w http.ResponseWriter) error

type GetManagedInfrastructureTemplateDefaultsRequestObject

type GetManagedInfrastructureTemplateDefaultsRequestObject struct {
	ManagedInfrastructureTemplateId ManagedInfrastructureTemplateId `json:"managedInfrastructureTemplateId"`
}

type GetManagedInfrastructureTemplateDefaultsResponseObject

type GetManagedInfrastructureTemplateDefaultsResponseObject interface {
	VisitGetManagedInfrastructureTemplateDefaultsResponse(w http.ResponseWriter) error
}

type GetManagedInfrastructureTemplateRequestObject

type GetManagedInfrastructureTemplateRequestObject struct {
	ManagedInfrastructureTemplateId ManagedInfrastructureTemplateId `json:"managedInfrastructureTemplateId"`
}

type GetManagedInfrastructureTemplateResponseObject

type GetManagedInfrastructureTemplateResponseObject interface {
	VisitGetManagedInfrastructureTemplateResponse(w http.ResponseWriter) error
}

type GetManagedInfrastructureTemplates200JSONResponse

type GetManagedInfrastructureTemplates200JSONResponse []ManagedInfrastructureTemplate

func (GetManagedInfrastructureTemplates200JSONResponse) VisitGetManagedInfrastructureTemplatesResponse

func (response GetManagedInfrastructureTemplates200JSONResponse) VisitGetManagedInfrastructureTemplatesResponse(w http.ResponseWriter) error

type GetManagedInfrastructureTemplates400ApplicationProblemPlusJSONResponse

type GetManagedInfrastructureTemplates400ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (GetManagedInfrastructureTemplates400ApplicationProblemPlusJSONResponse) VisitGetManagedInfrastructureTemplatesResponse

func (response GetManagedInfrastructureTemplates400ApplicationProblemPlusJSONResponse) VisitGetManagedInfrastructureTemplatesResponse(w http.ResponseWriter) error

type GetManagedInfrastructureTemplates401ApplicationProblemPlusJSONResponse

type GetManagedInfrastructureTemplates401ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (GetManagedInfrastructureTemplates401ApplicationProblemPlusJSONResponse) VisitGetManagedInfrastructureTemplatesResponse

func (response GetManagedInfrastructureTemplates401ApplicationProblemPlusJSONResponse) VisitGetManagedInfrastructureTemplatesResponse(w http.ResponseWriter) error

type GetManagedInfrastructureTemplates403ApplicationProblemPlusJSONResponse

type GetManagedInfrastructureTemplates403ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (GetManagedInfrastructureTemplates403ApplicationProblemPlusJSONResponse) VisitGetManagedInfrastructureTemplatesResponse

func (response GetManagedInfrastructureTemplates403ApplicationProblemPlusJSONResponse) VisitGetManagedInfrastructureTemplatesResponse(w http.ResponseWriter) error

type GetManagedInfrastructureTemplates500ApplicationProblemPlusJSONResponse

type GetManagedInfrastructureTemplates500ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (GetManagedInfrastructureTemplates500ApplicationProblemPlusJSONResponse) VisitGetManagedInfrastructureTemplatesResponse

func (response GetManagedInfrastructureTemplates500ApplicationProblemPlusJSONResponse) VisitGetManagedInfrastructureTemplatesResponse(w http.ResponseWriter) error

type GetManagedInfrastructureTemplatesParams

type GetManagedInfrastructureTemplatesParams struct {
	// AllFields This URI query parameter requests that all complex attributes are included in the response.
	//
	// “`
	// all_fields
	// “`
	AllFields *externalRef0.AllFields `form:"all_fields,omitempty" json:"all_fields,omitempty"`

	// ExcludeFields Comma separated list of field references to exclude from the result.
	//
	// Each field reference is a field name, or a sequence of field names separated by slashes. For
	// example, to exclude the `country` subfield of the `extensions` field:
	//
	// “`
	// exclude_fields=extensions/country
	// “`
	//
	// When this parameter isn't used no field will be excluded.
	//
	// Fields in this list will be excluded even if they are explicitly included using the
	// `fields` parameter.
	ExcludeFields *externalRef0.ExcludeFields `form:"exclude_fields,omitempty" json:"exclude_fields,omitempty"`

	// Fields Comma separated list of field references to include in the result.
	//
	// Each field reference is a field name, or a sequence of field names separated by slashes. For
	// example, to get the `name` field and the `country` subfield of the `extensions` field:
	//
	// “`
	// fields=name,extensions/country
	// “`
	//
	// When this parameter isn't used all the fields will be returned.
	Fields *externalRef0.Fields `form:"fields,omitempty" json:"fields,omitempty"`

	// Filter Search criteria.
	//
	// Contains one or more search criteria, separated by semicolons. Each search criteria is a
	// tuple containing an operator, a field reference and one or more values. The operator can
	// be any of the following strings:
	//
	// | Operator | Meaning                                                     |
	// |----------|-------------------------------------------------------------|
	// | `cont`   | Matches if the field contains the value                     |
	// | `eq`     | Matches if the field is equal to the value                  |
	// | `gt`     | Matches if the field is greater than the value              |
	// | `gte`    | Matches if the field is greater than or equal to the value  |
	// | `in`     | Matches if the field is one of the values                   |
	// | `lt`     | Matches if the field is less than the value                 |
	// | `lte`    | Matches if the field is less than or equal to the the value |
	// | `ncont`  | Matches if the field does not contain the value             |
	// | `neq`    | Matches if the field is not equal to the value              |
	// | `nin`    | Matches if the field is not one of the values               |
	//
	// The field reference is the name of one of the fields of the object, or a sequence of
	// name of fields separated by slashes. For example, to use the `country` sub-field inside
	// the `extensions` field:
	//
	// “`
	// filter=(eq,extensions/country,EQ)
	// “`
	//
	// The values are the arguments of the operator. For example, the `eq` operator compares
	// checks if the value of the field is equal to the value.
	//
	// The `in` and `nin` operators support multiple values. For example, to check if the `country`
	// sub-field inside the `extensions` field is either `ES` or `US:
	//
	// “`
	// filter=(in,extensions/country,ES,US)
	// “`
	//
	// When values contain commas, slashes or spaces they need to be surrounded by single quotes.
	// For example, to check if the `name` field is the string `my cluster`:
	//
	// “`
	// filter=(eq,name,'my cluster')
	// “`
	//
	// When multiple criteria separated by semicolons are used, all of them must match for the
	// complete condition to match. For example, the following will check if the `name` is
	// `my cluster` *and* the `country` extension is `ES`:
	//
	// “`
	// filter=(eq,name,'my cluster');(eq,extensions/country,ES)
	// “`
	//
	// When this parameter isn't used all the results will be returned.
	Filter *externalRef0.Filter `form:"filter,omitempty" json:"filter,omitempty"`
}

GetManagedInfrastructureTemplatesParams defines parameters for GetManagedInfrastructureTemplates.

type GetManagedInfrastructureTemplatesRequestObject

type GetManagedInfrastructureTemplatesRequestObject struct {
	Params GetManagedInfrastructureTemplatesParams
}

type GetManagedInfrastructureTemplatesResponseObject

type GetManagedInfrastructureTemplatesResponseObject interface {
	VisitGetManagedInfrastructureTemplatesResponse(w http.ResponseWriter) error
}

type GetMinorVersions200JSONResponse

type GetMinorVersions200JSONResponse externalRef0.APIVersions

func (GetMinorVersions200JSONResponse) VisitGetMinorVersionsResponse

func (response GetMinorVersions200JSONResponse) VisitGetMinorVersionsResponse(w http.ResponseWriter) error

type GetMinorVersions400ApplicationProblemPlusJSONResponse

type GetMinorVersions400ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (GetMinorVersions400ApplicationProblemPlusJSONResponse) VisitGetMinorVersionsResponse

func (response GetMinorVersions400ApplicationProblemPlusJSONResponse) VisitGetMinorVersionsResponse(w http.ResponseWriter) error

type GetMinorVersions401ApplicationProblemPlusJSONResponse

type GetMinorVersions401ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (GetMinorVersions401ApplicationProblemPlusJSONResponse) VisitGetMinorVersionsResponse

func (response GetMinorVersions401ApplicationProblemPlusJSONResponse) VisitGetMinorVersionsResponse(w http.ResponseWriter) error

type GetMinorVersions403ApplicationProblemPlusJSONResponse

type GetMinorVersions403ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (GetMinorVersions403ApplicationProblemPlusJSONResponse) VisitGetMinorVersionsResponse

func (response GetMinorVersions403ApplicationProblemPlusJSONResponse) VisitGetMinorVersionsResponse(w http.ResponseWriter) error

type GetMinorVersions500ApplicationProblemPlusJSONResponse

type GetMinorVersions500ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (GetMinorVersions500ApplicationProblemPlusJSONResponse) VisitGetMinorVersionsResponse

func (response GetMinorVersions500ApplicationProblemPlusJSONResponse) VisitGetMinorVersionsResponse(w http.ResponseWriter) error

type GetMinorVersionsRequestObject

type GetMinorVersionsRequestObject struct {
}

type GetMinorVersionsResponseObject

type GetMinorVersionsResponseObject interface {
	VisitGetMinorVersionsResponse(w http.ResponseWriter) error
}

type InvalidParamFormatError

type InvalidParamFormatError struct {
	ParamName string
	Err       error
}

func (*InvalidParamFormatError) Error

func (e *InvalidParamFormatError) Error() string

func (*InvalidParamFormatError) Unwrap

func (e *InvalidParamFormatError) Unwrap() error

type ManagedInfrastructureTemplate

type ManagedInfrastructureTemplate struct {
	// ArtifactResourceId Identifier for the managed infrastructure template. This identifier is allocated by the O-Cloud.
	ArtifactResourceId openapi_types.UUID `json:"artifactResourceId"`

	// Description Details about the current managed infrastructure template.
	Description string `json:"description"`

	// Extensions These are unspecified (not standardized) properties (keys) which are tailored by the vendor or
	// operator to extend the information provided about the Artifact Resource.
	Extensions *map[string]string `json:"extensions,omitempty"`

	// Name Human readable description of managed infrastructure template
	Name string `json:"name"`

	// ParameterSchema Defines the parameters required for ClusterTemplate. The parameter definitions should follow the OpenAPI V3 schema and explicitly define required fields.
	ParameterSchema map[string]interface{} `json:"parameterSchema"`
	Version         string                 `json:"version"`
}

ManagedInfrastructureTemplate Information about a managed infrastructure template.

type ManagedInfrastructureTemplateDefaults

type ManagedInfrastructureTemplateDefaults struct {
	// ClusterInstanceDefaults Defines the default values used for cluster installation
	ClusterInstanceDefaults *map[string]interface{} `json:"clusterInstanceDefaults,omitempty"`

	// PolicyTemplateDefaults Defines the default values used for cluster configuration
	PolicyTemplateDefaults *map[string]interface{} `json:"policyTemplateDefaults,omitempty"`
}

ManagedInfrastructureTemplateDefaults Default values used for cluster provisioning by a ManagedInfrastructureTemplate

type ManagedInfrastructureTemplateId

type ManagedInfrastructureTemplateId = string

ManagedInfrastructureTemplateId defines model for managedInfrastructureTemplateId.

type MiddlewareFunc

type MiddlewareFunc func(http.Handler) http.Handler

type RequiredHeaderError

type RequiredHeaderError struct {
	ParamName string
	Err       error
}

func (*RequiredHeaderError) Error

func (e *RequiredHeaderError) Error() string

func (*RequiredHeaderError) Unwrap

func (e *RequiredHeaderError) Unwrap() error

type RequiredParamError

type RequiredParamError struct {
	ParamName string
}

func (*RequiredParamError) Error

func (e *RequiredParamError) Error() string

type ServeMux

type ServeMux interface {
	HandleFunc(pattern string, handler func(http.ResponseWriter, *http.Request))
	ServeHTTP(w http.ResponseWriter, r *http.Request)
}

ServeMux is an abstraction of http.ServeMux.

type ServerInterface

type ServerInterface interface {
	// Get API versions
	// (GET /o2ims-infrastructureArtifacts/api_versions)
	GetAllVersions(w http.ResponseWriter, r *http.Request)
	// Get minor API versions
	// (GET /o2ims-infrastructureArtifacts/v1/api_versions)
	GetMinorVersions(w http.ResponseWriter, r *http.Request)
	// Get managed infrastructure templates
	// (GET /o2ims-infrastructureArtifacts/v1/managedInfrastructureTemplates)
	GetManagedInfrastructureTemplates(w http.ResponseWriter, r *http.Request, params GetManagedInfrastructureTemplatesParams)
	// Get managed infrastructure templates
	// (GET /o2ims-infrastructureArtifacts/v1/managedInfrastructureTemplates/{managedInfrastructureTemplateId})
	GetManagedInfrastructureTemplate(w http.ResponseWriter, r *http.Request, managedInfrastructureTemplateId ManagedInfrastructureTemplateId)
	// Get managed infrastructure template defaults
	// (GET /o2ims-infrastructureArtifacts/v1/managedInfrastructureTemplates/{managedInfrastructureTemplateId}/defaults)
	GetManagedInfrastructureTemplateDefaults(w http.ResponseWriter, r *http.Request, managedInfrastructureTemplateId ManagedInfrastructureTemplateId)
}

ServerInterface represents all server handlers.

func NewStrictHandler

func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface

func NewStrictHandlerWithOptions

func NewStrictHandlerWithOptions(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc, options StrictHTTPServerOptions) ServerInterface

type ServerInterfaceWrapper

type ServerInterfaceWrapper struct {
	Handler            ServerInterface
	HandlerMiddlewares []MiddlewareFunc
	ErrorHandlerFunc   func(w http.ResponseWriter, r *http.Request, err error)
}

ServerInterfaceWrapper converts contexts to parameters.

func (*ServerInterfaceWrapper) GetAllVersions

func (siw *ServerInterfaceWrapper) GetAllVersions(w http.ResponseWriter, r *http.Request)

GetAllVersions operation middleware

func (*ServerInterfaceWrapper) GetManagedInfrastructureTemplate

func (siw *ServerInterfaceWrapper) GetManagedInfrastructureTemplate(w http.ResponseWriter, r *http.Request)

GetManagedInfrastructureTemplate operation middleware

func (*ServerInterfaceWrapper) GetManagedInfrastructureTemplateDefaults

func (siw *ServerInterfaceWrapper) GetManagedInfrastructureTemplateDefaults(w http.ResponseWriter, r *http.Request)

GetManagedInfrastructureTemplateDefaults operation middleware

func (*ServerInterfaceWrapper) GetManagedInfrastructureTemplates

func (siw *ServerInterfaceWrapper) GetManagedInfrastructureTemplates(w http.ResponseWriter, r *http.Request)

GetManagedInfrastructureTemplates operation middleware

func (*ServerInterfaceWrapper) GetMinorVersions

func (siw *ServerInterfaceWrapper) GetMinorVersions(w http.ResponseWriter, r *http.Request)

GetMinorVersions operation middleware

type StdHTTPServerOptions

type StdHTTPServerOptions struct {
	BaseURL          string
	BaseRouter       ServeMux
	Middlewares      []MiddlewareFunc
	ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}

type StrictHTTPServerOptions

type StrictHTTPServerOptions struct {
	RequestErrorHandlerFunc  func(w http.ResponseWriter, r *http.Request, err error)
	ResponseErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}

type StrictServerInterface

type StrictServerInterface interface {
	// Get API versions
	// (GET /o2ims-infrastructureArtifacts/api_versions)
	GetAllVersions(ctx context.Context, request GetAllVersionsRequestObject) (GetAllVersionsResponseObject, error)
	// Get minor API versions
	// (GET /o2ims-infrastructureArtifacts/v1/api_versions)
	GetMinorVersions(ctx context.Context, request GetMinorVersionsRequestObject) (GetMinorVersionsResponseObject, error)
	// Get managed infrastructure templates
	// (GET /o2ims-infrastructureArtifacts/v1/managedInfrastructureTemplates)
	GetManagedInfrastructureTemplates(ctx context.Context, request GetManagedInfrastructureTemplatesRequestObject) (GetManagedInfrastructureTemplatesResponseObject, error)
	// Get managed infrastructure templates
	// (GET /o2ims-infrastructureArtifacts/v1/managedInfrastructureTemplates/{managedInfrastructureTemplateId})
	GetManagedInfrastructureTemplate(ctx context.Context, request GetManagedInfrastructureTemplateRequestObject) (GetManagedInfrastructureTemplateResponseObject, error)
	// Get managed infrastructure template defaults
	// (GET /o2ims-infrastructureArtifacts/v1/managedInfrastructureTemplates/{managedInfrastructureTemplateId}/defaults)
	GetManagedInfrastructureTemplateDefaults(ctx context.Context, request GetManagedInfrastructureTemplateDefaultsRequestObject) (GetManagedInfrastructureTemplateDefaultsResponseObject, error)
}

StrictServerInterface represents all server handlers.

type TooManyValuesForParamError

type TooManyValuesForParamError struct {
	ParamName string
	Count     int
}

func (*TooManyValuesForParamError) Error

type UnescapedCookieParamError

type UnescapedCookieParamError struct {
	ParamName string
	Err       error
}

func (*UnescapedCookieParamError) Error

func (e *UnescapedCookieParamError) Error() string

func (*UnescapedCookieParamError) Unwrap

func (e *UnescapedCookieParamError) Unwrap() error

type UnmarshalingParamError

type UnmarshalingParamError struct {
	ParamName string
	Err       error
}

func (*UnmarshalingParamError) Error

func (e *UnmarshalingParamError) Error() string

func (*UnmarshalingParamError) Unwrap

func (e *UnmarshalingParamError) Unwrap() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL