def __init__(self, crd_client, *args, entity_name='metric', entity_collection='metrics', **kwargs): threescale_api.resources.BackendMetrics.__init__( self, *args, entity_name=entity_name, entity_collection=entity_collection) DefaultClientCRD.__init__(self, *args, entity_name=entity_name, entity_collection=entity_collection, **kwargs) self.crd_client = crd_client
def __init__(self, crd_client, *args, entity_name='application_plan', entity_collection='plans', **kwargs): threescale_api.resources.ApplicationPlans.__init__( self, crd_client, *args, entity_name=entity_name, entity_collection=entity_collection) DefaultClientCRD.__init__(self, *args, entity_name=entity_name, entity_collection=entity_collection, **kwargs) self.crd_client = crd_client
def __init__(self, crd_client, *args, entity_name='mapping_rule', entity_collection='mapping_rules', **kwargs): threescale_api.resources.BackendMappingRules.__init__( self, *args, entity_name=entity_name, entity_collection=entity_collection, **kwargs) DefaultClientCRD.__init__(self, *args, entity_name=entity_name, entity_collection=entity_collection, **kwargs) self.crd_client = crd_client
def __init__(self, crd_client, *args, entity_name='policy', entity_collection='policies', **kwargs): threescale_api.resources.PoliciesRegistry.__init__( self, crd_client, *args, entity_name=entity_name, entity_collection=entity_collection, **kwargs) DefaultClientCRD.__init__(self, *args, entity_name=entity_name, entity_collection=entity_collection, **kwargs) self.crd_client = crd_client
def __init__(self, crd_client, *args, entity_name='api_doc', entity_collection='api_docs', **kwargs): threescale_api.resources.ActiveDocs.__init__( self, crd_client, *args, entity_name=entity_name, entity_collection=entity_collection, **kwargs) DefaultClientCRD.__init__(self, *args, entity_name=entity_name, entity_collection=entity_collection, **kwargs) self.crd_client = crd_client
def __init__(self, crd_client, *args, entity_name='service', entity_collection='services', **kwargs): threescale_api.resources.Services.__init__( self, crd_client, *args, entity_name=entity_name, entity_collection=entity_collection, **kwargs) DefaultClientCRD.__init__(self, crd_client, *args, entity_name=entity_name, entity_collection=entity_collection, **kwargs) self.crd_client = crd_client