generated

package
v0.0.0-...-7cd1858 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 16 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

This section is empty.

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 AckAlarm200JSONResponse

type AckAlarm200JSONResponse AlarmEventRecordModifications

func (AckAlarm200JSONResponse) VisitAckAlarmResponse

func (response AckAlarm200JSONResponse) VisitAckAlarmResponse(w http.ResponseWriter) error

type AckAlarm400ApplicationProblemPlusJSONResponse

type AckAlarm400ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (AckAlarm400ApplicationProblemPlusJSONResponse) VisitAckAlarmResponse

func (response AckAlarm400ApplicationProblemPlusJSONResponse) VisitAckAlarmResponse(w http.ResponseWriter) error

type AckAlarm404ApplicationProblemPlusJSONResponse

type AckAlarm404ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (AckAlarm404ApplicationProblemPlusJSONResponse) VisitAckAlarmResponse

func (response AckAlarm404ApplicationProblemPlusJSONResponse) VisitAckAlarmResponse(w http.ResponseWriter) error

type AckAlarm409ApplicationProblemPlusJSONResponse

type AckAlarm409ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (AckAlarm409ApplicationProblemPlusJSONResponse) VisitAckAlarmResponse

func (response AckAlarm409ApplicationProblemPlusJSONResponse) VisitAckAlarmResponse(w http.ResponseWriter) error

type AckAlarm412ApplicationProblemPlusJSONResponse

type AckAlarm412ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (AckAlarm412ApplicationProblemPlusJSONResponse) VisitAckAlarmResponse

func (response AckAlarm412ApplicationProblemPlusJSONResponse) VisitAckAlarmResponse(w http.ResponseWriter) error

type AckAlarm500ApplicationProblemPlusJSONResponse

type AckAlarm500ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (AckAlarm500ApplicationProblemPlusJSONResponse) VisitAckAlarmResponse

func (response AckAlarm500ApplicationProblemPlusJSONResponse) VisitAckAlarmResponse(w http.ResponseWriter) error

type AckAlarmJSONRequestBody

type AckAlarmJSONRequestBody = AlarmEventRecordModifications

AckAlarmJSONRequestBody defines body for AckAlarm for application/json ContentType.

type AckAlarmRequestObject

type AckAlarmRequestObject struct {
	AlarmEventRecordId openapi_types.UUID `json:"alarmEventRecordId"`
	Body               *AckAlarmJSONRequestBody
}

type AckAlarmResponseObject

type AckAlarmResponseObject interface {
	VisitAckAlarmResponse(w http.ResponseWriter) error
}

type AlarmEventNotification

type AlarmEventNotification struct {
	// AlarmAcknowledgeTime Date/Time stamp value when any value of the AlarmEventRecord has been modified.
	AlarmAcknowledgeTime *time.Time `json:"alarmAcknowledgeTime,omitempty"`

	// AlarmAcknowledged Boolean value indicating of a management system has acknowledged the alarm.
	AlarmAcknowledged bool `json:"alarmAcknowledged"`

	// AlarmChangedTime Date/Time stamp value when any value of the AlarmEventRecord has been modified.
	AlarmChangedTime time.Time `json:"alarmChangedTime"`

	// AlarmDefinitionID A reference to the Alarm Definition record in the Alarm Dictionary associated with the referenced ResourceType.
	AlarmDefinitionID openapi_types.UUID `json:"alarmDefinitionID"`

	// AlarmEventRecordId The URL to the AlarmEventRecord object.
	AlarmEventRecordId openapi_types.UUID `json:"alarmEventRecordId"`

	// AlarmRaisedTime Date/Time stamp value when the AlarmEventRecord has been created.
	AlarmRaisedTime time.Time `json:"alarmRaisedTime"`

	// ConsumerSubscriptionId The value provided by the consumer in the subscription.
	ConsumerSubscriptionId *openapi_types.UUID `json:"consumerSubscriptionId,omitempty"`

	// Extensions These are unspecified (not standardized) properties (keys) which are tailored by the vendor or
	// operator to extend the information provided about the O-Cloud Alarm.
	Extensions map[string]string `json:"extensions"`

	// GlobalCloudID The global cloud identifier assigned by the SMO.e
	GlobalCloudID openapi_types.UUID `json:"globalCloudID"`

	// NotificationEventType Notification event type values
	NotificationEventType AlarmEventNotificationNotificationEventType `json:"notificationEventType"`

	// ObjectRef The URL to the AlarmEventRecord object.
	ObjectRef *string `json:"objectRef,omitempty"`

	// PerceivedSeverity This is an enumerated set of values which identify the perceived severity of the alarm.
	PerceivedSeverity PerceivedSeverity `json:"perceivedSeverity"`

	// ProbableCauseID A reference to the ProbableCause of the Alarm.
	ProbableCauseID openapi_types.UUID `json:"probableCauseID"`

	// ResourceID A reference to the resource instance which caused the alarm.
	ResourceID openapi_types.UUID `json:"resourceID"`

	// ResourceTypeID A reference to the type of resource which caused the alarm.
	ResourceTypeID openapi_types.UUID `json:"resourceTypeID"`
}

