input

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Input

type Input struct {
	Statement []Statement
}

type NormalizedStatement

type NormalizedStatement struct {
	Actions []string

	Resources []string
}

type Statement

type Statement struct {
	Action StringOrStringList

	Resource StringOrStringList
}

func (*Statement) Normalize

func (s *Statement) Normalize() (*NormalizedStatement, error)

type StringOrStringList

type StringOrStringList []string

func (*StringOrStringList) UnmarshalJSON

func (s *StringOrStringList) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

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