v2bindings

package
v1.56.2 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Policies

type Policies []*Policy

type Policy

type Policy struct {
	ID         string
	Parameters map[string]string
	Metadata   map[string]string
}

func (*Policy) MarshalHCL

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

func (*Policy) Schema

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

func (*Policy) UnmarshalHCL

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

type PolicyBinding

type PolicyBinding struct {
	GroupID     string    `json:"-"`
	Account     string    `json:"-"`
	Environment string    `json:"-"`
	Policies    []*Policy `json:"policies"`
}

func (*PolicyBinding) MarshalHCL

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

func (*PolicyBinding) Name

func (me *PolicyBinding) Name() string

func (*PolicyBinding) Schema

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

func (*PolicyBinding) UnmarshalHCL

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

Jump to

Keyboard shortcuts

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