Documentation
¶
Index ¶
- type ClusterServer
- func (r *ClusterServer) CreateSubscription(ctx context.Context, request api.CreateSubscriptionRequestObject) (api.CreateSubscriptionResponseObject, error)
- func (r *ClusterServer) DeleteSubscription(ctx context.Context, request api.DeleteSubscriptionRequestObject) (api.DeleteSubscriptionResponseObject, error)
- func (r *ClusterServer) GetAlarmDictionaries(ctx context.Context, request api.GetAlarmDictionariesRequestObject) (api.GetAlarmDictionariesResponseObject, error)
- func (r *ClusterServer) GetAlarmDictionary(ctx context.Context, request api.GetAlarmDictionaryRequestObject) (api.GetAlarmDictionaryResponseObject, error)
- func (r *ClusterServer) GetAllVersions(ctx context.Context, request api.GetAllVersionsRequestObject) (api.GetAllVersionsResponseObject, error)
- func (r *ClusterServer) GetClusterResource(ctx context.Context, request api.GetClusterResourceRequestObject) (api.GetClusterResourceResponseObject, error)
- func (r *ClusterServer) GetClusterResourceType(ctx context.Context, request api.GetClusterResourceTypeRequestObject) (api.GetClusterResourceTypeResponseObject, error)
- func (r *ClusterServer) GetClusterResourceTypes(ctx context.Context, request api.GetClusterResourceTypesRequestObject) (api.GetClusterResourceTypesResponseObject, error)
- func (r *ClusterServer) GetClusterResources(ctx context.Context, request api.GetClusterResourcesRequestObject) (api.GetClusterResourcesResponseObject, error)
- func (r *ClusterServer) GetMinorVersions(ctx context.Context, request api.GetMinorVersionsRequestObject) (api.GetMinorVersionsResponseObject, error)
- func (r *ClusterServer) GetNodeCluster(ctx context.Context, request api.GetNodeClusterRequestObject) (api.GetNodeClusterResponseObject, error)
- func (r *ClusterServer) GetNodeClusterType(ctx context.Context, request api.GetNodeClusterTypeRequestObject) (api.GetNodeClusterTypeResponseObject, error)
- func (r *ClusterServer) GetNodeClusterTypeAlarmDictionary(ctx context.Context, ...) (api.GetNodeClusterTypeAlarmDictionaryResponseObject, error)
- func (r *ClusterServer) GetNodeClusterTypes(ctx context.Context, request api.GetNodeClusterTypesRequestObject) (api.GetNodeClusterTypesResponseObject, error)
- func (r *ClusterServer) GetNodeClusters(ctx context.Context, request api.GetNodeClustersRequestObject) (api.GetNodeClustersResponseObject, error)
- func (r *ClusterServer) GetSubscription(ctx context.Context, request api.GetSubscriptionRequestObject) (api.GetSubscriptionResponseObject, error)
- func (r *ClusterServer) GetSubscriptions(ctx context.Context, request api.GetSubscriptionsRequestObject) (api.GetSubscriptionsResponseObject, error)
- type ClusterServerConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterServer ¶
type ClusterServer struct { Config *ClusterServerConfig Repo repo.RepositoryInterface SubscriptionEventHandler notifier.SubscriptionEventHandler }
ClusterServer defines the instance attributes for an instance of a cluster server
func (*ClusterServer) CreateSubscription ¶
func (r *ClusterServer) 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 (*ClusterServer) DeleteSubscription ¶
func (r *ClusterServer) 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 (*ClusterServer) GetAlarmDictionaries ¶
func (r *ClusterServer) GetAlarmDictionaries(ctx context.Context, request api.GetAlarmDictionariesRequestObject) (api.GetAlarmDictionariesResponseObject, error)
GetAlarmDictionaries receives the API request to this endpoint, executes the request, and responds appropriately
func (*ClusterServer) GetAlarmDictionary ¶
func (r *ClusterServer) GetAlarmDictionary(ctx context.Context, request api.GetAlarmDictionaryRequestObject) (api.GetAlarmDictionaryResponseObject, error)
GetAlarmDictionary receives the API request to this endpoint, executes the request, and responds appropriately
func (*ClusterServer) GetAllVersions ¶
func (r *ClusterServer) 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 (*ClusterServer) GetClusterResource ¶
func (r *ClusterServer) GetClusterResource(ctx context.Context, request api.GetClusterResourceRequestObject) (api.GetClusterResourceResponseObject, error)
GetClusterResource receives the API request to this endpoint, executes the request, and responds appropriately
func (*ClusterServer) GetClusterResourceType ¶
func (r *ClusterServer) GetClusterResourceType(ctx context.Context, request api.GetClusterResourceTypeRequestObject) (api.GetClusterResourceTypeResponseObject, error)
GetClusterResourceType receives the API request to this endpoint, executes the request, and responds appropriately
func (*ClusterServer) GetClusterResourceTypes ¶
func (r *ClusterServer) GetClusterResourceTypes(ctx context.Context, request api.GetClusterResourceTypesRequestObject) (api.GetClusterResourceTypesResponseObject, error)
GetClusterResourceTypes receives the API request to this endpoint, executes the request, and responds appropriately
func (*ClusterServer) GetClusterResources ¶
func (r *ClusterServer) GetClusterResources(ctx context.Context, request api.GetClusterResourcesRequestObject) (api.GetClusterResourcesResponseObject, error)
GetClusterResources receives the API request to this endpoint, executes the request, and responds appropriately
func (*ClusterServer) GetMinorVersions ¶
func (r *ClusterServer) 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 (*ClusterServer) GetNodeCluster ¶
func (r *ClusterServer) GetNodeCluster(ctx context.Context, request api.GetNodeClusterRequestObject) (api.GetNodeClusterResponseObject, error)
GetNodeCluster receives the API request to this endpoint, executes the request, and responds appropriately
func (*ClusterServer) GetNodeClusterType ¶
func (r *ClusterServer) GetNodeClusterType(ctx context.Context, request api.GetNodeClusterTypeRequestObject) (api.GetNodeClusterTypeResponseObject, error)
GetNodeClusterType receives the API request to this endpoint, executes the request, and responds appropriately
func (*ClusterServer) GetNodeClusterTypeAlarmDictionary ¶
func (r *ClusterServer) GetNodeClusterTypeAlarmDictionary(ctx context.Context, request api.GetNodeClusterTypeAlarmDictionaryRequestObject) (api.GetNodeClusterTypeAlarmDictionaryResponseObject, error)
GetNodeClusterTypeAlarmDictionary receives the API request to this endpoint, executes the request, and responds appropriately
func (*ClusterServer) GetNodeClusterTypes ¶
func (r *ClusterServer) GetNodeClusterTypes(ctx context.Context, request api.GetNodeClusterTypesRequestObject) (api.GetNodeClusterTypesResponseObject, error)
GetNodeClusterTypes receives the API request to this endpoint, executes the request, and responds appropriately
func (*ClusterServer) GetNodeClusters ¶
func (r *ClusterServer) GetNodeClusters(ctx context.Context, request api.GetNodeClustersRequestObject) (api.GetNodeClustersResponseObject, error)
GetNodeClusters receives the API request to this endpoint, executes the request, and responds appropriately
func (*ClusterServer) GetSubscription ¶
func (r *ClusterServer) 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 (*ClusterServer) GetSubscriptions ¶
func (r *ClusterServer) GetSubscriptions(ctx context.Context, request api.GetSubscriptionsRequestObject) (api.GetSubscriptionsResponseObject, error)
GetSubscriptions receives the API request to this endpoint, executes the request, and responds appropriately
type ClusterServerConfig ¶
type ClusterServerConfig struct { utils.CommonServerConfig CloudID string GlobalCloudID string Extensions []string ExternalAddress string }
ClusterServerConfig defines the configuration attributes for the resource server