AlarmEventNotification Alarm Event Notification sent to subscribers

type AlarmEventNotificationNotificationEventType

type AlarmEventNotificationNotificationEventType int

AlarmEventNotificationNotificationEventType Notification event type values

Defines values for AlarmEventNotificationNotificationEventType.

type AlarmEventRecord

type AlarmEventRecord struct {
	// AlarmAcknowledged When a system acknowledges an alarm, it is then set to TRUE.
	AlarmAcknowledged bool `json:"alarmAcknowledged"`

	// AlarmAcknowledgedTime This field is populated with a Date/Time stamp value when the alarm condition is acknowledged.
	AlarmAcknowledgedTime *time.Time `json:"alarmAcknowledgedTime,omitempty"`

	// AlarmChangedTime This field is populated with a Date/Time stamp value when any value
	// of the AlarmEventRecord is modified.
	AlarmChangedTime *time.Time `json:"alarmChangedTime,omitempty"`

	// AlarmClearedTime This field is populated with a Date/Time stamp value when the alarm condition is cleared.
	AlarmClearedTime *time.Time `json:"alarmClearedTime,omitempty"`

	// AlarmDefinitionId A reference to the Alarm Definition record in the Alarm Dictionary associated with the referenced Resource Type.
	AlarmDefinitionId openapi_types.UUID `json:"alarmDefinitionId"`

	// AlarmEventRecordId Identifier of an entry in the AlarmEventRecord.
	// Locally unique within the scope of an O-Cloud instance.
	AlarmEventRecordId openapi_types.UUID `json:"alarmEventRecordId"`

	// AlarmRaisedTime This field is populated with a Date/Time stamp value when the AlarmEventRecord is created.
	AlarmRaisedTime time.Time `json:"alarmRaisedTime"`

	// Extensions These are unspecified (not standardized) properties (keys) which are tailored by the vendor or
	// operator to extend the information provided about the O-Cloud Alarm.
	Extensions map[string]string `json:"extensions"`

	// PerceivedSeverity This is an enumerated set of values which identify the perceived severity of the alarm.
	PerceivedSeverity PerceivedSeverity `json:"perceivedSeverity"`

	// ProbableCauseId A reference to the ProbableCause of the Alarm.
	ProbableCauseId openapi_types.UUID `json:"probableCauseId"`

	// ResourceTypeID A reference to the type of resource which caused the alarm.
	ResourceTypeID openapi_types.UUID `json:"resourceTypeID"`
}

AlarmEventRecord defines model for AlarmEventRecord.

type AlarmEventRecordModifications

type AlarmEventRecordModifications struct {
	// AlarmAcknowledged Acknowledge an alarm.
	AlarmAcknowledged bool `json:"alarmAcknowledged"`
}

AlarmEventRecordModifications defines model for AlarmEventRecordModifications.

type AlarmSubscriptionInfo

type AlarmSubscriptionInfo struct {
	// Callback The fully qualified URI to a consumer procedure which can process a Post of the AlarmEventNotification.
	Callback string `json:"callback"`

	// ConsumerSubscriptionId Identifier for the consumer of events sent due to the Subscription.
	ConsumerSubscriptionId *openapi_types.UUID `json:"consumerSubscriptionId,omitempty"`

	// Filter Criteria for events which do not need to be reported or will be filtered by the subscription
	// notification service. Therefore, if a filter is not provided then all events are reported.
	// It can be filtered by criteria based on the type of notification of fields of the
	// AlarmEventRecord.
	Filter *AlarmSubscriptionInfoFilter `json:"filter,omitempty"`

	// SubscriptionID Identifier for the Alarm Subscription. This identifier is allocated by the O-Cloud.
	SubscriptionID *openapi_types.UUID `json:"subscriptionID,omitempty"`
}

