...
Package fake
- type PutAction
- type PutActionImpl
- func NewPutAction[T any](resource schema.GroupVersionResource, namespace, name string, options T) PutActionImpl[T]
- func NewPutSubresourceAction[T any](resource schema.GroupVersionResource, namespace, subresource, name string, options T) PutActionImpl[T]
- func NewRootPutAction[T any](resource schema.GroupVersionResource, name string, options T) PutActionImpl[T]
- func NewRootPutSubresourceAction[T any](resource schema.GroupVersionResource, subresource, name string, options T) PutActionImpl[T]
- func (a PutActionImpl[T]) DeepCopy() testing.Action
- func (a PutActionImpl[T]) GetName() string
- func (a PutActionImpl[T]) GetOptions() T
Package files
actions.go
type PutAction[T any] interface {
testing.Action
GetName() string
GetOptions() T
}
type PutActionImpl[T any] struct {
testing.ActionImpl
Name string
Options T
}
func NewPutAction[T any](resource schema.GroupVersionResource, namespace, name string, options T) PutActionImpl[T]
func NewPutSubresourceAction[T any](resource schema.GroupVersionResource, namespace, subresource, name string, options T) PutActionImpl[T]
func NewRootPutAction[T any](resource schema.GroupVersionResource, name string, options T) PutActionImpl[T]
func NewRootPutSubresourceAction[T any](resource schema.GroupVersionResource, subresource, name string, options T) PutActionImpl[T]
func (PutActionImpl[T]) DeepCopy
¶
func (a PutActionImpl[T]) DeepCopy() testing.Action
func (PutActionImpl[T]) GetName
¶
func (a PutActionImpl[T]) GetName() string
func (PutActionImpl[T]) GetOptions
¶
func (a PutActionImpl[T]) GetOptions() T