cloudca

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// role name
	EnvironmentAdminRole = "Environment admin"
	UserRole             = "User"
	ReadOnlyRole         = "Read-only"

	//fields
	OrganizationCode  = "organization_code"
	ServiceCode       = "service_code"
	Name              = "name"
	Description       = "description"
	AdminRoleUsers    = "admin_role"
	UserRoleUsers     = "user_role"
	ReadOnlyRoleUsers = "read_only_role"
)

role names and fields

View Source
const (
	TCP  = "TCP"
	UDP  = "UDP"
	ICMP = "ICMP"
)

type of ACL rules

Variables

This section is empty.

Functions

func GetCloudCAResourceMap

func GetCloudCAResourceMap() map[string]*schema.Resource

GetCloudCAResourceMap return the available Resource map

func Provider added in v1.6.0

func Provider() *schema.Provider

Provider returns a *schema.Provider

Types

type Config added in v1.6.0

type Config struct {
	APIURL   string
	APIKey   string
	Insecure bool
}

Config is the configuration structure used to instantiate a new cloudca client.

func (*Config) NewClient added in v1.6.0

func (c *Config) NewClient() (*cca.CcaClient, error)

NewClient returns a new CcaClient client.

Jump to

Keyboard shortcuts

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