Documentation ¶
Overview ¶
This package has the automatically generated fake clientset.
Index ¶
- Variables
- type Clientset
- func (c *Clientset) AddonV1alpha1() addonv1alpha1.AddonV1alpha1Interface
- func (c *Clientset) BusinessV1alpha1() businessv1alpha1.BusinessV1alpha1Interface
- func (c *Clientset) Discovery() discovery.DiscoveryInterface
- func (c *Clientset) EscalationV1alpha1() escalationv1alpha1.EscalationV1alpha1Interface
- func (c *Clientset) EventV1alpha1() eventv1alpha1.EventV1alpha1Interface
- func (c *Clientset) ExtensionV1alpha1() extensionv1alpha1.ExtensionV1alpha1Interface
- func (c *Clientset) MaintenanceV1alpha1() maintenancev1alpha1.MaintenanceV1alpha1Interface
- func (c *Clientset) ResponseV1alpha1() responsev1alpha1.ResponseV1alpha1Interface
- func (c *Clientset) RulesetV1alpha1() rulesetv1alpha1.RulesetV1alpha1Interface
- func (c *Clientset) ScheduleV1alpha1() schedulev1alpha1.ScheduleV1alpha1Interface
- func (c *Clientset) ServiceV1alpha1() servicev1alpha1.ServiceV1alpha1Interface
- func (c *Clientset) SlackV1alpha1() slackv1alpha1.SlackV1alpha1Interface
- func (c *Clientset) TagV1alpha1() tagv1alpha1.TagV1alpha1Interface
- func (c *Clientset) TeamV1alpha1() teamv1alpha1.TeamV1alpha1Interface
- func (c *Clientset) Tracker() testing.ObjectTracker
- func (c *Clientset) UserV1alpha1() userv1alpha1.UserV1alpha1Interface
- func (c *Clientset) WebhookV1alpha1() webhookv1alpha1.WebhookV1alpha1Interface
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) AddonV1alpha1 ¶
func (c *Clientset) AddonV1alpha1() addonv1alpha1.AddonV1alpha1Interface
AddonV1alpha1 retrieves the AddonV1alpha1Client
func (*Clientset) BusinessV1alpha1 ¶
func (c *Clientset) BusinessV1alpha1() businessv1alpha1.BusinessV1alpha1Interface
BusinessV1alpha1 retrieves the BusinessV1alpha1Client
func (*Clientset) Discovery ¶
func (c *Clientset) Discovery() discovery.DiscoveryInterface
func (*Clientset) EscalationV1alpha1 ¶
func (c *Clientset) EscalationV1alpha1() escalationv1alpha1.EscalationV1alpha1Interface
EscalationV1alpha1 retrieves the EscalationV1alpha1Client
func (*Clientset) EventV1alpha1 ¶
func (c *Clientset) EventV1alpha1() eventv1alpha1.EventV1alpha1Interface
EventV1alpha1 retrieves the EventV1alpha1Client
func (*Clientset) ExtensionV1alpha1 ¶
func (c *Clientset) ExtensionV1alpha1() extensionv1alpha1.ExtensionV1alpha1Interface
ExtensionV1alpha1 retrieves the ExtensionV1alpha1Client
func (*Clientset) MaintenanceV1alpha1 ¶
func (c *Clientset) MaintenanceV1alpha1() maintenancev1alpha1.MaintenanceV1alpha1Interface
MaintenanceV1alpha1 retrieves the MaintenanceV1alpha1Client
func (*Clientset) ResponseV1alpha1 ¶
func (c *Clientset) ResponseV1alpha1() responsev1alpha1.ResponseV1alpha1Interface
ResponseV1alpha1 retrieves the ResponseV1alpha1Client
func (*Clientset) RulesetV1alpha1 ¶
func (c *Clientset) RulesetV1alpha1() rulesetv1alpha1.RulesetV1alpha1Interface
RulesetV1alpha1 retrieves the RulesetV1alpha1Client
func (*Clientset) ScheduleV1alpha1 ¶
func (c *Clientset) ScheduleV1alpha1() schedulev1alpha1.ScheduleV1alpha1Interface
ScheduleV1alpha1 retrieves the ScheduleV1alpha1Client
func (*Clientset) ServiceV1alpha1 ¶
func (c *Clientset) ServiceV1alpha1() servicev1alpha1.ServiceV1alpha1Interface
ServiceV1alpha1 retrieves the ServiceV1alpha1Client
func (*Clientset) SlackV1alpha1 ¶ added in v0.4.0
func (c *Clientset) SlackV1alpha1() slackv1alpha1.SlackV1alpha1Interface
SlackV1alpha1 retrieves the SlackV1alpha1Client
func (*Clientset) TagV1alpha1 ¶ added in v0.4.0
func (c *Clientset) TagV1alpha1() tagv1alpha1.TagV1alpha1Interface
TagV1alpha1 retrieves the TagV1alpha1Client
func (*Clientset) TeamV1alpha1 ¶
func (c *Clientset) TeamV1alpha1() teamv1alpha1.TeamV1alpha1Interface
TeamV1alpha1 retrieves the TeamV1alpha1Client
func (*Clientset) Tracker ¶
func (c *Clientset) Tracker() testing.ObjectTracker
func (*Clientset) UserV1alpha1 ¶
func (c *Clientset) UserV1alpha1() userv1alpha1.UserV1alpha1Interface
UserV1alpha1 retrieves the UserV1alpha1Client
func (*Clientset) WebhookV1alpha1 ¶ added in v0.5.0
func (c *Clientset) WebhookV1alpha1() webhookv1alpha1.WebhookV1alpha1Interface
WebhookV1alpha1 retrieves the WebhookV1alpha1Client