environment

package
v1.47.1 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Scopes = struct {
	Cluster  Scope
	External Scope
	Internal Scope
}{
	"CLUSTER",
	"EXTERNAL",
	"INTERNAL",
}

Functions

This section is empty.

Types

type Scope

type Scope string

type Settings

type Settings struct {
	Name         string `json:"name"`         // Name
	NetworkScope Scope  `json:"networkScope"` // Possible Values: `CLUSTER`, `EXTERNAL`, `INTERNAL`
	Token        string `json:"token"`        // Provide a valid token created on the remote environment.
	Uri          string `json:"uri"`          // Specify the full URI to the remote environment. Your local environment will have to be able to connect this URI on a network level.
}

func (*Settings) FillDemoValues

func (me *Settings) FillDemoValues() []string

func (*Settings) MarshalHCL

func (me *Settings) MarshalHCL(properties hcl.Properties) error

func (*Settings) Schema

func (me *Settings) Schema() map[string]*schema.Schema

func (*Settings) UnmarshalHCL

func (me *Settings) UnmarshalHCL(decoder hcl.Decoder) error

Jump to

Keyboard shortcuts

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