codefresh

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2022 License: MPL-2.0 Imports: 23 Imported by: 1

Documentation

Index

Constants

This section is empty.

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