Sha256: 7981a50106859d2b1dfe9823f510985a7d0337b9e2c0840a08eb153dccab0740
Contents?: true
Size: 1.04 KB
Versions: 10
Compression:
Stored size: 1.04 KB
Contents
module Kuby module Kubernetes class Plugin attr_reader :definition def initialize(definition) @definition = definition after_initialize end def configure(&block) # do nothing by default end def setup # do nothing by default end def resources [] end # called after all plugins have been configured def after_configuration # do nothing by default end # called before any plugins have been setup def before_setup # do nothing by default end # called after all plugins have been setup def after_setup # do nothing by default end # called before deploying any resources def before_deploy(manifest) # do nothing by default end # called after deploying all resources def after_deploy(manifest) # do nothing by default end private def after_initialize # override this in derived classes end end end end
Version data entries
10 entries across 10 versions & 1 rubygems