Skip to content

rust library to access Netapp ONTAP REST library

License

Notifications You must be signed in to change notification settings

compaxdigital/rontap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Library for Netapp API access

This is a rust library that can be used to access the Netapp ONTAP REST API.

It is handwritten and not necessarily including all the functionalities you can find in the swagger docs.

Example

use reqwest::Url;
use rontap::OntapConnectionParams;

#[tokio::main]
async fn main() -> Result<()> {
    let params = OntapConnectionParams {
        url: Url::from_str("https://mynetapp.example.com/api")?,
        username: "foobar".into(),
        password: "secret".into(),
    };
    let c = params.connect().await?;

    dbg!(c.get_volumes().await?);
}

About

rust library to access Netapp ONTAP REST library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages