Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
asset_sniper
main
AssetSniper
Cleanup
CLI
Arguments
Cleanup
Arguments
Flags
Execute
Arguments
Flags
Flags
Reconnect
Arguments
Flags
Execute
Job
Util
Shell
CommandResult
Generated using Crystal 1.14.0
2024-11-26 09:51:21 UTC
class
AssetSniper::
Cleanup
AssetSniper::Cleanup
Reference
Object
Included Modules
Util
Util::Shell
Defined in:
cleanup.cr
Constructors
.new
(task_name : String, debug : Bool =
false
)
Instance Method Summary
#debug
: Bool
#run
#task_name
: String
Instance methods inherited from module
Util::Shell
run_shell_command(command : String, kubeconfig_path : String =
"~/.kube/config"
, error_message : String =
""
, abort_on_error =
true
, print_output : Bool =
true
) : CommandResult
run_shell_command
Instance methods inherited from module
Util
which(command)
which
Constructor Detail
def self.
new
(task_name : String, debug : Bool =
false
)
#
[
View source
]
Instance Method Detail
def
debug
: Bool
#
[
View source
]
def
run
#
[
View source
]
def
task_name
: String
#
[
View source
]