v1alpha1

package
v0.3.0-preview Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=monitoring.gcp.jet.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "monitoring.gcp.jet.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	CustomService_Kind             = "CustomService"
	CustomService_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: CustomService_Kind}.String()
	CustomService_KindAPIVersion   = CustomService_Kind + "." + CRDGroupVersion.String()
	CustomService_GroupVersionKind = CRDGroupVersion.WithKind(CustomService_Kind)
)

Repository type metadata.

View Source
var (
	Dashboard_Kind             = "Dashboard"
	Dashboard_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Dashboard_Kind}.String()
	Dashboard_KindAPIVersion   = Dashboard_Kind + "." + CRDGroupVersion.String()
	Dashboard_GroupVersionKind = CRDGroupVersion.WithKind(Dashboard_Kind)
)

Repository type metadata.

View Source
var (
	Group_Kind             = "Group"
	Group_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Group_Kind}.String()
	Group_KindAPIVersion   = Group_Kind + "." + CRDGroupVersion.String()
	Group_GroupVersionKind = CRDGroupVersion.WithKind(Group_Kind)
)

Repository type metadata.

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	MetricDescriptor_Kind             = "MetricDescriptor"
	MetricDescriptor_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: MetricDescriptor_Kind}.String()
	MetricDescriptor_KindAPIVersion   = MetricDescriptor_Kind + "." + CRDGroupVersion.String()
	MetricDescriptor_GroupVersionKind = CRDGroupVersion.WithKind(MetricDescriptor_Kind)
)

Repository type metadata.

View Source
var (
	SLO_Kind             = "SLO"
	SLO_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: SLO_Kind}.String()
	SLO_KindAPIVersion   = SLO_Kind + "." + CRDGroupVersion.String()
	SLO_GroupVersionKind = CRDGroupVersion.WithKind(SLO_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AvailabilityObservation

type AvailabilityObservation struct {
}

func (*AvailabilityObservation) DeepCopy

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

func (*AvailabilityObservation) DeepCopyInto

func (in *AvailabilityObservation) DeepCopyInto(out *AvailabilityObservation)

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

type AvailabilityParameters

type AvailabilityParameters struct {

	// Whether an availability SLI is enabled or not. Must be set to true. Defaults to 'true'.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
}

func (*AvailabilityParameters) DeepCopy

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

func (*AvailabilityParameters) DeepCopyInto

func (in *AvailabilityParameters) DeepCopyInto(out *AvailabilityParameters)

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

type BasicSliObservation

type BasicSliObservation struct {
}

func (*BasicSliObservation) DeepCopy

func (in *BasicSliObservation) DeepCopy() *BasicSliObservation

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

func (*BasicSliObservation) DeepCopyInto

func (in *BasicSliObservation) DeepCopyInto(out *BasicSliObservation)

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

type BasicSliParameters

type BasicSliParameters struct {

	// Availability based SLI, dervied from count of requests made to this service that return successfully.
	// +kubebuilder:validation:Optional
	Availability []AvailabilityParameters `json:"availability,omitempty" tf:"availability,omitempty"`

	// Parameters for a latency threshold SLI.
	// +kubebuilder:validation:Optional
	Latency []LatencyParameters `json:"latency,omitempty" tf:"latency,omitempty"`

	// An optional set of locations to which this SLI is relevant.
	// Telemetry from other locations will not be used to calculate
	// performance for this SLI. If omitted, this SLI applies to all
	// locations in which the Service has activity. For service types
	// that don't support breaking down by location, setting this
	// field will result in an error.
	// +kubebuilder:validation:Optional
	Location []*string `json:"location,omitempty" tf:"location,omitempty"`

	// An optional set of RPCs to which this SLI is relevant.
	// Telemetry from other methods will not be used to calculate
	// performance for this SLI. If omitted, this SLI applies to all
	// the Service's methods. For service types that don't support
	// breaking down by method, setting this field will result in an
	// error.
	// +kubebuilder:validation:Optional
	Method []*string `json:"method,omitempty" tf:"method,omitempty"`

	// The set of API versions to which this SLI is relevant.
	// Telemetry from other API versions will not be used to
	// calculate performance for this SLI. If omitted,
	// this SLI applies to all API versions. For service types
	// that don't support breaking down by version, setting this
	// field will result in an error.
	// +kubebuilder:validation:Optional
	Version []*string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*BasicSliParameters) DeepCopy

func (in *BasicSliParameters) DeepCopy() *BasicSliParameters

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

func (*BasicSliParameters) DeepCopyInto

func (in *BasicSliParameters) DeepCopyInto(out *BasicSliParameters)

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

type BasicSliPerformanceAvailabilityObservation

type BasicSliPerformanceAvailabilityObservation struct {
}

func (*BasicSliPerformanceAvailabilityObservation) DeepCopy

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

func (*BasicSliPerformanceAvailabilityObservation) DeepCopyInto

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

type BasicSliPerformanceAvailabilityParameters

type BasicSliPerformanceAvailabilityParameters struct {

	// Whether an availability SLI is enabled or not. Must be set to 'true. Defaults to 'true'.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
}

func (*BasicSliPerformanceAvailabilityParameters) DeepCopy

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

func (*BasicSliPerformanceAvailabilityParameters) DeepCopyInto

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

type BasicSliPerformanceLatencyObservation

type BasicSliPerformanceLatencyObservation struct {
}

func (*BasicSliPerformanceLatencyObservation) DeepCopy

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

func (*BasicSliPerformanceLatencyObservation) DeepCopyInto

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

type BasicSliPerformanceLatencyParameters

type BasicSliPerformanceLatencyParameters struct {

	// A duration string, e.g. 10s.
	// Good service is defined to be the count of requests made to
	// this service that return in no more than threshold.
	// +kubebuilder:validation:Required
	Threshold *string `json:"threshold" tf:"threshold,omitempty"`
}

func (*BasicSliPerformanceLatencyParameters) DeepCopy

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

func (*BasicSliPerformanceLatencyParameters) DeepCopyInto

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

type BasicSliPerformanceObservation

type BasicSliPerformanceObservation struct {
}

func (*BasicSliPerformanceObservation) DeepCopy

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

func (*BasicSliPerformanceObservation) DeepCopyInto

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

type BasicSliPerformanceParameters

type BasicSliPerformanceParameters struct {

	// Availability based SLI, dervied from count of requests made to this service that return successfully.
	// +kubebuilder:validation:Optional
	Availability []BasicSliPerformanceAvailabilityParameters `json:"availability,omitempty" tf:"availability,omitempty"`

	// Parameters for a latency threshold SLI.
	// +kubebuilder:validation:Optional
	Latency []BasicSliPerformanceLatencyParameters `json:"latency,omitempty" tf:"latency,omitempty"`

	// An optional set of locations to which this SLI is relevant.
	// Telemetry from other locations will not be used to calculate
	// performance for this SLI. If omitted, this SLI applies to all
	// locations in which the Service has activity. For service types
	// that don't support breaking down by location, setting this
	// field will result in an error.
	// +kubebuilder:validation:Optional
	Location []*string `json:"location,omitempty" tf:"location,omitempty"`

	// An optional set of RPCs to which this SLI is relevant.
	// Telemetry from other methods will not be used to calculate
	// performance for this SLI. If omitted, this SLI applies to all
	// the Service's methods. For service types that don't support
	// breaking down by method, setting this field will result in an
	// error.
	// +kubebuilder:validation:Optional
	Method []*string `json:"method,omitempty" tf:"method,omitempty"`

	// The set of API versions to which this SLI is relevant.
	// Telemetry from other API versions will not be used to
	// calculate performance for this SLI. If omitted,
	// this SLI applies to all API versions. For service types
	// that don't support breaking down by version, setting this
	// field will result in an error.
	// +kubebuilder:validation:Optional
	Version []*string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*BasicSliPerformanceParameters) DeepCopy

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

func (*BasicSliPerformanceParameters) DeepCopyInto

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

type CustomService

type CustomService struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CustomServiceSpec   `json:"spec"`
	Status            CustomServiceStatus `json:"status,omitempty"`
}

