test

package
v7.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNopCRUDResource

func NewNopCRUDResource() resource.Interface

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) ApplyCreateChange(ctx context.Context, obj, createChange interface{}) error

func (*NopCRUD) ApplyDeleteChange

func (*NopCRUD) ApplyDeleteChange(ctx context.Context, obj, deleteChange interface{}) error

func (*NopCRUD) ApplyUpdateChange

func (*NopCRUD) ApplyUpdateChange(ctx context.Context, obj, updateChange interface{}) error

func (*NopCRUD) GetCurrentState

func (*NopCRUD) GetCurrentState(ctx context.Context, obj interface{}) (interface{}, error)

func (*NopCRUD) GetDesiredState

func (*NopCRUD) GetDesiredState(ctx context.Context, obj interface{}) (interface{}, error)

func (*NopCRUD) Name

func (*NopCRUD) Name() string

func (*NopCRUD) NewDeletePatch

func (*NopCRUD) NewDeletePatch(ctx context.Context, obj, currentState, desiredState interface{}) (*crud.Patch, error)

func (*NopCRUD) NewUpdatePatch

func (*NopCRUD) NewUpdatePatch(ctx context.Context, obj, currentState, desiredState interface{}) (*crud.Patch, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL