Documentation ¶
Index ¶
- func GetLocks(w http.ResponseWriter, _ *http.Request, sp state.Provider)
- func GetState(w http.ResponseWriter, r *http.Request, d *db.Database)
- func GetStateActivity(w http.ResponseWriter, r *http.Request, d *db.Database)
- func GetUser(w http.ResponseWriter, r *http.Request)
- func JSONError(w http.ResponseWriter, message string, err error)
- func ListAttributeKeys(w http.ResponseWriter, r *http.Request, d *db.Database)
- func ListResourceNames(w http.ResponseWriter, _ *http.Request, d *db.Database)
- func ListResourceTypes(w http.ResponseWriter, _ *http.Request, d *db.Database)
- func ListResourceTypesWithCount(w http.ResponseWriter, _ *http.Request, d *db.Database)
- func ListStateStats(w http.ResponseWriter, r *http.Request, d *db.Database)
- func ListStates(w http.ResponseWriter, _ *http.Request, d *db.Database)
- func ListTerraformVersionsWithCount(w http.ResponseWriter, r *http.Request, d *db.Database)
- func ListTfVersions(w http.ResponseWriter, _ *http.Request, d *db.Database)
- func SearchAttribute(w http.ResponseWriter, r *http.Request, d *db.Database)
- func StateCompare(w http.ResponseWriter, r *http.Request, d *db.Database)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetStateActivity ¶
GetStateActivity returns the activity (version history) of a State
func GetUser ¶
func GetUser(w http.ResponseWriter, r *http.Request)
GetUser returns information about the logged user
func JSONError ¶
func JSONError(w http.ResponseWriter, message string, err error)
JSONError is a wrapper function for errors which prints them to the http.ResponseWriter as a JSON response
func ListAttributeKeys ¶
ListAttributeKeys lists all Resource Attribute Keys, optionally filtered by resource_type
func ListResourceNames ¶
ListResourceNames lists all Resource names
func ListResourceTypes ¶
ListResourceTypes lists all Resource types
func ListResourceTypesWithCount ¶
ListResourceTypesWithCount lists all Resource types with their associated count
func ListStateStats ¶
ListStateStats returns State information for a given path as parameter
func ListStates ¶
ListStates lists States
func ListTerraformVersionsWithCount ¶
ListTerraformVersionsWithCount lists Terraform versions with their associated counts, sorted by the 'orderBy' parameter (version by default)
func ListTfVersions ¶
ListTfVersions lists all Terraform versions
func SearchAttribute ¶
SearchAttribute performs a search on Resource Attributes by various parameters
func StateCompare ¶
StateCompare compares two versions ('from' and 'to') of a State
Types ¶
This section is empty.