Documentation ¶
Overview ¶
Generate deepcopy object for monitoring/v1beta1 API group
Package v1beta1 contains API Schema definitions for the monitoring v1beta1 API group. +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/GoogleCloudPlatform/k8s-config-connector/pkg/apis/monitoring +k8s:defaulter-gen=TypeMeta +groupName=monitoring.cnrm.cloud.google.com
Index ¶
- Variables
- type AlertpolicyAggregations
- type AlertpolicyConditionAbsent
- type AlertpolicyConditionMonitoringQueryLanguage
- type AlertpolicyConditionThreshold
- type AlertpolicyConditions
- type AlertpolicyCreationRecordStatus
- type AlertpolicyDenominatorAggregations
- type AlertpolicyDocumentation
- type AlertpolicyTrigger
- type MonitoringAlertPolicy
- type MonitoringAlertPolicyList
- type MonitoringAlertPolicySpec
- type MonitoringAlertPolicyStatus
- type MonitoringGroup
- type MonitoringGroupList
- type MonitoringGroupSpec
- type MonitoringGroupStatus
- type MonitoringNotificationChannel
- type MonitoringNotificationChannelList
- type MonitoringNotificationChannelSpec
- type MonitoringNotificationChannelStatus
- type NotificationchannelAuthToken
- type NotificationchannelPassword
- type NotificationchannelSensitiveLabels
- type NotificationchannelServiceKey
- type NotificationchannelValueFrom
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is the group version used to register these objects. SchemeGroupVersion = schema.GroupVersion{Group: "monitoring.cnrm.cloud.google.com", Version: "v1beta1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme. SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme is a global function that registers this API group & version to a scheme AddToScheme = SchemeBuilder.AddToScheme MonitoringAlertPolicyGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: reflect.TypeOf(MonitoringAlertPolicy{}).Name(), } MonitoringGroupGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: reflect.TypeOf(MonitoringGroup{}).Name(), } MonitoringNotificationChannelGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: reflect.TypeOf(MonitoringNotificationChannel{}).Name(), } )
Functions ¶
This section is empty.
Types ¶
type AlertpolicyAggregations ¶ added in v1.45.0
type AlertpolicyAggregations struct { /* The alignment period for per-time series alignment. If present, alignmentPeriod must be at least 60 seconds. After per-time series alignment, each time series will contain data points only on the period boundaries. If perSeriesAligner is not specified or equals ALIGN_NONE, then this field is ignored. If perSeriesAligner is specified and does not equal ALIGN_NONE, then this field must be defined; otherwise an error is returned. */ AlignmentPeriod string `json:"alignmentPeriod,omitempty"` /* The approach to be used to combine time series. Not all reducer functions may be applied to all time series, depending on the metric type and the value type of the original time series. Reduction may change the metric type of value type of the time series.Time series data must be aligned in order to perform cross- time series reduction. If crossSeriesReducer is specified, then perSeriesAligner must be specified and not equal ALIGN_NONE and alignmentPeriod must be specified; otherwise, an error is returned. Possible values: ["REDUCE_NONE", "REDUCE_MEAN", "REDUCE_MIN", "REDUCE_MAX", "REDUCE_SUM", "REDUCE_STDDEV", "REDUCE_COUNT", "REDUCE_COUNT_TRUE", "REDUCE_COUNT_FALSE", "REDUCE_FRACTION_TRUE", "REDUCE_PERCENTILE_99", "REDUCE_PERCENTILE_95", "REDUCE_PERCENTILE_50", "REDUCE_PERCENTILE_05"] */ CrossSeriesReducer string `json:"crossSeriesReducer,omitempty"` /* The set of fields to preserve when crossSeriesReducer is specified. The groupByFields determine how the time series are partitioned into subsets prior to applying the aggregation function. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The crossSeriesReducer is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains resource.type. Fields not specified in groupByFields are aggregated away. If groupByFields is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If crossSeriesReducer is not defined, this field is ignored. */ GroupByFields []string `json:"groupByFields,omitempty"` /* The approach to be used to align individual time series. Not all alignment functions may be applied to all time series, depending on the metric type and value type of the original time series. Alignment may change the metric type or the value type of the time series.Time series data must be aligned in order to perform cross- time series reduction. If crossSeriesReducer is specified, then perSeriesAligner must be specified and not equal ALIGN_NONE and alignmentPeriod must be specified; otherwise, an error is returned. Possible values: ["ALIGN_NONE", "ALIGN_DELTA", "ALIGN_RATE", "ALIGN_INTERPOLATE", "ALIGN_NEXT_OLDER", "ALIGN_MIN", "ALIGN_MAX", "ALIGN_MEAN", "ALIGN_COUNT", "ALIGN_SUM", "ALIGN_STDDEV", "ALIGN_COUNT_TRUE", "ALIGN_COUNT_FALSE", "ALIGN_FRACTION_TRUE", "ALIGN_PERCENTILE_99", "ALIGN_PERCENTILE_95", "ALIGN_PERCENTILE_50", "ALIGN_PERCENTILE_05", "ALIGN_PERCENT_CHANGE"] */ PerSeriesAligner string `json:"perSeriesAligner,omitempty"` }
func (*AlertpolicyAggregations) DeepCopy ¶ added in v1.45.0
func (in *AlertpolicyAggregations) DeepCopy() *AlertpolicyAggregations
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertpolicyAggregations.
func (*AlertpolicyAggregations) DeepCopyInto ¶ added in v1.45.0
func (in *AlertpolicyAggregations) DeepCopyInto(out *AlertpolicyAggregations)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertpolicyConditionAbsent ¶ added in v1.45.0
type AlertpolicyConditionAbsent struct { /* Specifies the alignment of data points in individual time series as well as how to combine the retrieved time series together (such as when aggregating multiple streams on each resource to a single stream for each resource or when aggregating streams across all members of a group of resources). Multiple aggregations are applied in the order specified. */ Aggregations []AlertpolicyAggregations `json:"aggregations,omitempty"` /* The amount of time that a time series must fail to report new data to be considered failing. Currently, only values that are a multiple of a minute--e.g. 60s, 120s, or 300s --are supported. */ Duration string `json:"duration,omitempty"` /* A filter that identifies which time series should be compared with the threshold.The filter is similar to the one that is specified in the MetricService.ListTimeSeries request (that call is useful to verify the time series that will be retrieved / processed) and must specify the metric type and optionally may contain restrictions on resource type, resource labels, and metric labels. This field may not exceed 2048 Unicode characters in length. */ Filter string `json:"filter,omitempty"` /* The number/percent of time series for which the comparison must hold in order for the condition to trigger. If unspecified, then the condition will trigger if the comparison is true for any of the time series that have been identified by filter and aggregations. */ Trigger AlertpolicyTrigger `json:"trigger,omitempty"` }
func (*AlertpolicyConditionAbsent) DeepCopy ¶ added in v1.45.0
func (in *AlertpolicyConditionAbsent) DeepCopy() *AlertpolicyConditionAbsent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertpolicyConditionAbsent.
func (*AlertpolicyConditionAbsent) DeepCopyInto ¶ added in v1.45.0
func (in *AlertpolicyConditionAbsent) DeepCopyInto(out *AlertpolicyConditionAbsent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertpolicyConditionMonitoringQueryLanguage ¶ added in v1.45.0
type AlertpolicyConditionMonitoringQueryLanguage struct { /* The amount of time that a time series must violate the threshold to be considered failing. Currently, only values that are a multiple of a minute--e.g., 0, 60, 120, or 300 seconds--are supported. If an invalid value is given, an error will be returned. When choosing a duration, it is useful to keep in mind the frequency of the underlying time series data (which may also be affected by any alignments specified in the aggregations field); a good duration is long enough so that a single outlier does not generate spurious alerts, but short enough that unhealthy states are detected and alerted on quickly. */ Duration string `json:"duration,omitempty"` /* Monitoring Query Language query that outputs a boolean stream. */ Query string `json:"query,omitempty"` /* The number/percent of time series for which the comparison must hold in order for the condition to trigger. If unspecified, then the condition will trigger if the comparison is true for any of the time series that have been identified by filter and aggregations, or by the ratio, if denominator_filter and denominator_aggregations are specified. */ Trigger AlertpolicyTrigger `json:"trigger,omitempty"` }
func (*AlertpolicyConditionMonitoringQueryLanguage) DeepCopy ¶ added in v1.45.0
func (in *AlertpolicyConditionMonitoringQueryLanguage) DeepCopy() *AlertpolicyConditionMonitoringQueryLanguage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertpolicyConditionMonitoringQueryLanguage.
func (*AlertpolicyConditionMonitoringQueryLanguage) DeepCopyInto ¶ added in v1.45.0
func (in *AlertpolicyConditionMonitoringQueryLanguage) DeepCopyInto(out *AlertpolicyConditionMonitoringQueryLanguage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertpolicyConditionThreshold ¶ added in v1.45.0
type AlertpolicyConditionThreshold struct { /* Specifies the alignment of data points in individual time series as well as how to combine the retrieved time series together (such as when aggregating multiple streams on each resource to a single stream for each resource or when aggregating streams across all members of a group of resources). Multiple aggregations are applied in the order specified.This field is similar to the one in the MetricService.ListTimeSeries request. It is advisable to use the ListTimeSeries method when debugging this field. */ Aggregations []AlertpolicyAggregations `json:"aggregations,omitempty"` /* The comparison to apply between the time series (indicated by filter and aggregation) and the threshold (indicated by threshold_value). The comparison is applied on each time series, with the time series on the left-hand side and the threshold on the right-hand side. Only COMPARISON_LT and COMPARISON_GT are supported currently. Possible values: ["COMPARISON_GT", "COMPARISON_GE", "COMPARISON_LT", "COMPARISON_LE", "COMPARISON_EQ", "COMPARISON_NE"] */ Comparison string `json:"comparison,omitempty"` /* Specifies the alignment of data points in individual time series selected by denominatorFilter as well as how to combine the retrieved time series together (such as when aggregating multiple streams on each resource to a single stream for each resource or when aggregating streams across all members of a group of resources).When computing ratios, the aggregations and denominator_aggregations fields must use the same alignment period and produce time series that have the same periodicity and labels.This field is similar to the one in the MetricService.ListTimeSeries request. It is advisable to use the ListTimeSeries method when debugging this field. */ DenominatorAggregations []AlertpolicyDenominatorAggregations `json:"denominatorAggregations,omitempty"` /* A filter that identifies a time series that should be used as the denominator of a ratio that will be compared with the threshold. If a denominator_filter is specified, the time series specified by the filter field will be used as the numerator.The filter is similar to the one that is specified in the MetricService.ListTimeSeries request (that call is useful to verify the time series that will be retrieved / processed) and must specify the metric type and optionally may contain restrictions on resource type, resource labels, and metric labels. This field may not exceed 2048 Unicode characters in length. */ DenominatorFilter string `json:"denominatorFilter,omitempty"` /* The amount of time that a time series must violate the threshold to be considered failing. Currently, only values that are a multiple of a minute--e.g., 0, 60, 120, or 300 seconds--are supported. If an invalid value is given, an error will be returned. When choosing a duration, it is useful to keep in mind the frequency of the underlying time series data (which may also be affected by any alignments specified in the aggregations field); a good duration is long enough so that a single outlier does not generate spurious alerts, but short enough that unhealthy states are detected and alerted on quickly. */ Duration string `json:"duration,omitempty"` /* A filter that identifies which time series should be compared with the threshold.The filter is similar to the one that is specified in the MetricService.ListTimeSeries request (that call is useful to verify the time series that will be retrieved / processed) and must specify the metric type and optionally may contain restrictions on resource type, resource labels, and metric labels. This field may not exceed 2048 Unicode characters in length. */ Filter string `json:"filter,omitempty"` /* A value against which to compare the time series. */ ThresholdValue float64 `json:"thresholdValue,omitempty"` /* The number/percent of time series for which the comparison must hold in order for the condition to trigger. If unspecified, then the condition will trigger if the comparison is true for any of the time series that have been identified by filter and aggregations, or by the ratio, if denominator_filter and denominator_aggregations are specified. */ Trigger AlertpolicyTrigger `json:"trigger,omitempty"` }
func (*AlertpolicyConditionThreshold) DeepCopy ¶ added in v1.45.0
func (in *AlertpolicyConditionThreshold) DeepCopy() *AlertpolicyConditionThreshold
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertpolicyConditionThreshold.
func (*AlertpolicyConditionThreshold) DeepCopyInto ¶ added in v1.45.0
func (in *AlertpolicyConditionThreshold) DeepCopyInto(out *AlertpolicyConditionThreshold)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertpolicyConditions ¶ added in v1.45.0
type AlertpolicyConditions struct { /* A condition that checks that a time series continues to receive new data points. */ ConditionAbsent AlertpolicyConditionAbsent `json:"conditionAbsent,omitempty"` /* A Monitoring Query Language query that outputs a boolean stream */ ConditionMonitoringQueryLanguage AlertpolicyConditionMonitoringQueryLanguage `json:"conditionMonitoringQueryLanguage,omitempty"` /* A condition that compares a time series against a threshold. */ ConditionThreshold AlertpolicyConditionThreshold `json:"conditionThreshold,omitempty"` /* A short name or phrase used to identify the condition in dashboards, notifications, and incidents. To avoid confusion, don't use the same display name for multiple conditions in the same policy. */ DisplayName string `json:"displayName,omitempty"` /* The unique resource name for this condition. Its syntax is: projects/[PROJECT_ID]/alertPolicies/[POLICY_ID]/conditions/[CONDITION_ID] [CONDITION_ID] is assigned by Stackdriver Monitoring when the condition is created as part of a new or updated alerting policy. */ Name string `json:"name,omitempty"` }
func (*AlertpolicyConditions) DeepCopy ¶ added in v1.45.0
func (in *AlertpolicyConditions) DeepCopy() *AlertpolicyConditions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertpolicyConditions.
func (*AlertpolicyConditions) DeepCopyInto ¶ added in v1.45.0
func (in *AlertpolicyConditions) DeepCopyInto(out *AlertpolicyConditions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertpolicyCreationRecordStatus ¶ added in v1.45.0
type AlertpolicyCreationRecordStatus struct { /* When the change occurred. */ MutateTime string `json:"mutateTime,omitempty"` /* The email address of the user making the change. */ MutatedBy string `json:"mutatedBy,omitempty"` }
func (*AlertpolicyCreationRecordStatus) DeepCopy ¶ added in v1.45.0
func (in *AlertpolicyCreationRecordStatus) DeepCopy() *AlertpolicyCreationRecordStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertpolicyCreationRecordStatus.
func (*AlertpolicyCreationRecordStatus) DeepCopyInto ¶ added in v1.45.0
func (in *AlertpolicyCreationRecordStatus) DeepCopyInto(out *AlertpolicyCreationRecordStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertpolicyDenominatorAggregations ¶ added in v1.45.0
type AlertpolicyDenominatorAggregations struct { /* The alignment period for per-time series alignment. If present, alignmentPeriod must be at least 60 seconds. After per-time series alignment, each time series will contain data points only on the period boundaries. If perSeriesAligner is not specified or equals ALIGN_NONE, then this field is ignored. If perSeriesAligner is specified and does not equal ALIGN_NONE, then this field must be defined; otherwise an error is returned. */ AlignmentPeriod string `json:"alignmentPeriod,omitempty"` /* The approach to be used to combine time series. Not all reducer functions may be applied to all time series, depending on the metric type and the value type of the original time series. Reduction may change the metric type of value type of the time series.Time series data must be aligned in order to perform cross- time series reduction. If crossSeriesReducer is specified, then perSeriesAligner must be specified and not equal ALIGN_NONE and alignmentPeriod must be specified; otherwise, an error is returned. Possible values: ["REDUCE_NONE", "REDUCE_MEAN", "REDUCE_MIN", "REDUCE_MAX", "REDUCE_SUM", "REDUCE_STDDEV", "REDUCE_COUNT", "REDUCE_COUNT_TRUE", "REDUCE_COUNT_FALSE", "REDUCE_FRACTION_TRUE", "REDUCE_PERCENTILE_99", "REDUCE_PERCENTILE_95", "REDUCE_PERCENTILE_50", "REDUCE_PERCENTILE_05"] */ CrossSeriesReducer string `json:"crossSeriesReducer,omitempty"` /* The set of fields to preserve when crossSeriesReducer is specified. The groupByFields determine how the time series are partitioned into subsets prior to applying the aggregation function. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The crossSeriesReducer is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains resource.type. Fields not specified in groupByFields are aggregated away. If groupByFields is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If crossSeriesReducer is not defined, this field is ignored. */ GroupByFields []string `json:"groupByFields,omitempty"` /* The approach to be used to align individual time series. Not all alignment functions may be applied to all time series, depending on the metric type and value type of the original time series. Alignment may change the metric type or the value type of the time series.Time series data must be aligned in order to perform cross- time series reduction. If crossSeriesReducer is specified, then perSeriesAligner must be specified and not equal ALIGN_NONE and alignmentPeriod must be specified; otherwise, an error is returned. Possible values: ["ALIGN_NONE", "ALIGN_DELTA", "ALIGN_RATE", "ALIGN_INTERPOLATE", "ALIGN_NEXT_OLDER", "ALIGN_MIN", "ALIGN_MAX", "ALIGN_MEAN", "ALIGN_COUNT", "ALIGN_SUM", "ALIGN_STDDEV", "ALIGN_COUNT_TRUE", "ALIGN_COUNT_FALSE", "ALIGN_FRACTION_TRUE", "ALIGN_PERCENTILE_99", "ALIGN_PERCENTILE_95", "ALIGN_PERCENTILE_50", "ALIGN_PERCENTILE_05", "ALIGN_PERCENT_CHANGE"] */ PerSeriesAligner string `json:"perSeriesAligner,omitempty"` }
func (*AlertpolicyDenominatorAggregations) DeepCopy ¶ added in v1.45.0
func (in *AlertpolicyDenominatorAggregations) DeepCopy() *AlertpolicyDenominatorAggregations
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertpolicyDenominatorAggregations.
func (*AlertpolicyDenominatorAggregations) DeepCopyInto ¶ added in v1.45.0
func (in *AlertpolicyDenominatorAggregations) DeepCopyInto(out *AlertpolicyDenominatorAggregations)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertpolicyDocumentation ¶ added in v1.45.0
type AlertpolicyDocumentation struct { /* The text of the documentation, interpreted according to mimeType. The content may not exceed 8,192 Unicode characters and may not exceed more than 10,240 bytes when encoded in UTF-8 format, whichever is smaller. */ Content string `json:"content,omitempty"` /* The format of the content field. Presently, only the value "text/markdown" is supported. */ MimeType string `json:"mimeType,omitempty"` }
func (*AlertpolicyDocumentation) DeepCopy ¶ added in v1.45.0
func (in *AlertpolicyDocumentation) DeepCopy() *AlertpolicyDocumentation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertpolicyDocumentation.
func (*AlertpolicyDocumentation) DeepCopyInto ¶ added in v1.45.0
func (in *AlertpolicyDocumentation) DeepCopyInto(out *AlertpolicyDocumentation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertpolicyTrigger ¶ added in v1.45.0
type AlertpolicyTrigger struct { /* The absolute number of time series that must fail the predicate for the condition to be triggered. */ Count int `json:"count,omitempty"` /* The percentage of time series that must fail the predicate for the condition to be triggered. */ Percent float64 `json:"percent,omitempty"` }
func (*AlertpolicyTrigger) DeepCopy ¶ added in v1.45.0
func (in *AlertpolicyTrigger) DeepCopy() *AlertpolicyTrigger
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertpolicyTrigger.
func (*AlertpolicyTrigger) DeepCopyInto ¶ added in v1.45.0
func (in *AlertpolicyTrigger) DeepCopyInto(out *AlertpolicyTrigger)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitoringAlertPolicy ¶
type MonitoringAlertPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MonitoringAlertPolicySpec `json:"spec,omitempty"` Status MonitoringAlertPolicyStatus `json:"status,omitempty"` }
MonitoringAlertPolicy is the Schema for the monitoring API +k8s:openapi-gen=true
func (*MonitoringAlertPolicy) DeepCopy ¶
func (in *MonitoringAlertPolicy) DeepCopy() *MonitoringAlertPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringAlertPolicy.
func (*MonitoringAlertPolicy) DeepCopyInto ¶
func (in *MonitoringAlertPolicy) DeepCopyInto(out *MonitoringAlertPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MonitoringAlertPolicy) DeepCopyObject ¶
func (in *MonitoringAlertPolicy) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MonitoringAlertPolicyList ¶
type MonitoringAlertPolicyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MonitoringAlertPolicy `json:"items"` }
MonitoringAlertPolicyList contains a list of MonitoringAlertPolicy
func (*MonitoringAlertPolicyList) DeepCopy ¶
func (in *MonitoringAlertPolicyList) DeepCopy() *MonitoringAlertPolicyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringAlertPolicyList.
func (*MonitoringAlertPolicyList) DeepCopyInto ¶
func (in *MonitoringAlertPolicyList) DeepCopyInto(out *MonitoringAlertPolicyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MonitoringAlertPolicyList) DeepCopyObject ¶
func (in *MonitoringAlertPolicyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MonitoringAlertPolicySpec ¶
type MonitoringAlertPolicySpec struct { /* How to combine the results of multiple conditions to determine if an incident should be opened. Possible values: ["AND", "OR", "AND_WITH_MATCHING_RESOURCE"] */ Combiner string `json:"combiner,omitempty"` /* A list of conditions for the policy. The conditions are combined by AND or OR according to the combiner field. If the combined conditions evaluate to true, then an incident is created. A policy can have from one to six conditions. */ Conditions []AlertpolicyConditions `json:"conditions,omitempty"` /* A short name or phrase used to identify the policy in dashboards, notifications, and incidents. To avoid confusion, don't use the same display name for multiple policies in the same project. The name is limited to 512 Unicode characters. */ DisplayName string `json:"displayName,omitempty"` /* Documentation that is included with notifications and incidents related to this policy. Best practice is for the documentation to include information to help responders understand, mitigate, escalate, and correct the underlying problems detected by the alerting policy. Notification channels that have limited capacity might not show this documentation. */ Documentation AlertpolicyDocumentation `json:"documentation,omitempty"` /* Whether or not the policy is enabled. The default is true. */ Enabled bool `json:"enabled,omitempty"` /* */ NotificationChannels []v1alpha1.ResourceRef `json:"notificationChannels,omitempty"` /* Immutable. Optional. The service-generated name of the resource. Used for acquisition only. Leave unset to create a new resource. */ ResourceID string `json:"resourceID,omitempty"` }
func (*MonitoringAlertPolicySpec) DeepCopy ¶
func (in *MonitoringAlertPolicySpec) DeepCopy() *MonitoringAlertPolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringAlertPolicySpec.
func (*MonitoringAlertPolicySpec) DeepCopyInto ¶
func (in *MonitoringAlertPolicySpec) DeepCopyInto(out *MonitoringAlertPolicySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitoringAlertPolicyStatus ¶
type MonitoringAlertPolicyStatus struct { /* Conditions represent the latest available observations of the MonitoringAlertPolicy's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` /* A read-only record of the creation of the alerting policy. If provided in a call to create or update, this field will be ignored. */ CreationRecord []AlertpolicyCreationRecordStatus `json:"creationRecord,omitempty"` /* The unique resource name for this policy. Its syntax is: projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID] */ Name string `json:"name,omitempty"` }
func (*MonitoringAlertPolicyStatus) DeepCopy ¶
func (in *MonitoringAlertPolicyStatus) DeepCopy() *MonitoringAlertPolicyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringAlertPolicyStatus.
func (*MonitoringAlertPolicyStatus) DeepCopyInto ¶
func (in *MonitoringAlertPolicyStatus) DeepCopyInto(out *MonitoringAlertPolicyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitoringGroup ¶
type MonitoringGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MonitoringGroupSpec `json:"spec,omitempty"` Status MonitoringGroupStatus `json:"status,omitempty"` }
MonitoringGroup is the Schema for the monitoring API +k8s:openapi-gen=true
func (*MonitoringGroup) DeepCopy ¶
func (in *MonitoringGroup) DeepCopy() *MonitoringGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringGroup.
func (*MonitoringGroup) DeepCopyInto ¶
func (in *MonitoringGroup) DeepCopyInto(out *MonitoringGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MonitoringGroup) DeepCopyObject ¶
func (in *MonitoringGroup) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MonitoringGroupList ¶
type MonitoringGroupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MonitoringGroup `json:"items"` }
MonitoringGroupList contains a list of MonitoringGroup
func (*MonitoringGroupList) DeepCopy ¶
func (in *MonitoringGroupList) DeepCopy() *MonitoringGroupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringGroupList.
func (*MonitoringGroupList) DeepCopyInto ¶
func (in *MonitoringGroupList) DeepCopyInto(out *MonitoringGroupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MonitoringGroupList) DeepCopyObject ¶
func (in *MonitoringGroupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MonitoringGroupSpec ¶
type MonitoringGroupSpec struct { /* A user-assigned name for this group, used only for display purposes. */ DisplayName string `json:"displayName,omitempty"` /* The filter used to determine which monitored resources belong to this group. */ Filter string `json:"filter,omitempty"` /* If true, the members of this group are considered to be a cluster. The system can perform additional analysis on groups that are clusters. */ IsCluster bool `json:"isCluster,omitempty"` /* */ ParentRef v1alpha1.ResourceRef `json:"parentRef,omitempty"` /* Immutable. Optional. The service-generated name of the resource. Used for acquisition only. Leave unset to create a new resource. */ ResourceID string `json:"resourceID,omitempty"` }
func (*MonitoringGroupSpec) DeepCopy ¶
func (in *MonitoringGroupSpec) DeepCopy() *MonitoringGroupSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringGroupSpec.
func (*MonitoringGroupSpec) DeepCopyInto ¶
func (in *MonitoringGroupSpec) DeepCopyInto(out *MonitoringGroupSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitoringGroupStatus ¶
type MonitoringGroupStatus struct { /* Conditions represent the latest available observations of the MonitoringGroup's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` }
func (*MonitoringGroupStatus) DeepCopy ¶
func (in *MonitoringGroupStatus) DeepCopy() *MonitoringGroupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringGroupStatus.
func (*MonitoringGroupStatus) DeepCopyInto ¶
func (in *MonitoringGroupStatus) DeepCopyInto(out *MonitoringGroupStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitoringNotificationChannel ¶
type MonitoringNotificationChannel struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MonitoringNotificationChannelSpec `json:"spec,omitempty"` Status MonitoringNotificationChannelStatus `json:"status,omitempty"` }
MonitoringNotificationChannel is the Schema for the monitoring API +k8s:openapi-gen=true
func (*MonitoringNotificationChannel) DeepCopy ¶
func (in *MonitoringNotificationChannel) DeepCopy() *MonitoringNotificationChannel
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringNotificationChannel.
func (*MonitoringNotificationChannel) DeepCopyInto ¶
func (in *MonitoringNotificationChannel) DeepCopyInto(out *MonitoringNotificationChannel)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MonitoringNotificationChannel) DeepCopyObject ¶
func (in *MonitoringNotificationChannel) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MonitoringNotificationChannelList ¶
type MonitoringNotificationChannelList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MonitoringNotificationChannel `json:"items"` }
MonitoringNotificationChannelList contains a list of MonitoringNotificationChannel
func (*MonitoringNotificationChannelList) DeepCopy ¶
func (in *MonitoringNotificationChannelList) DeepCopy() *MonitoringNotificationChannelList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringNotificationChannelList.
func (*MonitoringNotificationChannelList) DeepCopyInto ¶
func (in *MonitoringNotificationChannelList) DeepCopyInto(out *MonitoringNotificationChannelList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MonitoringNotificationChannelList) DeepCopyObject ¶
func (in *MonitoringNotificationChannelList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MonitoringNotificationChannelSpec ¶
type MonitoringNotificationChannelSpec struct { /* An optional human-readable description of this notification channel. This description may provide additional details, beyond the display name, for the channel. This may not exceed 1024 Unicode characters. */ Description string `json:"description,omitempty"` /* Whether notifications are forwarded to the described channel. This makes it possible to disable delivery of notifications to a particular channel without removing the channel from all alerting policies that reference the channel. This is a more convenient approach when the change is temporary and you want to receive notifications from the same set of alerting policies on the channel at some point in the future. */ Enabled bool `json:"enabled,omitempty"` /* */ Labels map[string]string `json:"labels,omitempty"` /* Immutable. Optional. The service-generated name of the resource. Used for acquisition only. Leave unset to create a new resource. */ ResourceID string `json:"resourceID,omitempty"` /* Different notification type behaviors are configured primarily using the the 'labels' field on this resource. This block contains the labels which contain secrets or passwords so that they can be marked sensitive and hidden from plan output. The name of the field, eg: password, will be the key in the 'labels' map in the api request. Credentials may not be specified in both locations and will cause an error. Changing from one location to a different credential configuration in the config will require an apply to update state. */ SensitiveLabels NotificationchannelSensitiveLabels `json:"sensitiveLabels,omitempty"` /* The type of the notification channel. This field matches the value of the NotificationChannelDescriptor.type field. See https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.notificationChannelDescriptors/list to get the list of valid values such as "email", "slack", etc... */ Type string `json:"type,omitempty"` }
func (*MonitoringNotificationChannelSpec) DeepCopy ¶
func (in *MonitoringNotificationChannelSpec) DeepCopy() *MonitoringNotificationChannelSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringNotificationChannelSpec.
func (*MonitoringNotificationChannelSpec) DeepCopyInto ¶
func (in *MonitoringNotificationChannelSpec) DeepCopyInto(out *MonitoringNotificationChannelSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitoringNotificationChannelStatus ¶
type MonitoringNotificationChannelStatus struct { /* Conditions represent the latest available observations of the MonitoringNotificationChannel's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` /* The full REST resource name for this channel. The syntax is: projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID] The [CHANNEL_ID] is automatically assigned by the server on creation. */ Name string `json:"name,omitempty"` /* Indicates whether this channel has been verified or not. On a ListNotificationChannels or GetNotificationChannel operation, this field is expected to be populated.If the value is UNVERIFIED, then it indicates that the channel is non-functioning (it both requires verification and lacks verification); otherwise, it is assumed that the channel works.If the channel is neither VERIFIED nor UNVERIFIED, it implies that the channel is of a type that does not require verification or that this specific channel has been exempted from verification because it was created prior to verification being required for channels of this type.This field cannot be modified using a standard UpdateNotificationChannel operation. To change the value of this field, you must call VerifyNotificationChannel. */ VerificationStatus string `json:"verificationStatus,omitempty"` }
func (*MonitoringNotificationChannelStatus) DeepCopy ¶
func (in *MonitoringNotificationChannelStatus) DeepCopy() *MonitoringNotificationChannelStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringNotificationChannelStatus.
func (*MonitoringNotificationChannelStatus) DeepCopyInto ¶
func (in *MonitoringNotificationChannelStatus) DeepCopyInto(out *MonitoringNotificationChannelStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NotificationchannelAuthToken ¶ added in v1.45.0
type NotificationchannelAuthToken struct { /* Value of the field. Cannot be used if 'valueFrom' is specified. */ Value string `json:"value,omitempty"` /* Source for the field's value. Cannot be used if 'value' is specified. */ ValueFrom NotificationchannelValueFrom `json:"valueFrom,omitempty"` }
func (*NotificationchannelAuthToken) DeepCopy ¶ added in v1.45.0
func (in *NotificationchannelAuthToken) DeepCopy() *NotificationchannelAuthToken
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationchannelAuthToken.
func (*NotificationchannelAuthToken) DeepCopyInto ¶ added in v1.45.0
func (in *NotificationchannelAuthToken) DeepCopyInto(out *NotificationchannelAuthToken)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NotificationchannelPassword ¶ added in v1.45.0
type NotificationchannelPassword struct { /* Value of the field. Cannot be used if 'valueFrom' is specified. */ Value string `json:"value,omitempty"` /* Source for the field's value. Cannot be used if 'value' is specified. */ ValueFrom NotificationchannelValueFrom `json:"valueFrom,omitempty"` }
func (*NotificationchannelPassword) DeepCopy ¶ added in v1.45.0
func (in *NotificationchannelPassword) DeepCopy() *NotificationchannelPassword
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationchannelPassword.
func (*NotificationchannelPassword) DeepCopyInto ¶ added in v1.45.0
func (in *NotificationchannelPassword) DeepCopyInto(out *NotificationchannelPassword)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NotificationchannelSensitiveLabels ¶ added in v1.45.0
type NotificationchannelSensitiveLabels struct { /* An authorization token for a notification channel. Channel types that support this field include: slack */ AuthToken NotificationchannelAuthToken `json:"authToken,omitempty"` /* An password for a notification channel. Channel types that support this field include: webhook_basicauth */ Password NotificationchannelPassword `json:"password,omitempty"` /* An servicekey token for a notification channel. Channel types that support this field include: pagerduty */ ServiceKey NotificationchannelServiceKey `json:"serviceKey,omitempty"` }
func (*NotificationchannelSensitiveLabels) DeepCopy ¶ added in v1.45.0
func (in *NotificationchannelSensitiveLabels) DeepCopy() *NotificationchannelSensitiveLabels
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationchannelSensitiveLabels.
func (*NotificationchannelSensitiveLabels) DeepCopyInto ¶ added in v1.45.0
func (in *NotificationchannelSensitiveLabels) DeepCopyInto(out *NotificationchannelSensitiveLabels)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NotificationchannelServiceKey ¶ added in v1.45.0
type NotificationchannelServiceKey struct { /* Value of the field. Cannot be used if 'valueFrom' is specified. */ Value string `json:"value,omitempty"` /* Source for the field's value. Cannot be used if 'value' is specified. */ ValueFrom NotificationchannelValueFrom `json:"valueFrom,omitempty"` }
func (*NotificationchannelServiceKey) DeepCopy ¶ added in v1.45.0
func (in *NotificationchannelServiceKey) DeepCopy() *NotificationchannelServiceKey
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationchannelServiceKey.
func (*NotificationchannelServiceKey) DeepCopyInto ¶ added in v1.45.0
func (in *NotificationchannelServiceKey) DeepCopyInto(out *NotificationchannelServiceKey)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NotificationchannelValueFrom ¶ added in v1.45.0
type NotificationchannelValueFrom struct { /* Reference to a value with the given key in the given Secret in the resource's namespace. */ SecretKeyRef v1alpha1.ResourceRef `json:"secretKeyRef,omitempty"` }
func (*NotificationchannelValueFrom) DeepCopy ¶ added in v1.45.0
func (in *NotificationchannelValueFrom) DeepCopy() *NotificationchannelValueFrom
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationchannelValueFrom.
func (*NotificationchannelValueFrom) DeepCopyInto ¶ added in v1.45.0
func (in *NotificationchannelValueFrom) DeepCopyInto(out *NotificationchannelValueFrom)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.