CustomService is the Schema for the CustomServices API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcpjet}

func (*CustomService) DeepCopy

func (in *CustomService) DeepCopy() *CustomService

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

func (*CustomService) DeepCopyInto

func (in *CustomService) DeepCopyInto(out *CustomService)

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

func (*CustomService) DeepCopyObject

func (in *CustomService) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*CustomService) GetCondition

func (mg *CustomService) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this CustomService.

func (*CustomService) GetConnectionDetailsMapping

func (tr *CustomService) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this CustomService

func (*CustomService) GetDeletionPolicy

func (mg *CustomService) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this CustomService.

func (*CustomService) GetID

func (tr *CustomService) GetID() string

GetID returns ID of underlying Terraform resource of this CustomService

func (*CustomService) GetObservation

func (tr *CustomService) GetObservation() (map[string]interface{}, error)

GetObservation of this CustomService

func (*CustomService) GetParameters

func (tr *CustomService) GetParameters() (map[string]interface{}, error)

GetParameters of this CustomService

func (*CustomService) GetProviderConfigReference

func (mg *CustomService) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this CustomService.

func (*CustomService) GetProviderReference

func (mg *CustomService) GetProviderReference() *xpv1.Reference

GetProviderReference of this CustomService. Deprecated: Use GetProviderConfigReference.

func (*CustomService) GetPublishConnectionDetailsTo

func (mg *CustomService) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this CustomService.

func (*CustomService) GetTerraformResourceType

func (mg *CustomService) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this CustomService

func (*CustomService) GetTerraformSchemaVersion

func (tr *CustomService) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*CustomService) GetWriteConnectionSecretToReference

func (mg *CustomService) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this CustomService.

func (*CustomService) LateInitialize

func (tr *CustomService) LateInitialize(attrs []byte) (bool, error)

LateInitialize this CustomService using its observed tfState. returns True if there are any spec changes for the resource.

func (*CustomService) SetConditions

func (mg *CustomService) SetConditions(c ...xpv1.Condition)

SetConditions of this CustomService.

func (*CustomService) SetDeletionPolicy

func (mg *CustomService) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this CustomService.

func (*CustomService) SetObservation

func (tr *CustomService) SetObservation(obs map[string]interface{}) error

SetObservation for this CustomService

func (*CustomService) SetParameters

func (tr *CustomService) SetParameters(params map[string]interface{}) error

SetParameters for this CustomService

func (*CustomService) SetProviderConfigReference

func (mg *CustomService) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this CustomService.

func (*CustomService) SetProviderReference

func (mg *CustomService) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this CustomService. Deprecated: Use SetProviderConfigReference.

func (*CustomService) SetPublishConnectionDetailsTo

func (mg *CustomService) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this CustomService.

func (*CustomService) SetWriteConnectionSecretToReference

func (mg *CustomService) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this CustomService.

type CustomServiceList

type CustomServiceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []CustomService `json:"items"`
}

CustomServiceList contains a list of CustomServices

func (*CustomServiceList) DeepCopy

func (in *CustomServiceList) DeepCopy() *CustomServiceList

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

func (*CustomServiceList) DeepCopyInto

func (in *CustomServiceList) DeepCopyInto(out *CustomServiceList)

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

func (*CustomServiceList) DeepCopyObject

func (in *CustomServiceList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*CustomServiceList) GetItems

func (l *CustomServiceList) GetItems() []resource.Managed

GetItems of this CustomServiceList.

type CustomServiceObservation

type CustomServiceObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*CustomServiceObservation) DeepCopy

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

func (*CustomServiceObservation) DeepCopyInto

func (in *CustomServiceObservation) DeepCopyInto(out *CustomServiceObservation)

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

type CustomServiceParameters

type CustomServiceParameters struct {

	// Name used for UI elements listing this Service.
	// +kubebuilder:validation:Optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// +kubebuilder:validation:Optional
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// An optional service ID to use. If not given, the server will generate a
	// service ID.
	// +kubebuilder:validation:Optional
	ServiceID *string `json:"serviceId,omitempty" tf:"service_id,omitempty"`

	// Configuration for how to query telemetry on a Service.
	// +kubebuilder:validation:Optional
	Telemetry []TelemetryParameters `json:"telemetry,omitempty" tf:"telemetry,omitempty"`
}

func (*CustomServiceParameters) DeepCopy

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

func (*CustomServiceParameters) DeepCopyInto

func (in *CustomServiceParameters) DeepCopyInto(out *CustomServiceParameters)

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

type CustomServiceSpec

type CustomServiceSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     CustomServiceParameters `json:"forProvider"`
}

CustomServiceSpec defines the desired state of CustomService

func (*CustomServiceSpec) DeepCopy

func (in *CustomServiceSpec) DeepCopy() *CustomServiceSpec

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

func (*CustomServiceSpec) DeepCopyInto

func (in *CustomServiceSpec) DeepCopyInto(out *CustomServiceSpec)

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

type CustomServiceStatus

type CustomServiceStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        CustomServiceObservation `json:"atProvider,omitempty"`
}

CustomServiceStatus defines the observed state of CustomService.

func (*CustomServiceStatus) DeepCopy

func (in *CustomServiceStatus) DeepCopy() *CustomServiceStatus

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

func (*CustomServiceStatus) DeepCopyInto

func (in *CustomServiceStatus) DeepCopyInto(out *CustomServiceStatus)

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

type Dashboard

type Dashboard struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DashboardSpec   `json:"spec"`
	Status            DashboardStatus `json:"status,omitempty"`
}

Dashboard is the Schema for the Dashboards API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcpjet}

func (*Dashboard) DeepCopy

func (in *Dashboard) DeepCopy() *Dashboard

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

func (*Dashboard) DeepCopyInto

func (in *Dashboard) DeepCopyInto(out *Dashboard)

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

func (*Dashboard) DeepCopyObject

func (in *Dashboard) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Dashboard) GetCondition

func (mg *Dashboard) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Dashboard.

func (*Dashboard) GetConnectionDetailsMapping

func (tr *Dashboard) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Dashboard

func (*Dashboard) GetDeletionPolicy

func (mg *Dashboard) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Dashboard.

func (*Dashboard) GetID

func (tr *Dashboard) GetID() string

GetID returns ID of underlying Terraform resource of this Dashboard

func (*Dashboard) GetObservation

func (tr *Dashboard) GetObservation() (map[string]interface{}, error)

GetObservation of this Dashboard

func (*Dashboard) GetParameters

func (tr *Dashboard) GetParameters() (map[string]interface{}, error)

GetParameters of this Dashboard

func (*Dashboard) GetProviderConfigReference

func (mg *Dashboard) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Dashboard.

func (*Dashboard) GetProviderReference

func (mg *Dashboard) GetProviderReference() *xpv1.Reference

GetProviderReference of this Dashboard. Deprecated: Use GetProviderConfigReference.

func (*Dashboard) GetPublishConnectionDetailsTo

func (mg *Dashboard) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Dashboard.

func (*Dashboard) GetTerraformResourceType

func (mg *Dashboard) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Dashboard

func (*Dashboard) GetTerraformSchemaVersion

func (tr *Dashboard) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Dashboard) GetWriteConnectionSecretToReference

func (mg *Dashboard) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Dashboard.

func (*Dashboard) LateInitialize

func (tr *Dashboard) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Dashboard using its observed tfState. returns True if there are any spec changes for the resource.

func (*Dashboard) SetConditions

func (mg *Dashboard) SetConditions(c ...xpv1.Condition)

SetConditions of this Dashboard.

func (*Dashboard) SetDeletionPolicy

func (mg *Dashboard) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Dashboard.

func (*Dashboard) SetObservation

func (tr *Dashboard) SetObservation(obs map[string]interface{}) error

SetObservation for this Dashboard

func (*Dashboard) SetParameters

func (tr *Dashboard) SetParameters(params map[string]interface{}) error

SetParameters for this Dashboard

func (*Dashboard) SetProviderConfigReference

