Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateOption ¶
type CreateOption struct{}
type CreteOptions ¶
type CreteOptions interface {
Apply(*CreateOption)
}
type DeleteOption ¶
type DeleteOption struct{}
type DeleteOptions ¶
type DeleteOptions interface {
Apply(*DeleteOption)
}
type EntityObject ¶
type EntityObject interface {
Store() string
Kind() string
}
type EntityObjectList ¶
type EntityObjectList interface {
Store() string
Kind() string
}
type ListOption ¶
type ListOption struct{}
type ListOptions ¶
type ListOptions interface {
Apply(*ListOption)
}
type RetrieveOption ¶
type RetrieveOption struct{}
type RetrieveOptions ¶
type RetrieveOptions interface {
Apply(*RetrieveOption)
}
type StoreIface ¶
type StoreIface interface {
List(context.Context, EntityObjectList, ...ListOptions) error
Create(context.Context, EntityObject, ...CreateOption) error
CreateMany(context.Context, EntityObjectList, ...CreateOption) error
Retrieve(context.Context, EntityObject, ...RetrieveOptions) error
Update(context.Context, EntityObject, ...UpdateOptions) error
Delete(context.Context, EntityObject, DeleteOptions) error
}
type UpdateOption ¶
type UpdateOption struct{}
type UpdateOptions ¶
type UpdateOptions interface {
Apply(*UpdateOption)
}
Click to show internal directories.
Click to hide internal directories.