Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- type APIClient
- type APIKey
- type APIResponse
- type AdjAppInstGETOpts
- type AdjacentAppInfoNotification
- type AdjacentAppInfoNotificationAdjacentAppInfo
- type AdjacentAppInfoSubscription
- type AdjacentAppInfoSubscriptionFilterCriteria
- type AdjacentAppInfoSubscriptionLinks
- type AdjacentAppInstanceInfo
- type AmsiApiService
- func (a *AmsiApiService) AppMobilityServiceByIdDELETE(ctx context.Context, appMobilityServiceId string) (*http.Response, error)
- func (a *AmsiApiService) AppMobilityServiceByIdGET(ctx context.Context, appMobilityServiceId string) (RegistrationInfo, *http.Response, error)
- func (a *AmsiApiService) AppMobilityServiceByIdPUT(ctx context.Context, body RegistrationInfo, appMobilityServiceId string) (RegistrationInfo, *http.Response, error)
- func (a *AmsiApiService) AppMobilityServiceGET(ctx context.Context, localVarOptionals *AppMobilityServiceGETOpts) ([]RegistrationInfo, *http.Response, error)
- func (a *AmsiApiService) AppMobilityServicePOST(ctx context.Context, body RegistrationInfo) (RegistrationInfo, *http.Response, error)
- func (a *AmsiApiService) Mec011AppTerminationPOST(ctx context.Context, body AppTerminationNotification) (*http.Response, error)
- func (a *AmsiApiService) SubByIdDELETE(ctx context.Context, subscriptionId string) (*http.Response, error)
- func (a *AmsiApiService) SubByIdGET(ctx context.Context, subscriptionId string) (InlineSubscription, *http.Response, error)
- func (a *AmsiApiService) SubByIdPUT(ctx context.Context, body InlineSubscription, subscriptionId string) (InlineSubscription, *http.Response, error)
- func (a *AmsiApiService) SubGET(ctx context.Context, subscriptionType string) (SubscriptionLinkList, *http.Response, error)
- func (a *AmsiApiService) SubPOST(ctx context.Context, body InlineSubscription) (InlineSubscription, *http.Response, error)
- type AppMobilityServiceGETOpts
- type AppMobilityServiceLevel
- type AppTerminationNotification
- type AppTerminationNotificationLinks
- type AssociateId
- type AssociateIdType
- type BasicAuth
- type CommunicationInterface
- type CommunicationInterfaceIpAddresses
- type Configuration
- type ContextTransferState
- type ExpiryNotification
- type GenericSwaggerError
- type InlineNotification
- type InlineSubscription
- type Link
- type LinkType
- type MecHostInformation
- type MobilityProcedureNotification
- type MobilityProcedureNotificationTargetAppInfo
- type MobilityProcedureSubscription
- type MobilityProcedureSubscriptionFilterCriteria
- type MobilityProcedureSubscriptionLinks
- type MobilityStatus
- type OneOfInlineNotification
- type OneOfInlineSubscription
- type OperationActionType
- type ProblemDetails
- type RegistrationInfo
- type RegistrationInfoDeviceInformation
- type RegistrationInfoServiceConsumerId
- type SubscriptionLinkList
- type SubscriptionLinkListLinks
- type SubscriptionLinkListSubscription
- type SubscriptionType
- type TestNotification
- type TestNotificationLinks
- type TimeStamp
- type UnsupportedApiService
- func (a *UnsupportedApiService) AdjAppInstGET(ctx context.Context, localVarOptionals *AdjAppInstGETOpts) ([]AdjacentAppInstanceInfo, *http.Response, error)
- func (a *UnsupportedApiService) AppMobilityServiceDerPOST(ctx context.Context, appMobilityServiceId string) (*http.Response, error)
- func (a *UnsupportedApiService) NotificationPOST(ctx context.Context, body InlineNotification) (*http.Response, error)
- type WebsockNotifConfig
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes a oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKey takes an APIKey as authentication for the request ContextAPIKey = contextKey("apikey") )
Functions ¶
Types ¶
type APIClient ¶
type APIClient struct { AmsiApi *AmsiApiService UnsupportedApi *UnsupportedApiService // contains filtered or unexported fields }
APIClient manages communication with the AdvantEDGE Application Mobility API API v2.2.1 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) ChangeBasePath ¶
Change base path to allow switching to mocks
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the swagger operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
type AdjAppInstGETOpts ¶
type AdjacentAppInfoNotification ¶
type AdjacentAppInfoNotification struct { // Shall be set to \"AdjacentAppInfoNotification\". NotificationType string `json:"notificationType"` TimeStamp *TimeStamp `json:"timeStamp,omitempty"` // 1 to N identifiers to associate the information for specific AssociateId []AssociateId `json:"associateId,omitempty"` AdjacentAppInfo []AdjacentAppInfoNotificationAdjacentAppInfo `json:"adjacentAppInfo,omitempty"` Links *Link `json:"_links"` }
type AdjacentAppInfoNotificationAdjacentAppInfo ¶
type AdjacentAppInfoNotificationAdjacentAppInfo struct { // Identifier of the adjacent application instance. AppInstanceId string `json:"appInstanceId"` // If present, it represents the communication interface(s) information of the application instance. CommInterface []CommunicationInterface `json:"commInterface"` }
type AdjacentAppInfoSubscription ¶
type AdjacentAppInfoSubscription struct { Links *AdjacentAppInfoSubscriptionLinks `json:"_links,omitempty"` // URI selected by the service consumer to receive notifications on the subscribed Application Mobility Service. This shall be included both in the request and in response. CallbackReference string `json:"callbackReference"` // Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009, as described in clause 6.12a. RequestTestNotification bool `json:"requestTestNotification,omitempty"` WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` FilterCriteria *AdjacentAppInfoSubscriptionFilterCriteria `json:"filterCriteria"` SubscriptionType *SubscriptionType `json:"subscriptionType"` }
type AdjacentAppInfoSubscriptionFilterCriteria ¶
type AdjacentAppInfoSubscriptionFilterCriteria struct {
AppInstanceId string `json:"appInstanceId,omitempty"`
}
List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response.
type AdjacentAppInfoSubscriptionLinks ¶
type AdjacentAppInfoSubscriptionLinks struct {
Self *LinkType `json:"self"`
}
Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests.
type AdjacentAppInstanceInfo ¶
type AdjacentAppInstanceInfo struct { // Identifier of the application descriptor. AppDId string `json:"appDId"` // It specifies the communication interface of application instance. AppInstanceCommLink []CommunicationInterface `json:"appInstanceCommLink"` // Identifier of the application instance. AppInstanceId string `json:"appInstanceId"` MecHostInformation *MecHostInformation `json:"mecHostInformation,omitempty"` // dentifier of the application instance that registers to the AMS, which is instantiated from the application descriptor identified by the attribute \"appDId\". RegisteredInstanceId string `json:"registeredInstanceId,omitempty"` }
type AmsiApiService ¶
type AmsiApiService service
func (*AmsiApiService) AppMobilityServiceByIdDELETE ¶
func (a *AmsiApiService) AppMobilityServiceByIdDELETE(ctx context.Context, appMobilityServiceId string) (*http.Response, error)
AmsiApiService deregister the individual application mobility service
deregister the individual application mobility service * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param appMobilityServiceId It uniquely identifies the created individual application mobility service
func (*AmsiApiService) AppMobilityServiceByIdGET ¶
func (a *AmsiApiService) AppMobilityServiceByIdGET(ctx context.Context, appMobilityServiceId string) (RegistrationInfo, *http.Response, error)
AmsiApiService Retrieve information about this individual application mobility service Retrieve information about this individual application mobility service
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param appMobilityServiceId It uniquely identifies the created individual application mobility service
@return RegistrationInfo
func (*AmsiApiService) AppMobilityServiceByIdPUT ¶
func (a *AmsiApiService) AppMobilityServiceByIdPUT(ctx context.Context, body RegistrationInfo, appMobilityServiceId string) (RegistrationInfo, *http.Response, error)
AmsiApiService update the existing individual application mobility service
update the existing individual application mobility service * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param body * @param appMobilityServiceId It uniquely identifies the created individual application mobility service
@return RegistrationInfo
func (*AmsiApiService) AppMobilityServiceGET ¶
func (a *AmsiApiService) AppMobilityServiceGET(ctx context.Context, localVarOptionals *AppMobilityServiceGETOpts) ([]RegistrationInfo, *http.Response, error)
func (*AmsiApiService) AppMobilityServicePOST ¶
func (a *AmsiApiService) AppMobilityServicePOST(ctx context.Context, body RegistrationInfo) (RegistrationInfo, *http.Response, error)
AmsiApiService Create a new application mobility service for the service requester. Create a new application mobility service for the service requester.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Application mobility service to be created
@return RegistrationInfo
func (*AmsiApiService) Mec011AppTerminationPOST ¶
func (a *AmsiApiService) Mec011AppTerminationPOST(ctx context.Context, body AppTerminationNotification) (*http.Response, error)
AmsiApiService MEC011 Application Termination notification for self termination Terminates itself.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Termination notification details
func (*AmsiApiService) SubByIdDELETE ¶
func (a *AmsiApiService) SubByIdDELETE(ctx context.Context, subscriptionId string) (*http.Response, error)
AmsiApiService cancel the existing individual subscription cancel the existing individual subscription
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param subscriptionId Refers to created subscription, where the AMS API allocates a unique resource name for this subscription
func (*AmsiApiService) SubByIdGET ¶
func (a *AmsiApiService) SubByIdGET(ctx context.Context, subscriptionId string) (InlineSubscription, *http.Response, error)
AmsiApiService Retrieve information about this subscription. Retrieve information about this subscription.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param subscriptionId Refers to created subscription, where the AMS API allocates a unique resource name for this subscription
@return InlineSubscription
func (*AmsiApiService) SubByIdPUT ¶
func (a *AmsiApiService) SubByIdPUT(ctx context.Context, body InlineSubscription, subscriptionId string) (InlineSubscription, *http.Response, error)
AmsiApiService update the existing individual subscription. update the existing individual subscription.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
- @param subscriptionId Refers to created subscription, where the AMS API allocates a unique resource name for this subscription
@return InlineSubscription
func (*AmsiApiService) SubGET ¶
func (a *AmsiApiService) SubGET(ctx context.Context, subscriptionType string) (SubscriptionLinkList, *http.Response, error)
AmsiApiService Retrieve information about the subscriptions for this requestor. Retrieve information about the subscriptions for this requestor.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param subscriptionType Query parameter to filter on a specific subscription type. Permitted values: mobility_proc or adj_app_info
@return SubscriptionLinkList
func (*AmsiApiService) SubPOST ¶
func (a *AmsiApiService) SubPOST(ctx context.Context, body InlineSubscription) (InlineSubscription, *http.Response, error)
AmsiApiService Create a new subscription to Application Mobility Service notifications. Create a new subscription to Application Mobility Service notifications.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
@return InlineSubscription
type AppMobilityServiceLevel ¶
type AppMobilityServiceLevel string
AppMobilityServiceLevel : This attribute provides an option for the application instance (server) to communicate with the application client before relocating this application instance to another MEC host.
const ( NOT_ALLOWED_AppMobilityServiceLevel AppMobilityServiceLevel = "APP_MOBILITY_NOT_ALLOWED" WITH_CONFIRMATION_AppMobilityServiceLevel AppMobilityServiceLevel = "APP_MOBILITY_WITH_CONFIRMATION" WITHOUT_CONFIRMATION_AppMobilityServiceLevel AppMobilityServiceLevel = "APP_MOBILITY_WITHOUT_CONFIRMATION" )
List of AppMobilityServiceLevel
type AppTerminationNotification ¶
type AppTerminationNotification struct { // Shall be set to AppTerminationNotification. NotificationType string `json:"notificationType"` OperationAction *OperationActionType `json:"operationAction"` // Maximum timeout value in seconds for graceful termination or graceful stop of an application instance. MaxGracefulTimeout int32 `json:"maxGracefulTimeout"` Links *AppTerminationNotificationLinks `json:"_links"` }
This type represents the information that the MEC platform notifies the subscribed application instance about the corresponding application instance termination/stop.
type AssociateId ¶
type AssociateId struct { Type_ *AssociateIdType `json:"type,omitempty"` // Value for the identifier. Value string `json:"value,omitempty"` }
type AssociateIdType ¶
type AssociateIdType string
AssociateIdType : Numeric value (0-255) corresponding to specified type of identifier
const ( UE_I_PV4_ADDRESS_AssociateIdType AssociateIdType = "UE_IPv4_ADDRESS" UE_IPV6_ADDRESS_AssociateIdType AssociateIdType = "UE_IPV6_ADDRESS" NATED_IP_ADDRESS_AssociateIdType AssociateIdType = "NATED_IP_ADDRESS" GTP_TEID_AssociateIdType AssociateIdType = "GTP_TEID" )
List of AssociateIdType
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type CommunicationInterface ¶
type CommunicationInterface struct {
IpAddresses []CommunicationInterfaceIpAddresses `json:"ipAddresses,omitempty"`
}
type Configuration ¶
type Configuration struct { BasePath string `json:"basePath,omitempty"` Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` HTTPClient *http.Client }
func NewConfiguration ¶
func NewConfiguration() *Configuration
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
type ContextTransferState ¶
type ContextTransferState string
ContextTransferState : If present, it represents the state of transferring the user context to another application instance.
const ( NOT_TRANSFERRED_ContextTransferState ContextTransferState = "NOT_TRANSFERRED" USER_CONTEXT_TRANSFER_COMPLETED_ContextTransferState ContextTransferState = "USER_CONTEXT_TRANSFER_COMPLETED" )
List of ContextTransferState
type ExpiryNotification ¶
type GenericSwaggerError ¶
type GenericSwaggerError struct {
// contains filtered or unexported fields
}
GenericSwaggerError Provides access to the body, error and model on returned errors.
func (GenericSwaggerError) Body ¶
func (e GenericSwaggerError) Body() []byte
Body returns the raw bytes of the response
func (GenericSwaggerError) Error ¶
func (e GenericSwaggerError) Error() string
Error returns non-empty string if there was an error.
func (GenericSwaggerError) Model ¶
func (e GenericSwaggerError) Model() interface{}
Model returns the unpacked model of the error
type InlineNotification ¶
type InlineNotification struct { }
type InlineSubscription ¶
type InlineSubscription struct { /* Discriminator */ SubscriptionType string `json:"subscriptionType"` /* Common */ Links *MobilityProcedureSubscriptionLinks `json:"_links,omitempty"` CallbackReference string `json:"callbackReference"` RequestTestNotification bool `json:"requestTestNotification,omitempty"` WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` /* MobilityProcedureSubscription */ FilterCriteria *MobilityProcedureSubscriptionFilterCriteria `json:"filterCriteria"` }
func ConvertAdjacentAppInfoSubscriptionToInlineSubscription ¶
func ConvertAdjacentAppInfoSubscriptionToInlineSubscription(src *AdjacentAppInfoSubscription) *InlineSubscription
func ConvertMobilityProcedureSubscriptionToInlineSubscription ¶
func ConvertMobilityProcedureSubscriptionToInlineSubscription(src *MobilityProcedureSubscription) *InlineSubscription
type Link ¶
type Link struct {
Subscription *LinkType `json:"subscription"`
}
Object containing hyperlinks related to the resource.
type LinkType ¶
type LinkType struct { // The URI referring to the subscription. Href string `json:"href"` }
'This data type represents a type of link'
type MecHostInformation ¶
type MobilityProcedureNotification ¶
type MobilityProcedureNotification struct { // Shall be set to \"MobilityProcedureNotification\". NotificationType string `json:"notificationType"` TimeStamp *TimeStamp `json:"timeStamp,omitempty"` // 1 to N identifiers to associate the information for specific AssociateId []AssociateId `json:"associateId"` MobilityStatus *MobilityStatus `json:"mobilityStatus"` TargetAppInfo *MobilityProcedureNotificationTargetAppInfo `json:"targetAppInfo,omitempty"` Links *Link `json:"_links"` }
type MobilityProcedureNotificationTargetAppInfo ¶
type MobilityProcedureNotificationTargetAppInfo struct { // Identifiers of the target application instance. AppInstanceId string `json:"appInstanceId"` CommInterface *CommunicationInterface `json:"commInterface,omitempty"` }
type MobilityProcedureSubscription ¶
type MobilityProcedureSubscription struct { Links *MobilityProcedureSubscriptionLinks `json:"_links,omitempty"` // URI selected by the service consumer to receive notifications on the subscribed Application Mobility Service. This shall be included both in the request and in response. CallbackReference string `json:"callbackReference,omitempty"` // Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009, as described in clause 6.12a. RequestTestNotification bool `json:"requestTestNotification,omitempty"` WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` FilterCriteria *MobilityProcedureSubscriptionFilterCriteria `json:"filterCriteria"` SubscriptionType *SubscriptionType `json:"subscriptionType"` }
type MobilityProcedureSubscriptionFilterCriteria ¶
type MobilityProcedureSubscriptionFilterCriteria struct { // Identifier of the application instance that registers the Application Mobility Service. AppInstanceId string `json:"appInstanceId,omitempty"` // 0 to N identifiers to associate the information for specific UE(s) and flow(s). AssociateId []AssociateId `json:"associateId,omitempty"` // In case mobilityStatus is not included in the subscription request, the default value 1 = INTER_HOST_MOBILITY_TRIGGERED shall be used and included in the response. MobilityStatus []MobilityStatus `json:"mobilityStatus,omitempty"` }
List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response.
type MobilityProcedureSubscriptionLinks ¶
type MobilityProcedureSubscriptionLinks struct {
Self *LinkType `json:"self"`
}
type MobilityStatus ¶
type MobilityStatus string
MobilityStatus : Indicate the status of the UE mobility
const ( TRIGGERED_MobilityStatus MobilityStatus = "INTERHOST_MOVEOUT_TRIGGERED" COMPLETED_MobilityStatus MobilityStatus = "INTERHOST_MOVEOUT_COMPLETED" FAILED_MobilityStatus MobilityStatus = "INTERHOST_MOVEOUT_FAILED" )
List of MobilityStatus
type OneOfInlineNotification ¶
type OneOfInlineNotification struct { /* Discriminator */ NotificationType string `json:"notificationType"` }
type OneOfInlineSubscription ¶
type OneOfInlineSubscription struct { /* Discriminator */ SubscriptionType string `json:"subscriptionType"` }
type OperationActionType ¶
type OperationActionType string
OperationActionType : Operation that is being performed on the MEC application instance.
const ( STOPPING_OperationActionType OperationActionType = "STOPPING" TERMINATING_OperationActionType OperationActionType = "TERMINATING" )
List of OperationActionType
type ProblemDetails ¶
type ProblemDetails struct { // A human-readable explanation specific to this occurrence of the problem Detail string `json:"detail,omitempty"` // A URI reference that identifies the specific occurrence of the problem Instance string `json:"instance,omitempty"` // The HTTP status code for this occurrence of the problem Status int32 `json:"status,omitempty"` // A short, human-readable summary of the problem type Title string `json:"title,omitempty"` // A URI reference according to IETF RFC 3986 that identifies the problem type Type_ string `json:"type,omitempty"` }
type RegistrationInfo ¶
type RegistrationInfo struct { // The identifier of registered application mobility service. Shall be absent in POST requests, and present otherwise. AppMobilityServiceId string `json:"appMobilityServiceId,omitempty"` // If present, it specifies the device served by the application instance which is registering is registering the Application Mobility Service. DeviceInformation []RegistrationInfoDeviceInformation `json:"deviceInformation,omitempty"` // If present, it indicates the time of Application Mobility Service expiration from the time of registration accepted.The value \"0\" means infinite time, i.e. no expiration.The unit of expiry time is one second. ExpiryTime int32 `json:"expiryTime,omitempty"` ServiceConsumerId *RegistrationInfoServiceConsumerId `json:"serviceConsumerId"` }
type RegistrationInfoDeviceInformation ¶
type RegistrationInfoDeviceInformation struct { AssociateId *AssociateId `json:"associateId"` AppMobilityServiceLevel *AppMobilityServiceLevel `json:"appMobilityServiceLevel,omitempty"` ContextTransferState *ContextTransferState `json:"contextTransferState,omitempty"` }
type RegistrationInfoServiceConsumerId ¶
type RegistrationInfoServiceConsumerId struct { // If present, it represents the identifier of the application instance registering the Application Mobility Service. AppInstanceId string `json:"appInstanceId,omitempty"` // If present, it represents the identifier of the MEC platform registering the Application Mobility Service. MepId string `json:"mepId,omitempty"` }
The identifier of service consumer requesting the application mobility service, i.e. either the application instance ID or the MEC platform ID.
type SubscriptionLinkList ¶
type SubscriptionLinkList struct {
Links *SubscriptionLinkListLinks `json:"_links"`
}
type SubscriptionLinkListLinks ¶
type SubscriptionLinkListLinks struct { Self *LinkType `json:"self"` // The service consumer’s subscriptions. Subscription []SubscriptionLinkListSubscription `json:"subscription,omitempty"` }
List of hyperlinks related to the resource.
type SubscriptionLinkListSubscription ¶
type SubscriptionLinkListSubscription struct { // The URI referring to the subscription. Href string `json:"href"` SubscriptionType *SubscriptionType `json:"subscriptionType"` }
type SubscriptionType ¶
type SubscriptionType string
const ( MOBILITY_PROCEDURE_SUBSCRIPTION_SubscriptionType SubscriptionType = "MobilityProcedureSubscription" ADJACENT_APP_INFO_SUBSCRIPTION_SubscriptionType SubscriptionType = "AdjacentAppInfoSubscription" )
List of SubscriptionType
type TestNotification ¶
type TestNotification struct { // Shall be set to \"TestNotification\". NotificationType string `json:"notificationType"` Links *TestNotificationLinks `json:"_links"` }
type TestNotificationLinks ¶
type TestNotificationLinks struct {
Subscription *LinkType `json:"subscription"`
}
Hyperlink related to the resource.
type TimeStamp ¶
type TimeStamp struct { // 'The seconds part of the Time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC.' Seconds int32 `json:"seconds"` // 'The nanoseconds part of the Time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC.' NanoSeconds int32 `json:"nanoSeconds"` }
'This data type represents the time stamp as Unix-time since January 1, 1970, 00:00:00 UTC'
type UnsupportedApiService ¶
type UnsupportedApiService service
func (*UnsupportedApiService) AdjAppInstGET ¶
func (a *UnsupportedApiService) AdjAppInstGET(ctx context.Context, localVarOptionals *AdjAppInstGETOpts) ([]AdjacentAppInstanceInfo, *http.Response, error)
func (*UnsupportedApiService) AppMobilityServiceDerPOST ¶
func (a *UnsupportedApiService) AppMobilityServiceDerPOST(ctx context.Context, appMobilityServiceId string) (*http.Response, error)
UnsupportedApiService deregister the individual application mobility service
deregister the individual application mobility service * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param appMobilityServiceId It uniquely identifies the created individual application mobility service
func (*UnsupportedApiService) NotificationPOST ¶
func (a *UnsupportedApiService) NotificationPOST(ctx context.Context, body InlineNotification) (*http.Response, error)
UnsupportedApiService delivers a notification from the AMS resource to the subscriber delivers a notification from the AMS resource to the subscriber
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
type WebsockNotifConfig ¶
type WebsockNotifConfig struct { // Set by AMS to indicate to the service consumer the Websocket URI to be used for delivering notifications. WebsocketUri string `json:"websocketUri,omitempty"` // Set to true by the service consumer to indicate that Websocket delivery is requested. RequestWebsocketUri bool `json:"requestWebsocketUri,omitempty"` }
Source Files ¶
- api_amsi.go
- api_unsupported.go
- client.go
- configuration.go
- convert.go
- model_adjacent_app_info_notification.go
- model_adjacent_app_info_notification_adjacent_app_info.go
- model_adjacent_app_info_subscription.go
- model_adjacent_app_info_subscription_filter_criteria.go
- model_adjacent_app_info_subscription_links.go
- model_adjacent_app_instance_info.go
- model_app_mobility_service_level.go
- model_app_termination_notification.go
- model_app_termination_notification__links.go
- model_associate_id.go
- model_associate_id_type.go
- model_communication_interface.go
- model_communication_interface_ip_addresses.go
- model_context_transfer_state.go
- model_expiry_notification.go
- model_inline_notification.go
- model_inline_subscription.go
- model_link.go
- model_link_type.go
- model_mec_host_information.go
- model_mobility_procedure_notification.go
- model_mobility_procedure_notification_target_app_info.go
- model_mobility_procedure_subscription.go
- model_mobility_procedure_subscription_filter_criteria.go
- model_mobility_procedure_subscription_links.go
- model_mobility_status.go
- model_one_of_inline_notification.go
- model_one_of_inline_subscription.go
- model_operation_action_type.go
- model_problem_details.go
- model_registration_info.go
- model_registration_info_device_information.go
- model_registration_info_service_consumer_id.go
- model_subscription_link_list.go
- model_subscription_link_list_links.go
- model_subscription_link_list_subscription.go
- model_subscription_type.go
- model_test_notification.go
- model_test_notification__links.go
- model_time_stamp.go
- model_websock_notif_config.go
- response.go