func (mg *Dashboard) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Dashboard.

func (*Dashboard) SetProviderReference

func (mg *Dashboard) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Dashboard. Deprecated: Use SetProviderConfigReference.

func (*Dashboard) SetPublishConnectionDetailsTo

func (mg *Dashboard) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Dashboard.

func (*Dashboard) SetWriteConnectionSecretToReference

func (mg *Dashboard) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Dashboard.

type DashboardList

type DashboardList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Dashboard `json:"items"`
}

DashboardList contains a list of Dashboards

func (*DashboardList) DeepCopy

func (in *DashboardList) DeepCopy() *DashboardList

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

func (*DashboardList) DeepCopyInto

func (in *DashboardList) DeepCopyInto(out *DashboardList)

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

func (*DashboardList) DeepCopyObject

func (in *DashboardList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*DashboardList) GetItems

func (l *DashboardList) GetItems() []resource.Managed

GetItems of this DashboardList.

type DashboardObservation

type DashboardObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*DashboardObservation) DeepCopy

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

func (*DashboardObservation) DeepCopyInto

func (in *DashboardObservation) DeepCopyInto(out *DashboardObservation)

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

type DashboardParameters

type DashboardParameters struct {

	// The JSON representation of a dashboard, following the format at https://cloud.google.com/monitoring/api/ref_v3/rest/v1/projects.dashboards.
	// +kubebuilder:validation:Required
	DashboardJSON *string `json:"dashboardJson" tf:"dashboard_json,omitempty"`

	// The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
	// +kubebuilder:validation:Optional
	Project *string `json:"project,omitempty" tf:"project,omitempty"`
}

func (*DashboardParameters) DeepCopy

func (in *DashboardParameters) DeepCopy() *DashboardParameters

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

func (*DashboardParameters) DeepCopyInto

func (in *DashboardParameters) DeepCopyInto(out *DashboardParameters)

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

type DashboardSpec

type DashboardSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DashboardParameters `json:"forProvider"`
}

DashboardSpec defines the desired state of Dashboard

func (*DashboardSpec) DeepCopy

func (in *DashboardSpec) DeepCopy() *DashboardSpec

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

func (*DashboardSpec) DeepCopyInto

func (in *DashboardSpec) DeepCopyInto(out *DashboardSpec)

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

type DashboardStatus

type DashboardStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        DashboardObservation `json:"atProvider,omitempty"`
}

DashboardStatus defines the observed state of Dashboard.

func (*DashboardStatus) DeepCopy

func (in *DashboardStatus) DeepCopy() *DashboardStatus

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

func (*DashboardStatus) DeepCopyInto

func (in *DashboardStatus) DeepCopyInto(out *DashboardStatus)

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

type DistributionCutObservation

type DistributionCutObservation struct {
}

func (*DistributionCutObservation) DeepCopy

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

func (*DistributionCutObservation) DeepCopyInto

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

type DistributionCutParameters

type DistributionCutParameters struct {

	// A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
	// aggregating values to quantify the good service provided.
	//
	// Must have ValueType = DISTRIBUTION and
	// MetricKind = DELTA or MetricKind = CUMULATIVE.
	// +kubebuilder:validation:Required
	DistributionFilter *string `json:"distributionFilter" tf:"distribution_filter,omitempty"`

	// Range of numerical values. The computed good_service
	// will be the count of values x in the Distribution such
	// that range.min <= x <= range.max. inclusive of min and
	// max. Open ranges can be defined by setting
	// just one of min or max.
	// +kubebuilder:validation:Required
	Range []RangeParameters `json:"range" tf:"range,omitempty"`
}

func (*DistributionCutParameters) DeepCopy

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

func (*DistributionCutParameters) DeepCopyInto

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

type DistributionCutRangeObservation

type DistributionCutRangeObservation struct {
}

func (*DistributionCutRangeObservation) DeepCopy

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

func (*DistributionCutRangeObservation) DeepCopyInto

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

type DistributionCutRangeParameters

type DistributionCutRangeParameters struct {

	// max value for the range (inclusive). If not given,
	// will be set to "infinity", defining an open range
	// ">= range.min"
	// +kubebuilder:validation:Optional
	Max *float64 `json:"max,omitempty" tf:"max,omitempty"`

	// Min value for the range (inclusive). If not given,
	// will be set to "-infinity", defining an open range
	// "< range.max"
	// +kubebuilder:validation:Optional
	Min *float64 `json:"min,omitempty" tf:"min,omitempty"`
}

func (*DistributionCutRangeParameters) DeepCopy

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

func (*DistributionCutRangeParameters) DeepCopyInto

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

type GoodTotalRatioObservation

type GoodTotalRatioObservation struct {
}

func (*GoodTotalRatioObservation) DeepCopy

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

func (*GoodTotalRatioObservation) DeepCopyInto

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

type GoodTotalRatioParameters

type GoodTotalRatioParameters struct {

	// A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
	// quantifying bad service provided, either demanded service that
	// was not provided or demanded service that was of inadequate
	// quality.
	//
	// Must have ValueType = DOUBLE or ValueType = INT64 and
	// must have MetricKind = DELTA or MetricKind = CUMULATIVE.
	//
	// Exactly two of 'good_service_filter','bad_service_filter','total_service_filter'
	// must be set (good + bad = total is assumed).
	// +kubebuilder:validation:Optional
	BadServiceFilter *string `json:"badServiceFilter,omitempty" tf:"bad_service_filter,omitempty"`

	// A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
	// quantifying good service provided.
	// Must have ValueType = DOUBLE or ValueType = INT64 and
	// must have MetricKind = DELTA or MetricKind = CUMULATIVE.
	//
	// Exactly two of 'good_service_filter','bad_service_filter','total_service_filter'
	// must be set (good + bad = total is assumed).
	// +kubebuilder:validation:Optional
	GoodServiceFilter *string `json:"goodServiceFilter,omitempty" tf:"good_service_filter,omitempty"`

	// A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
	// quantifying total demanded service.
	//
	// Must have ValueType = DOUBLE or ValueType = INT64 and
	// must have MetricKind = DELTA or MetricKind = CUMULATIVE.
	//
	// Exactly two of 'good_service_filter','bad_service_filter','total_service_filter'
	// must be set (good + bad = total is assumed).
	// +kubebuilder:validation:Optional
	TotalServiceFilter *string `json:"totalServiceFilter,omitempty" tf:"total_service_filter,omitempty"`
}

func (*GoodTotalRatioParameters) DeepCopy

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

func (*GoodTotalRatioParameters) DeepCopyInto

func (in *GoodTotalRatioParameters) DeepCopyInto(out *GoodTotalRatioParameters)

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

type GoodTotalRatioThresholdObservation

type GoodTotalRatioThresholdObservation struct {
}

func (*GoodTotalRatioThresholdObservation) DeepCopy

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

func (*GoodTotalRatioThresholdObservation) DeepCopyInto

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

type GoodTotalRatioThresholdParameters

type GoodTotalRatioThresholdParameters struct {

	// Basic SLI to evaluate to judge window quality.
	// +kubebuilder:validation:Optional
	BasicSliPerformance []BasicSliPerformanceParameters `json:"basicSliPerformance,omitempty" tf:"basic_sli_performance,omitempty"`

	// Request-based SLI to evaluate to judge window quality.
	// +kubebuilder:validation:Optional
	Performance []PerformanceParameters `json:"performance,omitempty" tf:"performance,omitempty"`

	// If window performance >= threshold, the window is counted
	// as good.
	// +kubebuilder:validation:Optional
	Threshold *float64 `json:"threshold,omitempty" tf:"threshold,omitempty"`
}

func (*GoodTotalRatioThresholdParameters) DeepCopy

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

func (*GoodTotalRatioThresholdParameters) DeepCopyInto

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

type Group

type Group struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              GroupSpec   `json:"spec"`
	Status            GroupStatus `json:"status,omitempty"`
}

Group is the Schema for the Groups API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcpjet}

func (*Group) DeepCopy

func (in *Group) DeepCopy() *Group

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

