Versions in this module Expand all Collapse all v1 v1.0.0 Nov 21, 2019 Changes in this version + const Name + func IsInvalidConfig(err error) bool + func IsWrongType(err error) bool + type Config struct + ChartConfig chartconfig.Interface + Logger micrologger.Logger + ProjectName string + type Resource struct + func New(config Config) (*Resource, error) + func (r *Resource) ApplyCreateChange(ctx context.Context, obj, createChange interface{}) error + func (r *Resource) ApplyDeleteChange(ctx context.Context, obj, deleteChange interface{}) error + func (r *Resource) ApplyUpdateChange(ctx context.Context, obj, updateChange interface{}) error + func (r *Resource) GetCurrentState(ctx context.Context, obj interface{}) (interface{}, error) + func (r *Resource) GetDesiredState(ctx context.Context, obj interface{}) (interface{}, error) + func (r *Resource) Name() string + func (r *Resource) NewDeletePatch(ctx context.Context, obj, currentState, desiredState interface{}) (*controller.Patch, error) + func (r *Resource) NewUpdatePatch(ctx context.Context, obj, currentState, desiredState interface{}) (*controller.Patch, error)