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 ¶
- func GetSwagger() (swagger *openapi3.T, err error)
- func Handler(si ServerInterface) http.Handler
- func HandlerFromMux(si ServerInterface, m ServeMux) http.Handler
- func HandlerFromMuxWithBaseURL(si ServerInterface, m ServeMux, baseURL string) http.Handler
- func HandlerWithOptions(si ServerInterface, options StdHTTPServerOptions) http.Handler
- func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)
- type AlarmDefinition
- type AlarmDefinitionAlarmChangeType
- type AlarmDefinitionClearingType
- type AlarmDefinitionManagementInterfaceId
- type AlarmDictionary
- type AlarmDictionaryManagementInterfaceId
- type DeploymentManager
- type DeploymentManagerId
- type GetAllVersions200JSONResponse
- type GetAllVersions400ApplicationProblemPlusJSONResponse
- type GetAllVersions500ApplicationProblemPlusJSONResponse
- type GetAllVersionsParams
- type GetAllVersionsRequestObject
- type GetAllVersionsResponseObject
- type GetCloudInfo200JSONResponse
- type GetCloudInfo400ApplicationProblemPlusJSONResponse
- type GetCloudInfo500ApplicationProblemPlusJSONResponse
- type GetCloudInfoParams
- type GetCloudInfoRequestObject
- type GetCloudInfoResponseObject
- type GetDeploymentManager200JSONResponse
- type GetDeploymentManager400ApplicationProblemPlusJSONResponse
- type GetDeploymentManager404ApplicationProblemPlusJSONResponse
- type GetDeploymentManager500ApplicationProblemPlusJSONResponse
- type GetDeploymentManagerParams
- type GetDeploymentManagerRequestObject
- type GetDeploymentManagerResponseObject
- type GetDeploymentManagers200JSONResponse
- type GetDeploymentManagers400ApplicationProblemPlusJSONResponse
- type GetDeploymentManagers500ApplicationProblemPlusJSONResponse
- type GetDeploymentManagersParams
- type GetDeploymentManagersRequestObject
- type GetDeploymentManagersResponseObject
- type GetMinorVersions200JSONResponse
- type GetMinorVersions400ApplicationProblemPlusJSONResponse
- type GetMinorVersions500ApplicationProblemPlusJSONResponse
- type GetMinorVersionsParams
- type GetMinorVersionsRequestObject
- type GetMinorVersionsResponseObject
- type GetResource200JSONResponse
- type GetResource400ApplicationProblemPlusJSONResponse
- type GetResource404ApplicationProblemPlusJSONResponse
- type GetResource500ApplicationProblemPlusJSONResponse
- type GetResourcePool200JSONResponse
- type GetResourcePool400ApplicationProblemPlusJSONResponse
- type GetResourcePool404ApplicationProblemPlusJSONResponse
- type GetResourcePool500ApplicationProblemPlusJSONResponse
- type GetResourcePoolRequestObject
- type GetResourcePoolResponseObject
- type GetResourcePools200JSONResponse
- type GetResourcePools400ApplicationProblemPlusJSONResponse
- type GetResourcePools500ApplicationProblemPlusJSONResponse
- type GetResourcePoolsParams
- type GetResourcePoolsRequestObject
- type GetResourcePoolsResponseObject
- type GetResourceRequestObject
- type GetResourceResponseObject
- type GetResourceType200JSONResponse
- type GetResourceType400ApplicationProblemPlusJSONResponse
- type GetResourceType404ApplicationProblemPlusJSONResponse
- type GetResourceType500ApplicationProblemPlusJSONResponse
- type GetResourceTypeRequestObject
- type GetResourceTypeResponseObject
- type GetResourceTypes200JSONResponse
- type GetResourceTypes400ApplicationProblemPlusJSONResponse
- type GetResourceTypes500ApplicationProblemPlusJSONResponse
- type GetResourceTypesParams
- type GetResourceTypesRequestObject
- type GetResourceTypesResponseObject
- type GetResources200JSONResponse
- type GetResources400ApplicationProblemPlusJSONResponse
- type GetResources404ApplicationProblemPlusJSONResponse
- type GetResources500ApplicationProblemPlusJSONResponse
- type GetResourcesParams
- type GetResourcesRequestObject
- type GetResourcesResponseObject
- type InvalidParamFormatError
- type MiddlewareFunc
- type OCloudInfo
- type RequiredHeaderError
- type RequiredParamError
- type Resource
- type ResourceId
- type ResourcePool
- type ResourcePoolId
- type ResourceType
- type ResourceTypeId
- type ResourceTypeResourceClass
- type ResourceTypeResourceKind
- type ServeMux
- type ServerInterface
- type ServerInterfaceWrapper
- func (siw *ServerInterfaceWrapper) GetAllVersions(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetCloudInfo(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetDeploymentManager(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetDeploymentManagers(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetMinorVersions(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetResource(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetResourcePool(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetResourcePools(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetResourceType(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetResourceTypes(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetResources(w http.ResponseWriter, r *http.Request)
- type StdHTTPServerOptions
- type StrictHTTPServerOptions
- type StrictHandlerFunc
- type StrictMiddlewareFunc
- type StrictServerInterface
- type TooManyValuesForParamError
- type UnescapedCookieParamError
- type UnmarshalingParamError
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 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
Types ¶
type AlarmDefinition ¶
type AlarmDefinition struct { // AlarmAdditionalFields List of metadata key-value pairs used to associate meaningful metadata to the related resource type. AlarmAdditionalFields map[string]interface{} `json:"alarmAdditionalFields"` // AlarmChangeType Indicates the type of change that occurred during the alarm last change; added, deleted, modified. AlarmChangeType AlarmDefinitionAlarmChangeType `json:"alarmChangeType"` // AlarmDefinitionId Provides a unique identifier of the alarm being raised. This is the Primary Key into the Alarm Dictionary AlarmDefinitionId openapi_types.UUID `json:"alarmDefinitionId"` // AlarmDescription Provides a longer descriptive meaning of the alarm condition and a description of the consequences of the // alarm condition. This is intended to be read by an operator to give an idea of what happened and a sense of // the effects, consequences, and other impacted areas of the system. AlarmDescription string `json:"alarmDescription"` // AlarmLastChange Indicates the Alarm Dictionary Version in which this alarm last changed. AlarmLastChange string `json:"alarmLastChange"` // AlarmName Provides short name for the alarm AlarmName string `json:"alarmName"` // ClearingType Identifies whether alarm is cleared automatically or manually. ClearingType AlarmDefinitionClearingType `json:"clearingType"` // ManagementInterfaceId List of management interface over which alarms are transmitted for this Entity Type. // RESTRICTION: For the O-Cloud IMS Services this value is limited to O2IMS. ManagementInterfaceId []AlarmDefinitionManagementInterfaceId `json:"managementInterfaceId"` // PkNotificationField Identifies which field or list of fields in the alarm notification contains the primary key (PK) into the // Alarm Dictionary for this interface; i.e. which field contains the Alarm Definition ID. PkNotificationField []string `json:"pkNotificationField"` // ProposedRepairActions Provides guidance for proposed repair actions. ProposedRepairActions string `json:"proposedRepairActions"` }
AlarmDefinition Information about an alarm definition.
type AlarmDefinitionAlarmChangeType ¶
type AlarmDefinitionAlarmChangeType string
AlarmDefinitionAlarmChangeType Indicates the type of change that occurred during the alarm last change; added, deleted, modified.
const ( ADDED AlarmDefinitionAlarmChangeType = "ADDED" DELETED AlarmDefinitionAlarmChangeType = "DELETED" MODIFIED AlarmDefinitionAlarmChangeType = "MODIFIED" )
Defines values for AlarmDefinitionAlarmChangeType.
type AlarmDefinitionClearingType ¶
type AlarmDefinitionClearingType string
AlarmDefinitionClearingType Identifies whether alarm is cleared automatically or manually.
const ( AUTOMATIC AlarmDefinitionClearingType = "AUTOMATIC" MANUAL AlarmDefinitionClearingType = "MANUAL" )
Defines values for AlarmDefinitionClearingType.
type AlarmDefinitionManagementInterfaceId ¶
type AlarmDefinitionManagementInterfaceId string
AlarmDefinitionManagementInterfaceId defines model for AlarmDefinition.ManagementInterfaceId.
const (
AlarmDefinitionManagementInterfaceIdO2IMS AlarmDefinitionManagementInterfaceId = "O2IMS"
)
Defines values for AlarmDefinitionManagementInterfaceId.
type AlarmDictionary ¶
type AlarmDictionary struct { AlarmDefinition []AlarmDefinition `json:"alarmDefinition"` // AlarmDictionarySchema Version of the Alarm Dictionary Schema to which this alarm dictionary conforms. AlarmDictionarySchema string `json:"alarmDictionarySchema"` // AlarmDictionaryVersion Version of the Alarm Dictionary. Version is vendor defined such that the version of the dictionary can be // associated with a specific version of the software delivery of this product. AlarmDictionaryVersion string `json:"alarmDictionaryVersion"` // EntityType O-RAN entity type emitting the alarm: This shall be unique per vendor ResourceType.model and // ResourceType.version EntityType string `json:"entityType"` // ManagementInterfaceId List of management interface over which alarms are transmitted for this Entity Type. // RESTRICTION: For the O-Cloud IMS Services this value is limited to O2IMS. ManagementInterfaceId []AlarmDictionaryManagementInterfaceId `json:"managementInterfaceId"` // PkNotificationField Identifies which field or list of fields in the alarm notification contains the primary key (PK) into the // Alarm Dictionary for this interface; i.e. which field contains the Alarm Definition ID. PkNotificationField []string `json:"pkNotificationField"` // Vendor Vendor of the Entity Type to whom this Alarm Dictionary applies. This should be the same value as in the // ResourceType.vendor attribute Vendor string `json:"vendor"` }
AlarmDictionary Information about an alarm dictionary.
type AlarmDictionaryManagementInterfaceId ¶
type AlarmDictionaryManagementInterfaceId string
AlarmDictionaryManagementInterfaceId defines model for AlarmDictionary.ManagementInterfaceId.
const (
AlarmDictionaryManagementInterfaceIdO2IMS AlarmDictionaryManagementInterfaceId = "O2IMS"
)
Defines values for AlarmDictionaryManagementInterfaceId.
type DeploymentManager ¶
type DeploymentManager struct { // Capabilities Information about the capabilities supported by the Deployment Manager and its set of deployment management // services based on the resources allocated to the Deployment Manager. Capabilities *map[string]interface{} `json:"capabilities,omitempty"` // Capacity Information about the available, allocated and reserved capacity of O-Cloud Resources allocated to the // Deployment Manager. Capacity *map[string]interface{} `json:"capacity,omitempty"` // DeploymentManagerId Identifier for the Deployment Manager. This identifier is allocated by the O-Cloud. DeploymentManagerId *openapi_types.UUID `json:"deploymentManagerId,omitempty"` // Description Human readable description of the deployment manager Description *string `json:"description,omitempty"` // Extensions List of metadata key-value pairs used to associate meaningful metadata to the related Deployment Manager. Extensions *map[string]interface{} `json:"extensions,omitempty"` // Name Human readable description of the deployment manager Name *string `json:"name,omitempty"` // OCloudId Identifier for the containing O-Cloud. OCloudId *openapi_types.UUID `json:"oCloudId,omitempty"` // ServiceUri The fully qualified URI to a Deployment Management server for O2dms services. Since the O2dms provides // multiple services, this entry is for the {apiRoot} only. ServiceUri *string `json:"serviceUri,omitempty"` // SupportedLocations List of globalLocationIDs that were assigned to the OCloud Site(s) which this Deployment Manager supports. SupportedLocations *[]string `json:"supportedLocations,omitempty"` }
DeploymentManager Information about a deployment manager.
type DeploymentManagerId ¶
type DeploymentManagerId = string
DeploymentManagerId defines model for deploymentManagerId.
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 GetAllVersions500ApplicationProblemPlusJSONResponse ¶
type GetAllVersions500ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails
func (GetAllVersions500ApplicationProblemPlusJSONResponse) VisitGetAllVersionsResponse ¶
func (response GetAllVersions500ApplicationProblemPlusJSONResponse) VisitGetAllVersionsResponse(w http.ResponseWriter) error
type GetAllVersionsParams ¶
type GetAllVersionsParams struct { // 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"` }
GetAllVersionsParams defines parameters for GetAllVersions.
type GetAllVersionsRequestObject ¶
type GetAllVersionsRequestObject struct {
Params GetAllVersionsParams
}
type GetAllVersionsResponseObject ¶
type GetAllVersionsResponseObject interface {
VisitGetAllVersionsResponse(w http.ResponseWriter) error
}
type GetCloudInfo200JSONResponse ¶
type GetCloudInfo200JSONResponse OCloudInfo
func (GetCloudInfo200JSONResponse) VisitGetCloudInfoResponse ¶
func (response GetCloudInfo200JSONResponse) VisitGetCloudInfoResponse(w http.ResponseWriter) error
type GetCloudInfo400ApplicationProblemPlusJSONResponse ¶
type GetCloudInfo400ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails
func (GetCloudInfo400ApplicationProblemPlusJSONResponse) VisitGetCloudInfoResponse ¶
func (response GetCloudInfo400ApplicationProblemPlusJSONResponse) VisitGetCloudInfoResponse(w http.ResponseWriter) error
type GetCloudInfo500ApplicationProblemPlusJSONResponse ¶
type GetCloudInfo500ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails
func (GetCloudInfo500ApplicationProblemPlusJSONResponse) VisitGetCloudInfoResponse ¶
func (response GetCloudInfo500ApplicationProblemPlusJSONResponse) VisitGetCloudInfoResponse(w http.ResponseWriter) error
type GetCloudInfoParams ¶
type GetCloudInfoParams struct { // 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"` }
GetCloudInfoParams defines parameters for GetCloudInfo.
type GetCloudInfoRequestObject ¶
type GetCloudInfoRequestObject struct {
Params GetCloudInfoParams
}
type GetCloudInfoResponseObject ¶
type GetCloudInfoResponseObject interface {
VisitGetCloudInfoResponse(w http.ResponseWriter) error
}
type GetDeploymentManager200JSONResponse ¶
type GetDeploymentManager200JSONResponse DeploymentManager
func (GetDeploymentManager200JSONResponse) VisitGetDeploymentManagerResponse ¶
func (response GetDeploymentManager200JSONResponse) VisitGetDeploymentManagerResponse(w http.ResponseWriter) error
type GetDeploymentManager400ApplicationProblemPlusJSONResponse ¶
type GetDeploymentManager400ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails
func (GetDeploymentManager400ApplicationProblemPlusJSONResponse) VisitGetDeploymentManagerResponse ¶
func (response GetDeploymentManager400ApplicationProblemPlusJSONResponse) VisitGetDeploymentManagerResponse(w http.ResponseWriter) error
type GetDeploymentManager404ApplicationProblemPlusJSONResponse ¶
type GetDeploymentManager404ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails
func (GetDeploymentManager404ApplicationProblemPlusJSONResponse) VisitGetDeploymentManagerResponse ¶
func (response GetDeploymentManager404ApplicationProblemPlusJSONResponse) VisitGetDeploymentManagerResponse(w http.ResponseWriter) error
type GetDeploymentManager500ApplicationProblemPlusJSONResponse ¶
type GetDeploymentManager500ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails
func (GetDeploymentManager500ApplicationProblemPlusJSONResponse) VisitGetDeploymentManagerResponse ¶
func (response GetDeploymentManager500ApplicationProblemPlusJSONResponse) VisitGetDeploymentManagerResponse(w http.ResponseWriter) error
type GetDeploymentManagerParams ¶
type GetDeploymentManagerParams struct { // 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"` }
GetDeploymentManagerParams defines parameters for GetDeploymentManager.
type GetDeploymentManagerRequestObject ¶
type GetDeploymentManagerRequestObject struct { DeploymentManagerId DeploymentManagerId `json:"deploymentManagerId"` Params GetDeploymentManagerParams }
type GetDeploymentManagerResponseObject ¶
type GetDeploymentManagerResponseObject interface {
VisitGetDeploymentManagerResponse(w http.ResponseWriter) error
}
type GetDeploymentManagers200JSONResponse ¶
type GetDeploymentManagers200JSONResponse []DeploymentManager
func (GetDeploymentManagers200JSONResponse) VisitGetDeploymentManagersResponse ¶
func (response GetDeploymentManagers200JSONResponse) VisitGetDeploymentManagersResponse(w http.ResponseWriter) error
type GetDeploymentManagers400ApplicationProblemPlusJSONResponse ¶
type GetDeploymentManagers400ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails
func (GetDeploymentManagers400ApplicationProblemPlusJSONResponse) VisitGetDeploymentManagersResponse ¶
func (response GetDeploymentManagers400ApplicationProblemPlusJSONResponse) VisitGetDeploymentManagersResponse(w http.ResponseWriter) error
type GetDeploymentManagers500ApplicationProblemPlusJSONResponse ¶
type GetDeploymentManagers500ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails
func (GetDeploymentManagers500ApplicationProblemPlusJSONResponse) VisitGetDeploymentManagersResponse ¶
func (response GetDeploymentManagers500ApplicationProblemPlusJSONResponse) VisitGetDeploymentManagersResponse(w http.ResponseWriter) error
type GetDeploymentManagersParams ¶
type GetDeploymentManagersParams struct { // 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"` }
GetDeploymentManagersParams defines parameters for GetDeploymentManagers.
type GetDeploymentManagersRequestObject ¶
type GetDeploymentManagersRequestObject struct {
Params GetDeploymentManagersParams
}
type GetDeploymentManagersResponseObject ¶
type GetDeploymentManagersResponseObject interface {
VisitGetDeploymentManagersResponse(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 GetMinorVersions500ApplicationProblemPlusJSONResponse ¶
type GetMinorVersions500ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails
func (GetMinorVersions500ApplicationProblemPlusJSONResponse) VisitGetMinorVersionsResponse ¶
func (response GetMinorVersions500ApplicationProblemPlusJSONResponse) VisitGetMinorVersionsResponse(w http.ResponseWriter) error
type GetMinorVersionsParams ¶
type GetMinorVersionsParams struct { // 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"` }
GetMinorVersionsParams defines parameters for GetMinorVersions.
type GetMinorVersionsRequestObject ¶
type GetMinorVersionsRequestObject struct {
Params GetMinorVersionsParams
}
type GetMinorVersionsResponseObject ¶
type GetMinorVersionsResponseObject interface {
VisitGetMinorVersionsResponse(w http.ResponseWriter) error
}
type GetResource200JSONResponse ¶
type GetResource200JSONResponse Resource
func (GetResource200JSONResponse) VisitGetResourceResponse ¶
func (response GetResource200JSONResponse) VisitGetResourceResponse(w http.ResponseWriter) error
type GetResource400ApplicationProblemPlusJSONResponse ¶
type GetResource400ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails
func (GetResource400ApplicationProblemPlusJSONResponse) VisitGetResourceResponse ¶
func (response GetResource400ApplicationProblemPlusJSONResponse) VisitGetResourceResponse(w http.ResponseWriter) error
type GetResource404ApplicationProblemPlusJSONResponse ¶
type GetResource404ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails
func (GetResource404ApplicationProblemPlusJSONResponse) VisitGetResourceResponse ¶
func (response GetResource404ApplicationProblemPlusJSONResponse) VisitGetResourceResponse(w http.ResponseWriter) error
type GetResource500ApplicationProblemPlusJSONResponse ¶
type GetResource500ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails
func (GetResource500ApplicationProblemPlusJSONResponse) VisitGetResourceResponse ¶
func (response GetResource500ApplicationProblemPlusJSONResponse) VisitGetResourceResponse(w http.ResponseWriter) error
type GetResourcePool200JSONResponse ¶
type GetResourcePool200JSONResponse ResourcePool
func (GetResourcePool200JSONResponse) VisitGetResourcePoolResponse ¶
func (response GetResourcePool200JSONResponse) VisitGetResourcePoolResponse(w http.ResponseWriter) error
type GetResourcePool400ApplicationProblemPlusJSONResponse ¶
type GetResourcePool400ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails
func (GetResourcePool400ApplicationProblemPlusJSONResponse) VisitGetResourcePoolResponse ¶
func (response GetResourcePool400ApplicationProblemPlusJSONResponse) VisitGetResourcePoolResponse(w http.ResponseWriter) error
type GetResourcePool404ApplicationProblemPlusJSONResponse ¶
type GetResourcePool404ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails
func (GetResourcePool404ApplicationProblemPlusJSONResponse) VisitGetResourcePoolResponse ¶
func (response GetResourcePool404ApplicationProblemPlusJSONResponse) VisitGetResourcePoolResponse(w http.ResponseWriter) error
type GetResourcePool500ApplicationProblemPlusJSONResponse ¶
type GetResourcePool500ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails
func (GetResourcePool500ApplicationProblemPlusJSONResponse) VisitGetResourcePoolResponse ¶
func (response GetResourcePool500ApplicationProblemPlusJSONResponse) VisitGetResourcePoolResponse(w http.ResponseWriter) error
type GetResourcePoolRequestObject ¶
type GetResourcePoolRequestObject struct {
ResourcePoolId ResourcePoolId `json:"resourcePoolId"`
}
type GetResourcePoolResponseObject ¶
type GetResourcePoolResponseObject interface {
VisitGetResourcePoolResponse(w http.ResponseWriter) error
}
type GetResourcePools200JSONResponse ¶
type GetResourcePools200JSONResponse []ResourcePool
func (GetResourcePools200JSONResponse) VisitGetResourcePoolsResponse ¶
func (response GetResourcePools200JSONResponse) VisitGetResourcePoolsResponse(w http.ResponseWriter) error
type GetResourcePools400ApplicationProblemPlusJSONResponse ¶
type GetResourcePools400ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails
func (GetResourcePools400ApplicationProblemPlusJSONResponse) VisitGetResourcePoolsResponse ¶
func (response GetResourcePools400ApplicationProblemPlusJSONResponse) VisitGetResourcePoolsResponse(w http.ResponseWriter) error
type GetResourcePools500ApplicationProblemPlusJSONResponse ¶
type GetResourcePools500ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails
func (GetResourcePools500ApplicationProblemPlusJSONResponse) VisitGetResourcePoolsResponse ¶
func (response GetResourcePools500ApplicationProblemPlusJSONResponse) VisitGetResourcePoolsResponse(w http.ResponseWriter) error
type GetResourcePoolsParams ¶
type GetResourcePoolsParams struct { // 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"` }
GetResourcePoolsParams defines parameters for GetResourcePools.
type GetResourcePoolsRequestObject ¶
type GetResourcePoolsRequestObject struct {
Params GetResourcePoolsParams
}
type GetResourcePoolsResponseObject ¶
type GetResourcePoolsResponseObject interface {
VisitGetResourcePoolsResponse(w http.ResponseWriter) error
}
type GetResourceRequestObject ¶
type GetResourceRequestObject struct { ResourcePoolId ResourcePoolId `json:"resourcePoolId"` ResourceId ResourceId `json:"resourceId"` }
type GetResourceResponseObject ¶
type GetResourceResponseObject interface {
VisitGetResourceResponse(w http.ResponseWriter) error
}
type GetResourceType200JSONResponse ¶
type GetResourceType200JSONResponse ResourceType
func (GetResourceType200JSONResponse) VisitGetResourceTypeResponse ¶
func (response GetResourceType200JSONResponse) VisitGetResourceTypeResponse(w http.ResponseWriter) error
type GetResourceType400ApplicationProblemPlusJSONResponse ¶
type GetResourceType400ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails
func (GetResourceType400ApplicationProblemPlusJSONResponse) VisitGetResourceTypeResponse ¶
func (response GetResourceType400ApplicationProblemPlusJSONResponse) VisitGetResourceTypeResponse(w http.ResponseWriter) error
type GetResourceType404ApplicationProblemPlusJSONResponse ¶
type GetResourceType404ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails
func (GetResourceType404ApplicationProblemPlusJSONResponse) VisitGetResourceTypeResponse ¶
func (response GetResourceType404ApplicationProblemPlusJSONResponse) VisitGetResourceTypeResponse(w http.ResponseWriter) error
type GetResourceType500ApplicationProblemPlusJSONResponse ¶
type GetResourceType500ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails
func (GetResourceType500ApplicationProblemPlusJSONResponse) VisitGetResourceTypeResponse ¶
func (response GetResourceType500ApplicationProblemPlusJSONResponse) VisitGetResourceTypeResponse(w http.ResponseWriter) error
type GetResourceTypeRequestObject ¶
type GetResourceTypeRequestObject struct {
ResourceTypeId ResourceTypeId `json:"resourceTypeId"`
}
type GetResourceTypeResponseObject ¶
type GetResourceTypeResponseObject interface {
VisitGetResourceTypeResponse(w http.ResponseWriter) error
}
type GetResourceTypes200JSONResponse ¶
type GetResourceTypes200JSONResponse []ResourceType
func (GetResourceTypes200JSONResponse) VisitGetResourceTypesResponse ¶
func (response GetResourceTypes200JSONResponse) VisitGetResourceTypesResponse(w http.ResponseWriter) error
type GetResourceTypes400ApplicationProblemPlusJSONResponse ¶
type GetResourceTypes400ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails
func (GetResourceTypes400ApplicationProblemPlusJSONResponse) VisitGetResourceTypesResponse ¶
func (response GetResourceTypes400ApplicationProblemPlusJSONResponse) VisitGetResourceTypesResponse(w http.ResponseWriter) error
type GetResourceTypes500ApplicationProblemPlusJSONResponse ¶
type GetResourceTypes500ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails
func (GetResourceTypes500ApplicationProblemPlusJSONResponse) VisitGetResourceTypesResponse ¶
func (response GetResourceTypes500ApplicationProblemPlusJSONResponse) VisitGetResourceTypesResponse(w http.ResponseWriter) error
type GetResourceTypesParams ¶
type GetResourceTypesParams struct { // 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"` }
GetResourceTypesParams defines parameters for GetResourceTypes.
type GetResourceTypesRequestObject ¶
type GetResourceTypesRequestObject struct {
Params GetResourceTypesParams
}
type GetResourceTypesResponseObject ¶
type GetResourceTypesResponseObject interface {
VisitGetResourceTypesResponse(w http.ResponseWriter) error
}
type GetResources200JSONResponse ¶
type GetResources200JSONResponse []Resource
func (GetResources200JSONResponse) VisitGetResourcesResponse ¶
func (response GetResources200JSONResponse) VisitGetResourcesResponse(w http.ResponseWriter) error
type GetResources400ApplicationProblemPlusJSONResponse ¶
type GetResources400ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails
func (GetResources400ApplicationProblemPlusJSONResponse) VisitGetResourcesResponse ¶
func (response GetResources400ApplicationProblemPlusJSONResponse) VisitGetResourcesResponse(w http.ResponseWriter) error
type GetResources404ApplicationProblemPlusJSONResponse ¶
type GetResources404ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails
func (GetResources404ApplicationProblemPlusJSONResponse) VisitGetResourcesResponse ¶
func (response GetResources404ApplicationProblemPlusJSONResponse) VisitGetResourcesResponse(w http.ResponseWriter) error
type GetResources500ApplicationProblemPlusJSONResponse ¶
type GetResources500ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails
func (GetResources500ApplicationProblemPlusJSONResponse) VisitGetResourcesResponse ¶
func (response GetResources500ApplicationProblemPlusJSONResponse) VisitGetResourcesResponse(w http.ResponseWriter) error
type GetResourcesParams ¶
type GetResourcesParams struct { // 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"` }
GetResourcesParams defines parameters for GetResources.
type GetResourcesRequestObject ¶
type GetResourcesRequestObject struct { ResourcePoolId ResourcePoolId `json:"resourcePoolId"` Params GetResourcesParams }
type GetResourcesResponseObject ¶
type GetResourcesResponseObject interface {
VisitGetResourcesResponse(w http.ResponseWriter) error
}
type InvalidParamFormatError ¶
func (*InvalidParamFormatError) Error ¶
func (e *InvalidParamFormatError) Error() string
func (*InvalidParamFormatError) Unwrap ¶
func (e *InvalidParamFormatError) Unwrap() error
type OCloudInfo ¶
type OCloudInfo struct { // Description Human readable description of the O-Cloud as provided by the SMO at cloud genesis. Description *string `json:"description,omitempty"` Extensions *map[string]interface{} `json:"extensions,omitempty"` // GlobalCloudId Identifier of the O-Cloud instance assigned by the SMO. This identifier is globally unique across O-Cloud instances known to the SMO. This value was provided by the SMO at cloud genesis and is stored in the O-Cloud IMS Inventory. GlobalCloudId *openapi_types.UUID `json:"globalCloudId,omitempty"` // Name Human readable name of the O-Cloud as identified by the SMO at cloud genesis. Name *string `json:"name,omitempty"` // OCloudId Identifier of the O-Cloud instance. Internally generated within an O-Cloud instance. OCloudId *openapi_types.UUID `json:"oCloudId,omitempty"` // ServiceUri The URI root to all services provided by the O2ims interface. Inventory is one of these services. ServiceUri *string `json:"serviceUri,omitempty"` }
OCloudInfo defines model for OCloudInfo.
type RequiredHeaderError ¶
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 Resource ¶
type Resource struct { // Description Human readable description of the resource. Description string `json:"description"` // Elements The resource might be composed of smaller resources or other resource instances of a different type Elements []Resource `json:"elements"` // Extensions List of metadata key-value pairs used to associate meaningful metadata to the related resource. Extensions map[string]interface{} `json:"extensions"` // GlobalAssetId Identifier or serial number of the resource, if available. It is required only if the resource has been // identified during its addition to the cloud as a reportable asset in the SMO inventory. GlobalAssetId string `json:"globalAssetId"` // Groups Keywords denoting groups a resource belongs to. Groups []string `json:"groups"` // ResourceId Identifier for the Resource. This identifier is allocated by the O-Cloud. ResourceId openapi_types.UUID `json:"resourceId"` ResourcePoolId openapi_types.UUID `json:"resourcePoolId"` // ResourceTypeId Identifier for the Resource Type of this resource. ResourceTypeId openapi_types.UUID `json:"resourceTypeId"` // Tags Keywords describing or classifying the resource instance Tags []string `json:"tags"` }
Resource Information about a resource.
type ResourcePool ¶
type ResourcePool struct { // Description Human readable description of the resource pool. Description string `json:"description"` // Extensions List of metadata key-value pairs used to associate meaningful metadata to the related resource pool. Extensions *map[string]interface{} `json:"extensions,omitempty"` // GlobalLocationId This identifier is copied from the O-Cloud Id assigned by the SMO during the O-Cloud deployment GlobalLocationId openapi_types.UUID `json:"globalLocationId"` // Location Information about the geographical location of the resource pool as detected by the O-Cloud. Location *string `json:"location,omitempty"` // Name Human readable name of the resource pool. Name string `json:"name"` // OCloudId Identifier for the containing O-Cloud. OCloudId openapi_types.UUID `json:"oCloudId"` // ResourcePoolId Identifier for the Resource Pool in the O-Cloud instance. This identifier is allocated by the O-Cloud. ResourcePoolId openapi_types.UUID `json:"resourcePoolId"` }
ResourcePool Information about a resource pool.
type ResourceType ¶
type ResourceType struct { AlarmDictionary map[string]interface{} `json:"alarmDictionary"` // Description Human readable description of the resource type. Description string `json:"description"` // Extensions List of metadata key-value pairs used to associate meaningful metadata to the related resource type. Extensions map[string]interface{} `json:"extensions"` // Name Human readable name of the resource type. Name string `json:"name"` // ResourceClass Functional role of the resource type within the cloud. ResourceClass ResourceTypeResourceClass `json:"resourceClass"` // ResourceKind Value describing “physicality” of the resource type. ResourceKind ResourceTypeResourceKind `json:"resourceKind"` // ResourceTypeId Identifier for the Resource Type. This identifier is allocated by the O-Cloud. ResourceTypeId openapi_types.UUID `json:"resourceTypeId"` // Vendor Provider of the Resource. Vendor string `json:"vendor"` // Version Version or generation of the resource as defined by its provider. Version string `json:"version"` }
ResourceType Information about a resource type.
type ResourceTypeResourceClass ¶
type ResourceTypeResourceClass string
ResourceTypeResourceClass Functional role of the resource type within the cloud.
const ( ResourceTypeResourceClassCOMPUTE ResourceTypeResourceClass = "COMPUTE" ResourceTypeResourceClassNETWORKING ResourceTypeResourceClass = "NETWORKING" ResourceTypeResourceClassSTORAGE ResourceTypeResourceClass = "STORAGE" ResourceTypeResourceClassUNDEFINED ResourceTypeResourceClass = "UNDEFINED" )
Defines values for ResourceTypeResourceClass.
type ResourceTypeResourceKind ¶
type ResourceTypeResourceKind string
ResourceTypeResourceKind Value describing “physicality” of the resource type.
const ( ResourceTypeResourceKindLOGICAL ResourceTypeResourceKind = "LOGICAL" ResourceTypeResourceKindPHYSICAL ResourceTypeResourceKind = "PHYSICAL" ResourceTypeResourceKindUNDEFINED ResourceTypeResourceKind = "UNDEFINED" )
Defines values for ResourceTypeResourceKind.
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-infrastructureInventory/api_versions) GetAllVersions(w http.ResponseWriter, r *http.Request, params GetAllVersionsParams) // Get O-Cloud info // (GET /O2ims-infrastructureInventory/v1) GetCloudInfo(w http.ResponseWriter, r *http.Request, params GetCloudInfoParams) // Get minor API versions // (GET /O2ims-infrastructureInventory/v1/api_versions) GetMinorVersions(w http.ResponseWriter, r *http.Request, params GetMinorVersionsParams) // Get deployment managers // (GET /O2ims-infrastructureInventory/v1/deploymentManagers) GetDeploymentManagers(w http.ResponseWriter, r *http.Request, params GetDeploymentManagersParams) // Get deployment manager // (GET /O2ims-infrastructureInventory/v1/deploymentManagers/{deploymentManagerId}) GetDeploymentManager(w http.ResponseWriter, r *http.Request, deploymentManagerId DeploymentManagerId, params GetDeploymentManagerParams) // Get resource pools // (GET /O2ims-infrastructureInventory/v1/resourcePools) GetResourcePools(w http.ResponseWriter, r *http.Request, params GetResourcePoolsParams) // Get a resource pool // (GET /O2ims-infrastructureInventory/v1/resourcePools/{resourcePoolId}) GetResourcePool(w http.ResponseWriter, r *http.Request, resourcePoolId ResourcePoolId) // Get resources in a resource pool // (GET /O2ims-infrastructureInventory/v1/resourcePools/{resourcePoolId}/resources) GetResources(w http.ResponseWriter, r *http.Request, resourcePoolId ResourcePoolId, params GetResourcesParams) // Get a resource in a resource pool // (GET /O2ims-infrastructureInventory/v1/resourcePools/{resourcePoolId}/resources/{resourceId}) GetResource(w http.ResponseWriter, r *http.Request, resourcePoolId ResourcePoolId, resourceId ResourceId) // Get resource types // (GET /O2ims-infrastructureInventory/v1/resourceTypes) GetResourceTypes(w http.ResponseWriter, r *http.Request, params GetResourceTypesParams) // Get a resource type // (GET /O2ims-infrastructureInventory/v1/resourceTypes/{resourceTypeId}) GetResourceType(w http.ResponseWriter, r *http.Request, resourceTypeId ResourceTypeId) }
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) GetCloudInfo ¶
func (siw *ServerInterfaceWrapper) GetCloudInfo(w http.ResponseWriter, r *http.Request)
GetCloudInfo operation middleware
func (*ServerInterfaceWrapper) GetDeploymentManager ¶
func (siw *ServerInterfaceWrapper) GetDeploymentManager(w http.ResponseWriter, r *http.Request)
GetDeploymentManager operation middleware
func (*ServerInterfaceWrapper) GetDeploymentManagers ¶
func (siw *ServerInterfaceWrapper) GetDeploymentManagers(w http.ResponseWriter, r *http.Request)
GetDeploymentManagers operation middleware
func (*ServerInterfaceWrapper) GetMinorVersions ¶
func (siw *ServerInterfaceWrapper) GetMinorVersions(w http.ResponseWriter, r *http.Request)
GetMinorVersions operation middleware
func (*ServerInterfaceWrapper) GetResource ¶
func (siw *ServerInterfaceWrapper) GetResource(w http.ResponseWriter, r *http.Request)
GetResource operation middleware
func (*ServerInterfaceWrapper) GetResourcePool ¶
func (siw *ServerInterfaceWrapper) GetResourcePool(w http.ResponseWriter, r *http.Request)
GetResourcePool operation middleware
func (*ServerInterfaceWrapper) GetResourcePools ¶
func (siw *ServerInterfaceWrapper) GetResourcePools(w http.ResponseWriter, r *http.Request)
GetResourcePools operation middleware
func (*ServerInterfaceWrapper) GetResourceType ¶
func (siw *ServerInterfaceWrapper) GetResourceType(w http.ResponseWriter, r *http.Request)
GetResourceType operation middleware
func (*ServerInterfaceWrapper) GetResourceTypes ¶
func (siw *ServerInterfaceWrapper) GetResourceTypes(w http.ResponseWriter, r *http.Request)
GetResourceTypes operation middleware
func (*ServerInterfaceWrapper) GetResources ¶
func (siw *ServerInterfaceWrapper) GetResources(w http.ResponseWriter, r *http.Request)
GetResources 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 StrictHandlerFunc ¶
type StrictHandlerFunc = strictnethttp.StrictHTTPHandlerFunc
type StrictMiddlewareFunc ¶
type StrictMiddlewareFunc = strictnethttp.StrictHTTPMiddlewareFunc
type StrictServerInterface ¶
type StrictServerInterface interface { // Get API versions // (GET /O2ims-infrastructureInventory/api_versions) GetAllVersions(ctx context.Context, request GetAllVersionsRequestObject) (GetAllVersionsResponseObject, error) // Get O-Cloud info // (GET /O2ims-infrastructureInventory/v1) GetCloudInfo(ctx context.Context, request GetCloudInfoRequestObject) (GetCloudInfoResponseObject, error) // Get minor API versions // (GET /O2ims-infrastructureInventory/v1/api_versions) GetMinorVersions(ctx context.Context, request GetMinorVersionsRequestObject) (GetMinorVersionsResponseObject, error) // Get deployment managers // (GET /O2ims-infrastructureInventory/v1/deploymentManagers) GetDeploymentManagers(ctx context.Context, request GetDeploymentManagersRequestObject) (GetDeploymentManagersResponseObject, error) // Get deployment manager // (GET /O2ims-infrastructureInventory/v1/deploymentManagers/{deploymentManagerId}) GetDeploymentManager(ctx context.Context, request GetDeploymentManagerRequestObject) (GetDeploymentManagerResponseObject, error) // Get resource pools // (GET /O2ims-infrastructureInventory/v1/resourcePools) GetResourcePools(ctx context.Context, request GetResourcePoolsRequestObject) (GetResourcePoolsResponseObject, error) // Get a resource pool // (GET /O2ims-infrastructureInventory/v1/resourcePools/{resourcePoolId}) GetResourcePool(ctx context.Context, request GetResourcePoolRequestObject) (GetResourcePoolResponseObject, error) // Get resources in a resource pool // (GET /O2ims-infrastructureInventory/v1/resourcePools/{resourcePoolId}/resources) GetResources(ctx context.Context, request GetResourcesRequestObject) (GetResourcesResponseObject, error) // Get a resource in a resource pool // (GET /O2ims-infrastructureInventory/v1/resourcePools/{resourcePoolId}/resources/{resourceId}) GetResource(ctx context.Context, request GetResourceRequestObject) (GetResourceResponseObject, error) // Get resource types // (GET /O2ims-infrastructureInventory/v1/resourceTypes) GetResourceTypes(ctx context.Context, request GetResourceTypesRequestObject) (GetResourceTypesResponseObject, error) // Get a resource type // (GET /O2ims-infrastructureInventory/v1/resourceTypes/{resourceTypeId}) GetResourceType(ctx context.Context, request GetResourceTypeRequestObject) (GetResourceTypeResponseObject, error) }
StrictServerInterface represents all server handlers.
type TooManyValuesForParamError ¶
func (*TooManyValuesForParamError) Error ¶
func (e *TooManyValuesForParamError) Error() string
type UnescapedCookieParamError ¶
func (*UnescapedCookieParamError) Error ¶
func (e *UnescapedCookieParamError) Error() string
func (*UnescapedCookieParamError) Unwrap ¶
func (e *UnescapedCookieParamError) Unwrap() error
type UnmarshalingParamError ¶
func (*UnmarshalingParamError) Error ¶
func (e *UnmarshalingParamError) Error() string
func (*UnmarshalingParamError) Unwrap ¶
func (e *UnmarshalingParamError) Unwrap() error