func (*Group) DeepCopyInto

func (in *Group) DeepCopyInto(out *Group)

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

func (*Group) DeepCopyObject

func (in *Group) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Group) GetCondition

func (mg *Group) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Group.

func (*Group) GetConnectionDetailsMapping

func (tr *Group) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Group

func (*Group) GetDeletionPolicy

func (mg *Group) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Group.

func (*Group) GetID

func (tr *Group) GetID() string

GetID returns ID of underlying Terraform resource of this Group

func (*Group) GetObservation

func (tr *Group) GetObservation() (map[string]interface{}, error)

GetObservation of this Group

func (*Group) GetParameters

func (tr *Group) GetParameters() (map[string]interface{}, error)

GetParameters of this Group

func (*Group) GetProviderConfigReference

func (mg *Group) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Group.

func (*Group) GetProviderReference

func (mg *Group) GetProviderReference() *xpv1.Reference

GetProviderReference of this Group. Deprecated: Use GetProviderConfigReference.

func (*Group) GetPublishConnectionDetailsTo

func (mg *Group) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Group.

func (*Group) GetTerraformResourceType

func (mg *Group) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Group

func (*Group) GetTerraformSchemaVersion

func (tr *Group) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Group) GetWriteConnectionSecretToReference

func (mg *Group) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Group.

func (*Group) LateInitialize

func (tr *Group) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Group using its observed tfState. returns True if there are any spec changes for the resource.

func (*Group) SetConditions

func (mg *Group) SetConditions(c ...xpv1.Condition)

SetConditions of this Group.

func (*Group) SetDeletionPolicy

func (mg *Group) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Group.

func (*Group) SetObservation

func (tr *Group) SetObservation(obs map[string]interface{}) error

SetObservation for this Group

func (*Group) SetParameters

func (tr *Group) SetParameters(params map[string]interface{}) error

SetParameters for this Group

func (*Group) SetProviderConfigReference

func (mg *Group) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Group.

func (*Group) SetProviderReference

func (mg *Group) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Group. Deprecated: Use SetProviderConfigReference.

func (*Group) SetPublishConnectionDetailsTo

func (mg *Group) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Group.

func (*Group) SetWriteConnectionSecretToReference

func (mg *Group) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Group.

type GroupList

type GroupList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Group `json:"items"`
}

GroupList contains a list of Groups

func (*GroupList) DeepCopy

func (in *GroupList) DeepCopy() *GroupList

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

func (*GroupList) DeepCopyInto

func (in *GroupList) DeepCopyInto(out *GroupList)

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

func (*GroupList) DeepCopyObject

func (in *GroupList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*GroupList) GetItems

func (l *GroupList) GetItems() []resource.Managed

GetItems of this GroupList.

type GroupObservation

type GroupObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*GroupObservation) DeepCopy

func (in *GroupObservation) DeepCopy() *GroupObservation

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

func (*GroupObservation) DeepCopyInto

func (in *GroupObservation) DeepCopyInto(out *GroupObservation)

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

type GroupParameters