AlarmSubscriptionInfo defines model for AlarmSubscriptionInfo.

type AlarmSubscriptionInfoFilter

type AlarmSubscriptionInfoFilter string

AlarmSubscriptionInfoFilter Criteria for events which do not need to be reported or will be filtered by the subscription notification service. Therefore, if a filter is not provided then all events are reported. It can be filtered by criteria based on the type of notification of fields of the AlarmEventRecord.

const (
	Acknowledge AlarmSubscriptionInfoFilter = "acknowledge"
	Change      AlarmSubscriptionInfoFilter = "change"
	Clear       AlarmSubscriptionInfoFilter = "clear"
	New         AlarmSubscriptionInfoFilter = "new"
)

Defines values for AlarmSubscriptionInfoFilter.

type AlertmanagerNotification

type AlertmanagerNotification struct {
	Alerts []struct {
		Annotations *map[string]string `json:"annotations,omitempty"`
		EndsAt      *time.Time         `json:"endsAt,omitempty"`

		// Fingerprint Fingerprint to identify the alert
		Fingerprint *string `json:"fingerprint,omitempty"`

		// GeneratorURL Identifies the entity that caused the alert
		GeneratorURL *string            `json:"generatorURL,omitempty"`
		Labels       *map[string]string `json:"labels,omitempty"`
		StartsAt     *time.Time         `json:"startsAt,omitempty"`

		// Status Alertmanager notification status
		Status *AlertmanagerNotificationStatus `json:"status,omitempty"`
	} `json:"alerts"`
	CommonAnnotations *map[string]string `json:"commonAnnotations,omitempty"`
	CommonLabels      *map[string]string `json:"commonLabels,omitempty"`

	// ExternalURL Backlink to the Alertmanager
	ExternalURL *string `json:"externalURL,omitempty"`

	// GroupKey Key identifying the group of alerts (e.g. to deduplicate)
	GroupKey    string             `json:"groupKey"`
	GroupLabels *map[string]string `json:"groupLabels,omitempty"`
	Receiver    string             `json:"receiver"`

	// Status Alertmanager notification status
	Status AlertmanagerNotificationStatus `json:"status"`

	// Subscriber Optional subscriber information, if a subscriber is found
	Subscriber *struct {
		// CallbackUrl URL to call for notifying the subscriber
		CallbackUrl *string `json:"callbackUrl,omitempty"`
	} `json:"subscriber,omitempty"`

	// TruncatedAlerts How many alerts have been truncated due to "max_alerts"
	TruncatedAlerts *int   `json:"truncatedAlerts,omitempty"`
	Version         string `json:"version"`
}

AlertmanagerNotification Alertmanager notification payload as described here https://prometheus.io/docs/alerting/latest/configuration/#webhook_config

type AlertmanagerNotificationStatus

type AlertmanagerNotificationStatus string

AlertmanagerNotificationStatus Alertmanager notification status

const (
	Firing   AlertmanagerNotificationStatus = "firing"
	Resolved AlertmanagerNotificationStatus = "resolved"
)

Defines values for AlertmanagerNotificationStatus.

type AmNotification200Response

type AmNotification200Response struct {
}

func (AmNotification200Response) VisitAmNotificationResponse

func (response AmNotification200Response) VisitAmNotificationResponse(w http.ResponseWriter) error

type AmNotification400Response

type AmNotification400Response struct {
}

func (AmNotification400Response) VisitAmNotificationResponse

func (response AmNotification400Response) VisitAmNotificationResponse(w http.ResponseWriter) error

type AmNotification500Response

type AmNotification500Response struct {
}

func (AmNotification500Response) VisitAmNotificationResponse

func (response AmNotification500Response) VisitAmNotificationResponse(w http.ResponseWriter) error

type AmNotificationJSONRequestBody

type AmNotificationJSONRequestBody = AlertmanagerNotification

AmNotificationJSONRequestBody defines body for AmNotification for application/json ContentType.

type AmNotificationRequestObject

type AmNotificationRequestObject struct {
	Body *AmNotificationJSONRequestBody
}

type AmNotificationResponseObject

type AmNotificationResponseObject interface {
	VisitAmNotificationResponse(w http.ResponseWriter) error
}

type CreateSubscription201JSONResponse

type CreateSubscription201JSONResponse AlarmSubscriptionInfo

func (CreateSubscription201JSONResponse) VisitCreateSubscriptionResponse

func (response CreateSubscription201JSONResponse) VisitCreateSubscriptionResponse(w http.ResponseWriter) error

