Interface MuranoEnvironmentService

    • Method Detail

      • list

        List<? extends Environment> list()
        List all environments
        Returns:
        list of environments or empty list
      • create

        Environment create​(Environment env)
        Creates a new environment
        Parameters:
        env - the environment to create
        Returns:
        the created environment
      • get

        Environment get​(String id)
        Gets an environment by ID
        Parameters:
        id - the environment identifier
        Returns:
        the cluster or null if not found
      • delete

        ActionResponse delete​(String id)
        Deletes the specified environment
        Parameters:
        id - the environment identifier
        Returns:
        the action response
      • rename

        Environment rename​(String id,
                           String name)
        Renames the specified environment
        Parameters:
        id - the environment identifier
        Returns:
        the renamed environment