Documentation
¶
Overview ¶
Package nbi provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.3.0 DO NOT EDIT.
Index ¶
- Constants
- func NewCreateAppInstanceRequest(server string, params *CreateAppInstanceParams, ...) (*http.Request, error)
- func NewCreateAppInstanceRequestWithBody(server string, params *CreateAppInstanceParams, contentType string, ...) (*http.Request, error)
- func NewDeleteAppInstanceRequest(server string, appInstanceId AppInstanceId, params *DeleteAppInstanceParams) (*http.Request, error)
- func NewDeleteAppRequest(server string, appId AppId, params *DeleteAppParams) (*http.Request, error)
- func NewGetAppInstanceRequest(server string, params *GetAppInstanceParams) (*http.Request, error)
- func NewGetAppRequest(server string, appId AppId, params *GetAppParams) (*http.Request, error)
- func NewGetAppsRequest(server string, params *GetAppsParams) (*http.Request, error)
- func NewGetEdgeCloudZonesRequest(server string, params *GetEdgeCloudZonesParams) (*http.Request, error)
- func NewSubmitAppRequest(server string, params *SubmitAppParams, body SubmitAppJSONRequestBody) (*http.Request, error)
- func NewSubmitAppRequestWithBody(server string, params *SubmitAppParams, contentType string, body io.Reader) (*http.Request, error)
- func RegisterHandlers(router EchoRouter, si ServerInterface)
- func RegisterHandlersWithBaseURL(router EchoRouter, si ServerInterface, baseURL string)
- type AccessEndpoint
- func (t AccessEndpoint) AsAccessEndpoint0() (AccessEndpoint0, error)
- func (t AccessEndpoint) AsAccessEndpoint1() (AccessEndpoint1, error)
- func (t AccessEndpoint) AsAccessEndpoint2() (AccessEndpoint2, error)
- func (t *AccessEndpoint) FromAccessEndpoint0(v AccessEndpoint0) error
- func (t *AccessEndpoint) FromAccessEndpoint1(v AccessEndpoint1) error
- func (t *AccessEndpoint) FromAccessEndpoint2(v AccessEndpoint2) error
- func (t AccessEndpoint) MarshalJSON() ([]byte, error)
- func (t *AccessEndpoint) MergeAccessEndpoint0(v AccessEndpoint0) error
- func (t *AccessEndpoint) MergeAccessEndpoint1(v AccessEndpoint1) error
- func (t *AccessEndpoint) MergeAccessEndpoint2(v AccessEndpoint2) error
- func (t *AccessEndpoint) UnmarshalJSON(b []byte) error
- type AccessEndpoint0
- type AccessEndpoint1
- type AccessEndpoint2
- type AdditionalStorage
- type AppId
- type AppInstanceId
- type AppInstanceInfo
- type AppInstanceInfoStatus
- type AppManifest
- type AppManifestAppRepoAuthType
- type AppManifestAppRepoType
- type AppManifestComponentSpecNetworkInterfacesProtocol
- type AppManifestComponentSpecNetworkInterfacesVisibilityType
- type AppManifestPackageType
- type AppZones
- type Client
- func (c *Client) CreateAppInstance(ctx context.Context, params *CreateAppInstanceParams, ...) (*http.Response, error)
- func (c *Client) CreateAppInstanceWithBody(ctx context.Context, params *CreateAppInstanceParams, contentType string, ...) (*http.Response, error)
- func (c *Client) DeleteApp(ctx context.Context, appId AppId, params *DeleteAppParams, ...) (*http.Response, error)
- func (c *Client) DeleteAppInstance(ctx context.Context, appInstanceId AppInstanceId, ...) (*http.Response, error)
- func (c *Client) GetApp(ctx context.Context, appId AppId, params *GetAppParams, ...) (*http.Response, error)
- func (c *Client) GetAppInstance(ctx context.Context, params *GetAppInstanceParams, ...) (*http.Response, error)
- func (c *Client) GetApps(ctx context.Context, params *GetAppsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetEdgeCloudZones(ctx context.Context, params *GetEdgeCloudZonesParams, ...) (*http.Response, error)
- func (c *Client) SubmitApp(ctx context.Context, params *SubmitAppParams, body SubmitAppJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SubmitAppWithBody(ctx context.Context, params *SubmitAppParams, contentType string, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) CreateAppInstanceWithBodyWithResponse(ctx context.Context, params *CreateAppInstanceParams, contentType string, ...) (*CreateAppInstanceResponse, error)
- func (c *ClientWithResponses) CreateAppInstanceWithResponse(ctx context.Context, params *CreateAppInstanceParams, ...) (*CreateAppInstanceResponse, error)
- func (c *ClientWithResponses) DeleteAppInstanceWithResponse(ctx context.Context, appInstanceId AppInstanceId, ...) (*DeleteAppInstanceResponse, error)
- func (c *ClientWithResponses) DeleteAppWithResponse(ctx context.Context, appId AppId, params *DeleteAppParams, ...) (*DeleteAppResponse, error)
- func (c *ClientWithResponses) GetAppInstanceWithResponse(ctx context.Context, params *GetAppInstanceParams, ...) (*GetAppInstanceResponse, error)
- func (c *ClientWithResponses) GetAppWithResponse(ctx context.Context, appId AppId, params *GetAppParams, ...) (*GetAppResponse, error)
- func (c *ClientWithResponses) GetAppsWithResponse(ctx context.Context, params *GetAppsParams, reqEditors ...RequestEditorFn) (*GetAppsResponse, error)
- func (c *ClientWithResponses) GetEdgeCloudZonesWithResponse(ctx context.Context, params *GetEdgeCloudZonesParams, ...) (*GetEdgeCloudZonesResponse, error)
- func (c *ClientWithResponses) SubmitAppWithBodyWithResponse(ctx context.Context, params *SubmitAppParams, contentType string, ...) (*SubmitAppResponse, error)
- func (c *ClientWithResponses) SubmitAppWithResponse(ctx context.Context, params *SubmitAppParams, body SubmitAppJSONRequestBody, ...) (*SubmitAppResponse, error)
- type ClientWithResponsesInterface
- type ContainerResources
- type ContainerResourcesInfraKind
- type CreateAppInstance202JSONResponse
- type CreateAppInstance202ResponseHeaders
- type CreateAppInstance400JSONResponse
- type CreateAppInstance401JSONResponse
- type CreateAppInstance403JSONResponse
- type CreateAppInstance409JSONResponse
- type CreateAppInstance500JSONResponse
- type CreateAppInstance501JSONResponse
- type CreateAppInstance503JSONResponse
- type CreateAppInstanceJSONBody
- type CreateAppInstanceJSONRequestBody
- type CreateAppInstanceParams
- type CreateAppInstanceRequestObject
- type CreateAppInstanceResponse
- type CreateAppInstanceResponseObject
- type DeleteApp202Response
- type DeleteApp202ResponseHeaders
- type DeleteApp204Response
- type DeleteApp400JSONResponse
- type DeleteApp401JSONResponse
- type DeleteApp403JSONResponse
- type DeleteApp404JSONResponse
- type DeleteApp409JSONResponse
- type DeleteApp500JSONResponse
- type DeleteApp503JSONResponse
- type DeleteAppInstance202Response
- type DeleteAppInstance202ResponseHeaders
- type DeleteAppInstance204Response
- type DeleteAppInstance400JSONResponse
- type DeleteAppInstance401JSONResponse
- type DeleteAppInstance403JSONResponse
- type DeleteAppInstance404JSONResponse
- type DeleteAppInstance500JSONResponse
- type DeleteAppInstance503JSONResponse
- type DeleteAppInstanceParams
- type DeleteAppInstanceRequestObject
- type DeleteAppInstanceResponse
- type DeleteAppInstanceResponseObject
- type DeleteAppParams
- type DeleteAppRequestObject
- type DeleteAppResponse
- type DeleteAppResponseObject
- type DockerComposeResources
- type DockerComposeResourcesInfraKind
- type EchoRouter
- type EdgeCloudProvider
- type EdgeCloudRegion
- type EdgeCloudZone
- type EdgeCloudZoneId
- type EdgeCloudZoneName
- type EdgeCloudZoneStatus
- type EdgeCloudZones
- type ErrorInfo
- type Fqdn
- type GetApp200JSONResponse
- type GetApp200ResponseHeaders
- type GetApp401JSONResponse
- type GetApp403JSONResponse
- type GetApp404JSONResponse
- type GetApp500JSONResponse
- type GetApp503JSONResponse
- type GetAppInstance200JSONResponse
- type GetAppInstance200ResponseHeaders
- type GetAppInstance401JSONResponse
- type GetAppInstance403JSONResponse
- type GetAppInstance404JSONResponse
- type GetAppInstance500JSONResponse
- type GetAppInstance503JSONResponse
- type GetAppInstanceParams
- type GetAppInstanceRequestObject
- type GetAppInstanceResponse
- type GetAppInstanceResponseObject
- type GetAppParams
- type GetAppRequestObject
- type GetAppResponse
- type GetAppResponseObject
- type GetApps200JSONResponse
- type GetApps200ResponseHeaders
- type GetApps401JSONResponse
- type GetApps403JSONResponse
- type GetApps404JSONResponse
- type GetApps500JSONResponse
- type GetApps503JSONResponse
- type GetAppsParams
- type GetAppsRequestObject
- type GetAppsResponse
- type GetAppsResponseObject
- type GetEdgeCloudZones200JSONResponse
- type GetEdgeCloudZones200ResponseHeaders
- type GetEdgeCloudZones401JSONResponse
- type GetEdgeCloudZones403JSONResponse
- type GetEdgeCloudZones404JSONResponse
- type GetEdgeCloudZones500JSONResponse
- type GetEdgeCloudZones503JSONResponse
- type GetEdgeCloudZonesParams
- type GetEdgeCloudZonesRequestObject
- type GetEdgeCloudZonesResponse
- type GetEdgeCloudZonesResponseObject
- type GpuInfo
- type HttpRequestDoer
- type Ipv4Addr
- type Ipv6Addr
- type K8sAddons
- type K8sNetworking
- type K8sNetworkingAdditionalNetworksInterfaceType
- type KubernetesClusterRef
- type KubernetesResources
- type KubernetesResourcesInfraKind
- type N400
- type N400JSONResponse
- type N400ResponseHeaders
- type N401
- type N401JSONResponse
- type N401ResponseHeaders
- type N403
- type N403JSONResponse
- type N403ResponseHeaders
- type N404
- type N404JSONResponse
- type N404ResponseHeaders
- type N500
- type N500JSONResponse
- type N500ResponseHeaders
- type N501
- type N501JSONResponse
- type N501ResponseHeaders
- type N503
- type N503JSONResponse
- type N503ResponseHeaders
- type OperatingSystem
- type OperatingSystemArchitecture
- type OperatingSystemFamily
- type OperatingSystemLicense
- type OperatingSystemVersion
- type Port
- type RequestEditorFn
- type RequiredResources
- func (t RequiredResources) AsContainerResources() (ContainerResources, error)
- func (t RequiredResources) AsDockerComposeResources() (DockerComposeResources, error)
- func (t RequiredResources) AsKubernetesResources() (KubernetesResources, error)
- func (t RequiredResources) AsVmResources() (VmResources, error)
- func (t RequiredResources) Discriminator() (string, error)
- func (t *RequiredResources) FromContainerResources(v ContainerResources) error
- func (t *RequiredResources) FromDockerComposeResources(v DockerComposeResources) error
- func (t *RequiredResources) FromKubernetesResources(v KubernetesResources) error
- func (t *RequiredResources) FromVmResources(v VmResources) error
- func (t RequiredResources) MarshalJSON() ([]byte, error)
- func (t *RequiredResources) MergeContainerResources(v ContainerResources) error
- func (t *RequiredResources) MergeDockerComposeResources(v DockerComposeResources) error
- func (t *RequiredResources) MergeKubernetesResources(v KubernetesResources) error
- func (t *RequiredResources) MergeVmResources(v VmResources) error
- func (t *RequiredResources) UnmarshalJSON(b []byte) error
- func (t RequiredResources) ValueByDiscriminator() (interface{}, error)
- type ServerInterface
- type ServerInterfaceWrapper
- func (w *ServerInterfaceWrapper) CreateAppInstance(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DeleteApp(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DeleteAppInstance(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetApp(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetAppInstance(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetApps(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetEdgeCloudZones(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) SubmitApp(ctx echo.Context) error
- type StrictHandlerFunc
- type StrictMiddlewareFunc
- type StrictServerInterface
- type SubmitApp201JSONResponse
- type SubmitApp201ResponseHeaders
- type SubmitApp400JSONResponse
- type SubmitApp401JSONResponse
- type SubmitApp403JSONResponse
- type SubmitApp409JSONResponse
- type SubmitApp500JSONResponse
- type SubmitApp501JSONResponse
- type SubmitApp503JSONResponse
- type SubmitAppJSONRequestBody
- type SubmitAppParams
- type SubmitAppRequestObject
- type SubmitAppResponse
- type SubmitAppResponseObject
- type SubmittedApp
- type Uri
- type Vcpu
- type VmResources
- type VmResourcesInfraKind
- type XCorrelator
Constants ¶
const (
OpenIdScopes = "openId.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func NewCreateAppInstanceRequest ¶
func NewCreateAppInstanceRequest(server string, params *CreateAppInstanceParams, body CreateAppInstanceJSONRequestBody) (*http.Request, error)
NewCreateAppInstanceRequest calls the generic CreateAppInstance builder with application/json body
func NewCreateAppInstanceRequestWithBody ¶
func NewCreateAppInstanceRequestWithBody(server string, params *CreateAppInstanceParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateAppInstanceRequestWithBody generates requests for CreateAppInstance with any type of body
func NewDeleteAppInstanceRequest ¶
func NewDeleteAppInstanceRequest(server string, appInstanceId AppInstanceId, params *DeleteAppInstanceParams) (*http.Request, error)
NewDeleteAppInstanceRequest generates requests for DeleteAppInstance
func NewDeleteAppRequest ¶
func NewDeleteAppRequest(server string, appId AppId, params *DeleteAppParams) (*http.Request, error)
NewDeleteAppRequest generates requests for DeleteApp
func NewGetAppInstanceRequest ¶
func NewGetAppInstanceRequest(server string, params *GetAppInstanceParams) (*http.Request, error)
NewGetAppInstanceRequest generates requests for GetAppInstance
func NewGetAppRequest ¶
NewGetAppRequest generates requests for GetApp
func NewGetAppsRequest ¶
func NewGetAppsRequest(server string, params *GetAppsParams) (*http.Request, error)
NewGetAppsRequest generates requests for GetApps
func NewGetEdgeCloudZonesRequest ¶
func NewGetEdgeCloudZonesRequest(server string, params *GetEdgeCloudZonesParams) (*http.Request, error)
NewGetEdgeCloudZonesRequest generates requests for GetEdgeCloudZones
func NewSubmitAppRequest ¶
func NewSubmitAppRequest(server string, params *SubmitAppParams, body SubmitAppJSONRequestBody) (*http.Request, error)
NewSubmitAppRequest calls the generic SubmitApp builder with application/json body
func NewSubmitAppRequestWithBody ¶
func NewSubmitAppRequestWithBody(server string, params *SubmitAppParams, contentType string, body io.Reader) (*http.Request, error)
NewSubmitAppRequestWithBody generates requests for SubmitApp with any type of body
func RegisterHandlers ¶
func RegisterHandlers(router EchoRouter, si ServerInterface)
RegisterHandlers adds each server route to the EchoRouter.
func RegisterHandlersWithBaseURL ¶
func RegisterHandlersWithBaseURL(router EchoRouter, si ServerInterface, baseURL string)
Registers handlers, and prepends BaseURL to the paths, so that the paths can be served under a prefix.
Types ¶
type AccessEndpoint ¶
type AccessEndpoint struct { // Fqdn Full qualified domain name of an application instance Fqdn *Fqdn `json:"fqdn,omitempty"` // Ipv4Addresses IP version 4 of an application instance Ipv4Addresses *[]Ipv4Addr `json:"ipv4Addresses,omitempty"` // Ipv6Addresses IP version 6 of an application instance. Ipv6Addresses *[]Ipv6Addr `json:"ipv6Addresses,omitempty"` // Port Port to stablish the connection Port Port `json:"port"` // contains filtered or unexported fields }
AccessEndpoint Application Endpoint for an especific instance that is running in an specific Edge Cloud Zone.
func (AccessEndpoint) AsAccessEndpoint0 ¶
func (t AccessEndpoint) AsAccessEndpoint0() (AccessEndpoint0, error)
AsAccessEndpoint0 returns the union data inside the AccessEndpoint as a AccessEndpoint0
func (AccessEndpoint) AsAccessEndpoint1 ¶
func (t AccessEndpoint) AsAccessEndpoint1() (AccessEndpoint1, error)
AsAccessEndpoint1 returns the union data inside the AccessEndpoint as a AccessEndpoint1
func (AccessEndpoint) AsAccessEndpoint2 ¶
func (t AccessEndpoint) AsAccessEndpoint2() (AccessEndpoint2, error)
AsAccessEndpoint2 returns the union data inside the AccessEndpoint as a AccessEndpoint2
func (*AccessEndpoint) FromAccessEndpoint0 ¶
func (t *AccessEndpoint) FromAccessEndpoint0(v AccessEndpoint0) error
FromAccessEndpoint0 overwrites any union data inside the AccessEndpoint as the provided AccessEndpoint0
func (*AccessEndpoint) FromAccessEndpoint1 ¶
func (t *AccessEndpoint) FromAccessEndpoint1(v AccessEndpoint1) error
FromAccessEndpoint1 overwrites any union data inside the AccessEndpoint as the provided AccessEndpoint1
func (*AccessEndpoint) FromAccessEndpoint2 ¶
func (t *AccessEndpoint) FromAccessEndpoint2(v AccessEndpoint2) error
FromAccessEndpoint2 overwrites any union data inside the AccessEndpoint as the provided AccessEndpoint2
func (AccessEndpoint) MarshalJSON ¶
func (t AccessEndpoint) MarshalJSON() ([]byte, error)
func (*AccessEndpoint) MergeAccessEndpoint0 ¶
func (t *AccessEndpoint) MergeAccessEndpoint0(v AccessEndpoint0) error
MergeAccessEndpoint0 performs a merge with any union data inside the AccessEndpoint, using the provided AccessEndpoint0
func (*AccessEndpoint) MergeAccessEndpoint1 ¶
func (t *AccessEndpoint) MergeAccessEndpoint1(v AccessEndpoint1) error
MergeAccessEndpoint1 performs a merge with any union data inside the AccessEndpoint, using the provided AccessEndpoint1
func (*AccessEndpoint) MergeAccessEndpoint2 ¶
func (t *AccessEndpoint) MergeAccessEndpoint2(v AccessEndpoint2) error
MergeAccessEndpoint2 performs a merge with any union data inside the AccessEndpoint, using the provided AccessEndpoint2
func (*AccessEndpoint) UnmarshalJSON ¶
func (t *AccessEndpoint) UnmarshalJSON(b []byte) error
type AdditionalStorage ¶
type AdditionalStorage = []struct { // MountPoint Location of additional storage resource. MountPoint string `json:"mountPoint"` // Name Name of additional storage resource. Name *string `json:"name,omitempty"` // StorageSize Additional persistent volume for the application. StorageSize string `json:"storageSize"` }
AdditionalStorage Additional storage for the application.
type AppId ¶
type AppId = openapi_types.UUID
AppId A globally unique identifier associated with the application. Edge Cloud Platform generates this identifier when the Application is submitted.
type AppInstanceId ¶
type AppInstanceId = openapi_types.UUID
AppInstanceId A globally unique identifier associated with a running instance of an application. Edge Cloud Platform generates this identifier when the instantiation in the Edge Cloud Zone is successful.
type AppInstanceInfo ¶
type AppInstanceInfo struct { // AppInstanceId A globally unique identifier associated with a running // instance of an application. // Edge Cloud Platform generates this identifier when the // instantiation in the Edge Cloud Zone is successful. AppInstanceId *AppInstanceId `json:"appInstanceId,omitempty"` // ComponentEndpointInfo Information about the IP and Port exposed by the // Edge Cloud Platform. // Application Client shall use these access points to reach this // application instance ComponentEndpointInfo *[]struct { // AccessPoints Application Endpoint for an especific instance that is // running in an specific Edge Cloud Zone. AccessPoints AccessEndpoint `json:"accessPoints"` // InterfaceId This is the interface Identifier that Application Provider // defines when application is being submitted. InterfaceId string `json:"interfaceId"` } `json:"componentEndpointInfo,omitempty"` // EdgeCloudZone An Edge Cloud Zone, uniquely identified by a // combination of the value of the Edge Cloud Zone Id object // and the value of the Edge Cloud Provider // object. This value is used to identify an Edge Cloud zone // between Edge Clouds from different Edge Cloud Providers. EdgeCloudZone *EdgeCloudZone `json:"edgeCloudZone,omitempty"` // Status Status of the application instance (default is 'unknown') Status *AppInstanceInfoStatus `json:"status,omitempty"` }
AppInstanceInfo Information about the application instance.
type AppInstanceInfoStatus ¶
type AppInstanceInfoStatus string
AppInstanceInfoStatus Status of the application instance (default is 'unknown')
const ( AppInstanceInfoStatusFailed AppInstanceInfoStatus = "failed" AppInstanceInfoStatusInstantiating AppInstanceInfoStatus = "instantiating" AppInstanceInfoStatusReady AppInstanceInfoStatus = "ready" AppInstanceInfoStatusTerminating AppInstanceInfoStatus = "terminating" AppInstanceInfoStatusUnknown AppInstanceInfoStatus = "unknown" )
Defines values for AppInstanceInfoStatus.
type AppManifest ¶
type AppManifest struct { // AppId A globally unique identifier associated with the application. // Edge Cloud Platform generates this identifier when the // Application is submitted. AppId *AppId `json:"appId,omitempty"` // AppRepo Repository where Application Provider stores the application image AppRepo struct { // AuthType The credentials can also be formatted as a Basic // auth or Bearer auth in HTTP "Authorization" header. AuthType *AppManifestAppRepoAuthType `json:"authType,omitempty"` // Checksum MD5 checksum for VM and file-based images, sha256 // digest for containers Checksum *string `json:"checksum,omitempty"` // Credentials Password or personal access token created by // developer to acces the app repository. API users can generate // a personal access token e.g. docker clients to use them as // password. Credentials *string `json:"credentials,omitempty"` // ImagePath A Uniform Resource Identifier (URI) as per RFC 3986, // identifies the endpoint within an Edge Cloud Zone where the user // equipment may connect to the selected application instance ImagePath Uri `json:"imagePath"` // Type Application repository and image URI information. // PUBLICREPO is used of public urls like github, helm repo etc. // PRIVATEREPO is used for private repo managed by the application // developer. Private repo can be accessed by using the app // developer provided userName and password. Password is // recommended to be the personal access token created by developer // e.g. in Github repo. Type AppManifestAppRepoType `json:"type"` // UserName Username to acces the Helm chart, docker-compose // file or VM image repository UserName *string `json:"userName,omitempty"` } `json:"appRepo"` // ComponentSpec Information defined in "appRepo" point to the application // descriptor e.g. Helm chart, docker-compose yaml file etc. // The descriptor may contain one or more containers and their // associated meta-data. A component refers to additional details // about these containers to expose the instances of the containers // to external client applications. App provider can define one or // more components (via the associated network port) in componentSpec // corresponding to the containers in helm charts or docker-compose // yaml file as part of app descriptors. ComponentSpec []struct { // ComponentName Component name must be unique with an application ComponentName string `json:"componentName"` // NetworkInterfaces Each application component exposes some ports // either for external users or for inter component // communication. // Application provider is required to specify which ports are // to be exposed and the type of traffic that will flow through // these ports.The underlying platform may assign a dynamic port // against the "extPort" that the application clients will use // to connect with edge application instance. NetworkInterfaces []struct { // InterfaceId Each Port and corresponding traffic protocol // exposed by the component is identified by a name. // Application client on user device requires this to // uniquley idenify the interface. InterfaceId string `json:"interfaceId"` // Port Port number exposed by the component. // Edge Cloud Provider may generate a dynamic port // towards the component instance which forwards // external traffic to the component port. Port int32 `json:"port"` // Protocol Defines the IP transport communication // protocol i.e., TCP, UDP or ANY Protocol AppManifestComponentSpecNetworkInterfacesProtocol `json:"protocol"` // VisibilityType Defines whether the interface is exposed // to outer world or not i.e., external, or internal. // If this is set to "external", then it is exposed // to external applications otherwise it is exposed // internally to edge application components within // edge cloud. When exposed to external world, // an external dynamic port is assigned for UC traffic // and mapped to the extPort VisibilityType AppManifestComponentSpecNetworkInterfacesVisibilityType `json:"visibilityType"` } `json:"networkInterfaces"` } `json:"componentSpec"` // Name Name of the application. Name string `json:"name"` // OperatingSystem Information about the Operating System of the application image OperatingSystem *OperatingSystem `json:"operatingSystem,omitempty"` // PackageType Format of the application image package PackageType AppManifestPackageType `json:"packageType"` // RequiredResources Fundamental hardware requirements to be provisioned by the // Application Provider. RequiredResources RequiredResources `json:"requiredResources"` // Version Application version information Version string `json:"version"` }
AppManifest Application information and requirements provided by the Application Provider
type AppManifestAppRepoAuthType ¶
type AppManifestAppRepoAuthType string
AppManifestAppRepoAuthType The credentials can also be formatted as a Basic auth or Bearer auth in HTTP "Authorization" header.
const ( DOCKER AppManifestAppRepoAuthType = "DOCKER" HTTPBASIC AppManifestAppRepoAuthType = "HTTP_BASIC" HTTPBEARER AppManifestAppRepoAuthType = "HTTP_BEARER" NONE AppManifestAppRepoAuthType = "NONE" )
Defines values for AppManifestAppRepoAuthType.
type AppManifestAppRepoType ¶
type AppManifestAppRepoType string
AppManifestAppRepoType Application repository and image URI information. PUBLICREPO is used of public urls like github, helm repo etc. PRIVATEREPO is used for private repo managed by the application developer. Private repo can be accessed by using the app developer provided userName and password. Password is recommended to be the personal access token created by developer e.g. in Github repo.
const ( PRIVATEREPO AppManifestAppRepoType = "PRIVATEREPO" PUBLICREPO AppManifestAppRepoType = "PUBLICREPO" )
Defines values for AppManifestAppRepoType.
type AppManifestComponentSpecNetworkInterfacesProtocol ¶
type AppManifestComponentSpecNetworkInterfacesProtocol string
AppManifestComponentSpecNetworkInterfacesProtocol Defines the IP transport communication protocol i.e., TCP, UDP or ANY
const ( ANY AppManifestComponentSpecNetworkInterfacesProtocol = "ANY" TCP AppManifestComponentSpecNetworkInterfacesProtocol = "TCP" UDP AppManifestComponentSpecNetworkInterfacesProtocol = "UDP" )
Defines values for AppManifestComponentSpecNetworkInterfacesProtocol.
type AppManifestComponentSpecNetworkInterfacesVisibilityType ¶
type AppManifestComponentSpecNetworkInterfacesVisibilityType string
AppManifestComponentSpecNetworkInterfacesVisibilityType Defines whether the interface is exposed to outer world or not i.e., external, or internal. If this is set to "external", then it is exposed to external applications otherwise it is exposed internally to edge application components within edge cloud. When exposed to external world, an external dynamic port is assigned for UC traffic and mapped to the extPort
const ( VISIBILITYEXTERNAL AppManifestComponentSpecNetworkInterfacesVisibilityType = "VISIBILITY_EXTERNAL" VISIBILITYINTERNAL AppManifestComponentSpecNetworkInterfacesVisibilityType = "VISIBILITY_INTERNAL" )
Defines values for AppManifestComponentSpecNetworkInterfacesVisibilityType.
type AppManifestPackageType ¶
type AppManifestPackageType string
AppManifestPackageType Format of the application image package
const ( CONTAINER AppManifestPackageType = "CONTAINER" HELM AppManifestPackageType = "HELM" OVA AppManifestPackageType = "OVA" QCOW2 AppManifestPackageType = "QCOW2" )
Defines values for AppManifestPackageType.
type AppZones ¶
type AppZones = []EdgeCloudZone
AppZones Collection of Edge Cloud Zones where the Application Provider wants to instantiate the application.
type Client ¶
type Client struct { // The endpoint of the server conforming to this interface, with scheme, // https://api.deepmap.com for example. This can contain a path relative // to the server, such as https://api.deepmap.com/dev-test, and all the // paths in the swagger spec will be appended to the server. Server string // Doer for performing requests, typically a *http.Client with any // customized settings, such as certificate chains. Client HttpRequestDoer // A list of callbacks for modifying requests which are generated before sending over // the network. RequestEditors []RequestEditorFn }
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) CreateAppInstance ¶
func (c *Client) CreateAppInstance(ctx context.Context, params *CreateAppInstanceParams, body CreateAppInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateAppInstanceWithBody ¶
func (*Client) DeleteApp ¶
func (c *Client) DeleteApp(ctx context.Context, appId AppId, params *DeleteAppParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteAppInstance ¶
func (c *Client) DeleteAppInstance(ctx context.Context, appInstanceId AppInstanceId, params *DeleteAppInstanceParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetApp ¶
func (c *Client) GetApp(ctx context.Context, appId AppId, params *GetAppParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAppInstance ¶
func (c *Client) GetAppInstance(ctx context.Context, params *GetAppInstanceParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetApps ¶
func (c *Client) GetApps(ctx context.Context, params *GetAppsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetEdgeCloudZones ¶
func (c *Client) GetEdgeCloudZones(ctx context.Context, params *GetEdgeCloudZonesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SubmitApp ¶
func (c *Client) SubmitApp(ctx context.Context, params *SubmitAppParams, body SubmitAppJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SubmitAppWithBody ¶
type ClientInterface ¶
type ClientInterface interface { // GetAppInstance request GetAppInstance(ctx context.Context, params *GetAppInstanceParams, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateAppInstanceWithBody request with any body CreateAppInstanceWithBody(ctx context.Context, params *CreateAppInstanceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateAppInstance(ctx context.Context, params *CreateAppInstanceParams, body CreateAppInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteAppInstance request DeleteAppInstance(ctx context.Context, appInstanceId AppInstanceId, params *DeleteAppInstanceParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetApps request GetApps(ctx context.Context, params *GetAppsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // SubmitAppWithBody request with any body SubmitAppWithBody(ctx context.Context, params *SubmitAppParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) SubmitApp(ctx context.Context, params *SubmitAppParams, body SubmitAppJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteApp request DeleteApp(ctx context.Context, appId AppId, params *DeleteAppParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetApp request GetApp(ctx context.Context, appId AppId, params *GetAppParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetEdgeCloudZones request GetEdgeCloudZones(ctx context.Context, params *GetEdgeCloudZonesParams, reqEditors ...RequestEditorFn) (*http.Response, error) }
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) CreateAppInstanceWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateAppInstanceWithBodyWithResponse(ctx context.Context, params *CreateAppInstanceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAppInstanceResponse, error)
CreateAppInstanceWithBodyWithResponse request with arbitrary body returning *CreateAppInstanceResponse
func (*ClientWithResponses) CreateAppInstanceWithResponse ¶
func (c *ClientWithResponses) CreateAppInstanceWithResponse(ctx context.Context, params *CreateAppInstanceParams, body CreateAppInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAppInstanceResponse, error)
func (*ClientWithResponses) DeleteAppInstanceWithResponse ¶
func (c *ClientWithResponses) DeleteAppInstanceWithResponse(ctx context.Context, appInstanceId AppInstanceId, params *DeleteAppInstanceParams, reqEditors ...RequestEditorFn) (*DeleteAppInstanceResponse, error)
DeleteAppInstanceWithResponse request returning *DeleteAppInstanceResponse
func (*ClientWithResponses) DeleteAppWithResponse ¶
func (c *ClientWithResponses) DeleteAppWithResponse(ctx context.Context, appId AppId, params *DeleteAppParams, reqEditors ...RequestEditorFn) (*DeleteAppResponse, error)
DeleteAppWithResponse request returning *DeleteAppResponse
func (*ClientWithResponses) GetAppInstanceWithResponse ¶
func (c *ClientWithResponses) GetAppInstanceWithResponse(ctx context.Context, params *GetAppInstanceParams, reqEditors ...RequestEditorFn) (*GetAppInstanceResponse, error)
GetAppInstanceWithResponse request returning *GetAppInstanceResponse
func (*ClientWithResponses) GetAppWithResponse ¶
func (c *ClientWithResponses) GetAppWithResponse(ctx context.Context, appId AppId, params *GetAppParams, reqEditors ...RequestEditorFn) (*GetAppResponse, error)
GetAppWithResponse request returning *GetAppResponse
func (*ClientWithResponses) GetAppsWithResponse ¶
func (c *ClientWithResponses) GetAppsWithResponse(ctx context.Context, params *GetAppsParams, reqEditors ...RequestEditorFn) (*GetAppsResponse, error)
GetAppsWithResponse request returning *GetAppsResponse
func (*ClientWithResponses) GetEdgeCloudZonesWithResponse ¶
func (c *ClientWithResponses) GetEdgeCloudZonesWithResponse(ctx context.Context, params *GetEdgeCloudZonesParams, reqEditors ...RequestEditorFn) (*GetEdgeCloudZonesResponse, error)
GetEdgeCloudZonesWithResponse request returning *GetEdgeCloudZonesResponse
func (*ClientWithResponses) SubmitAppWithBodyWithResponse ¶
func (c *ClientWithResponses) SubmitAppWithBodyWithResponse(ctx context.Context, params *SubmitAppParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SubmitAppResponse, error)
SubmitAppWithBodyWithResponse request with arbitrary body returning *SubmitAppResponse
func (*ClientWithResponses) SubmitAppWithResponse ¶
func (c *ClientWithResponses) SubmitAppWithResponse(ctx context.Context, params *SubmitAppParams, body SubmitAppJSONRequestBody, reqEditors ...RequestEditorFn) (*SubmitAppResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // GetAppInstanceWithResponse request GetAppInstanceWithResponse(ctx context.Context, params *GetAppInstanceParams, reqEditors ...RequestEditorFn) (*GetAppInstanceResponse, error) // CreateAppInstanceWithBodyWithResponse request with any body CreateAppInstanceWithBodyWithResponse(ctx context.Context, params *CreateAppInstanceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAppInstanceResponse, error) CreateAppInstanceWithResponse(ctx context.Context, params *CreateAppInstanceParams, body CreateAppInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAppInstanceResponse, error) // DeleteAppInstanceWithResponse request DeleteAppInstanceWithResponse(ctx context.Context, appInstanceId AppInstanceId, params *DeleteAppInstanceParams, reqEditors ...RequestEditorFn) (*DeleteAppInstanceResponse, error) // GetAppsWithResponse request GetAppsWithResponse(ctx context.Context, params *GetAppsParams, reqEditors ...RequestEditorFn) (*GetAppsResponse, error) // SubmitAppWithBodyWithResponse request with any body SubmitAppWithBodyWithResponse(ctx context.Context, params *SubmitAppParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SubmitAppResponse, error) SubmitAppWithResponse(ctx context.Context, params *SubmitAppParams, body SubmitAppJSONRequestBody, reqEditors ...RequestEditorFn) (*SubmitAppResponse, error) // DeleteAppWithResponse request DeleteAppWithResponse(ctx context.Context, appId AppId, params *DeleteAppParams, reqEditors ...RequestEditorFn) (*DeleteAppResponse, error) // GetAppWithResponse request GetAppWithResponse(ctx context.Context, appId AppId, params *GetAppParams, reqEditors ...RequestEditorFn) (*GetAppResponse, error) // GetEdgeCloudZonesWithResponse request GetEdgeCloudZonesWithResponse(ctx context.Context, params *GetEdgeCloudZonesParams, reqEditors ...RequestEditorFn) (*GetEdgeCloudZonesResponse, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type ContainerResources ¶
type ContainerResources struct { // Gpu Information about the supported GPUs Gpu *GpuInfo `json:"gpu,omitempty"` // InfraKind Type of infrastructure for the application. InfraKind ContainerResourcesInfraKind `json:"infraKind"` // Memory Memory in mega bytes Memory int `json:"memory"` // NumCPU Number of vcpus in whole (i.e 1), decimal (i.e 0.500) up to // millivcpu, or millivcpu (i.e 500m) format. NumCPU Vcpu `json:"numCPU"` // Storage Additional storage for the application. Storage *AdditionalStorage `json:"storage,omitempty"` }
ContainerResources Container Infrastructure Definition
type ContainerResourcesInfraKind ¶
type ContainerResourcesInfraKind string
ContainerResourcesInfraKind Type of infrastructure for the application.
const (
Container ContainerResourcesInfraKind = "container"
)
Defines values for ContainerResourcesInfraKind.
type CreateAppInstance202JSONResponse ¶
type CreateAppInstance202JSONResponse struct { Body struct { AppInstaces *[]AppInstanceInfo `json:"appInstaces,omitempty"` } Headers CreateAppInstance202ResponseHeaders }
func (CreateAppInstance202JSONResponse) VisitCreateAppInstanceResponse ¶
func (response CreateAppInstance202JSONResponse) VisitCreateAppInstanceResponse(w http.ResponseWriter) error
type CreateAppInstance202ResponseHeaders ¶
type CreateAppInstance202ResponseHeaders struct { Location string XCorrelator openapi_types.UUID }
type CreateAppInstance400JSONResponse ¶
type CreateAppInstance400JSONResponse struct{ N400JSONResponse }
func (CreateAppInstance400JSONResponse) VisitCreateAppInstanceResponse ¶
func (response CreateAppInstance400JSONResponse) VisitCreateAppInstanceResponse(w http.ResponseWriter) error
type CreateAppInstance401JSONResponse ¶
type CreateAppInstance401JSONResponse struct{ N401JSONResponse }
func (CreateAppInstance401JSONResponse) VisitCreateAppInstanceResponse ¶
func (response CreateAppInstance401JSONResponse) VisitCreateAppInstanceResponse(w http.ResponseWriter) error
type CreateAppInstance403JSONResponse ¶
type CreateAppInstance403JSONResponse struct{ N403JSONResponse }
func (CreateAppInstance403JSONResponse) VisitCreateAppInstanceResponse ¶
func (response CreateAppInstance403JSONResponse) VisitCreateAppInstanceResponse(w http.ResponseWriter) error
type CreateAppInstance409JSONResponse ¶
type CreateAppInstance409JSONResponse ErrorInfo
func (CreateAppInstance409JSONResponse) VisitCreateAppInstanceResponse ¶
func (response CreateAppInstance409JSONResponse) VisitCreateAppInstanceResponse(w http.ResponseWriter) error
type CreateAppInstance500JSONResponse ¶
type CreateAppInstance500JSONResponse struct{ N500JSONResponse }
func (CreateAppInstance500JSONResponse) VisitCreateAppInstanceResponse ¶
func (response CreateAppInstance500JSONResponse) VisitCreateAppInstanceResponse(w http.ResponseWriter) error
type CreateAppInstance501JSONResponse ¶
type CreateAppInstance501JSONResponse struct{ N501JSONResponse }
func (CreateAppInstance501JSONResponse) VisitCreateAppInstanceResponse ¶
func (response CreateAppInstance501JSONResponse) VisitCreateAppInstanceResponse(w http.ResponseWriter) error
type CreateAppInstance503JSONResponse ¶
type CreateAppInstance503JSONResponse struct{ N503JSONResponse }
func (CreateAppInstance503JSONResponse) VisitCreateAppInstanceResponse ¶
func (response CreateAppInstance503JSONResponse) VisitCreateAppInstanceResponse(w http.ResponseWriter) error
type CreateAppInstanceJSONBody ¶
type CreateAppInstanceJSONBody struct { // AppId A globally unique identifier associated with the application. // Edge Cloud Platform generates this identifier when the // Application is submitted. AppId *AppId `json:"appId,omitempty"` // AppZones Collection of Edge Cloud Zones where the Application Provider wants to // instantiate the application. AppZones *AppZones `json:"appZones,omitempty"` }
CreateAppInstanceJSONBody defines parameters for CreateAppInstance.
type CreateAppInstanceJSONRequestBody ¶
type CreateAppInstanceJSONRequestBody CreateAppInstanceJSONBody
CreateAppInstanceJSONRequestBody defines body for CreateAppInstance for application/json ContentType.
type CreateAppInstanceParams ¶
type CreateAppInstanceParams struct { // XCorrelator Correlation id for the different services XCorrelator *XCorrelator `json:"x-correlator,omitempty"` }
CreateAppInstanceParams defines parameters for CreateAppInstance.
type CreateAppInstanceRequestObject ¶
type CreateAppInstanceRequestObject struct { Params CreateAppInstanceParams Body *CreateAppInstanceJSONRequestBody }
type CreateAppInstanceResponse ¶
type CreateAppInstanceResponse struct { Body []byte HTTPResponse *http.Response JSON202 *struct { AppInstaces *[]AppInstanceInfo `json:"appInstaces,omitempty"` } JSON400 *N400 JSON401 *N401 JSON403 *N403 JSON409 *ErrorInfo JSON500 *N500 JSON501 *N501 JSON503 *N503 }
func ParseCreateAppInstanceResponse ¶
func ParseCreateAppInstanceResponse(rsp *http.Response) (*CreateAppInstanceResponse, error)
ParseCreateAppInstanceResponse parses an HTTP response from a CreateAppInstanceWithResponse call
func (CreateAppInstanceResponse) Status ¶
func (r CreateAppInstanceResponse) Status() string
Status returns HTTPResponse.Status
func (CreateAppInstanceResponse) StatusCode ¶
func (r CreateAppInstanceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateAppInstanceResponseObject ¶
type CreateAppInstanceResponseObject interface {
VisitCreateAppInstanceResponse(w http.ResponseWriter) error
}
type DeleteApp202Response ¶
type DeleteApp202Response struct {
Headers DeleteApp202ResponseHeaders
}
func (DeleteApp202Response) VisitDeleteAppResponse ¶
func (response DeleteApp202Response) VisitDeleteAppResponse(w http.ResponseWriter) error
type DeleteApp202ResponseHeaders ¶
type DeleteApp202ResponseHeaders struct {
XCorrelator openapi_types.UUID
}
type DeleteApp204Response ¶
type DeleteApp204Response struct { }
func (DeleteApp204Response) VisitDeleteAppResponse ¶
func (response DeleteApp204Response) VisitDeleteAppResponse(w http.ResponseWriter) error
type DeleteApp400JSONResponse ¶
type DeleteApp400JSONResponse struct{ N400JSONResponse }
func (DeleteApp400JSONResponse) VisitDeleteAppResponse ¶
func (response DeleteApp400JSONResponse) VisitDeleteAppResponse(w http.ResponseWriter) error
type DeleteApp401JSONResponse ¶
type DeleteApp401JSONResponse struct{ N401JSONResponse }
func (DeleteApp401JSONResponse) VisitDeleteAppResponse ¶
func (response DeleteApp401JSONResponse) VisitDeleteAppResponse(w http.ResponseWriter) error
type DeleteApp403JSONResponse ¶
type DeleteApp403JSONResponse struct{ N403JSONResponse }
func (DeleteApp403JSONResponse) VisitDeleteAppResponse ¶
func (response DeleteApp403JSONResponse) VisitDeleteAppResponse(w http.ResponseWriter) error
type DeleteApp404JSONResponse ¶
type DeleteApp404JSONResponse struct{ N404JSONResponse }
func (DeleteApp404JSONResponse) VisitDeleteAppResponse ¶
func (response DeleteApp404JSONResponse) VisitDeleteAppResponse(w http.ResponseWriter) error
type DeleteApp409JSONResponse ¶
type DeleteApp409JSONResponse ErrorInfo
func (DeleteApp409JSONResponse) VisitDeleteAppResponse ¶
func (response DeleteApp409JSONResponse) VisitDeleteAppResponse(w http.ResponseWriter) error
type DeleteApp500JSONResponse ¶
type DeleteApp500JSONResponse struct{ N500JSONResponse }
func (DeleteApp500JSONResponse) VisitDeleteAppResponse ¶
func (response DeleteApp500JSONResponse) VisitDeleteAppResponse(w http.ResponseWriter) error
type DeleteApp503JSONResponse ¶
type DeleteApp503JSONResponse struct{ N503JSONResponse }
func (DeleteApp503JSONResponse) VisitDeleteAppResponse ¶
func (response DeleteApp503JSONResponse) VisitDeleteAppResponse(w http.ResponseWriter) error
type DeleteAppInstance202Response ¶
type DeleteAppInstance202Response struct {
Headers DeleteAppInstance202ResponseHeaders
}
func (DeleteAppInstance202Response) VisitDeleteAppInstanceResponse ¶
func (response DeleteAppInstance202Response) VisitDeleteAppInstanceResponse(w http.ResponseWriter) error
type DeleteAppInstance202ResponseHeaders ¶
type DeleteAppInstance202ResponseHeaders struct {
XCorrelator openapi_types.UUID
}
type DeleteAppInstance204Response ¶
type DeleteAppInstance204Response struct { }
func (DeleteAppInstance204Response) VisitDeleteAppInstanceResponse ¶
func (response DeleteAppInstance204Response) VisitDeleteAppInstanceResponse(w http.ResponseWriter) error
type DeleteAppInstance400JSONResponse ¶
type DeleteAppInstance400JSONResponse struct{ N400JSONResponse }
func (DeleteAppInstance400JSONResponse) VisitDeleteAppInstanceResponse ¶
func (response DeleteAppInstance400JSONResponse) VisitDeleteAppInstanceResponse(w http.ResponseWriter) error
type DeleteAppInstance401JSONResponse ¶
type DeleteAppInstance401JSONResponse struct{ N401JSONResponse }
func (DeleteAppInstance401JSONResponse) VisitDeleteAppInstanceResponse ¶
func (response DeleteAppInstance401JSONResponse) VisitDeleteAppInstanceResponse(w http.ResponseWriter) error
type DeleteAppInstance403JSONResponse ¶
type DeleteAppInstance403JSONResponse struct{ N403JSONResponse }
func (DeleteAppInstance403JSONResponse) VisitDeleteAppInstanceResponse ¶
func (response DeleteAppInstance403JSONResponse) VisitDeleteAppInstanceResponse(w http.ResponseWriter) error
type DeleteAppInstance404JSONResponse ¶
type DeleteAppInstance404JSONResponse struct{ N404JSONResponse }
func (DeleteAppInstance404JSONResponse) VisitDeleteAppInstanceResponse ¶
func (response DeleteAppInstance404JSONResponse) VisitDeleteAppInstanceResponse(w http.ResponseWriter) error
type DeleteAppInstance500JSONResponse ¶
type DeleteAppInstance500JSONResponse struct{ N500JSONResponse }
func (DeleteAppInstance500JSONResponse) VisitDeleteAppInstanceResponse ¶
func (response DeleteAppInstance500JSONResponse) VisitDeleteAppInstanceResponse(w http.ResponseWriter) error
type DeleteAppInstance503JSONResponse ¶
type DeleteAppInstance503JSONResponse struct{ N503JSONResponse }
func (DeleteAppInstance503JSONResponse) VisitDeleteAppInstanceResponse ¶
func (response DeleteAppInstance503JSONResponse) VisitDeleteAppInstanceResponse(w http.ResponseWriter) error
type DeleteAppInstanceParams ¶
type DeleteAppInstanceParams struct { // XCorrelator Correlation id for the different services XCorrelator *XCorrelator `json:"x-correlator,omitempty"` }
DeleteAppInstanceParams defines parameters for DeleteAppInstance.
type DeleteAppInstanceRequestObject ¶
type DeleteAppInstanceRequestObject struct { AppInstanceId AppInstanceId `json:"appInstanceId"` Params DeleteAppInstanceParams }
type DeleteAppInstanceResponse ¶
type DeleteAppInstanceResponse struct { Body []byte HTTPResponse *http.Response JSON400 *N400 JSON401 *N401 JSON403 *N403 JSON404 *N404 JSON500 *N500 JSON503 *N503 }
func ParseDeleteAppInstanceResponse ¶
func ParseDeleteAppInstanceResponse(rsp *http.Response) (*DeleteAppInstanceResponse, error)
ParseDeleteAppInstanceResponse parses an HTTP response from a DeleteAppInstanceWithResponse call
func (DeleteAppInstanceResponse) Status ¶
func (r DeleteAppInstanceResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAppInstanceResponse) StatusCode ¶
func (r DeleteAppInstanceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteAppInstanceResponseObject ¶
type DeleteAppInstanceResponseObject interface {
VisitDeleteAppInstanceResponse(w http.ResponseWriter) error
}
type DeleteAppParams ¶
type DeleteAppParams struct { // XCorrelator Correlation id for the different services XCorrelator *XCorrelator `json:"x-correlator,omitempty"` }
DeleteAppParams defines parameters for DeleteApp.
type DeleteAppRequestObject ¶
type DeleteAppRequestObject struct { AppId AppId `json:"appId"` Params DeleteAppParams }
type DeleteAppResponse ¶
type DeleteAppResponse struct { Body []byte HTTPResponse *http.Response JSON400 *N400 JSON401 *N401 JSON403 *N403 JSON404 *N404 JSON409 *ErrorInfo JSON500 *N500 JSON503 *N503 }
func ParseDeleteAppResponse ¶
func ParseDeleteAppResponse(rsp *http.Response) (*DeleteAppResponse, error)
ParseDeleteAppResponse parses an HTTP response from a DeleteAppWithResponse call
func (DeleteAppResponse) Status ¶
func (r DeleteAppResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAppResponse) StatusCode ¶
func (r DeleteAppResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteAppResponseObject ¶
type DeleteAppResponseObject interface {
VisitDeleteAppResponse(w http.ResponseWriter) error
}
type DockerComposeResources ¶
type DockerComposeResources struct { // Gpu Information about the supported GPUs Gpu *GpuInfo `json:"gpu,omitempty"` // InfraKind Type of infrastructure for the application. InfraKind DockerComposeResourcesInfraKind `json:"infraKind"` // Memory Memory in mega bytes Memory int `json:"memory"` // NumCPU Number of vcpus in whole (i.e 1) NumCPU int `json:"numCPU"` // Storage Additional storage for the application. Storage *AdditionalStorage `json:"storage,omitempty"` }
DockerComposeResources Definition of Docker Compose Infrastructure
type DockerComposeResourcesInfraKind ¶
type DockerComposeResourcesInfraKind string
DockerComposeResourcesInfraKind Type of infrastructure for the application.
const (
DockerCompose DockerComposeResourcesInfraKind = "dockerCompose"
)
Defines values for DockerComposeResourcesInfraKind.
type EchoRouter ¶
type EchoRouter interface { CONNECT(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route DELETE(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route GET(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route HEAD(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route OPTIONS(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route PATCH(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route POST(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route PUT(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route TRACE(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route }
This is a simple interface which specifies echo.Route addition functions which are present on both echo.Echo and echo.Group, since we want to allow using either of them for path registration
type EdgeCloudProvider ¶
type EdgeCloudProvider = string
EdgeCloudProvider Human readable name of the Edge Cloud Provider.
type EdgeCloudRegion ¶
type EdgeCloudRegion = string
EdgeCloudRegion Human readable name of the geographical Edge Cloud Region of the Edge Cloud. Defined by the Edge Cloud Provider.
type EdgeCloudZone ¶
type EdgeCloudZone struct { // EdgeCloudKubernetesClusterRef A global unique identifier associated with a Kubernetes cluster // infrastructure. EdgeCloudKubernetesClusterRef *KubernetesClusterRef `json:"edgeCloudKubernetesClusterRef,omitempty"` // EdgeCloudProvider Human readable name of the Edge Cloud Provider. EdgeCloudProvider EdgeCloudProvider `json:"edgeCloudProvider"` // EdgeCloudRegion Human readable name of the geographical Edge Cloud Region of // the Edge Cloud. Defined by the Edge Cloud Provider. EdgeCloudRegion *EdgeCloudRegion `json:"edgeCloudRegion,omitempty"` // EdgeCloudZoneId Unique identifier created by the Edge Cloud Platform to identify an // Edge Cloud Zone within an Edge Cloud. EdgeCloudZoneId EdgeCloudZoneId `json:"edgeCloudZoneId"` // EdgeCloudZoneName Human readable name of the geographical zone of // the Edge Cloud. Defined by the Edge Cloud Provider. EdgeCloudZoneName EdgeCloudZoneName `json:"edgeCloudZoneName"` // EdgeCloudZoneStatus Status of the Edge Cloud Zone (default is 'unknown') EdgeCloudZoneStatus *EdgeCloudZoneStatus `json:"edgeCloudZoneStatus,omitempty"` }
EdgeCloudZone An Edge Cloud Zone, uniquely identified by a combination of the value of the Edge Cloud Zone Id object and the value of the Edge Cloud Provider object. This value is used to identify an Edge Cloud zone between Edge Clouds from different Edge Cloud Providers.
type EdgeCloudZoneId ¶
type EdgeCloudZoneId = openapi_types.UUID
EdgeCloudZoneId Unique identifier created by the Edge Cloud Platform to identify an Edge Cloud Zone within an Edge Cloud.
type EdgeCloudZoneName ¶
type EdgeCloudZoneName = string
EdgeCloudZoneName Human readable name of the geographical zone of the Edge Cloud. Defined by the Edge Cloud Provider.
type EdgeCloudZoneStatus ¶
type EdgeCloudZoneStatus string
EdgeCloudZoneStatus Status of the Edge Cloud Zone (default is 'unknown')
const ( EdgeCloudZoneStatusActive EdgeCloudZoneStatus = "active" EdgeCloudZoneStatusInactive EdgeCloudZoneStatus = "inactive" EdgeCloudZoneStatusUnknown EdgeCloudZoneStatus = "unknown" )
Defines values for EdgeCloudZoneStatus.
type EdgeCloudZones ¶
type EdgeCloudZones = []EdgeCloudZone
EdgeCloudZones A collection of Edge Cloud Zones where the Application Provider can instantiate an Application Instance.
type ErrorInfo ¶
type ErrorInfo struct { // Code Code given to this error Code string `json:"code"` // Message Detailed error description Message string `json:"message"` // Status HTTP status code returned along with this error response Status int `json:"status"` }
ErrorInfo Information about the error
type GetApp200JSONResponse ¶
type GetApp200JSONResponse struct { Body struct { // AppManifest Application information and requirements provided by the // Application Provider AppManifest *AppManifest `json:"appManifest,omitempty"` } Headers GetApp200ResponseHeaders }
func (GetApp200JSONResponse) VisitGetAppResponse ¶
func (response GetApp200JSONResponse) VisitGetAppResponse(w http.ResponseWriter) error
type GetApp200ResponseHeaders ¶
type GetApp200ResponseHeaders struct {
XCorrelator openapi_types.UUID
}
type GetApp401JSONResponse ¶
type GetApp401JSONResponse struct{ N401JSONResponse }
func (GetApp401JSONResponse) VisitGetAppResponse ¶
func (response GetApp401JSONResponse) VisitGetAppResponse(w http.ResponseWriter) error
type GetApp403JSONResponse ¶
type GetApp403JSONResponse struct{ N403JSONResponse }
func (GetApp403JSONResponse) VisitGetAppResponse ¶
func (response GetApp403JSONResponse) VisitGetAppResponse(w http.ResponseWriter) error
type GetApp404JSONResponse ¶
type GetApp404JSONResponse struct{ N404JSONResponse }
func (GetApp404JSONResponse) VisitGetAppResponse ¶
func (response GetApp404JSONResponse) VisitGetAppResponse(w http.ResponseWriter) error
type GetApp500JSONResponse ¶
type GetApp500JSONResponse struct{ N500JSONResponse }
func (GetApp500JSONResponse) VisitGetAppResponse ¶
func (response GetApp500JSONResponse) VisitGetAppResponse(w http.ResponseWriter) error
type GetApp503JSONResponse ¶
type GetApp503JSONResponse struct{ N503JSONResponse }
func (GetApp503JSONResponse) VisitGetAppResponse ¶
func (response GetApp503JSONResponse) VisitGetAppResponse(w http.ResponseWriter) error
type GetAppInstance200JSONResponse ¶
type GetAppInstance200JSONResponse struct { Body struct { AppInstaceInfo *[]AppInstanceInfo `json:"appInstaceInfo,omitempty"` } Headers GetAppInstance200ResponseHeaders }
func (GetAppInstance200JSONResponse) VisitGetAppInstanceResponse ¶
func (response GetAppInstance200JSONResponse) VisitGetAppInstanceResponse(w http.ResponseWriter) error
type GetAppInstance200ResponseHeaders ¶
type GetAppInstance200ResponseHeaders struct {
XCorrelator openapi_types.UUID
}
type GetAppInstance401JSONResponse ¶
type GetAppInstance401JSONResponse struct{ N401JSONResponse }
func (GetAppInstance401JSONResponse) VisitGetAppInstanceResponse ¶
func (response GetAppInstance401JSONResponse) VisitGetAppInstanceResponse(w http.ResponseWriter) error
type GetAppInstance403JSONResponse ¶
type GetAppInstance403JSONResponse struct{ N403JSONResponse }
func (GetAppInstance403JSONResponse) VisitGetAppInstanceResponse ¶
func (response GetAppInstance403JSONResponse) VisitGetAppInstanceResponse(w http.ResponseWriter) error
type GetAppInstance404JSONResponse ¶
type GetAppInstance404JSONResponse struct{ N404JSONResponse }
func (GetAppInstance404JSONResponse) VisitGetAppInstanceResponse ¶
func (response GetAppInstance404JSONResponse) VisitGetAppInstanceResponse(w http.ResponseWriter) error
type GetAppInstance500JSONResponse ¶
type GetAppInstance500JSONResponse struct{ N500JSONResponse }
func (GetAppInstance500JSONResponse) VisitGetAppInstanceResponse ¶
func (response GetAppInstance500JSONResponse) VisitGetAppInstanceResponse(w http.ResponseWriter) error
type GetAppInstance503JSONResponse ¶
type GetAppInstance503JSONResponse struct{ N503JSONResponse }
func (GetAppInstance503JSONResponse) VisitGetAppInstanceResponse ¶
func (response GetAppInstance503JSONResponse) VisitGetAppInstanceResponse(w http.ResponseWriter) error
type GetAppInstanceParams ¶
type GetAppInstanceParams struct { // AppId A globally unique identifier associated with // the application. // Edge Cloud Provider generates this identifier when the // application is submitted. AppId *AppId `form:"appId,omitempty" json:"appId,omitempty"` // AppInstanceId A globally unique identifier associated with a running // instance of an application within an specific Edge Cloud Zone. // Edge Cloud Provider generates this identifier. AppInstanceId *AppInstanceId `form:"appInstanceId,omitempty" json:"appInstanceId,omitempty"` // Region Human readable name of the geographical Edge Cloud Region of // the Edge Cloud. Defined by the Edge Cloud Provider. Region *EdgeCloudRegion `form:"region,omitempty" json:"region,omitempty"` // XCorrelator Correlation id for the different services XCorrelator *XCorrelator `json:"x-correlator,omitempty"` }
GetAppInstanceParams defines parameters for GetAppInstance.
type GetAppInstanceRequestObject ¶
type GetAppInstanceRequestObject struct {
Params GetAppInstanceParams
}
type GetAppInstanceResponse ¶
type GetAppInstanceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { AppInstaceInfo *[]AppInstanceInfo `json:"appInstaceInfo,omitempty"` } JSON401 *N401 JSON403 *N403 JSON404 *N404 JSON500 *N500 JSON503 *N503 }
func ParseGetAppInstanceResponse ¶
func ParseGetAppInstanceResponse(rsp *http.Response) (*GetAppInstanceResponse, error)
ParseGetAppInstanceResponse parses an HTTP response from a GetAppInstanceWithResponse call
func (GetAppInstanceResponse) Status ¶
func (r GetAppInstanceResponse) Status() string
Status returns HTTPResponse.Status
func (GetAppInstanceResponse) StatusCode ¶
func (r GetAppInstanceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAppInstanceResponseObject ¶
type GetAppInstanceResponseObject interface {
VisitGetAppInstanceResponse(w http.ResponseWriter) error
}
type GetAppParams ¶
type GetAppParams struct { // XCorrelator Correlation id for the different services XCorrelator *XCorrelator `json:"x-correlator,omitempty"` }
GetAppParams defines parameters for GetApp.
type GetAppRequestObject ¶
type GetAppRequestObject struct { AppId AppId `json:"appId"` Params GetAppParams }
type GetAppResponse ¶
type GetAppResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { // AppManifest Application information and requirements provided by the // Application Provider AppManifest *AppManifest `json:"appManifest,omitempty"` } JSON401 *N401 JSON403 *N403 JSON404 *N404 JSON500 *N500 JSON503 *N503 }
func ParseGetAppResponse ¶
func ParseGetAppResponse(rsp *http.Response) (*GetAppResponse, error)
ParseGetAppResponse parses an HTTP response from a GetAppWithResponse call
func (GetAppResponse) Status ¶
func (r GetAppResponse) Status() string
Status returns HTTPResponse.Status
func (GetAppResponse) StatusCode ¶
func (r GetAppResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAppResponseObject ¶
type GetAppResponseObject interface {
VisitGetAppResponse(w http.ResponseWriter) error
}
type GetApps200JSONResponse ¶
type GetApps200JSONResponse struct { Body []AppManifest Headers GetApps200ResponseHeaders }
func (GetApps200JSONResponse) VisitGetAppsResponse ¶
func (response GetApps200JSONResponse) VisitGetAppsResponse(w http.ResponseWriter) error
type GetApps200ResponseHeaders ¶
type GetApps200ResponseHeaders struct {
XCorrelator openapi_types.UUID
}
type GetApps401JSONResponse ¶
type GetApps401JSONResponse struct{ N401JSONResponse }
func (GetApps401JSONResponse) VisitGetAppsResponse ¶
func (response GetApps401JSONResponse) VisitGetAppsResponse(w http.ResponseWriter) error
type GetApps403JSONResponse ¶
type GetApps403JSONResponse struct{ N403JSONResponse }
func (GetApps403JSONResponse) VisitGetAppsResponse ¶
func (response GetApps403JSONResponse) VisitGetAppsResponse(w http.ResponseWriter) error
type GetApps404JSONResponse ¶
type GetApps404JSONResponse struct{ N404JSONResponse }
func (GetApps404JSONResponse) VisitGetAppsResponse ¶
func (response GetApps404JSONResponse) VisitGetAppsResponse(w http.ResponseWriter) error
type GetApps500JSONResponse ¶
type GetApps500JSONResponse struct{ N500JSONResponse }
func (GetApps500JSONResponse) VisitGetAppsResponse ¶
func (response GetApps500JSONResponse) VisitGetAppsResponse(w http.ResponseWriter) error
type GetApps503JSONResponse ¶
type GetApps503JSONResponse struct{ N503JSONResponse }
func (GetApps503JSONResponse) VisitGetAppsResponse ¶
func (response GetApps503JSONResponse) VisitGetAppsResponse(w http.ResponseWriter) error
type GetAppsParams ¶
type GetAppsParams struct { // XCorrelator Correlation id for the different services XCorrelator *XCorrelator `json:"x-correlator,omitempty"` }
GetAppsParams defines parameters for GetApps.
type GetAppsRequestObject ¶
type GetAppsRequestObject struct {
Params GetAppsParams
}
type GetAppsResponse ¶
type GetAppsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]AppManifest JSON401 *N401 JSON403 *N403 JSON404 *N404 JSON500 *N500 JSON503 *N503 }
func ParseGetAppsResponse ¶
func ParseGetAppsResponse(rsp *http.Response) (*GetAppsResponse, error)
ParseGetAppsResponse parses an HTTP response from a GetAppsWithResponse call
func (GetAppsResponse) Status ¶
func (r GetAppsResponse) Status() string
Status returns HTTPResponse.Status
func (GetAppsResponse) StatusCode ¶
func (r GetAppsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAppsResponseObject ¶
type GetAppsResponseObject interface {
VisitGetAppsResponse(w http.ResponseWriter) error
}
type GetEdgeCloudZones200JSONResponse ¶
type GetEdgeCloudZones200JSONResponse struct { Body EdgeCloudZones Headers GetEdgeCloudZones200ResponseHeaders }
func (GetEdgeCloudZones200JSONResponse) VisitGetEdgeCloudZonesResponse ¶
func (response GetEdgeCloudZones200JSONResponse) VisitGetEdgeCloudZonesResponse(w http.ResponseWriter) error
type GetEdgeCloudZones200ResponseHeaders ¶
type GetEdgeCloudZones200ResponseHeaders struct {
XCorrelator openapi_types.UUID
}
type GetEdgeCloudZones401JSONResponse ¶
type GetEdgeCloudZones401JSONResponse struct{ N401JSONResponse }
func (GetEdgeCloudZones401JSONResponse) VisitGetEdgeCloudZonesResponse ¶
func (response GetEdgeCloudZones401JSONResponse) VisitGetEdgeCloudZonesResponse(w http.ResponseWriter) error
type GetEdgeCloudZones403JSONResponse ¶
type GetEdgeCloudZones403JSONResponse struct{ N403JSONResponse }
func (GetEdgeCloudZones403JSONResponse) VisitGetEdgeCloudZonesResponse ¶
func (response GetEdgeCloudZones403JSONResponse) VisitGetEdgeCloudZonesResponse(w http.ResponseWriter) error
type GetEdgeCloudZones404JSONResponse ¶
type GetEdgeCloudZones404JSONResponse struct{ N404JSONResponse }
func (GetEdgeCloudZones404JSONResponse) VisitGetEdgeCloudZonesResponse ¶
func (response GetEdgeCloudZones404JSONResponse) VisitGetEdgeCloudZonesResponse(w http.ResponseWriter) error
type GetEdgeCloudZones500JSONResponse ¶
type GetEdgeCloudZones500JSONResponse struct{ N500JSONResponse }
func (GetEdgeCloudZones500JSONResponse) VisitGetEdgeCloudZonesResponse ¶
func (response GetEdgeCloudZones500JSONResponse) VisitGetEdgeCloudZonesResponse(w http.ResponseWriter) error
type GetEdgeCloudZones503JSONResponse ¶
type GetEdgeCloudZones503JSONResponse struct{ N503JSONResponse }
func (GetEdgeCloudZones503JSONResponse) VisitGetEdgeCloudZonesResponse ¶
func (response GetEdgeCloudZones503JSONResponse) VisitGetEdgeCloudZonesResponse(w http.ResponseWriter) error
type GetEdgeCloudZonesParams ¶
type GetEdgeCloudZonesParams struct { // Region Human readable name of the geographical Edge Cloud Region of // the Edge Cloud. Defined by the Edge Cloud Provider. Region *EdgeCloudRegion `form:"region,omitempty" json:"region,omitempty"` // Status Human readable status of the Edge Cloud Zone Status *EdgeCloudZoneStatus `form:"status,omitempty" json:"status,omitempty"` // XCorrelator Correlation id for the different services XCorrelator *XCorrelator `json:"x-correlator,omitempty"` }
GetEdgeCloudZonesParams defines parameters for GetEdgeCloudZones.
type GetEdgeCloudZonesRequestObject ¶
type GetEdgeCloudZonesRequestObject struct {
Params GetEdgeCloudZonesParams
}
type GetEdgeCloudZonesResponse ¶
type GetEdgeCloudZonesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *EdgeCloudZones JSON401 *N401 JSON403 *N403 JSON404 *N404 JSON500 *N500 JSON503 *N503 }
func ParseGetEdgeCloudZonesResponse ¶
func ParseGetEdgeCloudZonesResponse(rsp *http.Response) (*GetEdgeCloudZonesResponse, error)
ParseGetEdgeCloudZonesResponse parses an HTTP response from a GetEdgeCloudZonesWithResponse call
func (GetEdgeCloudZonesResponse) Status ¶
func (r GetEdgeCloudZonesResponse) Status() string
Status returns HTTPResponse.Status
func (GetEdgeCloudZonesResponse) StatusCode ¶
func (r GetEdgeCloudZonesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEdgeCloudZonesResponseObject ¶
type GetEdgeCloudZonesResponseObject interface {
VisitGetEdgeCloudZonesResponse(w http.ResponseWriter) error
}
type GpuInfo ¶
type GpuInfo struct { // GpuMemory GPU memory in mega bytes GpuMemory int `json:"gpuMemory"` // NumGPU Number of GPUs NumGPU int `json:"numGPU"` }
GpuInfo Information about the supported GPUs
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type Ipv4Addr ¶
type Ipv4Addr = string
Ipv4Addr IP of the device. A single IPv4 address may be specified in dotted-quad form 1.2.3.4. Only this exact IP number will match the flow control rule.
type Ipv6Addr ¶
type Ipv6Addr = string
Ipv6Addr IP of the device. A single IPv6 address, following IETF 5952 format, may be specified like 2001:db8:85a3:8d3:1319:8a2e:370:7344
type K8sAddons ¶
type K8sAddons struct { // Ingress Enable ingress for Kubernetes cluster. Ingress *bool `json:"ingress,omitempty"` // Monitoring Enable monitoring for Kubernetes cluster. Monitoring *bool `json:"monitoring,omitempty"` }
K8sAddons Addons for the Kubernetes cluster. Additional addons should be defined in application the helm chart (Service Mesh, Serverless, AI).
type K8sNetworking ¶
type K8sNetworking struct { // AdditionalNetworks Additional Networks for the Kubernetes cluster. AdditionalNetworks *[]struct { // InterfaceType Type of additional Interface: // netdevice: (SR-IOV) A regular kernel network device in the // Network Namespace (netns) of the container // vfio-pci: (SR-IOV) A PCI network interface directly mounted // in the container // interface: Additional interface to be used by cni plugins // such as macvlan, ipvlan // Note: The use of SR-IOV interfaces automatically // configure the required kernel parameters for the nodes. InterfaceType *K8sNetworkingAdditionalNetworksInterfaceType `json:"interfaceType,omitempty"` // Name Additional Network Name Name *string `json:"name,omitempty"` } `json:"additionalNetworks,omitempty"` // PrimaryNetwork Definition of Kubernetes primary Network PrimaryNetwork *struct { // Provider CNI provider name Provider *string `json:"provider,omitempty"` // Version CNI provider version Version *string `json:"version,omitempty"` } `json:"primaryNetwork,omitempty"` }
K8sNetworking Kubernetes networking definition
type K8sNetworkingAdditionalNetworksInterfaceType ¶
type K8sNetworkingAdditionalNetworksInterfaceType string
K8sNetworkingAdditionalNetworksInterfaceType Type of additional Interface: netdevice: (SR-IOV) A regular kernel network device in the
Network Namespace (netns) of the container
vfio-pci: (SR-IOV) A PCI network interface directly mounted
in the container
interface: Additional interface to be used by cni plugins
such as macvlan, ipvlan
Note: The use of SR-IOV interfaces automatically configure the required kernel parameters for the nodes.
const ( Interface K8sNetworkingAdditionalNetworksInterfaceType = "interface" Netdevice K8sNetworkingAdditionalNetworksInterfaceType = "netdevice" VfioPci K8sNetworkingAdditionalNetworksInterfaceType = "vfio-pci" )
Defines values for K8sNetworkingAdditionalNetworksInterfaceType.
type KubernetesClusterRef ¶
type KubernetesClusterRef = openapi_types.UUID
KubernetesClusterRef A global unique identifier associated with a Kubernetes cluster infrastructure.
type KubernetesResources ¶
type KubernetesResources struct { // AdditionalStorage Amount of persistent storage allocated to the Kubernetes PVC. AdditionalStorage *string `json:"additionalStorage,omitempty"` // Addons Addons for the Kubernetes cluster. // Additional addons should be defined in application the helm chart // (Service Mesh, Serverless, AI). Addons *K8sAddons `json:"addons,omitempty"` // ApplicationResources Application resources define the resources pool required // by the application to be executed in a Kubernetes clusters. ApplicationResources struct { // CpuPool CPU Pool refers to the amount of application' resources // that is executed in nodes with CPU only. That means the part // of application that doesn't require GPU or other kind of // acceleration. // CPU pool is not mandatory when the application is executed // exclusively in a GPU pool. // A CPU pool is composed by CPU and memory. CpuPool *struct { // Memory Total memory in mega bytes of CPU pool. Memory int `json:"memory"` // NumCPU Total number of vcpus in whole (i.e 1) of CPU pool. NumCPU int `json:"numCPU"` // Topology CPU pool topology defines an application's CPU-based // architecture. // When deploying for high availability or redundancy, it // allows for clustering with a configurable number of nodes // and minimum CPU/memory resource per Kubernetes node // requirements. Topology struct { // MinNodeCpu Minimum number of vcpus in whole (i.e 1) per cluster // node in CPU pool. MinNodeCpu int `json:"minNodeCpu"` // MinNodeMemory Minimum memory in mega bytes per cluster node in // CPU pool. MinNodeMemory int `json:"minNodeMemory"` // MinNumberOfNodes Minimum number of worker nodes required by the // application. MinNumberOfNodes int `json:"minNumberOfNodes"` } `json:"topology"` } `json:"cpuPool,omitempty"` // GpuPool GPU Pool refers to the amount of resources of the application // that is executed in nodes with GPU. // GPU Pool is not mandatory when the application is executed // exclusively in a CPU pool. // A GPU pool is composed by memory, CPU and GPU memory GpuPool *struct { // GpuMemory Total GPU memory in giga bytes of GPU pool. GpuMemory int `json:"gpuMemory"` // Memory Total memory in mega bytes of GPU pool. Memory int `json:"memory"` // NumCPU Total Number of vcpus in whole (i.e 1) of GPU pool. NumCPU int `json:"numCPU"` // Topology GPU pool topology defines an application's GPU-based // architecture. // When deploying for high availability or redundancy, it // allows for clustering with a configurable number of nodes // and minimum CPU/memory/GPU memory resource per Kubernetes // node requirements. Topology struct { // MinNodeCpu Minimum number of vcpus in whole (i.e 1) per cluster // node in GPU pool. MinNodeCpu int `json:"minNodeCpu"` // MinNodeGpuMemory Minimum memory in giga bytes per cluster node in GPU pool. MinNodeGpuMemory int `json:"minNodeGpuMemory"` // MinNodeMemory Minimum memory in mega bytes per cluster node in // GPU pool. MinNodeMemory int `json:"minNodeMemory"` // MinNumberOfNodes Minimum number of worker nodes with GPU required by // the application. MinNumberOfNodes int `json:"minNumberOfNodes"` } `json:"topology"` } `json:"gpuPool,omitempty"` } `json:"applicationResources"` // InfraKind Type of infrastructure for the application. InfraKind KubernetesResourcesInfraKind `json:"infraKind"` // IsStandalone Define if the Kubernetes clusters can be reused by other // applications. IsStandalone bool `json:"isStandalone"` // KubernetesClusterRef A global unique identifier associated with a Kubernetes cluster // infrastructure. KubernetesClusterRef *KubernetesClusterRef `json:"kubernetesClusterRef,omitempty"` // Networking Kubernetes networking definition Networking *K8sNetworking `json:"networking,omitempty"` // Version Minimum Kubernetes Version. Version *string `json:"version,omitempty"` }
KubernetesResources Definition of Kubernetes Cluster Infrastructure.
type KubernetesResourcesInfraKind ¶
type KubernetesResourcesInfraKind string
KubernetesResourcesInfraKind Type of infrastructure for the application.
const (
Kubernetes KubernetesResourcesInfraKind = "kubernetes"
)
Defines values for KubernetesResourcesInfraKind.
type N400JSONResponse ¶
type N400JSONResponse struct { Body ErrorInfo Headers N400ResponseHeaders }
type N400ResponseHeaders ¶
type N400ResponseHeaders struct {
XCorrelator openapi_types.UUID
}
type N401JSONResponse ¶
type N401JSONResponse struct { Body ErrorInfo Headers N401ResponseHeaders }
type N401ResponseHeaders ¶
type N401ResponseHeaders struct {
XCorrelator openapi_types.UUID
}
type N403JSONResponse ¶
type N403JSONResponse struct { Body ErrorInfo Headers N403ResponseHeaders }
type N403ResponseHeaders ¶
type N403ResponseHeaders struct {
XCorrelator openapi_types.UUID
}
type N404JSONResponse ¶
type N404JSONResponse struct { Body ErrorInfo Headers N404ResponseHeaders }
type N404ResponseHeaders ¶
type N404ResponseHeaders struct {
XCorrelator openapi_types.UUID
}
type N500JSONResponse ¶
type N500JSONResponse struct { Body ErrorInfo Headers N500ResponseHeaders }
type N500ResponseHeaders ¶
type N500ResponseHeaders struct {
XCorrelator openapi_types.UUID
}
type N501JSONResponse ¶
type N501JSONResponse struct { Body ErrorInfo Headers N501ResponseHeaders }
type N501ResponseHeaders ¶
type N501ResponseHeaders struct {
XCorrelator openapi_types.UUID
}
type N503JSONResponse ¶
type N503JSONResponse struct { Body ErrorInfo Headers N503ResponseHeaders }
type N503ResponseHeaders ¶
type N503ResponseHeaders struct {
XCorrelator openapi_types.UUID
}
type OperatingSystem ¶
type OperatingSystem struct { // Architecture Type of the OS Architecture Architecture OperatingSystemArchitecture `json:"architecture"` // Family Family to which OS belongs Family OperatingSystemFamily `json:"family"` // License License needed to activate the OS License OperatingSystemLicense `json:"license"` // Version Version of the OS Version OperatingSystemVersion `json:"version"` }
OperatingSystem Information about the Operating System of the application image
type OperatingSystemArchitecture ¶
type OperatingSystemArchitecture string
OperatingSystemArchitecture Type of the OS Architecture
const ( X86 OperatingSystemArchitecture = "x86" X8664 OperatingSystemArchitecture = "x86_64" )
Defines values for OperatingSystemArchitecture.
type OperatingSystemFamily ¶
type OperatingSystemFamily string
OperatingSystemFamily Family to which OS belongs
const ( OperatingSystemFamilyCOREOS OperatingSystemFamily = "COREOS" OperatingSystemFamilyOTHER OperatingSystemFamily = "OTHER" OperatingSystemFamilyRHEL OperatingSystemFamily = "RHEL" OperatingSystemFamilyUBUNTU OperatingSystemFamily = "UBUNTU" OperatingSystemFamilyWINDOWS OperatingSystemFamily = "WINDOWS" )
Defines values for OperatingSystemFamily.
type OperatingSystemLicense ¶
type OperatingSystemLicense string
OperatingSystemLicense License needed to activate the OS
const ( OperatingSystemLicenseOSLICENSETYPEFREE OperatingSystemLicense = "OS_LICENSE_TYPE_FREE" OperatingSystemLicenseOSLICENSETYPEONDEMAND OperatingSystemLicense = "OS_LICENSE_TYPE_ON_DEMAND" OperatingSystemLicenseOTHER OperatingSystemLicense = "OTHER" )
Defines values for OperatingSystemLicense.
type OperatingSystemVersion ¶
type OperatingSystemVersion string
OperatingSystemVersion Version of the OS
const ( OSMSWINDOWS2022 OperatingSystemVersion = "OS_MS_WINDOWS_2022" OSVERSIONRHEL8 OperatingSystemVersion = "OS_VERSION_RHEL_8" OSVERSIONUBUNTU2204LTS OperatingSystemVersion = "OS_VERSION_UBUNTU_2204_LTS" OTHER OperatingSystemVersion = "OTHER" )
Defines values for OperatingSystemVersion.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type RequiredResources ¶
type RequiredResources struct {
// contains filtered or unexported fields
}
RequiredResources Fundamental hardware requirements to be provisioned by the Application Provider.
func (RequiredResources) AsContainerResources ¶
func (t RequiredResources) AsContainerResources() (ContainerResources, error)
AsContainerResources returns the union data inside the RequiredResources as a ContainerResources
func (RequiredResources) AsDockerComposeResources ¶
func (t RequiredResources) AsDockerComposeResources() (DockerComposeResources, error)
AsDockerComposeResources returns the union data inside the RequiredResources as a DockerComposeResources
func (RequiredResources) AsKubernetesResources ¶
func (t RequiredResources) AsKubernetesResources() (KubernetesResources, error)
AsKubernetesResources returns the union data inside the RequiredResources as a KubernetesResources
func (RequiredResources) AsVmResources ¶
func (t RequiredResources) AsVmResources() (VmResources, error)
AsVmResources returns the union data inside the RequiredResources as a VmResources
func (RequiredResources) Discriminator ¶
func (t RequiredResources) Discriminator() (string, error)
func (*RequiredResources) FromContainerResources ¶
func (t *RequiredResources) FromContainerResources(v ContainerResources) error
FromContainerResources overwrites any union data inside the RequiredResources as the provided ContainerResources
func (*RequiredResources) FromDockerComposeResources ¶
func (t *RequiredResources) FromDockerComposeResources(v DockerComposeResources) error
FromDockerComposeResources overwrites any union data inside the RequiredResources as the provided DockerComposeResources
func (*RequiredResources) FromKubernetesResources ¶
func (t *RequiredResources) FromKubernetesResources(v KubernetesResources) error
FromKubernetesResources overwrites any union data inside the RequiredResources as the provided KubernetesResources
func (*RequiredResources) FromVmResources ¶
func (t *RequiredResources) FromVmResources(v VmResources) error
FromVmResources overwrites any union data inside the RequiredResources as the provided VmResources
func (RequiredResources) MarshalJSON ¶
func (t RequiredResources) MarshalJSON() ([]byte, error)
func (*RequiredResources) MergeContainerResources ¶
func (t *RequiredResources) MergeContainerResources(v ContainerResources) error
MergeContainerResources performs a merge with any union data inside the RequiredResources, using the provided ContainerResources
func (*RequiredResources) MergeDockerComposeResources ¶
func (t *RequiredResources) MergeDockerComposeResources(v DockerComposeResources) error
MergeDockerComposeResources performs a merge with any union data inside the RequiredResources, using the provided DockerComposeResources
func (*RequiredResources) MergeKubernetesResources ¶
func (t *RequiredResources) MergeKubernetesResources(v KubernetesResources) error
MergeKubernetesResources performs a merge with any union data inside the RequiredResources, using the provided KubernetesResources
func (*RequiredResources) MergeVmResources ¶
func (t *RequiredResources) MergeVmResources(v VmResources) error
MergeVmResources performs a merge with any union data inside the RequiredResources, using the provided VmResources
func (*RequiredResources) UnmarshalJSON ¶
func (t *RequiredResources) UnmarshalJSON(b []byte) error
func (RequiredResources) ValueByDiscriminator ¶
func (t RequiredResources) ValueByDiscriminator() (interface{}, error)
type ServerInterface ¶
type ServerInterface interface { // Retrieve the information of Application Instances for a given App // (GET /appinstances) GetAppInstance(ctx echo.Context, params GetAppInstanceParams) error // Instantiation of an Application // (POST /appinstances) CreateAppInstance(ctx echo.Context, params CreateAppInstanceParams) error // Terminate an Application Instance // (DELETE /appinstances/{appInstanceId}) DeleteAppInstance(ctx echo.Context, appInstanceId AppInstanceId, params DeleteAppInstanceParams) error // Retrieve a list of existing Applications // (GET /apps) GetApps(ctx echo.Context, params GetAppsParams) error // Submit application metadata to the Edge Cloud Provider. // (POST /apps) SubmitApp(ctx echo.Context, params SubmitAppParams) error // Delete an Application from an Edge Cloud Provider // (DELETE /apps/{appId}) DeleteApp(ctx echo.Context, appId AppId, params DeleteAppParams) error // Retrieve the information of an Application // (GET /apps/{appId}) GetApp(ctx echo.Context, appId AppId, params GetAppParams) error // Retrieve a list of the operators Edge Cloud Zones and their status // (GET /edge-cloud-zones) GetEdgeCloudZones(ctx echo.Context, params GetEdgeCloudZonesParams) error }
ServerInterface represents all server handlers.
func NewStrictHandler ¶
func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface
type ServerInterfaceWrapper ¶
type ServerInterfaceWrapper struct {
Handler ServerInterface
}
ServerInterfaceWrapper converts echo contexts to parameters.
func (*ServerInterfaceWrapper) CreateAppInstance ¶
func (w *ServerInterfaceWrapper) CreateAppInstance(ctx echo.Context) error
CreateAppInstance converts echo context to params.
func (*ServerInterfaceWrapper) DeleteApp ¶
func (w *ServerInterfaceWrapper) DeleteApp(ctx echo.Context) error
DeleteApp converts echo context to params.
func (*ServerInterfaceWrapper) DeleteAppInstance ¶
func (w *ServerInterfaceWrapper) DeleteAppInstance(ctx echo.Context) error
DeleteAppInstance converts echo context to params.
func (*ServerInterfaceWrapper) GetApp ¶
func (w *ServerInterfaceWrapper) GetApp(ctx echo.Context) error
GetApp converts echo context to params.
func (*ServerInterfaceWrapper) GetAppInstance ¶
func (w *ServerInterfaceWrapper) GetAppInstance(ctx echo.Context) error
GetAppInstance converts echo context to params.
func (*ServerInterfaceWrapper) GetApps ¶
func (w *ServerInterfaceWrapper) GetApps(ctx echo.Context) error
GetApps converts echo context to params.
func (*ServerInterfaceWrapper) GetEdgeCloudZones ¶
func (w *ServerInterfaceWrapper) GetEdgeCloudZones(ctx echo.Context) error
GetEdgeCloudZones converts echo context to params.
func (*ServerInterfaceWrapper) SubmitApp ¶
func (w *ServerInterfaceWrapper) SubmitApp(ctx echo.Context) error
SubmitApp converts echo context to params.
type StrictHandlerFunc ¶
type StrictHandlerFunc = strictecho.StrictEchoHandlerFunc
type StrictMiddlewareFunc ¶
type StrictMiddlewareFunc = strictecho.StrictEchoMiddlewareFunc
type StrictServerInterface ¶
type StrictServerInterface interface { // Retrieve the information of Application Instances for a given App // (GET /appinstances) GetAppInstance(ctx context.Context, request GetAppInstanceRequestObject) (GetAppInstanceResponseObject, error) // Instantiation of an Application // (POST /appinstances) CreateAppInstance(ctx context.Context, request CreateAppInstanceRequestObject) (CreateAppInstanceResponseObject, error) // Terminate an Application Instance // (DELETE /appinstances/{appInstanceId}) DeleteAppInstance(ctx context.Context, request DeleteAppInstanceRequestObject) (DeleteAppInstanceResponseObject, error) // Retrieve a list of existing Applications // (GET /apps) GetApps(ctx context.Context, request GetAppsRequestObject) (GetAppsResponseObject, error) // Submit application metadata to the Edge Cloud Provider. // (POST /apps) SubmitApp(ctx context.Context, request SubmitAppRequestObject) (SubmitAppResponseObject, error) // Delete an Application from an Edge Cloud Provider // (DELETE /apps/{appId}) DeleteApp(ctx context.Context, request DeleteAppRequestObject) (DeleteAppResponseObject, error) // Retrieve the information of an Application // (GET /apps/{appId}) GetApp(ctx context.Context, request GetAppRequestObject) (GetAppResponseObject, error) // Retrieve a list of the operators Edge Cloud Zones and their status // (GET /edge-cloud-zones) GetEdgeCloudZones(ctx context.Context, request GetEdgeCloudZonesRequestObject) (GetEdgeCloudZonesResponseObject, error) }
StrictServerInterface represents all server handlers.
type SubmitApp201JSONResponse ¶
type SubmitApp201JSONResponse struct { Body SubmittedApp Headers SubmitApp201ResponseHeaders }
func (SubmitApp201JSONResponse) VisitSubmitAppResponse ¶
func (response SubmitApp201JSONResponse) VisitSubmitAppResponse(w http.ResponseWriter) error
type SubmitApp201ResponseHeaders ¶
type SubmitApp201ResponseHeaders struct {
XCorrelator openapi_types.UUID
}
type SubmitApp400JSONResponse ¶
type SubmitApp400JSONResponse struct{ N400JSONResponse }
func (SubmitApp400JSONResponse) VisitSubmitAppResponse ¶
func (response SubmitApp400JSONResponse) VisitSubmitAppResponse(w http.ResponseWriter) error
type SubmitApp401JSONResponse ¶
type SubmitApp401JSONResponse struct{ N401JSONResponse }
func (SubmitApp401JSONResponse) VisitSubmitAppResponse ¶
func (response SubmitApp401JSONResponse) VisitSubmitAppResponse(w http.ResponseWriter) error
type SubmitApp403JSONResponse ¶
type SubmitApp403JSONResponse struct{ N403JSONResponse }
func (SubmitApp403JSONResponse) VisitSubmitAppResponse ¶
func (response SubmitApp403JSONResponse) VisitSubmitAppResponse(w http.ResponseWriter) error
type SubmitApp409JSONResponse ¶
type SubmitApp409JSONResponse ErrorInfo
func (SubmitApp409JSONResponse) VisitSubmitAppResponse ¶
func (response SubmitApp409JSONResponse) VisitSubmitAppResponse(w http.ResponseWriter) error
type SubmitApp500JSONResponse ¶
type SubmitApp500JSONResponse struct{ N500JSONResponse }
func (SubmitApp500JSONResponse) VisitSubmitAppResponse ¶
func (response SubmitApp500JSONResponse) VisitSubmitAppResponse(w http.ResponseWriter) error
type SubmitApp501JSONResponse ¶
type SubmitApp501JSONResponse struct{ N501JSONResponse }
func (SubmitApp501JSONResponse) VisitSubmitAppResponse ¶
func (response SubmitApp501JSONResponse) VisitSubmitAppResponse(w http.ResponseWriter) error
type SubmitApp503JSONResponse ¶
type SubmitApp503JSONResponse struct{ N503JSONResponse }
func (SubmitApp503JSONResponse) VisitSubmitAppResponse ¶
func (response SubmitApp503JSONResponse) VisitSubmitAppResponse(w http.ResponseWriter) error
type SubmitAppJSONRequestBody ¶
type SubmitAppJSONRequestBody = AppManifest
SubmitAppJSONRequestBody defines body for SubmitApp for application/json ContentType.
type SubmitAppParams ¶
type SubmitAppParams struct { // XCorrelator Correlation id for the different services XCorrelator *XCorrelator `json:"x-correlator,omitempty"` }
SubmitAppParams defines parameters for SubmitApp.
type SubmitAppRequestObject ¶
type SubmitAppRequestObject struct { Params SubmitAppParams Body *SubmitAppJSONRequestBody }
type SubmitAppResponse ¶
type SubmitAppResponse struct { Body []byte HTTPResponse *http.Response JSON201 *SubmittedApp JSON400 *N400 JSON401 *N401 JSON403 *N403 JSON409 *ErrorInfo JSON500 *N500 JSON501 *N501 JSON503 *N503 }
func ParseSubmitAppResponse ¶
func ParseSubmitAppResponse(rsp *http.Response) (*SubmitAppResponse, error)
ParseSubmitAppResponse parses an HTTP response from a SubmitAppWithResponse call
func (SubmitAppResponse) Status ¶
func (r SubmitAppResponse) Status() string
Status returns HTTPResponse.Status
func (SubmitAppResponse) StatusCode ¶
func (r SubmitAppResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SubmitAppResponseObject ¶
type SubmitAppResponseObject interface {
VisitSubmitAppResponse(w http.ResponseWriter) error
}
type SubmittedApp ¶
type SubmittedApp struct { // AppId A globally unique identifier associated with the application. // Edge Cloud Platform generates this identifier when the // Application is submitted. AppId *AppId `json:"appId,omitempty"` }
SubmittedApp Information about the submitted app
type Uri ¶
type Uri = string
Uri A Uniform Resource Identifier (URI) as per RFC 3986, identifies the endpoint within an Edge Cloud Zone where the user equipment may connect to the selected application instance
type Vcpu ¶
type Vcpu = string
Vcpu Number of vcpus in whole (i.e 1), decimal (i.e 0.500) up to millivcpu, or millivcpu (i.e 500m) format.
type VmResources ¶
type VmResources struct { // AdditionalStorages Additional storage for the application. AdditionalStorages *AdditionalStorage `json:"additionalStorages,omitempty"` // Gpu Information about the supported GPUs Gpu *GpuInfo `json:"gpu,omitempty"` // InfraKind Type of infrastructure for the application. InfraKind VmResourcesInfraKind `json:"infraKind"` // Memory Memory in mega bytes Memory int `json:"memory"` // NumCPU Number of vcpus in whole (i.e 1) NumCPU int `json:"numCPU"` }
VmResources Definition of Virtual Machine Infrastructure
type VmResourcesInfraKind ¶
type VmResourcesInfraKind string
VmResourcesInfraKind Type of infrastructure for the application.
const (
VirtualMachine VmResourcesInfraKind = "virtualMachine"
)
Defines values for VmResourcesInfraKind.