type CreateSubscription400ApplicationProblemPlusJSONResponse

type CreateSubscription400ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (CreateSubscription400ApplicationProblemPlusJSONResponse) VisitCreateSubscriptionResponse

func (response CreateSubscription400ApplicationProblemPlusJSONResponse) VisitCreateSubscriptionResponse(w http.ResponseWriter) error

type CreateSubscription409ApplicationProblemPlusJSONResponse

type CreateSubscription409ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (CreateSubscription409ApplicationProblemPlusJSONResponse) VisitCreateSubscriptionResponse

func (response CreateSubscription409ApplicationProblemPlusJSONResponse) VisitCreateSubscriptionResponse(w http.ResponseWriter) error

type CreateSubscription500ApplicationProblemPlusJSONResponse

type CreateSubscription500ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (CreateSubscription500ApplicationProblemPlusJSONResponse) VisitCreateSubscriptionResponse

func (response CreateSubscription500ApplicationProblemPlusJSONResponse) VisitCreateSubscriptionResponse(w http.ResponseWriter) error

type CreateSubscriptionJSONRequestBody

type CreateSubscriptionJSONRequestBody = AlarmSubscriptionInfo

CreateSubscriptionJSONRequestBody defines body for CreateSubscription for application/json ContentType.

type CreateSubscriptionRequestObject

type CreateSubscriptionRequestObject struct {
	Body *CreateSubscriptionJSONRequestBody
}

type CreateSubscriptionResponseObject

type CreateSubscriptionResponseObject interface {
	VisitCreateSubscriptionResponse(w http.ResponseWriter) error
}

type DeleteSubscription200Response

type DeleteSubscription200Response struct {
}

func (DeleteSubscription200Response) VisitDeleteSubscriptionResponse

func (response DeleteSubscription200Response) VisitDeleteSubscriptionResponse(w http.ResponseWriter) error

type DeleteSubscription400ApplicationProblemPlusJSONResponse

type DeleteSubscription400ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (DeleteSubscription400ApplicationProblemPlusJSONResponse) VisitDeleteSubscriptionResponse

func (response DeleteSubscription400ApplicationProblemPlusJSONResponse) VisitDeleteSubscriptionResponse(w http.ResponseWriter) error

type DeleteSubscription404ApplicationProblemPlusJSONResponse

type DeleteSubscription404ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (DeleteSubscription404ApplicationProblemPlusJSONResponse) VisitDeleteSubscriptionResponse

func (response DeleteSubscription404ApplicationProblemPlusJSONResponse) VisitDeleteSubscriptionResponse(w http.ResponseWriter) error

type DeleteSubscription500ApplicationProblemPlusJSONResponse

type DeleteSubscription500ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (DeleteSubscription500ApplicationProblemPlusJSONResponse) VisitDeleteSubscriptionResponse

func (response DeleteSubscription500ApplicationProblemPlusJSONResponse) VisitDeleteSubscriptionResponse(w http.ResponseWriter) error

type DeleteSubscriptionRequestObject

type DeleteSubscriptionRequestObject struct {
	AlarmSubscriptionId openapi_types.UUID `json:"alarmSubscriptionId"`
}

type DeleteSubscriptionResponseObject

type DeleteSubscriptionResponseObject interface {
	VisitDeleteSubscriptionResponse(w http.ResponseWriter) error
}

type GetAlarm200JSONResponse

type GetAlarm200JSONResponse AlarmEventRecord

func (GetAlarm200JSONResponse) VisitGetAlarmResponse

func (response GetAlarm200JSONResponse) VisitGetAlarmResponse(w http.ResponseWriter) error

type GetAlarm400ApplicationProblemPlusJSONResponse

type GetAlarm400ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (GetAlarm400ApplicationProblemPlusJSONResponse) VisitGetAlarmResponse

func (response GetAlarm400ApplicationProblemPlusJSONResponse) VisitGetAlarmResponse(w http.ResponseWriter) error

type GetAlarm404ApplicationProblemPlusJSONResponse

type GetAlarm404ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (GetAlarm404ApplicationProblemPlusJSONResponse) VisitGetAlarmResponse

func (response GetAlarm404ApplicationProblemPlusJSONResponse) VisitGetAlarmResponse(w http.ResponseWriter) error

type GetAlarm500ApplicationProblemPlusJSONResponse

type GetAlarm500ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (GetAlarm500ApplicationProblemPlusJSONResponse) VisitGetAlarmResponse

