def __init__(self, target_endpoint, credential_manager): self.apps = AppManagerV3(target_endpoint, credential_manager) self.spaces = EntityManagerV3(target_endpoint, credential_manager, '/v3/spaces') self.organizations = EntityManagerV3(target_endpoint, credential_manager, '/v3/organizations') self.tasks = TaskManager(target_endpoint, credential_manager)
def __init__(self, target_endpoint: str, credential_manager: 'CloudFoundryClient'): self.apps = AppManagerV3(target_endpoint, credential_manager) self.buildpacks = BuildpackManagerV3(target_endpoint, credential_manager) self.domains = DomainManager(target_endpoint, credential_manager) self.feature_flags = FeatureFlagManager(target_endpoint, credential_manager) self.spaces = EntityManagerV3(target_endpoint, credential_manager, '/v3/spaces') self.organizations = OrganizationManager(target_endpoint, credential_manager) self.service_instances = EntityManagerV3(target_endpoint, credential_manager, '/v3/service_instances') self.tasks = TaskManager(target_endpoint, credential_manager)
def __init__(self, target_endpoint: str, credential_manager: "CloudFoundryClient"): self.apps = AppManagerV3(target_endpoint, credential_manager) self.buildpacks = BuildpackManagerV3(target_endpoint, credential_manager) self.domains = DomainManager(target_endpoint, credential_manager) self.feature_flags = FeatureFlagManager(target_endpoint, credential_manager) self.isolation_segments = IsolationSegmentManager( target_endpoint, credential_manager) self.spaces = SpaceManager(target_endpoint, credential_manager) self.organizations = OrganizationManager(target_endpoint, credential_manager) self.service_instances = ServiceInstanceManagerV3( target_endpoint, credential_manager) self.tasks = TaskManager(target_endpoint, credential_manager) self.jobs = JobManagerV3(target_endpoint, credential_manager)