Documentation ¶
Overview ¶
This package has the automatically generated fake clientset.
Index ¶
- Variables
- type Clientset
- func (c *Clientset) ComputeV1alpha1() computev1alpha1.ComputeV1alpha1Interface
- func (c *Clientset) ContentV1alpha1() contentv1alpha1.ContentV1alpha1Interface
- func (c *Clientset) CustomV1alpha1() customv1alpha1.CustomV1alpha1Interface
- func (c *Clientset) DatacenterV1alpha1() datacenterv1alpha1.DatacenterV1alpha1Interface
- func (c *Clientset) DatastoreV1alpha1() datastorev1alpha1.DatastoreV1alpha1Interface
- func (c *Clientset) Discovery() discovery.DiscoveryInterface
- func (c *Clientset) DistributedV1alpha1() distributedv1alpha1.DistributedV1alpha1Interface
- func (c *Clientset) DpmV1alpha1() dpmv1alpha1.DpmV1alpha1Interface
- func (c *Clientset) DrsV1alpha1() drsv1alpha1.DrsV1alpha1Interface
- func (c *Clientset) EntityV1alpha1() entityv1alpha1.EntityV1alpha1Interface
- func (c *Clientset) FileV1alpha1() filev1alpha1.FileV1alpha1Interface
- func (c *Clientset) FolderV1alpha1() folderv1alpha1.FolderV1alpha1Interface
- func (c *Clientset) HaV1alpha1() hav1alpha1.HaV1alpha1Interface
- func (c *Clientset) HostV1alpha1() hostv1alpha1.HostV1alpha1Interface
- func (c *Clientset) LicenseV1alpha1() licensev1alpha1.LicenseV1alpha1Interface
- func (c *Clientset) NasV1alpha1() nasv1alpha1.NasV1alpha1Interface
- func (c *Clientset) ResourceV1alpha1() resourcev1alpha1.ResourceV1alpha1Interface
- func (c *Clientset) RoleV1alpha1() rolev1alpha1.RoleV1alpha1Interface
- func (c *Clientset) StorageV1alpha1() storagev1alpha1.StorageV1alpha1Interface
- func (c *Clientset) TagV1alpha1() tagv1alpha1.TagV1alpha1Interface
- func (c *Clientset) Tracker() testing.ObjectTracker
- func (c *Clientset) VappV1alpha1() vappv1alpha1.VappV1alpha1Interface
- func (c *Clientset) VirtualV1alpha1() virtualv1alpha1.VirtualV1alpha1Interface
- func (c *Clientset) VmV1alpha1() vmv1alpha1.VmV1alpha1Interface
- func (c *Clientset) VmfsV1alpha1() vmfsv1alpha1.VmfsV1alpha1Interface
- func (c *Clientset) VnicV1alpha1() vnicv1alpha1.VnicV1alpha1Interface
Constants ¶
This section is empty.
Variables ¶
var AddToScheme = localSchemeBuilder.AddToScheme
AddToScheme adds all types of this clientset into the given scheme. This allows composition of clientsets, like in:
import ( "k8s.io/client-go/kubernetes" clientsetscheme "k8s.io/client-go/kubernetes/scheme" aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme" ) kclientset, _ := kubernetes.NewForConfig(c) _ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme)
After this, RawExtensions in Kubernetes types will serialize kube-aggregator types correctly.
Functions ¶
This section is empty.
Types ¶
type Clientset ¶
Clientset implements clientset.Interface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the method you want to test easier.
func NewSimpleClientset ¶
NewSimpleClientset returns a clientset that will respond with the provided objects. It's backed by a very simple object tracker that processes creates, updates and deletions as-is, without applying any validations and/or defaults. It shouldn't be considered a replacement for a real clientset and is mostly useful in simple unit tests.
func (*Clientset) ComputeV1alpha1 ¶
func (c *Clientset) ComputeV1alpha1() computev1alpha1.ComputeV1alpha1Interface
ComputeV1alpha1 retrieves the ComputeV1alpha1Client
func (*Clientset) ContentV1alpha1 ¶
func (c *Clientset) ContentV1alpha1() contentv1alpha1.ContentV1alpha1Interface
ContentV1alpha1 retrieves the ContentV1alpha1Client
func (*Clientset) CustomV1alpha1 ¶
func (c *Clientset) CustomV1alpha1() customv1alpha1.CustomV1alpha1Interface
CustomV1alpha1 retrieves the CustomV1alpha1Client
func (*Clientset) DatacenterV1alpha1 ¶
func (c *Clientset) DatacenterV1alpha1() datacenterv1alpha1.DatacenterV1alpha1Interface
DatacenterV1alpha1 retrieves the DatacenterV1alpha1Client
func (*Clientset) DatastoreV1alpha1 ¶
func (c *Clientset) DatastoreV1alpha1() datastorev1alpha1.DatastoreV1alpha1Interface
DatastoreV1alpha1 retrieves the DatastoreV1alpha1Client
func (*Clientset) Discovery ¶
func (c *Clientset) Discovery() discovery.DiscoveryInterface
func (*Clientset) DistributedV1alpha1 ¶
func (c *Clientset) DistributedV1alpha1() distributedv1alpha1.DistributedV1alpha1Interface
DistributedV1alpha1 retrieves the DistributedV1alpha1Client
func (*Clientset) DpmV1alpha1 ¶
func (c *Clientset) DpmV1alpha1() dpmv1alpha1.DpmV1alpha1Interface
DpmV1alpha1 retrieves the DpmV1alpha1Client
func (*Clientset) DrsV1alpha1 ¶
func (c *Clientset) DrsV1alpha1() drsv1alpha1.DrsV1alpha1Interface
DrsV1alpha1 retrieves the DrsV1alpha1Client
func (*Clientset) EntityV1alpha1 ¶
func (c *Clientset) EntityV1alpha1() entityv1alpha1.EntityV1alpha1Interface
EntityV1alpha1 retrieves the EntityV1alpha1Client
func (*Clientset) FileV1alpha1 ¶
func (c *Clientset) FileV1alpha1() filev1alpha1.FileV1alpha1Interface
FileV1alpha1 retrieves the FileV1alpha1Client
func (*Clientset) FolderV1alpha1 ¶
func (c *Clientset) FolderV1alpha1() folderv1alpha1.FolderV1alpha1Interface
FolderV1alpha1 retrieves the FolderV1alpha1Client
func (*Clientset) HaV1alpha1 ¶
func (c *Clientset) HaV1alpha1() hav1alpha1.HaV1alpha1Interface
HaV1alpha1 retrieves the HaV1alpha1Client
func (*Clientset) HostV1alpha1 ¶
func (c *Clientset) HostV1alpha1() hostv1alpha1.HostV1alpha1Interface
HostV1alpha1 retrieves the HostV1alpha1Client
func (*Clientset) LicenseV1alpha1 ¶
func (c *Clientset) LicenseV1alpha1() licensev1alpha1.LicenseV1alpha1Interface
LicenseV1alpha1 retrieves the LicenseV1alpha1Client
func (*Clientset) NasV1alpha1 ¶
func (c *Clientset) NasV1alpha1() nasv1alpha1.NasV1alpha1Interface
NasV1alpha1 retrieves the NasV1alpha1Client
func (*Clientset) ResourceV1alpha1 ¶
func (c *Clientset) ResourceV1alpha1() resourcev1alpha1.ResourceV1alpha1Interface
ResourceV1alpha1 retrieves the ResourceV1alpha1Client
func (*Clientset) RoleV1alpha1 ¶
func (c *Clientset) RoleV1alpha1() rolev1alpha1.RoleV1alpha1Interface
RoleV1alpha1 retrieves the RoleV1alpha1Client
func (*Clientset) StorageV1alpha1 ¶
func (c *Clientset) StorageV1alpha1() storagev1alpha1.StorageV1alpha1Interface
StorageV1alpha1 retrieves the StorageV1alpha1Client
func (*Clientset) TagV1alpha1 ¶
func (c *Clientset) TagV1alpha1() tagv1alpha1.TagV1alpha1Interface
TagV1alpha1 retrieves the TagV1alpha1Client
func (*Clientset) Tracker ¶
func (c *Clientset) Tracker() testing.ObjectTracker
func (*Clientset) VappV1alpha1 ¶
func (c *Clientset) VappV1alpha1() vappv1alpha1.VappV1alpha1Interface
VappV1alpha1 retrieves the VappV1alpha1Client
func (*Clientset) VirtualV1alpha1 ¶
func (c *Clientset) VirtualV1alpha1() virtualv1alpha1.VirtualV1alpha1Interface
VirtualV1alpha1 retrieves the VirtualV1alpha1Client
func (*Clientset) VmV1alpha1 ¶
func (c *Clientset) VmV1alpha1() vmv1alpha1.VmV1alpha1Interface
VmV1alpha1 retrieves the VmV1alpha1Client
func (*Clientset) VmfsV1alpha1 ¶
func (c *Clientset) VmfsV1alpha1() vmfsv1alpha1.VmfsV1alpha1Interface
VmfsV1alpha1 retrieves the VmfsV1alpha1Client
func (*Clientset) VnicV1alpha1 ¶
func (c *Clientset) VnicV1alpha1() vnicv1alpha1.VnicV1alpha1Interface
VnicV1alpha1 retrieves the VnicV1alpha1Client