api

package
v0.0.0-...-1acfe41 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResourceServer

type ResourceServer struct {
	Config                   *ResourceServerConfig
	Info                     api.OCloudInfo
	Repo                     *repo.ResourcesRepository
	SubscriptionEventHandler notifier.SubscriptionEventHandler
}

ResourceServer defines the instance attributes for an instance of a resource server

func (*ResourceServer) CreateSubscription

CreateSubscription receives the API request to this endpoint, executes the request, and responds appropriately

func (*ResourceServer) DeleteSubscription

DeleteSubscription receives the API request to this endpoint, executes the request, and responds appropriately

func (*ResourceServer) GetAllVersions

GetAllVersions receives the API request to this endpoint, executes the request, and responds appropriately

func (*ResourceServer) GetCloudInfo

GetCloudInfo receives the API request to this endpoint, executes the request, and responds appropriately

func (*ResourceServer) GetDeploymentManager

GetDeploymentManager receives the API request to this endpoint, executes the request, and responds appropriately

func (*ResourceServer) GetDeploymentManagers

GetDeploymentManagers receives the API request to this endpoint, executes the request, and responds appropriately

func (*ResourceServer) GetMinorVersions

GetMinorVersions receives the API request to this endpoint, executes the request, and responds appropriately

func (*ResourceServer) GetResource

GetResource receives the API request to this endpoint, executes the request, and responds appropriately

func (*ResourceServer) GetResourcePool

GetResourcePool receives the API request to this endpoint, executes the request, and responds appropriately

func (*ResourceServer) GetResourcePools

GetResourcePools receives the API request to this endpoint, executes the request, and responds appropriately

func (*ResourceServer) GetResourceType

GetResourceType receives the API request to this endpoint, executes the request, and responds appropriately

func (*ResourceServer) GetResourceTypes

GetResourceTypes receives the API request to this endpoint, executes the request, and responds appropriately

func (*ResourceServer) GetResources

GetResources receives the API request to this endpoint, executes the request, and responds appropriately

func (*ResourceServer) GetSubscription

GetSubscription receives the API request to this endpoint, executes the request, and responds appropriately

func (*ResourceServer) GetSubscriptions

GetSubscriptions receives the API request to this endpoint, executes the request, and responds appropriately

type ResourceServerConfig

type ResourceServerConfig struct {
	Address         string
	CloudID         string
	GlobalCloudID   string
	BackendURL      string
	Extensions      []string
	ExternalAddress string
}

ResourceServerConfig defines the configuration attributes for the resource server

Directories

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

Jump to

Keyboard shortcuts

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