Documentation ¶
Index ¶
- func NewNopCRUDResource() resource.Interface
- type NopBasicResource
- type NopCRUD
- func (*NopCRUD) ApplyCreateChange(ctx context.Context, obj, createChange interface{}) error
- func (*NopCRUD) ApplyDeleteChange(ctx context.Context, obj, deleteChange interface{}) error
- func (*NopCRUD) ApplyUpdateChange(ctx context.Context, obj, updateChange interface{}) error
- func (*NopCRUD) GetCurrentState(ctx context.Context, obj interface{}) (interface{}, error)
- func (*NopCRUD) GetDesiredState(ctx context.Context, obj interface{}) (interface{}, error)
- func (*NopCRUD) Name() string
- func (*NopCRUD) NewDeletePatch(ctx context.Context, obj, currentState, desiredState interface{}) (*crud.Patch, error)
- func (*NopCRUD) NewUpdatePatch(ctx context.Context, obj, currentState, desiredState interface{}) (*crud.Patch, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNopCRUDResource ¶
Types ¶
type NopBasicResource ¶
type NopBasicResource struct { }
func NewNopBasicResource ¶
func NewNopBasicResource() *NopBasicResource
func (*NopBasicResource) EnsureCreated ¶
func (*NopBasicResource) EnsureCreated(context.Context, interface{}) error
func (*NopBasicResource) EnsureDeleted ¶
func (*NopBasicResource) EnsureDeleted(context.Context, interface{}) error
func (*NopBasicResource) Name ¶
func (*NopBasicResource) Name() string
type NopCRUD ¶
type NopCRUD struct { }
func NewNopCRUD ¶
func NewNopCRUD() *NopCRUD
func (*NopCRUD) ApplyCreateChange ¶
func (*NopCRUD) ApplyDeleteChange ¶
func (*NopCRUD) ApplyUpdateChange ¶
func (*NopCRUD) GetCurrentState ¶
func (*NopCRUD) GetDesiredState ¶
func (*NopCRUD) NewDeletePatch ¶
Click to show internal directories.
Click to hide internal directories.