Documentation ¶
Overview ¶
This package has the automatically generated fake clientset.
Index ¶
- Variables
- type Clientset
- func (c *Clientset) AdvancedV1alpha1() advancedv1alpha1.AdvancedV1alpha1Interface
- func (c *Clientset) AlertV1alpha1() alertv1alpha1.AlertV1alpha1Interface
- func (c *Clientset) AuditingV1alpha1() auditingv1alpha1.AuditingV1alpha1Interface
- func (c *Clientset) CloudV1alpha1() cloudv1alpha1.CloudV1alpha1Interface
- func (c *Clientset) ClusterV1alpha1() clusterv1alpha1.ClusterV1alpha1Interface
- func (c *Clientset) CustomV1alpha1() customv1alpha1.CustomV1alpha1Interface
- func (c *Clientset) DataV1alpha1() datav1alpha1.DataV1alpha1Interface
- func (c *Clientset) DatabaseV1alpha1() databasev1alpha1.DatabaseV1alpha1Interface
- func (c *Clientset) Discovery() discovery.DiscoveryInterface
- func (c *Clientset) EncryptionV1alpha1() encryptionv1alpha1.EncryptionV1alpha1Interface
- func (c *Clientset) EventV1alpha1() eventv1alpha1.EventV1alpha1Interface
- func (c *Clientset) GlobalV1alpha1() globalv1alpha1.GlobalV1alpha1Interface
- func (c *Clientset) LdapV1alpha1() ldapv1alpha1.LdapV1alpha1Interface
- func (c *Clientset) MaintenanceV1alpha1() maintenancev1alpha1.MaintenanceV1alpha1Interface
- func (c *Clientset) NetworkV1alpha1() networkv1alpha1.NetworkV1alpha1Interface
- func (c *Clientset) OnlineV1alpha1() onlinev1alpha1.OnlineV1alpha1Interface
- func (c *Clientset) OrgV1alpha1() orgv1alpha1.OrgV1alpha1Interface
- func (c *Clientset) PrivateV1alpha1() privatev1alpha1.PrivateV1alpha1Interface
- func (c *Clientset) PrivatelinkV1alpha1() privatelinkv1alpha1.PrivatelinkV1alpha1Interface
- func (c *Clientset) ProjectV1alpha1() projectv1alpha1.ProjectV1alpha1Interface
- func (c *Clientset) SearchV1alpha1() searchv1alpha1.SearchV1alpha1Interface
- func (c *Clientset) TeamV1alpha1() teamv1alpha1.TeamV1alpha1Interface
- func (c *Clientset) TeamsV1alpha1() teamsv1alpha1.TeamsV1alpha1Interface
- func (c *Clientset) ThirdV1alpha1() thirdv1alpha1.ThirdV1alpha1Interface
- func (c *Clientset) Tracker() testing.ObjectTracker
- func (c *Clientset) X509V1alpha1() x509v1alpha1.X509V1alpha1Interface
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) AdvancedV1alpha1 ¶ added in v0.5.0
func (c *Clientset) AdvancedV1alpha1() advancedv1alpha1.AdvancedV1alpha1Interface
AdvancedV1alpha1 retrieves the AdvancedV1alpha1Client
func (*Clientset) AlertV1alpha1 ¶
func (c *Clientset) AlertV1alpha1() alertv1alpha1.AlertV1alpha1Interface
AlertV1alpha1 retrieves the AlertV1alpha1Client
func (*Clientset) AuditingV1alpha1 ¶
func (c *Clientset) AuditingV1alpha1() auditingv1alpha1.AuditingV1alpha1Interface
AuditingV1alpha1 retrieves the AuditingV1alpha1Client
func (*Clientset) CloudV1alpha1 ¶
func (c *Clientset) CloudV1alpha1() cloudv1alpha1.CloudV1alpha1Interface
CloudV1alpha1 retrieves the CloudV1alpha1Client
func (*Clientset) ClusterV1alpha1 ¶
func (c *Clientset) ClusterV1alpha1() clusterv1alpha1.ClusterV1alpha1Interface
ClusterV1alpha1 retrieves the ClusterV1alpha1Client
func (*Clientset) CustomV1alpha1 ¶
func (c *Clientset) CustomV1alpha1() customv1alpha1.CustomV1alpha1Interface
CustomV1alpha1 retrieves the CustomV1alpha1Client
func (*Clientset) DataV1alpha1 ¶
func (c *Clientset) DataV1alpha1() datav1alpha1.DataV1alpha1Interface
DataV1alpha1 retrieves the DataV1alpha1Client
func (*Clientset) DatabaseV1alpha1 ¶
func (c *Clientset) DatabaseV1alpha1() databasev1alpha1.DatabaseV1alpha1Interface
DatabaseV1alpha1 retrieves the DatabaseV1alpha1Client
func (*Clientset) Discovery ¶
func (c *Clientset) Discovery() discovery.DiscoveryInterface
func (*Clientset) EncryptionV1alpha1 ¶
func (c *Clientset) EncryptionV1alpha1() encryptionv1alpha1.EncryptionV1alpha1Interface
EncryptionV1alpha1 retrieves the EncryptionV1alpha1Client
func (*Clientset) EventV1alpha1 ¶
func (c *Clientset) EventV1alpha1() eventv1alpha1.EventV1alpha1Interface
EventV1alpha1 retrieves the EventV1alpha1Client
func (*Clientset) GlobalV1alpha1 ¶
func (c *Clientset) GlobalV1alpha1() globalv1alpha1.GlobalV1alpha1Interface
GlobalV1alpha1 retrieves the GlobalV1alpha1Client
func (*Clientset) LdapV1alpha1 ¶
func (c *Clientset) LdapV1alpha1() ldapv1alpha1.LdapV1alpha1Interface
LdapV1alpha1 retrieves the LdapV1alpha1Client
func (*Clientset) MaintenanceV1alpha1 ¶
func (c *Clientset) MaintenanceV1alpha1() maintenancev1alpha1.MaintenanceV1alpha1Interface
MaintenanceV1alpha1 retrieves the MaintenanceV1alpha1Client
func (*Clientset) NetworkV1alpha1 ¶
func (c *Clientset) NetworkV1alpha1() networkv1alpha1.NetworkV1alpha1Interface
NetworkV1alpha1 retrieves the NetworkV1alpha1Client
func (*Clientset) OnlineV1alpha1 ¶
func (c *Clientset) OnlineV1alpha1() onlinev1alpha1.OnlineV1alpha1Interface
OnlineV1alpha1 retrieves the OnlineV1alpha1Client
func (*Clientset) OrgV1alpha1 ¶ added in v0.5.0
func (c *Clientset) OrgV1alpha1() orgv1alpha1.OrgV1alpha1Interface
OrgV1alpha1 retrieves the OrgV1alpha1Client
func (*Clientset) PrivateV1alpha1 ¶
func (c *Clientset) PrivateV1alpha1() privatev1alpha1.PrivateV1alpha1Interface
PrivateV1alpha1 retrieves the PrivateV1alpha1Client
func (*Clientset) PrivatelinkV1alpha1 ¶
func (c *Clientset) PrivatelinkV1alpha1() privatelinkv1alpha1.PrivatelinkV1alpha1Interface
PrivatelinkV1alpha1 retrieves the PrivatelinkV1alpha1Client
func (*Clientset) ProjectV1alpha1 ¶
func (c *Clientset) ProjectV1alpha1() projectv1alpha1.ProjectV1alpha1Interface
ProjectV1alpha1 retrieves the ProjectV1alpha1Client
func (*Clientset) SearchV1alpha1 ¶
func (c *Clientset) SearchV1alpha1() searchv1alpha1.SearchV1alpha1Interface
SearchV1alpha1 retrieves the SearchV1alpha1Client
func (*Clientset) TeamV1alpha1 ¶
func (c *Clientset) TeamV1alpha1() teamv1alpha1.TeamV1alpha1Interface
TeamV1alpha1 retrieves the TeamV1alpha1Client
func (*Clientset) TeamsV1alpha1 ¶
func (c *Clientset) TeamsV1alpha1() teamsv1alpha1.TeamsV1alpha1Interface
TeamsV1alpha1 retrieves the TeamsV1alpha1Client
func (*Clientset) ThirdV1alpha1 ¶
func (c *Clientset) ThirdV1alpha1() thirdv1alpha1.ThirdV1alpha1Interface
ThirdV1alpha1 retrieves the ThirdV1alpha1Client
func (*Clientset) Tracker ¶
func (c *Clientset) Tracker() testing.ObjectTracker
func (*Clientset) X509V1alpha1 ¶
func (c *Clientset) X509V1alpha1() x509v1alpha1.X509V1alpha1Interface
X509V1alpha1 retrieves the X509V1alpha1Client