github.com/vchain-us/vcn@v0.9.11-0.20210921212052-a2484d23c0b3/pkg/store/store.go (about) 1 /* 2 * Copyright (c) 2018-2020 vChain, Inc. All Rights Reserved. 3 * This software is released under GPL3. 4 * The full license information can be found under: 5 * https://www.gnu.org/licenses/gpl-3.0.en.html 6 * 7 */ 8 9 package store 10 11 import ( 12 "os" 13 ) 14 15 // FilePerm holds permission bits that are used for all files that store creates. 16 const FilePerm os.FileMode = 0600 17 18 // DirPerm holds permission bits that are used for all directories that store creates. 19 const DirPerm os.FileMode = 0700 20 21 // DefaultDirName is the name of the store working directory. 22 const DefaultDirName = ".vcn" 23 24 const configFilename = "config.json" 25 26 const defaultSecretFile = "secret.json" 27 28 const defaultAlertsDir = "alerts" 29 30 const defaultManifestsDir = "manifests"