codefresh

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: MPL-2.0 Imports: 26 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ENV_CODEFRESH_PLUGIN_DEBUG    = "CODEFRESH_PLUGIN_DEBUG"
	ENV_CODEFRESH_PLUGIN_ADDR     = "CODEFRESH_PLUGIN_ADDR"
	ENV_CODEFRESH_API_URL         = "CODEFRESH_API_URL"
	ENV_CODEFRESH_API_KEY         = "CODEFRESH_API_KEY"
	DEFAULT_CODEFRESH_API_URL     = "https://g.codefresh.io/api"
	DEFAULT_CODEFRESH_PLUGIN_ADDR = "registry.terraform.io/-/codefresh"
)

Variables

This section is empty.

Functions

func IdpSchema

func IdpSchema() map[string]*schema.Schema

IdpSchema -

func Provider

func Provider() *schema.Provider

func UserSchema

func UserSchema() *map[string]*schema.Schema

Types

type OrderedMapSlice

type OrderedMapSlice []yaml.MapItem

can be used instead the yaml.MapSlice (as an argument to yaml.Unmarshal) in order to preserve the keys order when converting to JSON later

// Usage example:
ms := OrderedMapSlice{}
yaml.Unmarshal([]byte(originalYamlString), &ms)
orderedJson, _ := json.Marshal(ms)

implements json.Marshaler interface

func (OrderedMapSlice) MarshalJSON

func (ms OrderedMapSlice) MarshalJSON() ([]byte, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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