Class: RKSeal::Commands::Result

Inherits:
Data
  • Object
show all
Defined in:
lib/rkseal/commands/result.rb

Overview

Immutable value object describing the outcome of a command flow, returned to the CLI so it can print a result without reaching into flow internals.

Shared by Create and Edit; it lives in its own file so neither command file owns the other’s return type.

Instance Attribute Summary collapse

Instance Attribute Details

#deployedObject (readonly)

Returns the value of attribute deployed

Returns:

  • (Object)

    the current value of deployed



20
# File 'lib/rkseal/commands/result.rb', line 20

Result = Data.define(:secret_name, :namespace, :output_path, :deployed)

#namespaceObject (readonly)

Returns the value of attribute namespace

Returns:

  • (Object)

    the current value of namespace



20
# File 'lib/rkseal/commands/result.rb', line 20

Result = Data.define(:secret_name, :namespace, :output_path, :deployed)

#output_pathObject (readonly)

Returns the value of attribute output_path

Returns:

  • (Object)

    the current value of output_path



20
# File 'lib/rkseal/commands/result.rb', line 20

Result = Data.define(:secret_name, :namespace, :output_path, :deployed)

#secret_nameObject (readonly)

Returns the value of attribute secret_name

Returns:

  • (Object)

    the current value of secret_name



20
# File 'lib/rkseal/commands/result.rb', line 20

Result = Data.define(:secret_name, :namespace, :output_path, :deployed)