json

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Display/JSON

This package contains the code for the JSON display of the AWS accounts and OUs. It uses the tree structure generated in the generation package to create a JSON representation of the accounts and OUs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(tree *generation.OU) ([]byte, error)

Create is a function that takes in the tree structure and creates a JSON representation of it.

func OutputToFile

func OutputToFile(json []byte, filename string) error

OutputToFile is a function that takes in the json representaiton of the tree and outputs it to the given file

Types

This section is empty.

Jump to

Keyboard shortcuts

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