Categorygithub.com/intercloud/autonomi-sdk
modulepackage
1.3.0
Repository: https://github.com/intercloud/autonomi-sdk.git
Documentation: pkg.go.dev

# README

Autonomi SDK

Autonomi allows to deploy automatically and asynchronously cloud resources.

Getting started

Prerequisites

Go 1.22 or higher

Install Autonomi Go SDK

  1. Use go get to install the latest version of the Autonomi Go SDK and dependencies:

    go get -u https://github.com/intercloud/autonomi-sdk
    
  2. Include the Autonomi Go SDK in your application:

import autonomisdk "github.com/intercloud/autonomi-sdk"

//...other snippet ...
client, err := autonomisdk.NewClient(
    terms_and_conditions,
    autonomisdk.WithHTTPClient(&http.Client{}),
    autonomisdk.WithHostURL(hostURL),
    autonomisdk.WithPersonalAccessToken(personal_access_token),
)
if err != nil {
    // handle error
}
defer client.Close()

workspace, err := client.CreateWorkspace(ctx, payload)
if err != nil {
    // handle error
}

Resources

Autonomi SDK allows to :

  • Create, Read, Update and Delete a Workspace
  • Create, Read, Update and Delete a Node
  • Create, Read, Update and Delete a Transport
  • Create, Read and Delete an Attachment
  • Create, Read and Delete a Physical Port
  • Create, Read and Delete an Account

# Packages

No description provided by the author

# Functions

NewClient - Init and return an http client.
No description provided by the author
WithAdministrativeState allows setting a specific administrative state.
No description provided by the author
WithHTTPClient init http client.
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author