Documentation ¶
Overview ¶
This package has the automatically generated fake clientset.
Index ¶
- Variables
- type Clientset
- func (c *Clientset) ApikeyV1alpha1() apikeyv1alpha1.ApikeyV1alpha1Interface
- func (c *Clientset) ApplicationV1alpha1() applicationv1alpha1.ApplicationV1alpha1Interface
- func (c *Clientset) ChildV1alpha1() childv1alpha1.ChildV1alpha1Interface
- func (c *Clientset) DashboardV1alpha1() dashboardv1alpha1.DashboardV1alpha1Interface
- func (c *Clientset) Discovery() discovery.DiscoveryInterface
- func (c *Clientset) DowntimeV1alpha1() downtimev1alpha1.DowntimeV1alpha1Interface
- func (c *Clientset) IntegrationV1alpha1() integrationv1alpha1.IntegrationV1alpha1Interface
- func (c *Clientset) LogsV1alpha1() logsv1alpha1.LogsV1alpha1Interface
- func (c *Clientset) MetricV1alpha1() metricv1alpha1.MetricV1alpha1Interface
- func (c *Clientset) MonitorV1alpha1() monitorv1alpha1.MonitorV1alpha1Interface
- func (c *Clientset) OrganizationV1alpha1() organizationv1alpha1.OrganizationV1alpha1Interface
- func (c *Clientset) RoleV1alpha1() rolev1alpha1.RoleV1alpha1Interface
- func (c *Clientset) SecurityV1alpha1() securityv1alpha1.SecurityV1alpha1Interface
- func (c *Clientset) ServiceV1alpha1() servicev1alpha1.ServiceV1alpha1Interface
- func (c *Clientset) SloV1alpha1() slov1alpha1.SloV1alpha1Interface
- func (c *Clientset) SyntheticsV1alpha1() syntheticsv1alpha1.SyntheticsV1alpha1Interface
- 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) ApikeyV1alpha1 ¶ added in v0.4.0
func (c *Clientset) ApikeyV1alpha1() apikeyv1alpha1.ApikeyV1alpha1Interface
ApikeyV1alpha1 retrieves the ApikeyV1alpha1Client
func (*Clientset) ApplicationV1alpha1 ¶ added in v0.4.0
func (c *Clientset) ApplicationV1alpha1() applicationv1alpha1.ApplicationV1alpha1Interface
ApplicationV1alpha1 retrieves the ApplicationV1alpha1Client
func (*Clientset) ChildV1alpha1 ¶ added in v0.4.0
func (c *Clientset) ChildV1alpha1() childv1alpha1.ChildV1alpha1Interface
ChildV1alpha1 retrieves the ChildV1alpha1Client
func (*Clientset) DashboardV1alpha1 ¶
func (c *Clientset) DashboardV1alpha1() dashboardv1alpha1.DashboardV1alpha1Interface
DashboardV1alpha1 retrieves the DashboardV1alpha1Client
func (*Clientset) Discovery ¶
func (c *Clientset) Discovery() discovery.DiscoveryInterface
func (*Clientset) DowntimeV1alpha1 ¶
func (c *Clientset) DowntimeV1alpha1() downtimev1alpha1.DowntimeV1alpha1Interface
DowntimeV1alpha1 retrieves the DowntimeV1alpha1Client
func (*Clientset) IntegrationV1alpha1 ¶
func (c *Clientset) IntegrationV1alpha1() integrationv1alpha1.IntegrationV1alpha1Interface
IntegrationV1alpha1 retrieves the IntegrationV1alpha1Client
func (*Clientset) LogsV1alpha1 ¶
func (c *Clientset) LogsV1alpha1() logsv1alpha1.LogsV1alpha1Interface
LogsV1alpha1 retrieves the LogsV1alpha1Client
func (*Clientset) MetricV1alpha1 ¶
func (c *Clientset) MetricV1alpha1() metricv1alpha1.MetricV1alpha1Interface
MetricV1alpha1 retrieves the MetricV1alpha1Client
func (*Clientset) MonitorV1alpha1 ¶
func (c *Clientset) MonitorV1alpha1() monitorv1alpha1.MonitorV1alpha1Interface
MonitorV1alpha1 retrieves the MonitorV1alpha1Client
func (*Clientset) OrganizationV1alpha1 ¶ added in v0.4.0
func (c *Clientset) OrganizationV1alpha1() organizationv1alpha1.OrganizationV1alpha1Interface
OrganizationV1alpha1 retrieves the OrganizationV1alpha1Client
func (*Clientset) RoleV1alpha1 ¶
func (c *Clientset) RoleV1alpha1() rolev1alpha1.RoleV1alpha1Interface
RoleV1alpha1 retrieves the RoleV1alpha1Client
func (*Clientset) SecurityV1alpha1 ¶
func (c *Clientset) SecurityV1alpha1() securityv1alpha1.SecurityV1alpha1Interface
SecurityV1alpha1 retrieves the SecurityV1alpha1Client
func (*Clientset) ServiceV1alpha1 ¶
func (c *Clientset) ServiceV1alpha1() servicev1alpha1.ServiceV1alpha1Interface
ServiceV1alpha1 retrieves the ServiceV1alpha1Client
func (*Clientset) SloV1alpha1 ¶
func (c *Clientset) SloV1alpha1() slov1alpha1.SloV1alpha1Interface
SloV1alpha1 retrieves the SloV1alpha1Client
func (*Clientset) SyntheticsV1alpha1 ¶
func (c *Clientset) SyntheticsV1alpha1() syntheticsv1alpha1.SyntheticsV1alpha1Interface
SyntheticsV1alpha1 retrieves the SyntheticsV1alpha1Client
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.4.0
func (c *Clientset) WebhookV1alpha1() webhookv1alpha1.WebhookV1alpha1Interface
WebhookV1alpha1 retrieves the WebhookV1alpha1Client