Documentation ¶
Index ¶
- Constants
- Variables
- func Completion(cmd *cobra.Command, args []string)
- func DeleteFileToResource(rc *resty.Client, filename, path string, ci dsl.ConnectionInfo) (err error)
- func Execute(version, commit, date string)
- func NewTable(out io.Writer) *tablewriter.Table
- func PostFileToResource(rc *resty.Client, filename, path, paramName string, ci dsl.ConnectionInfo, ...) (err error)
- func Version(w io.Writer)
- func WriteThingsToFile(thing dsl.Thing, namedfile string) (err error)
Constants ¶
View Source
const TRUE = "true"
TRUE used for boolean comparisons
Variables ¶
View Source
var AppFs = afero.NewOsFs()
AppFs - defined for testing
Functions ¶
func Completion ¶
Completion is a helper function to allow passing arguments to other functions (so that they can be unit tested)
func DeleteFileToResource ¶ added in v1.2.0
func DeleteFileToResource(rc *resty.Client, filename, path string, ci dsl.ConnectionInfo) (err error)
DeleteFileToResource - Specific op for DELETING Files
func Execute ¶
func Execute(version, commit, date string)
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func NewTable ¶
func NewTable(out io.Writer) *tablewriter.Table
NewTable - provides a blank table for rendering.
func PostFileToResource ¶ added in v1.2.0
func PostFileToResource(rc *resty.Client, filename, path, paramName string, ci dsl.ConnectionInfo, shouldCommit bool) (err error)
PostFileToResource - Specific op for POSTING Files
Types ¶
This section is empty.
Source Files ¶
- completion.go
- configure.go
- configure_devices.go
- docs.go
- extract.go
- extract_device_groups.go
- extract_devices.go
- extract_installation.go
- load.go
- load_device_groups.go
- load_devices.go
- load_files.go
- load_files_helpers.go
- load_files_playbooks.go
- load_files_rules.go
- root.go
- summarise.go
- summarise_installation.go
- transform.go
- transform_devices.go
- version.go
Click to show internal directories.
Click to hide internal directories.