mirror of https://github.com/jumpserver/jumpserver
parent
a377317d6e
commit
1de51a2bfd
|
@ -52,4 +52,6 @@ class CloudTypes(BaseType):
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def get_community_types(cls):
|
def get_community_types(cls):
|
||||||
return [cls.K8S]
|
return [
|
||||||
|
cls.K8S, cls.PUBLIC, cls.PRIVATE
|
||||||
|
]
|
||||||
|
|
|
@ -55,4 +55,6 @@ class DeviceTypes(BaseType):
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def get_community_types(cls):
|
def get_community_types(cls):
|
||||||
return []
|
return [
|
||||||
|
cls.GENERAL, cls.SWITCH, cls.ROUTER, cls.FIREWALL
|
||||||
|
]
|
||||||
|
|
|
@ -47,4 +47,6 @@ class WebTypes(BaseType):
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def get_community_types(cls):
|
def get_community_types(cls):
|
||||||
return []
|
return [
|
||||||
|
cls.WEBSITE,
|
||||||
|
]
|
||||||
|
|
Loading…
Reference in New Issue