Documentation ¶
Index ¶
- type Factory
- type Strategy
- func (s *Strategy) Create(ctx context.Context, object types.Object) (types.Object, error)
- func (s *Strategy) Delete(ctx context.Context, obj types.Object) (types.Object, error)
- func (s *Strategy) Destroy()
- func (s *Strategy) Get(ctx context.Context, namespace, name string) (types.Object, error)
- func (s *Strategy) List(ctx context.Context, namespace string, opts storage.ListOptions) (types.ObjectList, error)
- func (s *Strategy) New() types.Object
- func (s *Strategy) NewList() types.ObjectList
- func (s *Strategy) Scheme() *runtime.Scheme
- func (s *Strategy) Update(ctx context.Context, obj types.Object) (types.Object, error)
- func (s *Strategy) UpdateStatus(ctx context.Context, obj types.Object) (types.Object, error)
- func (s *Strategy) Watch(ctx context.Context, namespace string, opts storage.ListOptions) (<-chan watch.Event, error)
- type TableNamer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
func (*Factory) NewDBStrategy ¶
type Strategy ¶
type Strategy struct {
// contains filtered or unexported fields
}
func (*Strategy) List ¶
func (s *Strategy) List(ctx context.Context, namespace string, opts storage.ListOptions) (types.ObjectList, error)
func (*Strategy) NewList ¶
func (s *Strategy) NewList() types.ObjectList
func (*Strategy) UpdateStatus ¶
type TableNamer ¶
type TableNamer interface {
TableName() string
}
Directories ¶
Path | Synopsis |
---|---|
Package glogrus provides a gorm logger that wraps a logrus.Logger.
|
Package glogrus provides a gorm logger that wraps a logrus.Logger. |
Click to show internal directories.
Click to hide internal directories.