func (response GetAlarm500ApplicationProblemPlusJSONResponse) VisitGetAlarmResponse(w http.ResponseWriter) error

type GetAlarmRequestObject

type GetAlarmRequestObject struct {
	AlarmEventRecordId openapi_types.UUID `json:"alarmEventRecordId"`
}

type GetAlarmResponseObject

type GetAlarmResponseObject interface {
	VisitGetAlarmResponse(w http.ResponseWriter) error
}

type GetAlarms200JSONResponse

type GetAlarms200JSONResponse []AlarmEventRecord

func (GetAlarms200JSONResponse) VisitGetAlarmsResponse

func (response GetAlarms200JSONResponse) VisitGetAlarmsResponse(w http.ResponseWriter) error

type GetAlarms400ApplicationProblemPlusJSONResponse

type GetAlarms400ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (GetAlarms400ApplicationProblemPlusJSONResponse) VisitGetAlarmsResponse

func (response GetAlarms400ApplicationProblemPlusJSONResponse) VisitGetAlarmsResponse(w http.ResponseWriter) error

type GetAlarms403ApplicationProblemPlusJSONResponse

type GetAlarms403ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (GetAlarms403ApplicationProblemPlusJSONResponse) VisitGetAlarmsResponse

func (response GetAlarms403ApplicationProblemPlusJSONResponse) VisitGetAlarmsResponse(w http.ResponseWriter) error

type GetAlarms500ApplicationProblemPlusJSONResponse

type GetAlarms500ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (GetAlarms500ApplicationProblemPlusJSONResponse) VisitGetAlarmsResponse

func (response GetAlarms500ApplicationProblemPlusJSONResponse) VisitGetAlarmsResponse(w http.ResponseWriter) error

type GetAlarmsParams

type GetAlarmsParams 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"`
}

GetAlarmsParams defines parameters for GetAlarms.

type GetAlarmsRequestObject

type GetAlarmsRequestObject struct {
	Params GetAlarmsParams
}

type GetAlarmsResponseObject

type GetAlarmsResponseObject interface {
	VisitGetAlarmsResponse(w http.ResponseWriter) error
}

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 GetAllVersionsRequestObject

type GetAllVersionsRequestObject struct {
}

type GetAllVersionsResponseObject

