github.com/terramate-io/tf@v0.0.0-20230830114523-fce866b4dfcd/command/jsonformat/differ/types.go (about)

     1  // Copyright (c) HashiCorp, Inc.
     2  // SPDX-License-Identifier: MPL-2.0
     3  
     4  package differ
     5  
     6  // NestingMode is a wrapper around a string type to describe the various
     7  // different kinds of nesting modes that can be applied to nested blocks and
     8  // objects.
     9  type NestingMode string
    10  
    11  const (
    12  	nestingModeSet    NestingMode = "set"
    13  	nestingModeList   NestingMode = "list"
    14  	nestingModeMap    NestingMode = "map"
    15  	nestingModeSingle NestingMode = "single"
    16  	nestingModeGroup  NestingMode = "group"
    17  )