Skip to content

GlistPlugins/gipAzure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gipAzure

Azure storage component for GlistEngine.

Requirements

  • GlistEngine.
  • Azure account or local azure storage.
  • Windows, Linux, or MacOS operating system.

Installation

1. Open file explorer and create necessary folders:

  • On Windows:
    • C:\dev\glist\glistplugins
  • On macOS
    • ~/dev/glist/glistplugins
  • On Linux
    • ~/dev/glist/glistplugins

2. Clone Plugin :

First of all fork this repo at right up corner.

Open command line(cmd.exe or bash) and go to the glistplugins folder by the command.

  • On Windows:

    cd C:\dev\glist\glistplugins

  • On macOS:

    cd ~/dev/glist/glistplugins

  • On macOS:

    cd ~/dev/glist/glistplugins

Clone the gipAzure repo by writing this commands on command line:

git clone https://github.com/yourgithubusername/gipAzure.git

3. Set Up Plugin

Add "gipAzure" in GlistApp's CMakelists.txt's line where it write "set(PLUGINS)" (Like "set(PLUGINS gipAzure)").

How to Use

First of all have to createClient after call two function initSettings.

Functions

  • bool containerExists(string containername) :

    Checks for container.

  • void deleteAllContainers() :

    Deletes all containers and blobs.

  • void deleteContainer(string containername) :

    Deletes the typed container.

  • void createContainer(string containername) :

    Creates the typed container.

  • vector listContainerNames() :

    Gets all container names.

  • bool blobExists(std::string containername, std::string blobname)

    Checks the typed blob from typed container.

  • std::vectorstd::string listBlobNamesFromContainer(std::string containername)

    Gets all blob names from the typed container.

  • void deleteBlob(std::string containername, std::string blobname)

    Deletes the typed blob from the typed container.

  • void downloadBlob(std::string containername, std::string blobname, std::string fullpath);

    Downloads blob file from typed container name to typed path.

  • void uploadBlob(std::string containername, std::string fullpath)

    Uploads file to container from typed path.

About

Azure component for GlistEngine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages