Documentation ¶
Index ¶
- type ResourceServer
- func (r *ResourceServer) CreateSubscription(ctx context.Context, request api.CreateSubscriptionRequestObject) (api.CreateSubscriptionResponseObject, error)
- func (r *ResourceServer) DeleteSubscription(ctx context.Context, request api.DeleteSubscriptionRequestObject) (api.DeleteSubscriptionResponseObject, error)
- func (r *ResourceServer) GetAllVersions(ctx context.Context, request api.GetAllVersionsRequestObject) (api.GetAllVersionsResponseObject, error)
- func (r *ResourceServer) GetCloudInfo(ctx context.Context, request api.GetCloudInfoRequestObject) (api.GetCloudInfoResponseObject, error)
- func (r *ResourceServer) GetDeploymentManager(ctx context.Context, request api.GetDeploymentManagerRequestObject) (api.GetDeploymentManagerResponseObject, error)
- func (r *ResourceServer) GetDeploymentManagers(ctx context.Context, request api.GetDeploymentManagersRequestObject) (api.GetDeploymentManagersResponseObject, error)
- func (r *ResourceServer) GetMinorVersions(ctx context.Context, request api.GetMinorVersionsRequestObject) (api.GetMinorVersionsResponseObject, error)
- func (r *ResourceServer) GetResource(ctx context.Context, request api.GetResourceRequestObject) (api.GetResourceResponseObject, error)
- func (r *ResourceServer) GetResourcePool(ctx context.Context, request api.GetResourcePoolRequestObject) (api.GetResourcePoolResponseObject, error)
- func (r *ResourceServer) GetResourcePools(ctx context.Context, request api.GetResourcePoolsRequestObject) (api.GetResourcePoolsResponseObject, error)
- func (r *ResourceServer) GetResourceType(ctx context.Context, request api.GetResourceTypeRequestObject) (api.GetResourceTypeResponseObject, error)
- func (r *ResourceServer) GetResourceTypes(ctx context.Context, request api.GetResourceTypesRequestObject) (api.GetResourceTypesResponseObject, error)
- func (r *ResourceServer) GetResources(ctx context.Context, request api.GetResourcesRequestObject) (api.GetResourcesResponseObject, error)
- func (r *ResourceServer) GetSubscription(ctx context.Context, request api.GetSubscriptionRequestObject) (api.GetSubscriptionResponseObject, error)
- func (r *ResourceServer) GetSubscriptions(ctx context.Context, request api.GetSubscriptionsRequestObject) (api.GetSubscriptionsResponseObject, error)
- type ResourceServerConfig
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 ¶
func (r *ResourceServer) CreateSubscription(ctx context.Context, request api.CreateSubscriptionRequestObject) (api.CreateSubscriptionResponseObject, error)
CreateSubscription receives the API request to this endpoint, executes the request, and responds appropriately
func (*ResourceServer) DeleteSubscription ¶
func (r *ResourceServer) DeleteSubscription(ctx context.Context, request api.DeleteSubscriptionRequestObject) (api.DeleteSubscriptionResponseObject, error)
DeleteSubscription receives the API request to this endpoint, executes the request, and responds appropriately
func (*ResourceServer) GetAllVersions ¶
func (r *ResourceServer) GetAllVersions(ctx context.Context, request api.GetAllVersionsRequestObject) (api.GetAllVersionsResponseObject, error)
GetAllVersions receives the API request to this endpoint, executes the request, and responds appropriately
func (*ResourceServer) GetCloudInfo ¶
func (r *ResourceServer) GetCloudInfo(ctx context.Context, request api.GetCloudInfoRequestObject) (api.GetCloudInfoResponseObject, error)
GetCloudInfo receives the API request to this endpoint, executes the request, and responds appropriately
func (*ResourceServer) GetDeploymentManager ¶
func (r *ResourceServer) GetDeploymentManager(ctx context.Context, request api.GetDeploymentManagerRequestObject) (api.GetDeploymentManagerResponseObject, error)
GetDeploymentManager receives the API request to this endpoint, executes the request, and responds appropriately
func (*ResourceServer) GetDeploymentManagers ¶
func (r *ResourceServer) GetDeploymentManagers(ctx context.Context, request api.GetDeploymentManagersRequestObject) (api.GetDeploymentManagersResponseObject, error)
GetDeploymentManagers receives the API request to this endpoint, executes the request, and responds appropriately
func (*ResourceServer) GetMinorVersions ¶
func (r *ResourceServer) GetMinorVersions(ctx context.Context, request api.GetMinorVersionsRequestObject) (api.GetMinorVersionsResponseObject, error)
GetMinorVersions receives the API request to this endpoint, executes the request, and responds appropriately
func (*ResourceServer) GetResource ¶
func (r *ResourceServer) GetResource(ctx context.Context, request api.GetResourceRequestObject) (api.GetResourceResponseObject, error)
GetResource receives the API request to this endpoint, executes the request, and responds appropriately
func (*ResourceServer) GetResourcePool ¶
func (r *ResourceServer) GetResourcePool(ctx context.Context, request api.GetResourcePoolRequestObject) (api.GetResourcePoolResponseObject, error)
GetResourcePool receives the API request to this endpoint, executes the request, and responds appropriately
func (*ResourceServer) GetResourcePools ¶
func (r *ResourceServer) GetResourcePools(ctx context.Context, request api.GetResourcePoolsRequestObject) (api.GetResourcePoolsResponseObject, error)
GetResourcePools receives the API request to this endpoint, executes the request, and responds appropriately
func (*ResourceServer) GetResourceType ¶
func (r *ResourceServer) GetResourceType(ctx context.Context, request api.GetResourceTypeRequestObject) (api.GetResourceTypeResponseObject, error)
GetResourceType receives the API request to this endpoint, executes the request, and responds appropriately
func (*ResourceServer) GetResourceTypes ¶
func (r *ResourceServer) GetResourceTypes(ctx context.Context, request api.GetResourceTypesRequestObject) (api.GetResourceTypesResponseObject, error)
GetResourceTypes receives the API request to this endpoint, executes the request, and responds appropriately
func (*ResourceServer) GetResources ¶
func (r *ResourceServer) GetResources(ctx context.Context, request api.GetResourcesRequestObject) (api.GetResourcesResponseObject, error)
GetResources receives the API request to this endpoint, executes the request, and responds appropriately
func (*ResourceServer) GetSubscription ¶
func (r *ResourceServer) GetSubscription(ctx context.Context, request api.GetSubscriptionRequestObject) (api.GetSubscriptionResponseObject, error)
GetSubscription receives the API request to this endpoint, executes the request, and responds appropriately
func (*ResourceServer) GetSubscriptions ¶
func (r *ResourceServer) GetSubscriptions(ctx context.Context, request api.GetSubscriptionsRequestObject) (api.GetSubscriptionsResponseObject, error)
GetSubscriptions receives the API request to this endpoint, executes the request, and responds appropriately