fix: Fix docker examples
- Moved `httpconnection` import from `clients` to `core`. - Changed `tfgrid-sdk-ts` dashboard to playground. - Added ipaddr to node_local(). - Added public keyword to OpenSSLGenerateArgs. - Improved DockerEngine image and container loading. - Added utils.contains_ssh_port. - Improved error handling in DockerEngine. - Improved Docker registry handling. Co-authored-by: mariobassem12 <mariobassem12@gmail.com> Co-authored-by: omda <mahmmoud.hassanein@gmail.com>
This commit is contained in:
@@ -5,6 +5,7 @@ import json
|
||||
|
||||
@[params]
|
||||
pub struct OpenSSLGenerateArgs {
|
||||
pub:
|
||||
name string = 'default'
|
||||
domain string = 'myregistry.domain.com'
|
||||
reset bool
|
||||
@@ -22,6 +23,7 @@ pub fn (mut ossl OpenSSL) generate(args OpenSSLGenerateArgs) !OpenSSLKey {
|
||||
'
|
||||
|
||||
mut b := builder.new()!
|
||||
println('b: ${b}')
|
||||
mut node := b.node_local()!
|
||||
|
||||
node.exec(cmd: cmd)!
|
||||
|
||||
Reference in New Issue
Block a user