type GetAllVersionsResponseObject interface {
	VisitGetAllVersionsResponse(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 GetMinorVersionsRequestObject

type GetMinorVersionsRequestObject struct {
}

type GetMinorVersionsResponseObject

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

type GetProbableCause200JSONResponse

type GetProbableCause200JSONResponse ProbableCause

func (GetProbableCause200JSONResponse) VisitGetProbableCauseResponse

func (response GetProbableCause200JSONResponse) VisitGetProbableCauseResponse(w http.ResponseWriter) error

type GetProbableCause400ApplicationProblemPlusJSONResponse

type GetProbableCause400ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (GetProbableCause400ApplicationProblemPlusJSONResponse) VisitGetProbableCauseResponse

func (response GetProbableCause400ApplicationProblemPlusJSONResponse) VisitGetProbableCauseResponse(w http.ResponseWriter) error

type GetProbableCause404ApplicationProblemPlusJSONResponse

type GetProbableCause404ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (GetProbableCause404ApplicationProblemPlusJSONResponse) VisitGetProbableCauseResponse

func (response GetProbableCause404ApplicationProblemPlusJSONResponse) VisitGetProbableCauseResponse(w http.ResponseWriter) error

type GetProbableCause500ApplicationProblemPlusJSONResponse

type GetProbableCause500ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (GetProbableCause500ApplicationProblemPlusJSONResponse) VisitGetProbableCauseResponse

func (response GetProbableCause500ApplicationProblemPlusJSONResponse) VisitGetProbableCauseResponse(w http.ResponseWriter) error

type GetProbableCauseRequestObject

type GetProbableCauseRequestObject struct {
	ProbableCauseId openapi_types.UUID `json:"probableCauseId"`
}

type GetProbableCauseResponseObject

type GetProbableCauseResponseObject interface {
	VisitGetProbableCauseResponse(w http.ResponseWriter) error
}

type GetProbableCauses200JSONResponse

type GetProbableCauses200JSONResponse []ProbableCause

func (GetProbableCauses200JSONResponse) VisitGetProbableCausesResponse

func (response GetProbableCauses200JSONResponse) VisitGetProbableCausesResponse(w http.ResponseWriter) error

type GetProbableCauses500ApplicationProblemPlusJSONResponse

type GetProbableCauses500ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (GetProbableCauses500ApplicationProblemPlusJSONResponse) VisitGetProbableCausesResponse

func (response GetProbableCauses500ApplicationProblemPlusJSONResponse) VisitGetProbableCausesResponse(w http.ResponseWriter) error

type GetProbableCausesRequestObject

type GetProbableCausesRequestObject struct {
}

type GetProbableCausesResponseObject

type GetProbableCausesResponseObject interface {
	VisitGetProbableCausesResponse(w http.ResponseWriter) error
}

type GetSubscription200JSONResponse

type GetSubscription200JSONResponse AlarmSubscriptionInfo

func (GetSubscription200JSONResponse) VisitGetSubscriptionResponse

func (response GetSubscription200JSONResponse) VisitGetSubscriptionResponse(w http.ResponseWriter) error

type GetSubscription400ApplicationProblemPlusJSONResponse

type GetSubscription400ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (GetSubscription400ApplicationProblemPlusJSONResponse) VisitGetSubscriptionResponse

func (response GetSubscription400ApplicationProblemPlusJSONResponse) VisitGetSubscriptionResponse(w http.ResponseWriter) error

type GetSubscription404ApplicationProblemPlusJSONResponse

type GetSubscription404ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (GetSubscription404ApplicationProblemPlusJSONResponse) VisitGetSubscriptionResponse

func (response GetSubscription404ApplicationProblemPlusJSONResponse) VisitGetSubscriptionResponse(w http.ResponseWriter) error

type GetSubscription500ApplicationProblemPlusJSONResponse

type GetSubscription500ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (GetSubscription500ApplicationProblemPlusJSONResponse) VisitGetSubscriptionResponse

func (response GetSubscription500ApplicationProblemPlusJSONResponse) VisitGetSubscriptionResponse(w http.ResponseWriter) error

type GetSubscriptionRequestObject

type GetSubscriptionRequestObject struct {
	AlarmSubscriptionId openapi_types.UUID `json:"alarmSubscriptionId"`
}

type GetSubscriptionResponseObject

type GetSubscriptionResponseObject interface {
	VisitGetSubscriptionResponse(w http.ResponseWriter) error
}

type GetSubscriptions200JSONResponse

type GetSubscriptions200JSONResponse []AlarmSubscriptionInfo

func (GetSubscriptions200JSONResponse) VisitGetSubscriptionsResponse

func (response GetSubscriptions200JSONResponse) VisitGetSubscriptionsResponse(w http.ResponseWriter) error

type GetSubscriptions400ApplicationProblemPlusJSONResponse

type GetSubscriptions400ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (GetSubscriptions400ApplicationProblemPlusJSONResponse) VisitGetSubscriptionsResponse

func (response GetSubscriptions400ApplicationProblemPlusJSONResponse) VisitGetSubscriptionsResponse(w http.ResponseWriter) error

type GetSubscriptions500ApplicationProblemPlusJSONResponse

type GetSubscriptions500ApplicationProblemPlusJSONResponse externalRef0.ProblemDetails

func (GetSubscriptions500ApplicationProblemPlusJSONResponse) VisitGetSubscriptionsResponse

func (response GetSubscriptions500ApplicationProblemPlusJSONResponse) VisitGetSubscriptionsResponse(w http.ResponseWriter) error

type GetSubscriptionsParams

type GetSubscriptionsParams 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"`
}

GetSubscriptionsParams defines parameters for GetSubscriptions.

type GetSubscriptionsRequestObject

type GetSubscriptionsRequestObject struct {
	Params GetSubscriptionsParams
}

type GetSubscriptionsResponseObject

type GetSubscriptionsResponseObject interface {
	VisitGetSubscriptionsResponse(w http.ResponseWriter) error
}

type HardwareAlert

type HardwareAlert = map[string]interface{}

HardwareAlert Placeholder for hardware alert schema

type HwNotification200Response

type HwNotification200Response struct {
}

func (HwNotification200Response) VisitHwNotificationResponse

func (response HwNotification200Response) VisitHwNotificationResponse(w http.ResponseWriter) error

type HwNotification400Response

type HwNotification400Response struct {
}

func (HwNotification400Response) VisitHwNotificationResponse

func (response HwNotification400Response) VisitHwNotificationResponse(w http.ResponseWriter) error

type HwNotification500Response

type HwNotification500Response struct {
}

func (HwNotification500Response) VisitHwNotificationResponse

func (response HwNotification500Response) VisitHwNotificationResponse(w http.ResponseWriter) error

type HwNotificationJSONRequestBody

type HwNotificationJSONRequestBody = HardwareAlert

HwNotificationJSONRequestBody defines body for HwNotification for application/json ContentType.

type HwNotificationRequestObject

type HwNotificationRequestObject struct {
	HwVendorName string `json:"hwVendorName"`
	Body         *HwNotificationJSONRequestBody
}

type HwNotificationResponseObject

type HwNotificationResponseObject interface {
	VisitHwNotificationResponse(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 MiddlewareFunc

type MiddlewareFunc func(http.Handler) http.Handler

type PerceivedSeverity

type PerceivedSeverity int

PerceivedSeverity This is an enumerated set of values which identify the perceived severity of the alarm.

const (
	CLEARED       PerceivedSeverity = 5
	CRITICAL      PerceivedSeverity = 0
	INDETERMINATE PerceivedSeverity = 4
	MAJOR         PerceivedSeverity = 1
	MINOR         PerceivedSeverity = 2
	WARNING       PerceivedSeverity = 3
)

Defines values for PerceivedSeverity.

type ProbableCause

type ProbableCause struct {
	// Description Any additional information beyond the name to describe the probableCause derived from corresponding AlarmDefinition.
	Description string `json:"description"`

	// Name Human readable text of the probable cause derived from corresponding AlarmDefinition.
	Name string `json:"name"`

	// ProbableCauseId Identifier of the ProbableCause.
	ProbableCauseId openapi_types.UUID `json:"probableCauseId"`
}

ProbableCause defines model for ProbableCause.

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 {
	// Receive Alertmanager notifications
	// (POST /internal/v1/caas-alerts/alertmanager)
	AmNotification(w http.ResponseWriter, r *http.Request)
	// Receive hardware alerts
	// (POST /internal/v1/hardware-alerts/{hwVendorName})
	HwNotification(w http.ResponseWriter, r *http.Request, hwVendorName string)
	// Get API versions
	// (GET /o2ims-infrastructureMonitoring/api_versions)
	GetAllVersions(w http.ResponseWriter, r *http.Request)
	// Retrieve the list of alarm subscriptions
	// (GET /o2ims-infrastructureMonitoring/v1/alarmSubscriptions)
	GetSubscriptions(w http.ResponseWriter, r *http.Request, params GetSubscriptionsParams)
	// Create a new alarm subscription
	// (POST /o2ims-infrastructureMonitoring/v1/alarmSubscriptions)
	CreateSubscription(w http.ResponseWriter, r *http.Request)
	// Delete exactly one subscription
	// (DELETE /o2ims-infrastructureMonitoring/v1/alarmSubscriptions/{alarmSubscriptionId})
	DeleteSubscription(w http.ResponseWriter, r *http.Request, alarmSubscriptionId openapi_types.UUID)
	// Retrieve exactly one subscription
	// (GET /o2ims-infrastructureMonitoring/v1/alarmSubscriptions/{alarmSubscriptionId})
	GetSubscription(w http.ResponseWriter, r *http.Request, alarmSubscriptionId openapi_types.UUID)
	// Retrieve the list of alarms
	// (GET /o2ims-infrastructureMonitoring/v1/alarms)
	GetAlarms(w http.ResponseWriter, r *http.Request, params GetAlarmsParams)
	// Retrieve exactly one alarm
	// (GET /o2ims-infrastructureMonitoring/v1/alarms/{alarmEventRecordId})
	GetAlarm(w http.ResponseWriter, r *http.Request, alarmEventRecordId openapi_types.UUID)
	// Modify exactly one alarm to acknowledge
	// (PATCH /o2ims-infrastructureMonitoring/v1/alarms/{alarmEventRecordId})
	AckAlarm(w http.ResponseWriter, r *http.Request, alarmEventRecordId openapi_types.UUID)
	// Get minor API versions
	// (GET /o2ims-infrastructureMonitoring/v1/api_versions)
	GetMinorVersions(w http.ResponseWriter, r *http.Request)
	// Retrieve all probable causes
	// (GET /o2ims-infrastructureMonitoring/v1/probableCauses)
	GetProbableCauses(w http.ResponseWriter, r *http.Request)
	// Retrieve exactly one probable cause
	// (GET /o2ims-infrastructureMonitoring/v1/probableCauses/{probableCauseId})
	GetProbableCause(w http.ResponseWriter, r *http.Request, probableCauseId openapi_types.UUID)
}

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) AckAlarm

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

AckAlarm operation middleware

func (*ServerInterfaceWrapper) AmNotification

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

AmNotification operation middleware

func (*ServerInterfaceWrapper) CreateSubscription

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

CreateSubscription operation middleware

func (*ServerInterfaceWrapper) DeleteSubscription

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

DeleteSubscription operation middleware

func (*ServerInterfaceWrapper) GetAlarm

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

GetAlarm operation middleware

func (*ServerInterfaceWrapper) GetAlarms

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

GetAlarms operation middleware

func (*ServerInterfaceWrapper) GetAllVersions

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

GetAllVersions operation middleware

func (*ServerInterfaceWrapper) GetMinorVersions

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

GetMinorVersions operation middleware

func (*ServerInterfaceWrapper) GetProbableCause

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

GetProbableCause operation middleware

func (*ServerInterfaceWrapper) GetProbableCauses

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

GetProbableCauses operation middleware

func (*ServerInterfaceWrapper) GetSubscription

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

GetSubscription operation middleware

func (*ServerInterfaceWrapper) GetSubscriptions

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

GetSubscriptions operation middleware

func (*ServerInterfaceWrapper) HwNotification

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

HwNotification 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 {
	// Receive Alertmanager notifications
	// (POST /internal/v1/caas-alerts/alertmanager)
	AmNotification(ctx context.Context, request AmNotificationRequestObject) (AmNotificationResponseObject, error)
	// Receive hardware alerts
	// (POST /internal/v1/hardware-alerts/{hwVendorName})
	HwNotification(ctx context.Context, request HwNotificationRequestObject) (HwNotificationResponseObject, error)
	// Get API versions
	// (GET /o2ims-infrastructureMonitoring/api_versions)
	GetAllVersions(ctx context.Context, request GetAllVersionsRequestObject) (GetAllVersionsResponseObject, error)
	// Retrieve the list of alarm subscriptions
	// (GET /o2ims-infrastructureMonitoring/v1/alarmSubscriptions)
	GetSubscriptions(ctx context.Context, request GetSubscriptionsRequestObject) (GetSubscriptionsResponseObject, error)
	// Create a new alarm subscription
	// (POST /o2ims-infrastructureMonitoring/v1/alarmSubscriptions)
	CreateSubscription(ctx context.Context, request CreateSubscriptionRequestObject) (CreateSubscriptionResponseObject, error)
	// Delete exactly one subscription
	// (DELETE /o2ims-infrastructureMonitoring/v1/alarmSubscriptions/{alarmSubscriptionId})
	DeleteSubscription(ctx context.Context, request DeleteSubscriptionRequestObject) (DeleteSubscriptionResponseObject, error)
	// Retrieve exactly one subscription
	// (GET /o2ims-infrastructureMonitoring/v1/alarmSubscriptions/{alarmSubscriptionId})
	GetSubscription(ctx context.Context, request GetSubscriptionRequestObject) (GetSubscriptionResponseObject, error)
	// Retrieve the list of alarms
	// (GET /o2ims-infrastructureMonitoring/v1/alarms)
	GetAlarms(ctx context.Context, request GetAlarmsRequestObject) (GetAlarmsResponseObject, error)
	// Retrieve exactly one alarm
	// (GET /o2ims-infrastructureMonitoring/v1/alarms/{alarmEventRecordId})
	GetAlarm(ctx context.Context, request GetAlarmRequestObject) (GetAlarmResponseObject, error)
	// Modify exactly one alarm to acknowledge
	// (PATCH /o2ims-infrastructureMonitoring/v1/alarms/{alarmEventRecordId})
	AckAlarm(ctx context.Context, request AckAlarmRequestObject) (AckAlarmResponseObject, error)
	// Get minor API versions
	// (GET /o2ims-infrastructureMonitoring/v1/api_versions)
	GetMinorVersions(ctx context.Context, request GetMinorVersionsRequestObject) (GetMinorVersionsResponseObject, error)
	// Retrieve all probable causes
	// (GET /o2ims-infrastructureMonitoring/v1/probableCauses)
	GetProbableCauses(ctx context.Context, request GetProbableCausesRequestObject) (GetProbableCausesResponseObject, error)
	// Retrieve exactly one probable cause
	// (GET /o2ims-infrastructureMonitoring/v1/probableCauses/{probableCauseId})
	GetProbableCause(ctx context.Context, request GetProbableCauseRequestObject) (GetProbableCauseResponseObject, 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