package
2.5.0+incompatible
Repository: https://github.com/go-vela/vela-openssh.git
Documentation: pkg.go.dev
# Functions
ArgCompare will allow us to compare some command line arguments to validate they match what we'd expect.
CreateMockFiles will create an in memory file system along with any arbitrary named empty files for testing.
FlattenArguments is a helper to smash together strings and string slices into a flat string slice for testing purposes.
ValidateMockFile checks to ensure that particular files exist along with specific permissions and contents as a common action used in tests.
# Constants
The constants here are used by both the SCP & SSH Plugins for testing.
The constants here are used by both the SCP & SSH Plugins for testing.
#nosec G101.
The constants here are used by both the SCP & SSH Plugins for testing.
The constants here are used by both the SCP & SSH Plugins for testing.
The constants here are used by both the SCP & SSH Plugins for testing.
The constants here are used by both the SCP & SSH Plugins for testing.