@@ -331,6 +331,7 @@ def get_app_eav_description(self):
331
331
"""
332
332
return self .requests ("GET" , HYPERNODE_API_APP_EAV_DESCRIPTION_ENDPOINT )
333
333
334
+ # TODO: add entrypoint for this method in bin/ and commands.py
334
335
def set_app_setting (self , app_name , attribute , value ):
335
336
"""
336
337
Update a setting on the app, like the PHP or MySQL version. See
@@ -384,7 +385,7 @@ def get_app_configurations(self):
384
385
return self .requests ("GET" , HYPERNODE_API_APP_CONFIGURATION_ENDPOINT )
385
386
386
387
def get_cluster_relations (self , app_name ):
387
- """ "
388
+ """
388
389
List all relations for the specified app. This will return all the
389
390
relations that are currently configured for the specified app.
390
391
@@ -579,6 +580,7 @@ def get_whitelist_rules(self, app_name, filter_data=None):
579
580
"GET" , HYPERNODE_API_WHITELIST_ENDPOINT .format (app_name ), filter_data
580
581
)
581
582
583
+ # TODO: add entrypoint for this method in bin/ and commands.py
582
584
def get_current_product_for_app (self , app_name ):
583
585
"""
584
586
Retrieve information about the product the specified App is currently on.
@@ -647,6 +649,7 @@ def get_current_product_for_app(self, app_name):
647
649
"GET" , HYPERNODE_API_PRODUCT_APP_DETAIL_ENDPOINT .format (app_name )
648
650
)
649
651
652
+ # TODO: add entrypoint for this method in bin/ and commands.py
650
653
def check_payment_information_for_app (self , app_name ):
651
654
"""
652
655
Get the payment information that is currently configured for this Hypernode
@@ -664,6 +667,7 @@ def check_payment_information_for_app(self, app_name):
664
667
"GET" , HYPERNODE_API_APP_CHECK_PAYMENT_INFORMATION .format (app_name )
665
668
)
666
669
670
+ # TODO: add entrypoint for this method in bin/ and commands.py
667
671
def get_active_products (self ):
668
672
"""
669
673
Retrieve the list of products that are currently available. You can
@@ -731,6 +735,7 @@ def get_active_products(self):
731
735
"""
732
736
return self .requests ("GET" , HYPERNODE_API_PRODUCT_LIST_ENDPOINT )
733
737
738
+ # TODO: add entrypoint for this method in bin/ and commands.py
734
739
def check_xgrade (self , app_name , product_code ):
735
740
"""
736
741
Checks if the Hypernode 'is going to fit' on the new product. Retrieves some
@@ -759,6 +764,7 @@ def check_xgrade(self, app_name, product_code):
759
764
HYPERNODE_API_APP_XGRADE_CHECK_ENDPOINT .format (app_name , product_code ),
760
765
)
761
766
767
+ # TODO: add entrypoint for this method in bin/ and commands.py
762
768
def xgrade (self , app_name , data ):
763
769
"""
764
770
Change the product of a Hypernode to a different plan. This will initiate
@@ -780,6 +786,7 @@ def xgrade(self, app_name, data):
780
786
"PATCH" , HYPERNODE_API_APP_XGRADE_ENDPOINT .format (app_name ), data = data
781
787
)
782
788
789
+ # TODO: add entrypoint for this method in bin/ and commands.py
783
790
def order_hypernode (self , data ):
784
791
"""
785
792
Orders a new Hypernode. Note that you can not do this with the API permissions
@@ -799,6 +806,7 @@ def order_hypernode(self, data):
799
806
"""
800
807
return self .requests ("POST" , HYPERNODE_API_APP_ORDER_ENDPOINT , data = data )
801
808
809
+ # TODO: add entrypoint for this method in bin/ and commands.py
802
810
def get_active_branchers (self , app_name ):
803
811
"""
804
812
List all active brancher nodes of your Hypernode.
@@ -838,6 +846,7 @@ def get_active_branchers(self, app_name):
838
846
"GET" , HYPERNODE_API_BRANCHER_APP_ENDPOINT .format (app_name )
839
847
)
840
848
849
+ # TODO: add entrypoint for this method in bin/ and commands.py
841
850
def create_brancher (self , app_name , data ):
842
851
"""
843
852
Create a new branch (server replica) of your Hypernode.
@@ -851,6 +860,7 @@ def create_brancher(self, app_name, data):
851
860
"POST" , HYPERNODE_API_BRANCHER_APP_ENDPOINT .format (app_name ), data = data
852
861
)
853
862
863
+ # TODO: add entrypoint for this method in bin/ and commands.py
854
864
def destroy_brancher (self , brancher_name ):
855
865
"""
856
866
Destroy an existing brancher node of your Hypernode.
0 commit comments