Documentation ¶
Overview ¶
This package has the automatically generated fake clientset.
Index ¶
- Variables
- type Clientset
- func (c *Clientset) ApisixV2() apisixv2.ApisixV2Interface
- func (c *Clientset) AppmeshV1beta1() appmeshv1beta1.AppmeshV1beta1Interface
- func (c *Clientset) AppmeshV1beta2() appmeshv1beta2.AppmeshV1beta2Interface
- func (c *Clientset) Discovery() discovery.DiscoveryInterface
- func (c *Clientset) FlaggerV1beta1() flaggerv1beta1.FlaggerV1beta1Interface
- func (c *Clientset) GatewayV1() gatewayv1.GatewayV1Interface
- func (c *Clientset) GatewayapiV1() gatewayapiv1.GatewayapiV1Interface
- func (c *Clientset) GatewayapiV1beta1() gatewayapiv1beta1.GatewayapiV1beta1Interface
- func (c *Clientset) GlooV1() gloov1.GlooV1Interface
- func (c *Clientset) KedaV1alpha1() kedav1alpha1.KedaV1alpha1Interface
- func (c *Clientset) KumaV1alpha1() kumav1alpha1.KumaV1alpha1Interface
- func (c *Clientset) NetworkingV1beta1() networkingv1beta1.NetworkingV1beta1Interface
- func (c *Clientset) ProjectcontourV1() projectcontourv1.ProjectcontourV1Interface
- func (c *Clientset) SplitV1alpha1() splitv1alpha1.SplitV1alpha1Interface
- func (c *Clientset) SplitV1alpha2() splitv1alpha2.SplitV1alpha2Interface
- func (c *Clientset) SplitV1alpha3() splitv1alpha3.SplitV1alpha3Interface
- func (c *Clientset) Tracker() testing.ObjectTracker
- func (c *Clientset) TraefikV1alpha1() traefikv1alpha1.TraefikV1alpha1Interface
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 field management, validations and/or defaults. It shouldn't be considered a replacement for a real clientset and is mostly useful in simple unit tests.
DEPRECATED: NewClientset replaces this with support for field management, which significantly improves server side apply testing. NewClientset is only available when apply configurations are generated (e.g. via --with-applyconfig).
func (*Clientset) ApisixV2 ¶ added in v1.27.0
func (c *Clientset) ApisixV2() apisixv2.ApisixV2Interface
ApisixV2 retrieves the ApisixV2Client
func (*Clientset) AppmeshV1beta1 ¶
func (c *Clientset) AppmeshV1beta1() appmeshv1beta1.AppmeshV1beta1Interface
AppmeshV1beta1 retrieves the AppmeshV1beta1Client
func (*Clientset) AppmeshV1beta2 ¶
func (c *Clientset) AppmeshV1beta2() appmeshv1beta2.AppmeshV1beta2Interface
AppmeshV1beta2 retrieves the AppmeshV1beta2Client
func (*Clientset) Discovery ¶
func (c *Clientset) Discovery() discovery.DiscoveryInterface
func (*Clientset) FlaggerV1beta1 ¶
func (c *Clientset) FlaggerV1beta1() flaggerv1beta1.FlaggerV1beta1Interface
FlaggerV1beta1 retrieves the FlaggerV1beta1Client
func (*Clientset) GatewayV1 ¶ added in v1.6.0
func (c *Clientset) GatewayV1() gatewayv1.GatewayV1Interface
GatewayV1 retrieves the GatewayV1Client
func (*Clientset) GatewayapiV1 ¶ added in v1.35.0
func (c *Clientset) GatewayapiV1() gatewayapiv1.GatewayapiV1Interface
GatewayapiV1 retrieves the GatewayapiV1Client
func (*Clientset) GatewayapiV1beta1 ¶ added in v1.26.0
func (c *Clientset) GatewayapiV1beta1() gatewayapiv1beta1.GatewayapiV1beta1Interface
GatewayapiV1beta1 retrieves the GatewayapiV1beta1Client
func (*Clientset) GlooV1 ¶
func (c *Clientset) GlooV1() gloov1.GlooV1Interface
GlooV1 retrieves the GlooV1Client
func (*Clientset) KedaV1alpha1 ¶ added in v1.22.0
func (c *Clientset) KedaV1alpha1() kedav1alpha1.KedaV1alpha1Interface
KedaV1alpha1 retrieves the KedaV1alpha1Client
func (*Clientset) KumaV1alpha1 ¶ added in v1.17.0
func (c *Clientset) KumaV1alpha1() kumav1alpha1.KumaV1alpha1Interface
KumaV1alpha1 retrieves the KumaV1alpha1Client
func (*Clientset) NetworkingV1beta1 ¶ added in v1.37.0
func (c *Clientset) NetworkingV1beta1() networkingv1beta1.NetworkingV1beta1Interface
NetworkingV1beta1 retrieves the NetworkingV1beta1Client
func (*Clientset) ProjectcontourV1 ¶
func (c *Clientset) ProjectcontourV1() projectcontourv1.ProjectcontourV1Interface
ProjectcontourV1 retrieves the ProjectcontourV1Client
func (*Clientset) SplitV1alpha1 ¶
func (c *Clientset) SplitV1alpha1() splitv1alpha1.SplitV1alpha1Interface
SplitV1alpha1 retrieves the SplitV1alpha1Client
func (*Clientset) SplitV1alpha2 ¶
func (c *Clientset) SplitV1alpha2() splitv1alpha2.SplitV1alpha2Interface
SplitV1alpha2 retrieves the SplitV1alpha2Client
func (*Clientset) SplitV1alpha3 ¶ added in v1.8.0
func (c *Clientset) SplitV1alpha3() splitv1alpha3.SplitV1alpha3Interface
SplitV1alpha3 retrieves the SplitV1alpha3Client
func (*Clientset) Tracker ¶
func (c *Clientset) Tracker() testing.ObjectTracker
func (*Clientset) TraefikV1alpha1 ¶
func (c *Clientset) TraefikV1alpha1() traefikv1alpha1.TraefikV1alpha1Interface
TraefikV1alpha1 retrieves the TraefikV1alpha1Client