github.com/fastly/cli@v1.7.2-0.20240304164155-9d0f1d77c3bf/pkg/lookup/lookup.go (about)

     1  package lookup
     2  
     3  // Source enumerates where the parameter is taken from.
     4  type Source uint8
     5  
     6  const (
     7  	// SourceUndefined indicates the parameter isn't provided in any of the
     8  	// available sources, similar to "not found".
     9  	SourceUndefined Source = iota
    10  
    11  	// SourceFile indicates the parameter came from a config file.
    12  	SourceFile
    13  
    14  	// SourceEnvironment indicates the parameter came from an env var.
    15  	SourceEnvironment
    16  
    17  	// SourceFlag indicates the parameter came from an explicit flag.
    18  	SourceFlag
    19  
    20  	// SourceDefault indicates the parameter came from a program default.
    21  	SourceDefault
    22  )