Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type AlertPoliciesGetter
- type AlertPolicyExpansion
- type AlertPolicyInterface
- type CustomServiceExpansion
- type CustomServiceInterface
- type CustomServicesGetter
- type DashboardExpansion
- type DashboardInterface
- type DashboardsGetter
- type GroupExpansion
- type GroupInterface
- type GroupsGetter
- type MetricDescriptorExpansion
- type MetricDescriptorInterface
- type MetricDescriptorsGetter
- type MonitoringV1alpha1Client
- func (c *MonitoringV1alpha1Client) AlertPolicies(namespace string) AlertPolicyInterface
- func (c *MonitoringV1alpha1Client) CustomServices(namespace string) CustomServiceInterface
- func (c *MonitoringV1alpha1Client) Dashboards(namespace string) DashboardInterface
- func (c *MonitoringV1alpha1Client) Groups(namespace string) GroupInterface
- func (c *MonitoringV1alpha1Client) MetricDescriptors(namespace string) MetricDescriptorInterface
- func (c *MonitoringV1alpha1Client) NotificationChannels(namespace string) NotificationChannelInterface
- func (c *MonitoringV1alpha1Client) RESTClient() rest.Interface
- func (c *MonitoringV1alpha1Client) Slos(namespace string) SloInterface
- func (c *MonitoringV1alpha1Client) UptimeCheckConfigs(namespace string) UptimeCheckConfigInterface
- type MonitoringV1alpha1Interface
- type NotificationChannelExpansion
- type NotificationChannelInterface
- type NotificationChannelsGetter
- type SloExpansion
- type SloInterface
- type SlosGetter
- type UptimeCheckConfigExpansion
- type UptimeCheckConfigInterface
- type UptimeCheckConfigsGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlertPoliciesGetter ¶
type AlertPoliciesGetter interface {
AlertPolicies(namespace string) AlertPolicyInterface
}
AlertPoliciesGetter has a method to return a AlertPolicyInterface. A group's client should implement this interface.
type AlertPolicyExpansion ¶
type AlertPolicyExpansion interface{}
type AlertPolicyInterface ¶
type AlertPolicyInterface interface { Create(ctx context.Context, alertPolicy *v1alpha1.AlertPolicy, opts v1.CreateOptions) (*v1alpha1.AlertPolicy, error) Update(ctx context.Context, alertPolicy *v1alpha1.AlertPolicy, opts v1.UpdateOptions) (*v1alpha1.AlertPolicy, error) UpdateStatus(ctx context.Context, alertPolicy *v1alpha1.AlertPolicy, opts v1.UpdateOptions) (*v1alpha1.AlertPolicy, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.AlertPolicy, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.AlertPolicyList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AlertPolicy, err error) AlertPolicyExpansion }
AlertPolicyInterface has methods to work with AlertPolicy resources.
type CustomServiceExpansion ¶
type CustomServiceExpansion interface{}
type CustomServiceInterface ¶
type CustomServiceInterface interface { Create(ctx context.Context, customService *v1alpha1.CustomService, opts v1.CreateOptions) (*v1alpha1.CustomService, error) Update(ctx context.Context, customService *v1alpha1.CustomService, opts v1.UpdateOptions) (*v1alpha1.CustomService, error) UpdateStatus(ctx context.Context, customService *v1alpha1.CustomService, opts v1.UpdateOptions) (*v1alpha1.CustomService, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.CustomService, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.CustomServiceList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.CustomService, err error) CustomServiceExpansion }
CustomServiceInterface has methods to work with CustomService resources.
type CustomServicesGetter ¶
type CustomServicesGetter interface {
CustomServices(namespace string) CustomServiceInterface
}
CustomServicesGetter has a method to return a CustomServiceInterface. A group's client should implement this interface.
type DashboardExpansion ¶
type DashboardExpansion interface{}
type DashboardInterface ¶
type DashboardInterface interface { Create(ctx context.Context, dashboard *v1alpha1.Dashboard, opts v1.CreateOptions) (*v1alpha1.Dashboard, error) Update(ctx context.Context, dashboard *v1alpha1.Dashboard, opts v1.UpdateOptions) (*v1alpha1.Dashboard, error) UpdateStatus(ctx context.Context, dashboard *v1alpha1.Dashboard, opts v1.UpdateOptions) (*v1alpha1.Dashboard, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.Dashboard, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.DashboardList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Dashboard, err error) DashboardExpansion }
DashboardInterface has methods to work with Dashboard resources.
type DashboardsGetter ¶
type DashboardsGetter interface {
Dashboards(namespace string) DashboardInterface
}
DashboardsGetter has a method to return a DashboardInterface. A group's client should implement this interface.
type GroupExpansion ¶
type GroupExpansion interface{}
type GroupInterface ¶
type GroupInterface interface { Create(ctx context.Context, group *v1alpha1.Group, opts v1.CreateOptions) (*v1alpha1.Group, error) Update(ctx context.Context, group *v1alpha1.Group, opts v1.UpdateOptions) (*v1alpha1.Group, error) UpdateStatus(ctx context.Context, group *v1alpha1.Group, opts v1.UpdateOptions) (*v1alpha1.Group, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.Group, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.GroupList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Group, err error) GroupExpansion }
GroupInterface has methods to work with Group resources.
type GroupsGetter ¶
type GroupsGetter interface {
Groups(namespace string) GroupInterface
}
GroupsGetter has a method to return a GroupInterface. A group's client should implement this interface.
type MetricDescriptorExpansion ¶
type MetricDescriptorExpansion interface{}
type MetricDescriptorInterface ¶
type MetricDescriptorInterface interface { Create(ctx context.Context, metricDescriptor *v1alpha1.MetricDescriptor, opts v1.CreateOptions) (*v1alpha1.MetricDescriptor, error) Update(ctx context.Context, metricDescriptor *v1alpha1.MetricDescriptor, opts v1.UpdateOptions) (*v1alpha1.MetricDescriptor, error) UpdateStatus(ctx context.Context, metricDescriptor *v1alpha1.MetricDescriptor, opts v1.UpdateOptions) (*v1alpha1.MetricDescriptor, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.MetricDescriptor, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.MetricDescriptorList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.MetricDescriptor, err error) MetricDescriptorExpansion }
MetricDescriptorInterface has methods to work with MetricDescriptor resources.
type MetricDescriptorsGetter ¶
type MetricDescriptorsGetter interface {
MetricDescriptors(namespace string) MetricDescriptorInterface
}
MetricDescriptorsGetter has a method to return a MetricDescriptorInterface. A group's client should implement this interface.
type MonitoringV1alpha1Client ¶
type MonitoringV1alpha1Client struct {
// contains filtered or unexported fields
}
MonitoringV1alpha1Client is used to interact with features provided by the monitoring.google.kubeform.com group.
func New ¶
func New(c rest.Interface) *MonitoringV1alpha1Client
New creates a new MonitoringV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*MonitoringV1alpha1Client, error)
NewForConfig creates a new MonitoringV1alpha1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *MonitoringV1alpha1Client
NewForConfigOrDie creates a new MonitoringV1alpha1Client for the given config and panics if there is an error in the config.
func (*MonitoringV1alpha1Client) AlertPolicies ¶
func (c *MonitoringV1alpha1Client) AlertPolicies(namespace string) AlertPolicyInterface
func (*MonitoringV1alpha1Client) CustomServices ¶
func (c *MonitoringV1alpha1Client) CustomServices(namespace string) CustomServiceInterface
func (*MonitoringV1alpha1Client) Dashboards ¶
func (c *MonitoringV1alpha1Client) Dashboards(namespace string) DashboardInterface
func (*MonitoringV1alpha1Client) Groups ¶
func (c *MonitoringV1alpha1Client) Groups(namespace string) GroupInterface
func (*MonitoringV1alpha1Client) MetricDescriptors ¶
func (c *MonitoringV1alpha1Client) MetricDescriptors(namespace string) MetricDescriptorInterface
func (*MonitoringV1alpha1Client) NotificationChannels ¶
func (c *MonitoringV1alpha1Client) NotificationChannels(namespace string) NotificationChannelInterface
func (*MonitoringV1alpha1Client) RESTClient ¶
func (c *MonitoringV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*MonitoringV1alpha1Client) Slos ¶
func (c *MonitoringV1alpha1Client) Slos(namespace string) SloInterface
func (*MonitoringV1alpha1Client) UptimeCheckConfigs ¶
func (c *MonitoringV1alpha1Client) UptimeCheckConfigs(namespace string) UptimeCheckConfigInterface
type MonitoringV1alpha1Interface ¶
type MonitoringV1alpha1Interface interface { RESTClient() rest.Interface AlertPoliciesGetter CustomServicesGetter DashboardsGetter GroupsGetter MetricDescriptorsGetter NotificationChannelsGetter SlosGetter UptimeCheckConfigsGetter }
type NotificationChannelExpansion ¶
type NotificationChannelExpansion interface{}
type NotificationChannelInterface ¶
type NotificationChannelInterface interface { Create(ctx context.Context, notificationChannel *v1alpha1.NotificationChannel, opts v1.CreateOptions) (*v1alpha1.NotificationChannel, error) Update(ctx context.Context, notificationChannel *v1alpha1.NotificationChannel, opts v1.UpdateOptions) (*v1alpha1.NotificationChannel, error) UpdateStatus(ctx context.Context, notificationChannel *v1alpha1.NotificationChannel, opts v1.UpdateOptions) (*v1alpha1.NotificationChannel, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.NotificationChannel, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.NotificationChannelList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NotificationChannel, err error) NotificationChannelExpansion }
NotificationChannelInterface has methods to work with NotificationChannel resources.
type NotificationChannelsGetter ¶
type NotificationChannelsGetter interface {
NotificationChannels(namespace string) NotificationChannelInterface
}
NotificationChannelsGetter has a method to return a NotificationChannelInterface. A group's client should implement this interface.
type SloExpansion ¶
type SloExpansion interface{}
type SloInterface ¶
type SloInterface interface { Create(ctx context.Context, slo *v1alpha1.Slo, opts v1.CreateOptions) (*v1alpha1.Slo, error) Update(ctx context.Context, slo *v1alpha1.Slo, opts v1.UpdateOptions) (*v1alpha1.Slo, error) UpdateStatus(ctx context.Context, slo *v1alpha1.Slo, opts v1.UpdateOptions) (*v1alpha1.Slo, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.Slo, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.SloList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Slo, err error) SloExpansion }
SloInterface has methods to work with Slo resources.
type SlosGetter ¶
type SlosGetter interface {
Slos(namespace string) SloInterface
}
SlosGetter has a method to return a SloInterface. A group's client should implement this interface.
type UptimeCheckConfigExpansion ¶
type UptimeCheckConfigExpansion interface{}
type UptimeCheckConfigInterface ¶
type UptimeCheckConfigInterface interface { Create(ctx context.Context, uptimeCheckConfig *v1alpha1.UptimeCheckConfig, opts v1.CreateOptions) (*v1alpha1.UptimeCheckConfig, error) Update(ctx context.Context, uptimeCheckConfig *v1alpha1.UptimeCheckConfig, opts v1.UpdateOptions) (*v1alpha1.UptimeCheckConfig, error) UpdateStatus(ctx context.Context, uptimeCheckConfig *v1alpha1.UptimeCheckConfig, opts v1.UpdateOptions) (*v1alpha1.UptimeCheckConfig, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.UptimeCheckConfig, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.UptimeCheckConfigList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.UptimeCheckConfig, err error) UptimeCheckConfigExpansion }
UptimeCheckConfigInterface has methods to work with UptimeCheckConfig resources.
type UptimeCheckConfigsGetter ¶
type UptimeCheckConfigsGetter interface {
UptimeCheckConfigs(namespace string) UptimeCheckConfigInterface
}
UptimeCheckConfigsGetter has a method to return a UptimeCheckConfigInterface. A group's client should implement this interface.