Documentation
¶
Overview ¶
This package has the automatically generated fake clientset.
Index ¶
- Variables
- type Clientset
- func (c *Clientset) BgpV1alpha1() bgpv1alpha1.BgpV1alpha1Interface
- func (c *Clientset) ConnectionV1alpha1() connectionv1alpha1.ConnectionV1alpha1Interface
- func (c *Clientset) DeviceV1alpha1() devicev1alpha1.DeviceV1alpha1Interface
- func (c *Clientset) Discovery() discovery.DiscoveryInterface
- func (c *Clientset) GatewayV1alpha1() gatewayv1alpha1.GatewayV1alpha1Interface
- func (c *Clientset) IpV1alpha1() ipv1alpha1.IpV1alpha1Interface
- func (c *Clientset) OrganizationV1alpha1() organizationv1alpha1.OrganizationV1alpha1Interface
- func (c *Clientset) PortV1alpha1() portv1alpha1.PortV1alpha1Interface
- func (c *Clientset) ProjectV1alpha1() projectv1alpha1.ProjectV1alpha1Interface
- func (c *Clientset) ReservedV1alpha1() reservedv1alpha1.ReservedV1alpha1Interface
- func (c *Clientset) SpotV1alpha1() spotv1alpha1.SpotV1alpha1Interface
- func (c *Clientset) SshV1alpha1() sshv1alpha1.SshV1alpha1Interface
- func (c *Clientset) Tracker() testing.ObjectTracker
- func (c *Clientset) UserV1alpha1() userv1alpha1.UserV1alpha1Interface
- func (c *Clientset) VirtualV1alpha1() virtualv1alpha1.VirtualV1alpha1Interface
- func (c *Clientset) VlanV1alpha1() vlanv1alpha1.VlanV1alpha1Interface
- func (c *Clientset) VolumeV1alpha1() volumev1alpha1.VolumeV1alpha1Interface
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) BgpV1alpha1 ¶
func (c *Clientset) BgpV1alpha1() bgpv1alpha1.BgpV1alpha1Interface
BgpV1alpha1 retrieves the BgpV1alpha1Client
func (*Clientset) ConnectionV1alpha1 ¶
func (c *Clientset) ConnectionV1alpha1() connectionv1alpha1.ConnectionV1alpha1Interface
ConnectionV1alpha1 retrieves the ConnectionV1alpha1Client
func (*Clientset) DeviceV1alpha1 ¶
func (c *Clientset) DeviceV1alpha1() devicev1alpha1.DeviceV1alpha1Interface
DeviceV1alpha1 retrieves the DeviceV1alpha1Client
func (*Clientset) Discovery ¶
func (c *Clientset) Discovery() discovery.DiscoveryInterface
func (*Clientset) GatewayV1alpha1 ¶ added in v0.2.0
func (c *Clientset) GatewayV1alpha1() gatewayv1alpha1.GatewayV1alpha1Interface
GatewayV1alpha1 retrieves the GatewayV1alpha1Client
func (*Clientset) IpV1alpha1 ¶
func (c *Clientset) IpV1alpha1() ipv1alpha1.IpV1alpha1Interface
IpV1alpha1 retrieves the IpV1alpha1Client
func (*Clientset) OrganizationV1alpha1 ¶
func (c *Clientset) OrganizationV1alpha1() organizationv1alpha1.OrganizationV1alpha1Interface
OrganizationV1alpha1 retrieves the OrganizationV1alpha1Client
func (*Clientset) PortV1alpha1 ¶
func (c *Clientset) PortV1alpha1() portv1alpha1.PortV1alpha1Interface
PortV1alpha1 retrieves the PortV1alpha1Client
func (*Clientset) ProjectV1alpha1 ¶
func (c *Clientset) ProjectV1alpha1() projectv1alpha1.ProjectV1alpha1Interface
ProjectV1alpha1 retrieves the ProjectV1alpha1Client
func (*Clientset) ReservedV1alpha1 ¶
func (c *Clientset) ReservedV1alpha1() reservedv1alpha1.ReservedV1alpha1Interface
ReservedV1alpha1 retrieves the ReservedV1alpha1Client
func (*Clientset) SpotV1alpha1 ¶
func (c *Clientset) SpotV1alpha1() spotv1alpha1.SpotV1alpha1Interface
SpotV1alpha1 retrieves the SpotV1alpha1Client
func (*Clientset) SshV1alpha1 ¶
func (c *Clientset) SshV1alpha1() sshv1alpha1.SshV1alpha1Interface
SshV1alpha1 retrieves the SshV1alpha1Client
func (*Clientset) Tracker ¶
func (c *Clientset) Tracker() testing.ObjectTracker
func (*Clientset) UserV1alpha1 ¶
func (c *Clientset) UserV1alpha1() userv1alpha1.UserV1alpha1Interface
UserV1alpha1 retrieves the UserV1alpha1Client
func (*Clientset) VirtualV1alpha1 ¶
func (c *Clientset) VirtualV1alpha1() virtualv1alpha1.VirtualV1alpha1Interface
VirtualV1alpha1 retrieves the VirtualV1alpha1Client
func (*Clientset) VlanV1alpha1 ¶
func (c *Clientset) VlanV1alpha1() vlanv1alpha1.VlanV1alpha1Interface
VlanV1alpha1 retrieves the VlanV1alpha1Client
func (*Clientset) VolumeV1alpha1 ¶
func (c *Clientset) VolumeV1alpha1() volumev1alpha1.VolumeV1alpha1Interface
VolumeV1alpha1 retrieves the VolumeV1alpha1Client