pkg

package
v1.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2022 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchOrganizationID added in v0.0.5

func FetchOrganizationID(testAccProvider *schema.Provider) (string, error)

FetchOrganizationID finds and retrieves the first Organization ID it finds for a user.

func FetchProjectID added in v0.0.5

func FetchProjectID(orgID string, testAccProvider *schema.Provider) (string, error)

FetchProjectID will find the first project given an organization and retrieve its ID.

func Provider

func Provider() *schema.Provider

Provider defines an ArangoDB Oasis Terraform provider.

Types

type Client

type Client struct {
	ApiKeyID       string
	ApiKeySecret   string
	ApiEndpoint    string
	ApiPortSuffix  string
	ProjectID      string
	OrganizationID string
	// contains filtered or unexported fields
}

Client is responsible for connecting to the Oasis API

func (*Client) Connect

func (c *Client) Connect() error

Connect connects to oasis api

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL