github.com/hernad/nomad@v1.6.112/jobspec2/addrs/doc.go (about)

     1  // Copyright (c) HashiCorp, Inc.
     2  // SPDX-License-Identifier: MPL-2.0
     3  
     4  // Package addrs contains types that represent "addresses", which are
     5  // references to specific objects within a Packer configuration.
     6  //
     7  // All addresses have string representations based on HCL traversal syntax
     8  // which should be used in the user-interface, and also in-memory
     9  // representations that can be used internally.
    10  //
    11  // All types within this package should be treated as immutable, even if this
    12  // is not enforced by the Go compiler. It is always an implementation error
    13  // to modify an address object in-place after it is initially constructed.
    14  package addrs