...

Package fake

import "kubevirt.io/client-go/kubecli/fake"
Overview
Index

Overview ▾

type PutAction

type PutAction[T any] interface {
    testing.Action
    GetName() string
    GetOptions() T
}

type PutActionImpl

type PutActionImpl[T any] struct {
    testing.ActionImpl
    Name    string
    Options T
}

func NewPutAction

func NewPutAction[T any](resource schema.GroupVersionResource, namespace, name string, options T) PutActionImpl[T]

func NewPutSubresourceAction

func NewPutSubresourceAction[T any](resource schema.GroupVersionResource, namespace, subresource, name string, options T) PutActionImpl[T]

func NewRootPutAction

func NewRootPutAction[T any](resource schema.GroupVersionResource, name string, options T) PutActionImpl[T]

func NewRootPutSubresourceAction

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