type GroupParameters struct {

	// A user-assigned name for this group, used only for display
	// purposes.
	// +kubebuilder:validation:Required
	DisplayName *string `json:"displayName" tf:"display_name,omitempty"`

	// The filter used to determine which monitored resources
	// belong to this group.
	// +kubebuilder:validation:Required
	Filter *string `json:"filter" tf:"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.
	// +kubebuilder:validation:Optional
	IsCluster *bool `json:"isCluster,omitempty" tf:"is_cluster,omitempty"`

	// The name of the group's parent, if it has one. The format is
	// "projects/{project_id_or_number}/groups/{group_id}". For
	// groups with no parent, parentName is the empty string, "".
	// +kubebuilder:validation:Optional
	ParentName *string `json:"parentName,omitempty" tf:"parent_name,omitempty"`

	// +kubebuilder:validation:Optional
	Project *string `json:"project,omitempty" tf:"project,omitempty"`
}

func (*GroupParameters) DeepCopy

func (in *GroupParameters) DeepCopy() *GroupParameters

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

func (*GroupParameters) DeepCopyInto

func (in *GroupParameters) DeepCopyInto(out *GroupParameters)

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

type GroupSpec

type GroupSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     GroupParameters `json:"forProvider"`
}

GroupSpec defines the desired state of Group

func (*GroupSpec) DeepCopy

func (in *GroupSpec) DeepCopy() *GroupSpec

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

func (*GroupSpec) DeepCopyInto

func (in *GroupSpec) DeepCopyInto(out *GroupSpec)

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

type GroupStatus

type GroupStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        GroupObservation `json:"atProvider,omitempty"`
}

GroupStatus defines the observed state of Group.

func (*GroupStatus) DeepCopy

func (in *GroupStatus) DeepCopy() *GroupStatus

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

func (*GroupStatus) DeepCopyInto

func (in *GroupStatus) DeepCopyInto(out *GroupStatus)

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

type LabelsObservation

type LabelsObservation struct {
}

func (*LabelsObservation) DeepCopy

func (in *LabelsObservation) DeepCopy() *LabelsObservation

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

func (*LabelsObservation) DeepCopyInto

func (in *LabelsObservation) DeepCopyInto(out *LabelsObservation)

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

type LabelsParameters

type LabelsParameters struct {

	// A human-readable description for the label.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The key for this label. The key must not exceed 100 characters. The first character of the key must be an upper- or lower-case letter, the remaining characters must be letters, digits or underscores, and the key must match the regular expression [a-zA-Z][a-zA-Z0-9_]*
	// +kubebuilder:validation:Required
	Key *string `json:"key" tf:"key,omitempty"`

	// The type of data that can be assigned to the label. Default value: "STRING" Possible values: ["STRING", "BOOL", "INT64"]
	// +kubebuilder:validation:Optional
	ValueType *string `json:"valueType,omitempty" tf:"value_type,omitempty"`
}

func (*LabelsParameters) DeepCopy

func (in *LabelsParameters) DeepCopy() *LabelsParameters

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

func (*LabelsParameters) DeepCopyInto

func (in *LabelsParameters) DeepCopyInto(out *LabelsParameters)

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

type LatencyObservation

type LatencyObservation struct {
}

func (*LatencyObservation) DeepCopy

func (in *LatencyObservation) DeepCopy() *LatencyObservation

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

func (*LatencyObservation) DeepCopyInto

func (in *LatencyObservation) DeepCopyInto(out *LatencyObservation)

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

type LatencyParameters

type LatencyParameters struct {

	// A duration string, e.g. 10s.
	// Good service is defined to be the count of requests made to
	// this service that return in no more than threshold.
	// +kubebuilder:validation:Required
	Threshold *string `json:"threshold" tf:"threshold,omitempty"`
}

func (*LatencyParameters) DeepCopy

func (in *LatencyParameters) DeepCopy() *LatencyParameters

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

func (*LatencyParameters) DeepCopyInto

func (in *LatencyParameters) DeepCopyInto(out *LatencyParameters)

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

type MetadataObservation

type MetadataObservation struct {
}

func (*MetadataObservation) DeepCopy

func (in *MetadataObservation) DeepCopy() *MetadataObservation

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

func (*MetadataObservation) DeepCopyInto

func (in *MetadataObservation) DeepCopyInto(out *MetadataObservation)

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

type MetadataParameters

type MetadataParameters struct {

	// The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors. In '[duration format](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf?&_ga=2.264881487.1507873253.1593446723-935052455.1591817775#google.protobuf.Duration)'.
	// +kubebuilder:validation:Optional
	IngestDelay *string `json:"ingestDelay,omitempty" tf:"ingest_delay,omitempty"`

	// The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period. In '[duration format](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf?&_ga=2.264881487.1507873253.1593446723-935052455.1591817775#google.protobuf.Duration)'.
	// +kubebuilder:validation:Optional
	SamplePeriod *string `json:"samplePeriod,omitempty" tf:"sample_period,omitempty"`
}

func (*MetadataParameters) DeepCopy

func (in *MetadataParameters) DeepCopy() *MetadataParameters

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

func (*MetadataParameters) DeepCopyInto

func (in *MetadataParameters) DeepCopyInto(out *MetadataParameters)

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

type MetricDescriptor

type MetricDescriptor struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MetricDescriptorSpec   `json:"spec"`
	Status            MetricDescriptorStatus `json:"status,omitempty"`
}

MetricDescriptor is the Schema for the MetricDescriptors API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcpjet}

func (*MetricDescriptor) DeepCopy

func (in *MetricDescriptor) DeepCopy() *MetricDescriptor

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

func (*MetricDescriptor) DeepCopyInto

func (in *MetricDescriptor) DeepCopyInto(out *MetricDescriptor)

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

func (*MetricDescriptor) DeepCopyObject

func (in *MetricDescriptor) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*MetricDescriptor) GetCondition

func (mg *MetricDescriptor) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this MetricDescriptor.

func (*MetricDescriptor) GetConnectionDetailsMapping

func (tr *MetricDescriptor) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this MetricDescriptor

func (*MetricDescriptor) GetDeletionPolicy

func (mg *MetricDescriptor) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this MetricDescriptor.

func (*MetricDescriptor) GetID

func (tr *MetricDescriptor) GetID() string

GetID returns ID of underlying Terraform resource of this MetricDescriptor

func (*MetricDescriptor) GetObservation

func (tr *MetricDescriptor) GetObservation() (map[string]interface{}, error)

GetObservation of this MetricDescriptor

func (*MetricDescriptor) GetParameters

func (tr *MetricDescriptor) GetParameters() (map[string]interface{}, error)

GetParameters of this MetricDescriptor

func (*MetricDescriptor) GetProviderConfigReference

func (mg *MetricDescriptor) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this MetricDescriptor.

func (*MetricDescriptor) GetProviderReference

func (mg *MetricDescriptor) GetProviderReference() *xpv1.Reference

GetProviderReference of this MetricDescriptor. Deprecated: Use GetProviderConfigReference.

func (*MetricDescriptor) GetPublishConnectionDetailsTo

func (mg *MetricDescriptor) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this MetricDescriptor.

func (*MetricDescriptor) GetTerraformResourceType

func (mg *MetricDescriptor) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this MetricDescriptor

func (*MetricDescriptor) GetTerraformSchemaVersion

func (tr *MetricDescriptor) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*MetricDescriptor) GetWriteConnectionSecretToReference

func (mg *MetricDescriptor) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this MetricDescriptor.

func (*MetricDescriptor) LateInitialize

func (tr *MetricDescriptor) LateInitialize(attrs []byte) (bool, error)

LateInitialize this MetricDescriptor using its observed tfState. returns True if there are any spec changes for the resource.

func (*MetricDescriptor) SetConditions

func (mg *MetricDescriptor) SetConditions(c ...xpv1.Condition)

SetConditions of this MetricDescriptor.

func (*MetricDescriptor) SetDeletionPolicy

func (mg *MetricDescriptor) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this MetricDescriptor.

func (*MetricDescriptor) SetObservation

func (tr *MetricDescriptor) SetObservation(obs map[string]interface{}) error

SetObservation for this MetricDescriptor

func (*MetricDescriptor) SetParameters

func (tr *MetricDescriptor) SetParameters(params map[string]interface{}) error

SetParameters for this MetricDescriptor

func (*MetricDescriptor) SetProviderConfigReference

func (mg *MetricDescriptor) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this MetricDescriptor.

func (*MetricDescriptor) SetProviderReference

func (mg *MetricDescriptor) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this MetricDescriptor. Deprecated: Use SetProviderConfigReference.

func (*MetricDescriptor) SetPublishConnectionDetailsTo

func (mg *MetricDescriptor) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this MetricDescriptor.

func (*MetricDescriptor) SetWriteConnectionSecretToReference

func (mg *MetricDescriptor) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this MetricDescriptor.

type MetricDescriptorList

type MetricDescriptorList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []MetricDescriptor `json:"items"`
}

MetricDescriptorList contains a list of MetricDescriptors

func (*MetricDescriptorList) DeepCopy

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

func (*MetricDescriptorList) DeepCopyInto

func (in *MetricDescriptorList) DeepCopyInto(out *MetricDescriptorList)

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

func (*MetricDescriptorList) DeepCopyObject

func (in *MetricDescriptorList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*MetricDescriptorList) GetItems

func (l *MetricDescriptorList) GetItems() []resource.Managed

GetItems of this MetricDescriptorList.

type MetricDescriptorObservation

type MetricDescriptorObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	MonitoredResourceTypes []*string `json:"monitoredResourceTypes,omitempty" tf:"monitored_resource_types,omitempty"`

	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*MetricDescriptorObservation) DeepCopy

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

func (*MetricDescriptorObservation) DeepCopyInto

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

type MetricDescriptorParameters

type MetricDescriptorParameters struct {

	// A detailed description of the metric, which can be used in documentation.
	// +kubebuilder:validation:Required
	Description *string `json:"description" tf:"description,omitempty"`

	// A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example "Request count".
	// +kubebuilder:validation:Required
	DisplayName *string `json:"displayName" tf:"display_name,omitempty"`

	// The set of labels that can be used to describe a specific instance of this metric type. In order to delete a label, the entire resource must be deleted, then created with the desired labels.
	// +kubebuilder:validation:Optional
	Labels []LabelsParameters `json:"labels,omitempty" tf:"labels,omitempty"`

	// The launch stage of the metric definition. Possible values: ["LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", "EARLY_ACCESS", "ALPHA", "BETA", "GA", "DEPRECATED"]
	// +kubebuilder:validation:Optional
	LaunchStage *string `json:"launchStage,omitempty" tf:"launch_stage,omitempty"`

	// Metadata which can be used to guide usage of the metric.
	// +kubebuilder:validation:Optional
	Metadata []MetadataParameters `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// Whether the metric records instantaneous values, changes to a value, etc. Some combinations of metricKind and valueType might not be supported. Possible values: ["METRIC_KIND_UNSPECIFIED", "GAUGE", "DELTA", "CUMULATIVE"]
	// +kubebuilder:validation:Required
	MetricKind *string `json:"metricKind" tf:"metric_kind,omitempty"`

	// +kubebuilder:validation:Optional
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// The metric type, including its DNS name prefix. The type is not URL-encoded. All service defined metrics must be prefixed with the service name, in the format of {service name}/{relative metric name}, such as cloudsql.googleapis.com/database/cpu/utilization. The relative metric name must have only upper and lower-case letters, digits, '/' and underscores '_' are allowed. Additionally, the maximum number of characters allowed for the relative_metric_name is 100. All user-defined metric types have the DNS name custom.googleapis.com, external.googleapis.com, or logging.googleapis.com/user/.
	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`

	// The units in which the metric value is reported. It is only applicable if the
	// valueType is INT64, DOUBLE, or DISTRIBUTION. The unit defines the representation of
	// the stored metric values.
	//
	// Different systems may scale the values to be more easily displayed (so a value of
	// 0.02KBy might be displayed as 20By, and a value of 3523KBy might be displayed as
	// 3.5MBy). However, if the unit is KBy, then the value of the metric is always in
	// thousands of bytes, no matter how it may be displayed.
	//
	// If you want a custom metric to record the exact number of CPU-seconds used by a job,
	// you can create an INT64 CUMULATIVE metric whose unit is s{CPU} (or equivalently
	// 1s{CPU} or just s). If the job uses 12,005 CPU-seconds, then the value is written as
	// 12005.
	//
	// Alternatively, if you want a custom metric to record data in a more granular way, you
	// can create a DOUBLE CUMULATIVE metric whose unit is ks{CPU}, and then write the value
	// 12.005 (which is 12005/1000), or use Kis{CPU} and write 11.723 (which is 12005/1024).
	// The supported units are a subset of The Unified Code for Units of Measure standard.
	// More info can be found in the API documentation
	// (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors).
	// +kubebuilder:validation:Optional
	Unit *string `json:"unit,omitempty" tf:"unit,omitempty"`

	// Whether the measurement is an integer, a floating-point number, etc. Some combinations of metricKind and valueType might not be supported. Possible values: ["BOOL", "INT64", "DOUBLE", "STRING", "DISTRIBUTION"]
	// +kubebuilder:validation:Required
	ValueType *string `json:"valueType" tf:"value_type,omitempty"`
}

func (*MetricDescriptorParameters) DeepCopy

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

func (*MetricDescriptorParameters) DeepCopyInto

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

type MetricDescriptorSpec

type MetricDescriptorSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     MetricDescriptorParameters `json:"forProvider"`
}

MetricDescriptorSpec defines the desired state of MetricDescriptor

func (*MetricDescriptorSpec) DeepCopy

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

func (*MetricDescriptorSpec) DeepCopyInto

func (in *MetricDescriptorSpec) DeepCopyInto(out *MetricDescriptorSpec)

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

type MetricDescriptorStatus

type MetricDescriptorStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        MetricDescriptorObservation `json:"atProvider,omitempty"`
}

MetricDescriptorStatus defines the observed state of MetricDescriptor.

func (*MetricDescriptorStatus) DeepCopy

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

func (*MetricDescriptorStatus) DeepCopyInto

func (in *MetricDescriptorStatus) DeepCopyInto(out *MetricDescriptorStatus)

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

type MetricMeanInRangeObservation

type MetricMeanInRangeObservation struct {
}

func (*MetricMeanInRangeObservation) DeepCopy

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

func (*MetricMeanInRangeObservation) DeepCopyInto

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

type MetricMeanInRangeParameters

type MetricMeanInRangeParameters struct {

	// Range of numerical values. The computed good_service
	// will be the count of values x in the Distribution such
	// that range.min <= x <= range.max. inclusive of min and
	// max. Open ranges can be defined by setting
	// just one of min or max. Mean value 'X' of 'time_series'
	// values should satisfy 'range.min <= X <= range.max' for a
	// good service.
	// +kubebuilder:validation:Required
	Range []MetricMeanInRangeRangeParameters `json:"range" tf:"range,omitempty"`

	// A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
	// specifying the TimeSeries to use for evaluating window
	// The provided TimeSeries must have ValueType = INT64 or
	// ValueType = DOUBLE and MetricKind = GAUGE. Mean value 'X'
	// should satisfy 'range.min <= X <= range.max'
	// under good service.
	// +kubebuilder:validation:Required
	TimeSeries *string `json:"timeSeries" tf:"time_series,omitempty"`
}

func (*MetricMeanInRangeParameters) DeepCopy

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

func (*MetricMeanInRangeParameters) DeepCopyInto

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

type MetricMeanInRangeRangeObservation

type MetricMeanInRangeRangeObservation struct {
}

func (*MetricMeanInRangeRangeObservation) DeepCopy

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

func (*MetricMeanInRangeRangeObservation) DeepCopyInto

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

type MetricMeanInRangeRangeParameters

type MetricMeanInRangeRangeParameters struct {

	// max value for the range (inclusive). If not given,
	// will be set to "infinity", defining an open range
	// ">= range.min"
	// +kubebuilder:validation:Optional
	Max *float64 `json:"max,omitempty" tf:"max,omitempty"`

	// Min value for the range (inclusive). If not given,
	// will be set to "-infinity", defining an open range
	// "< range.max"
	// +kubebuilder:validation:Optional
	Min *float64 `json:"min,omitempty" tf:"min,omitempty"`
}

func (*MetricMeanInRangeRangeParameters) DeepCopy

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

func (*MetricMeanInRangeRangeParameters) DeepCopyInto

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

type MetricSumInRangeObservation

type MetricSumInRangeObservation struct {
}

func (*MetricSumInRangeObservation) DeepCopy

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

func (*MetricSumInRangeObservation) DeepCopyInto

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

type MetricSumInRangeParameters

type MetricSumInRangeParameters struct {

	// Range of numerical values. The computed good_service
	// will be the count of values x in the Distribution such
	// that range.min <= x <= range.max. inclusive of min and
	// max. Open ranges can be defined by setting
	// just one of min or max. Summed value 'X' should satisfy
	// 'range.min <= X <= range.max' for a good window.
	// +kubebuilder:validation:Required
	Range []MetricSumInRangeRangeParameters `json:"range" tf:"range,omitempty"`

	// A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
	// specifying the TimeSeries to use for evaluating window
	// quality. The provided TimeSeries must have
	// ValueType = INT64 or ValueType = DOUBLE and
	// MetricKind = GAUGE.
	//
	// Summed value 'X' should satisfy
	// 'range.min <= X <= range.max' for a good window.
	// +kubebuilder:validation:Required
	TimeSeries *string `json:"timeSeries" tf:"time_series,omitempty"`
}

func (*MetricSumInRangeParameters) DeepCopy

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

func (*MetricSumInRangeParameters) DeepCopyInto

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

type MetricSumInRangeRangeObservation

type MetricSumInRangeRangeObservation struct {
}

func (*MetricSumInRangeRangeObservation) DeepCopy

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

func (*MetricSumInRangeRangeObservation) DeepCopyInto

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

type MetricSumInRangeRangeParameters

type MetricSumInRangeRangeParameters struct {

	// max value for the range (inclusive). If not given,
	// will be set to "infinity", defining an open range
	// ">= range.min"
	// +kubebuilder:validation:Optional
	Max *float64 `json:"max,omitempty" tf:"max,omitempty"`

	// Min value for the range (inclusive). If not given,
	// will be set to "-infinity", defining an open range
	// "< range.max"
	// +kubebuilder:validation:Optional
	Min *float64 `json:"min,omitempty" tf:"min,omitempty"`
}

func (*MetricSumInRangeRangeParameters) DeepCopy

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

func (*MetricSumInRangeRangeParameters) DeepCopyInto

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

type PerformanceDistributionCutObservation

type PerformanceDistributionCutObservation struct {
}

func (*PerformanceDistributionCutObservation) DeepCopy

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

func (*PerformanceDistributionCutObservation) DeepCopyInto

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

type PerformanceDistributionCutParameters

type PerformanceDistributionCutParameters struct {

	// A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
	// aggregating values to quantify the good service provided.
	//
	// Must have ValueType = DISTRIBUTION and
	// MetricKind = DELTA or MetricKind = CUMULATIVE.
	// +kubebuilder:validation:Required
	DistributionFilter *string `json:"distributionFilter" tf:"distribution_filter,omitempty"`

	// Range of numerical values. The computed good_service
	// will be the count of values x in the Distribution such
	// that range.min <= x <= range.max. inclusive of min and
	// max. Open ranges can be defined by setting
	// just one of min or max.
	// +kubebuilder:validation:Required
	Range []DistributionCutRangeParameters `json:"range" tf:"range,omitempty"`
}

func (*PerformanceDistributionCutParameters) DeepCopy

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

func (*PerformanceDistributionCutParameters) DeepCopyInto

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

type PerformanceGoodTotalRatioObservation

type PerformanceGoodTotalRatioObservation struct {
}

func (*PerformanceGoodTotalRatioObservation) DeepCopy

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

func (*PerformanceGoodTotalRatioObservation) DeepCopyInto

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

type PerformanceGoodTotalRatioParameters

type PerformanceGoodTotalRatioParameters struct {

	// A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
	// quantifying bad service provided, either demanded service that
	// was not provided or demanded service that was of inadequate
	// quality. Exactly two of
	// good, bad, or total service filter must be defined (where
	// good + bad = total is assumed)
	//
	// Must have ValueType = DOUBLE or ValueType = INT64 and
	// must have MetricKind = DELTA or MetricKind = CUMULATIVE.
	// +kubebuilder:validation:Optional
	BadServiceFilter *string `json:"badServiceFilter,omitempty" tf:"bad_service_filter,omitempty"`

	// A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
	// quantifying good service provided. Exactly two of
	// good, bad, or total service filter must be defined (where
	// good + bad = total is assumed)
	//
	// Must have ValueType = DOUBLE or ValueType = INT64 and
	// must have MetricKind = DELTA or MetricKind = CUMULATIVE.
	// +kubebuilder:validation:Optional
	GoodServiceFilter *string `json:"goodServiceFilter,omitempty" tf:"good_service_filter,omitempty"`

	// A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
	// quantifying total demanded service. Exactly two of
	// good, bad, or total service filter must be defined (where
	// good + bad = total is assumed)
	//
	// Must have ValueType = DOUBLE or ValueType = INT64 and
	// must have MetricKind = DELTA or MetricKind = CUMULATIVE.
	// +kubebuilder:validation:Optional
	TotalServiceFilter *string `json:"totalServiceFilter,omitempty" tf:"total_service_filter,omitempty"`
}

func (*PerformanceGoodTotalRatioParameters) DeepCopy

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

func (*PerformanceGoodTotalRatioParameters) DeepCopyInto

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

type PerformanceObservation

type PerformanceObservation struct {
}

func (*PerformanceObservation) DeepCopy

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

func (*PerformanceObservation) DeepCopyInto

func (in *PerformanceObservation) DeepCopyInto(out *PerformanceObservation)

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

type PerformanceParameters

type PerformanceParameters struct {

	// Used when good_service is defined by a count of values aggregated in a
	// Distribution that fall into a good range. The total_service is the
	// total count of all values aggregated in the Distribution.
	// Defines a distribution TimeSeries filter and thresholds used for
	// measuring good service and total service.
	// +kubebuilder:validation:Optional
	DistributionCut []PerformanceDistributionCutParameters `json:"distributionCut,omitempty" tf:"distribution_cut,omitempty"`

	// A means to compute a ratio of 'good_service' to 'total_service'.
	// Defines computing this ratio with two TimeSeries [monitoring filters](https://cloud.google.com/monitoring/api/v3/filters)
	// Must specify exactly two of good, bad, and total service filters.
	// The relationship good_service + bad_service = total_service
	// will be assumed.
	// +kubebuilder:validation:Optional
	GoodTotalRatio []PerformanceGoodTotalRatioParameters `json:"goodTotalRatio,omitempty" tf:"good_total_ratio,omitempty"`
}

func (*PerformanceParameters) DeepCopy

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

func (*PerformanceParameters) DeepCopyInto

func (in *PerformanceParameters) DeepCopyInto(out *PerformanceParameters)

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

type RangeObservation

type RangeObservation struct {
}

func (*RangeObservation) DeepCopy

func (in *RangeObservation) DeepCopy() *RangeObservation

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

func (*RangeObservation) DeepCopyInto

func (in *RangeObservation) DeepCopyInto(out *RangeObservation)

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

type RangeParameters

type RangeParameters struct {

	// max value for the range (inclusive). If not given,
	// will be set to "infinity", defining an open range
	// ">= range.min"
	// +kubebuilder:validation:Optional
	Max *float64 `json:"max,omitempty" tf:"max,omitempty"`

	// Min value for the range (inclusive). If not given,
	// will be set to "-infinity", defining an open range
	// "< range.max"
	// +kubebuilder:validation:Optional
	Min *float64 `json:"min,omitempty" tf:"min,omitempty"`
}

func (*RangeParameters) DeepCopy

func (in *RangeParameters) DeepCopy() *RangeParameters

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

func (*RangeParameters) DeepCopyInto

func (in *RangeParameters) DeepCopyInto(out *RangeParameters)

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

type RequestBasedSliObservation

type RequestBasedSliObservation struct {
}

func (*RequestBasedSliObservation) DeepCopy

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

func (*RequestBasedSliObservation) DeepCopyInto

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

type RequestBasedSliParameters

type RequestBasedSliParameters struct {

	// Used when good_service is defined by a count of values aggregated in a
	// Distribution that fall into a good range. The total_service is the
	// total count of all values aggregated in the Distribution.
	// Defines a distribution TimeSeries filter and thresholds used for
	// measuring good service and total service.
	//
	// Exactly one of 'distribution_cut' or 'good_total_ratio' can be set.
	// +kubebuilder:validation:Optional
	DistributionCut []DistributionCutParameters `json:"distributionCut,omitempty" tf:"distribution_cut,omitempty"`

	// A means to compute a ratio of 'good_service' to 'total_service'.
	// Defines computing this ratio with two TimeSeries [monitoring filters](https://cloud.google.com/monitoring/api/v3/filters)
	// Must specify exactly two of good, bad, and total service filters.
	// The relationship good_service + bad_service = total_service
	// will be assumed.
	//
	// Exactly one of 'distribution_cut' or 'good_total_ratio' can be set.
	// +kubebuilder:validation:Optional
	GoodTotalRatio []GoodTotalRatioParameters `json:"goodTotalRatio,omitempty" tf:"good_total_ratio,omitempty"`
}

func (*RequestBasedSliParameters) DeepCopy

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

func (*RequestBasedSliParameters) DeepCopyInto

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

type SLO

type SLO struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SLOSpec   `json:"spec"`
	Status            SLOStatus `json:"status,omitempty"`
}

SLO is the Schema for the SLOs API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcpjet}

func (*SLO) DeepCopy

func (in *SLO) DeepCopy() *SLO

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

func (*SLO) DeepCopyInto

func (in *SLO) DeepCopyInto(out *SLO)

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

func (*SLO) DeepCopyObject

func (in *SLO) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*SLO) GetCondition

func (mg *SLO) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this SLO.

func (*SLO) GetConnectionDetailsMapping

func (tr *SLO) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this SLO

func (*SLO) GetDeletionPolicy

func (mg *SLO) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this SLO.

func (*SLO) GetID

func (tr *SLO) GetID() string

GetID returns ID of underlying Terraform resource of this SLO

func (*SLO) GetObservation

func (tr *SLO) GetObservation() (map[string]interface{}, error)

GetObservation of this SLO

func (*SLO) GetParameters

func (tr *SLO) GetParameters() (map[string]interface{}, error)

GetParameters of this SLO

func (*SLO) GetProviderConfigReference

func (mg *SLO) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this SLO.

func (*SLO) GetProviderReference

func (mg *SLO) GetProviderReference() *xpv1.Reference

GetProviderReference of this SLO. Deprecated: Use GetProviderConfigReference.

func (*SLO) GetPublishConnectionDetailsTo

func (mg *SLO) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this SLO.

func (*SLO) GetTerraformResourceType

func (mg *SLO) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this SLO

func (*SLO) GetTerraformSchemaVersion

func (tr *SLO) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*SLO) GetWriteConnectionSecretToReference

func (mg *SLO) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this SLO.

func (*SLO) LateInitialize

func (tr *SLO) LateInitialize(attrs []byte) (bool, error)

LateInitialize this SLO using its observed tfState. returns True if there are any spec changes for the resource.

func (*SLO) SetConditions

func (mg *SLO) SetConditions(c ...xpv1.Condition)

SetConditions of this SLO.

func (*SLO) SetDeletionPolicy

func (mg *SLO) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this SLO.

func (*SLO) SetObservation

func (tr *SLO) SetObservation(obs map[string]interface{}) error

SetObservation for this SLO

func (*SLO) SetParameters

func (tr *SLO) SetParameters(params map[string]interface{}) error

SetParameters for this SLO

func (*SLO) SetProviderConfigReference

func (mg *SLO) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this SLO.

func (*SLO) SetProviderReference

func (mg *SLO) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this SLO. Deprecated: Use SetProviderConfigReference.

func (*SLO) SetPublishConnectionDetailsTo

func (mg *SLO) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this SLO.

func (*SLO) SetWriteConnectionSecretToReference

func (mg *SLO) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this SLO.

type SLOList

type SLOList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []SLO `json:"items"`
}

SLOList contains a list of SLOs

func (*SLOList) DeepCopy

func (in *SLOList) DeepCopy() *SLOList

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

func (*SLOList) DeepCopyInto

func (in *SLOList) DeepCopyInto(out *SLOList)

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

func (*SLOList) DeepCopyObject

func (in *SLOList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*SLOList) GetItems

func (l *SLOList) GetItems() []resource.Managed

GetItems of this SLOList.

type SLOObservation

type SLOObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*SLOObservation) DeepCopy

func (in *SLOObservation) DeepCopy() *SLOObservation

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

func (*SLOObservation) DeepCopyInto

func (in *SLOObservation) DeepCopyInto(out *SLOObservation)

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

type SLOParameters

type SLOParameters struct {

	// Basic Service-Level Indicator (SLI) on a well-known service type.
	// Performance will be computed on the basis of pre-defined metrics.
	//
	// SLIs are used to measure and calculate the quality of the Service's
	// performance with respect to a single aspect of service quality.
	//
	// Exactly one of the following must be set:
	// 'basic_sli', 'request_based_sli', 'windows_based_sli'
	// +kubebuilder:validation:Optional
	BasicSli []BasicSliParameters `json:"basicSli,omitempty" tf:"basic_sli,omitempty"`

	// A calendar period, semantically "since the start of the current
	// <calendarPeriod>". Possible values: ["DAY", "WEEK", "FORTNIGHT", "MONTH"]
	// +kubebuilder:validation:Optional
	CalendarPeriod *string `json:"calendarPeriod,omitempty" tf:"calendar_period,omitempty"`

	// Name used for UI elements listing this SLO.
	// +kubebuilder:validation:Optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// The fraction of service that must be good in order for this objective
	// to be met. 0 < goal <= 0.999
	// +kubebuilder:validation:Required
	Goal *float64 `json:"goal" tf:"goal,omitempty"`

	// +kubebuilder:validation:Optional
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// A request-based SLI defines a SLI for which atomic units of
	// service are counted directly.
	//
	// A SLI describes a good service.
	// It is used to measure and calculate the quality of the Service's
	// performance with respect to a single aspect of service quality.
	// Exactly one of the following must be set:
	// 'basic_sli', 'request_based_sli', 'windows_based_sli'
	// +kubebuilder:validation:Optional
	RequestBasedSli []RequestBasedSliParameters `json:"requestBasedSli,omitempty" tf:"request_based_sli,omitempty"`

	// A rolling time period, semantically "in the past X days".
	// Must be between 1 to 30 days, inclusive.
	// +kubebuilder:validation:Optional
	RollingPeriodDays *float64 `json:"rollingPeriodDays,omitempty" tf:"rolling_period_days,omitempty"`

	// The id to use for this ServiceLevelObjective. If omitted, an id will be generated instead.
	// +kubebuilder:validation:Optional
	SLOID *string `json:"sloId,omitempty" tf:"slo_id,omitempty"`

	// ID of the service to which this SLO belongs.
	// +kubebuilder:validation:Required
	Service *string `json:"service" tf:"service,omitempty"`

	// A windows-based SLI defines the criteria for time windows.
	// good_service is defined based off the count of these time windows
	// for which the provided service was of good quality.
	//
	// A SLI describes a good service. It is used to measure and calculate
	// the quality of the Service's performance with respect to a single
	// aspect of service quality.
	//
	// Exactly one of the following must be set:
	// 'basic_sli', 'request_based_sli', 'windows_based_sli'
	// +kubebuilder:validation:Optional
	WindowsBasedSli []WindowsBasedSliParameters `json:"windowsBasedSli,omitempty" tf:"windows_based_sli,omitempty"`
}

func (*SLOParameters) DeepCopy

func (in *SLOParameters) DeepCopy() *SLOParameters

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

func (*SLOParameters) DeepCopyInto

func (in *SLOParameters) DeepCopyInto(out *SLOParameters)

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

type SLOSpec

type SLOSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     SLOParameters `json:"forProvider"`
}

SLOSpec defines the desired state of SLO

func (*SLOSpec) DeepCopy

func (in *SLOSpec) DeepCopy() *SLOSpec

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

func (*SLOSpec) DeepCopyInto

func (in *SLOSpec) DeepCopyInto(out *SLOSpec)

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

type SLOStatus

type SLOStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        SLOObservation `json:"atProvider,omitempty"`
}

SLOStatus defines the observed state of SLO.

func (*SLOStatus) DeepCopy

func (in *SLOStatus) DeepCopy() *SLOStatus

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

func (*SLOStatus) DeepCopyInto

func (in *SLOStatus) DeepCopyInto(out *SLOStatus)

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

type TelemetryObservation

type TelemetryObservation struct {
}

func (*TelemetryObservation) DeepCopy

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

func (*TelemetryObservation) DeepCopyInto

func (in *TelemetryObservation) DeepCopyInto(out *TelemetryObservation)

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

type TelemetryParameters

type TelemetryParameters struct {

	// The full name of the resource that defines this service.
	// Formatted as described in
	// https://cloud.google.com/apis/design/resource_names.
	// +kubebuilder:validation:Optional
	ResourceName *string `json:"resourceName,omitempty" tf:"resource_name,omitempty"`
}

func (*TelemetryParameters) DeepCopy

func (in *TelemetryParameters) DeepCopy() *TelemetryParameters

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

func (*TelemetryParameters) DeepCopyInto

func (in *TelemetryParameters) DeepCopyInto(out *TelemetryParameters)

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

type WindowsBasedSliObservation

type WindowsBasedSliObservation struct {
}

func (*WindowsBasedSliObservation) DeepCopy

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

func (*WindowsBasedSliObservation) DeepCopyInto

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

type WindowsBasedSliParameters

type WindowsBasedSliParameters struct {

	// A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
	// with ValueType = BOOL. The window is good if any true values
	// appear in the window. One of 'good_bad_metric_filter',
	// 'good_total_ratio_threshold', 'metric_mean_in_range',
	// 'metric_sum_in_range' must be set for 'windows_based_sli'.
	// +kubebuilder:validation:Optional
	GoodBadMetricFilter *string `json:"goodBadMetricFilter,omitempty" tf:"good_bad_metric_filter,omitempty"`

	// Criterion that describes a window as good if its performance is
	// high enough. One of 'good_bad_metric_filter',
	// 'good_total_ratio_threshold', 'metric_mean_in_range',
	// 'metric_sum_in_range' must be set for 'windows_based_sli'.
	// +kubebuilder:validation:Optional
	GoodTotalRatioThreshold []GoodTotalRatioThresholdParameters `json:"goodTotalRatioThreshold,omitempty" tf:"good_total_ratio_threshold,omitempty"`

	// Criterion that describes a window as good if the metric's value
	// is in a good range, *averaged* across returned streams.
	// One of 'good_bad_metric_filter',
	//
	// 'good_total_ratio_threshold', 'metric_mean_in_range',
	// 'metric_sum_in_range' must be set for 'windows_based_sli'.
	// Average value X of 'time_series' should satisfy
	// 'range.min <= X <= range.max' for a good window.
	// +kubebuilder:validation:Optional
	MetricMeanInRange []MetricMeanInRangeParameters `json:"metricMeanInRange,omitempty" tf:"metric_mean_in_range,omitempty"`

	// Criterion that describes a window as good if the metric's value
	// is in a good range, *summed* across returned streams.
	// Summed value 'X' of 'time_series' should satisfy
	// 'range.min <= X <= range.max' for a good window.
	//
	// One of 'good_bad_metric_filter',
	// 'good_total_ratio_threshold', 'metric_mean_in_range',
	// 'metric_sum_in_range' must be set for 'windows_based_sli'.
	// +kubebuilder:validation:Optional
	MetricSumInRange []MetricSumInRangeParameters `json:"metricSumInRange,omitempty" tf:"metric_sum_in_range,omitempty"`

	// Duration over which window quality is evaluated, given as a
	// duration string "{X}s" representing X seconds. Must be an
	// integer fraction of a day and at least 60s.
	// +kubebuilder:validation:Optional
	WindowPeriod *string `json:"windowPeriod,omitempty" tf:"window_period,omitempty"`
}

func (*WindowsBasedSliParameters) DeepCopy

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

func (*WindowsBasedSliParameters) DeepCopyInto

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