v1beta1

package
v1.41.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

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

Constants

This section is empty.

Variables

View Source
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 Aggregations

type Aggregations 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 (*Aggregations) DeepCopy

func (in *Aggregations) DeepCopy() *Aggregations

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Aggregations.

func (*Aggregations) DeepCopyInto

func (in *Aggregations) DeepCopyInto(out *Aggregations)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AuthToken

type AuthToken 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 ValueFrom `json:"valueFrom,omitempty"`
}

func (*AuthToken) DeepCopy

func (in *AuthToken) DeepCopy() *AuthToken

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthToken.

func (*AuthToken) DeepCopyInto

func (in *AuthToken) DeepCopyInto(out *AuthToken)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ConditionAbsent

type ConditionAbsent 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 []Aggregations `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 Trigger `json:"trigger,omitempty"`
}

func (*ConditionAbsent) DeepCopy

func (in *ConditionAbsent) DeepCopy() *ConditionAbsent

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionAbsent.

func (*ConditionAbsent) DeepCopyInto

func (in *ConditionAbsent) DeepCopyInto(out *ConditionAbsent)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ConditionMonitoringQueryLanguage

type ConditionMonitoringQueryLanguage 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 Trigger `json:"trigger,omitempty"`
}

func (*ConditionMonitoringQueryLanguage) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionMonitoringQueryLanguage.

func (*ConditionMonitoringQueryLanguage) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ConditionThreshold

type ConditionThreshold 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 []Aggregations `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 []DenominatorAggregations `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 Trigger `json:"trigger,omitempty"`
}

func (*ConditionThreshold) DeepCopy

func (in *ConditionThreshold) DeepCopy() *ConditionThreshold

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionThreshold.

func (*ConditionThreshold) DeepCopyInto

func (in *ConditionThreshold) DeepCopyInto(out *ConditionThreshold)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Conditions

type Conditions struct {
	/* A condition that checks that a time series
	continues to receive new data points. */
	ConditionAbsent ConditionAbsent `json:"conditionAbsent,omitempty"`
	/* A Monitoring Query Language query that outputs a boolean stream */
	ConditionMonitoringQueryLanguage ConditionMonitoringQueryLanguage `json:"conditionMonitoringQueryLanguage,omitempty"`
	/* A condition that compares a time series against a
	threshold. */
	ConditionThreshold ConditionThreshold `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 (*Conditions) DeepCopy

func (in *Conditions) DeepCopy() *Conditions

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Conditions.

func (*Conditions) DeepCopyInto

func (in *Conditions) DeepCopyInto(out *Conditions)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CreationRecord

type CreationRecord 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 (*CreationRecord) DeepCopy

func (in *CreationRecord) DeepCopy() *CreationRecord

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CreationRecord.

func (*CreationRecord) DeepCopyInto

func (in *CreationRecord) DeepCopyInto(out *CreationRecord)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DenominatorAggregations

type DenominatorAggregations 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 (*DenominatorAggregations) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DenominatorAggregations.

func (*DenominatorAggregations) DeepCopyInto

func (in *DenominatorAggregations) DeepCopyInto(out *DenominatorAggregations)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Documentation

type Documentation 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 (*Documentation) DeepCopy

func (in *Documentation) DeepCopy() *Documentation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Documentation.

func (*Documentation) DeepCopyInto

func (in *Documentation) DeepCopyInto(out *Documentation)

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

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.ObjectMeta `json:"metadata,omitempty"`
	Items             []MonitoringAlertPolicy `json:"items"`
}

MonitoringAlertPolicyList contains a list of MonitoringAlertPolicy

func (*MonitoringAlertPolicyList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringAlertPolicyList.

func (*MonitoringAlertPolicyList) DeepCopyInto

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 []Conditions `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 Documentation `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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringAlertPolicySpec.

func (*MonitoringAlertPolicySpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MonitoringAlertPolicyStatus

type MonitoringAlertPolicyStatus struct {
	/* Conditions represents 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 []CreationRecord `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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringAlertPolicyStatus.

func (*MonitoringAlertPolicyStatus) DeepCopyInto

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.ObjectMeta `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 represents the latest available observations of the
	   MonitoringGroup's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
}

func (*MonitoringGroupStatus) DeepCopy

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringNotificationChannel.

func (*MonitoringNotificationChannel) DeepCopyInto

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.ObjectMeta `json:"metadata,omitempty"`
	Items             []MonitoringNotificationChannel `json:"items"`
}

MonitoringNotificationChannelList contains a list of MonitoringNotificationChannel

func (*MonitoringNotificationChannelList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringNotificationChannelList.

func (*MonitoringNotificationChannelList) DeepCopyInto

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 SensitiveLabels `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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringNotificationChannelSpec.

func (*MonitoringNotificationChannelSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MonitoringNotificationChannelStatus

type MonitoringNotificationChannelStatus struct {
	/* Conditions represents 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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringNotificationChannelStatus.

func (*MonitoringNotificationChannelStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Password

type Password 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 ValueFrom `json:"valueFrom,omitempty"`
}

func (*Password) DeepCopy

func (in *Password) DeepCopy() *Password

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Password.

func (*Password) DeepCopyInto

func (in *Password) DeepCopyInto(out *Password)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SensitiveLabels

type SensitiveLabels struct {
	/* An authorization token for a notification channel. Channel types that support this field include: slack */
	AuthToken AuthToken `json:"authToken,omitempty"`
	/* An password for a notification channel. Channel types that support this field include: webhook_basicauth */
	Password Password `json:"password,omitempty"`
	/* An servicekey token for a notification channel. Channel types that support this field include: pagerduty */
	ServiceKey ServiceKey `json:"serviceKey,omitempty"`
}

func (*SensitiveLabels) DeepCopy

func (in *SensitiveLabels) DeepCopy() *SensitiveLabels

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SensitiveLabels.

func (*SensitiveLabels) DeepCopyInto

func (in *SensitiveLabels) DeepCopyInto(out *SensitiveLabels)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceKey

type ServiceKey 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 ValueFrom `json:"valueFrom,omitempty"`
}

func (*ServiceKey) DeepCopy

func (in *ServiceKey) DeepCopy() *ServiceKey

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceKey.

func (*ServiceKey) DeepCopyInto

func (in *ServiceKey) DeepCopyInto(out *ServiceKey)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Trigger

type Trigger 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 (*Trigger) DeepCopy

func (in *Trigger) DeepCopy() *Trigger

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Trigger.

func (*Trigger) DeepCopyInto

func (in *Trigger) DeepCopyInto(out *Trigger)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ValueFrom

type ValueFrom 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 (*ValueFrom) DeepCopy

func (in *ValueFrom) DeepCopy() *ValueFrom

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValueFrom.

func (*ValueFrom) DeepCopyInto

func (in *ValueFrom) DeepCopyInto(out *ValueFrom)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL