v1beta1

package
v1.55.0 Latest Latest
Warning

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

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

Documentation

Overview

Generate deepcopy object for logging/v1beta1 API group

Package v1beta1 contains API Schema definitions for the logging v1beta1 API group. +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/GoogleCloudPlatform/k8s-config-connector/pkg/apis/logging +k8s:defaulter-gen=TypeMeta +groupName=logging.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: "logging.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

	LoggingLogExclusionGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(LoggingLogExclusion{}).Name(),
	}

	LoggingLogSinkGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(LoggingLogSink{}).Name(),
	}
)

Functions

This section is empty.

Types

type LoggingLogExclusion added in v1.52.0

type LoggingLogExclusion struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   LoggingLogExclusionSpec   `json:"spec,omitempty"`
	Status LoggingLogExclusionStatus `json:"status,omitempty"`
}

LoggingLogExclusion is the Schema for the logging API +k8s:openapi-gen=true

func (*LoggingLogExclusion) DeepCopy added in v1.52.0

func (in *LoggingLogExclusion) DeepCopy() *LoggingLogExclusion

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

func (*LoggingLogExclusion) DeepCopyInto added in v1.52.0

func (in *LoggingLogExclusion) DeepCopyInto(out *LoggingLogExclusion)

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

func (*LoggingLogExclusion) DeepCopyObject added in v1.52.0

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

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

type LoggingLogExclusionList added in v1.52.0

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

LoggingLogExclusionList contains a list of LoggingLogExclusion

func (*LoggingLogExclusionList) DeepCopy added in v1.52.0

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

func (*LoggingLogExclusionList) DeepCopyInto added in v1.52.0

func (in *LoggingLogExclusionList) DeepCopyInto(out *LoggingLogExclusionList)

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

func (*LoggingLogExclusionList) DeepCopyObject added in v1.52.0

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

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

type LoggingLogExclusionSpec added in v1.52.0

type LoggingLogExclusionSpec struct {
	/* The BillingAccount that this resource belongs to. Only one of [projectRef, folderRef, organizationRef, billingAccountRef] may be specified. */
	// +optional
	BillingAccountRef *v1alpha1.ResourceRef `json:"billingAccountRef,omitempty"`

	/* Optional. A description of this exclusion. */
	// +optional
	Description *string `json:"description,omitempty"`

	/* Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field. */
	// +optional
	Disabled *bool `json:"disabled,omitempty"`

	/* Required. An (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries. For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets: `"resource.type=gcs_bucket severity */
	Filter string `json:"filter"`

	/* The Folder that this resource belongs to. Only one of [projectRef, folderRef, organizationRef, billingAccountRef] may be specified. */
	// +optional
	FolderRef *v1alpha1.ResourceRef `json:"folderRef,omitempty"`

	/* The Organization that this resource belongs to. Only one of [projectRef, folderRef, organizationRef, billingAccountRef] may be specified. */
	// +optional
	OrganizationRef *v1alpha1.ResourceRef `json:"organizationRef,omitempty"`

	/* The Project that this resource belongs to. Only one of [projectRef, folderRef, organizationRef, billingAccountRef] may be specified. */
	// +optional
	ProjectRef *v1alpha1.ResourceRef `json:"projectRef,omitempty"`

	/* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */
	// +optional
	ResourceID *string `json:"resourceID,omitempty"`
}

func (*LoggingLogExclusionSpec) DeepCopy added in v1.52.0

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

func (*LoggingLogExclusionSpec) DeepCopyInto added in v1.52.0

func (in *LoggingLogExclusionSpec) DeepCopyInto(out *LoggingLogExclusionSpec)

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

type LoggingLogExclusionStatus added in v1.52.0

type LoggingLogExclusionStatus struct {
	/* Conditions represent the latest available observations of the
	   LoggingLogExclusion's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* Output only. The creation timestamp of the exclusion. This field may not be present for older exclusions. */
	CreateTime string `json:"createTime,omitempty"`
	/* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */
	ObservedGeneration int `json:"observedGeneration,omitempty"`
	/* Output only. The last update timestamp of the exclusion. This field may not be present for older exclusions. */
	UpdateTime string `json:"updateTime,omitempty"`
}

func (*LoggingLogExclusionStatus) DeepCopy added in v1.52.0

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

func (*LoggingLogExclusionStatus) DeepCopyInto added in v1.52.0

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

type LoggingLogSink

type LoggingLogSink struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   LoggingLogSinkSpec   `json:"spec,omitempty"`
	Status LoggingLogSinkStatus `json:"status,omitempty"`
}

LoggingLogSink is the Schema for the logging API +k8s:openapi-gen=true

func (*LoggingLogSink) DeepCopy

func (in *LoggingLogSink) DeepCopy() *LoggingLogSink

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

func (*LoggingLogSink) DeepCopyInto

func (in *LoggingLogSink) DeepCopyInto(out *LoggingLogSink)

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

func (*LoggingLogSink) DeepCopyObject

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

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

type LoggingLogSinkList

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

LoggingLogSinkList contains a list of LoggingLogSink

func (*LoggingLogSinkList) DeepCopy

func (in *LoggingLogSinkList) DeepCopy() *LoggingLogSinkList

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

func (*LoggingLogSinkList) DeepCopyInto

func (in *LoggingLogSinkList) DeepCopyInto(out *LoggingLogSinkList)

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

func (*LoggingLogSinkList) DeepCopyObject

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

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

type LoggingLogSinkSpec

type LoggingLogSinkSpec struct {
	/* Options that affect sinks exporting data to BigQuery. */
	// +optional
	BigqueryOptions *LogsinkBigqueryOptions `json:"bigqueryOptions,omitempty"`

	/* A description of this sink. The maximum length of the description is 8000 characters. */
	// +optional
	Description *string `json:"description,omitempty"`

	/*  */
	Destination LogsinkDestination `json:"destination"`

	/* If set to True, then this sink is disabled and it does not export any log entries. */
	// +optional
	Disabled *bool `json:"disabled,omitempty"`

	/* Log entries that match any of the exclusion filters will not be exported. If a log entry is matched by both filter and one of exclusion_filters it will not be exported. */
	// +optional
	Exclusions []LogsinkExclusions `json:"exclusions,omitempty"`

	/* The filter to apply when exporting logs. Only log entries that match the filter are exported. */
	// +optional
	Filter *string `json:"filter,omitempty"`

	/* The folder in which to create the sink. Only one of projectRef,
	folderRef, or organizationRef may be specified. */
	// +optional
	FolderRef *v1alpha1.ResourceRef `json:"folderRef,omitempty"`

	/* Immutable. Whether or not to include children organizations in the sink export. If true, logs associated with child projects are also exported; otherwise only logs relating to the provided organization are included. */
	// +optional
	IncludeChildren *bool `json:"includeChildren,omitempty"`

	/* The organization in which to create the sink. Only one of projectRef,
	folderRef, or organizationRef may be specified. */
	// +optional
	OrganizationRef *v1alpha1.ResourceRef `json:"organizationRef,omitempty"`

	/* The project in which to create the sink. Only one of projectRef,
	folderRef, or organizationRef may be specified. */
	// +optional
	ProjectRef *v1alpha1.ResourceRef `json:"projectRef,omitempty"`

	/* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */
	// +optional
	ResourceID *string `json:"resourceID,omitempty"`

	/* Immutable. Whether or not to create a unique identity associated with this sink. If false (the default), then the writer_identity used is serviceAccount:cloud-logs@system.gserviceaccount.com. If true, then a unique service account is created and used for this sink. If you wish to publish logs across projects, you must set unique_writer_identity to true. */
	// +optional
	UniqueWriterIdentity *bool `json:"uniqueWriterIdentity,omitempty"`
}

func (*LoggingLogSinkSpec) DeepCopy

func (in *LoggingLogSinkSpec) DeepCopy() *LoggingLogSinkSpec

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

func (*LoggingLogSinkSpec) DeepCopyInto

func (in *LoggingLogSinkSpec) DeepCopyInto(out *LoggingLogSinkSpec)

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

type LoggingLogSinkStatus

type LoggingLogSinkStatus struct {
	/* Conditions represent the latest available observations of the
	   LoggingLogSink's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */
	ObservedGeneration int `json:"observedGeneration,omitempty"`
	/* The identity associated with this sink. This identity must be granted write access to the configured destination. */
	WriterIdentity string `json:"writerIdentity,omitempty"`
}

func (*LoggingLogSinkStatus) DeepCopy

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

func (*LoggingLogSinkStatus) DeepCopyInto

func (in *LoggingLogSinkStatus) DeepCopyInto(out *LoggingLogSinkStatus)

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

type LogsinkBigqueryOptions added in v1.45.0

type LogsinkBigqueryOptions struct {
	/* Whether to use BigQuery's partition tables. By default, Logging creates dated tables based on the log entries' timestamps, e.g. syslog_20170523. With partitioned tables the date suffix is no longer present and special query syntax has to be used instead. In both cases, tables are sharded based on UTC timezone. */
	UsePartitionedTables bool `json:"usePartitionedTables"`
}

func (*LogsinkBigqueryOptions) DeepCopy added in v1.45.0

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

func (*LogsinkBigqueryOptions) DeepCopyInto added in v1.45.0

func (in *LogsinkBigqueryOptions) DeepCopyInto(out *LogsinkBigqueryOptions)

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

type LogsinkDestination added in v1.45.0

type LogsinkDestination struct {
	/*  */
	// +optional
	BigQueryDatasetRef *v1alpha1.ResourceRef `json:"bigQueryDatasetRef,omitempty"`

	/*  */
	// +optional
	PubSubTopicRef *v1alpha1.ResourceRef `json:"pubSubTopicRef,omitempty"`

	/*  */
	// +optional
	StorageBucketRef *v1alpha1.ResourceRef `json:"storageBucketRef,omitempty"`
}

func (*LogsinkDestination) DeepCopy added in v1.45.0

func (in *LogsinkDestination) DeepCopy() *LogsinkDestination

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

func (*LogsinkDestination) DeepCopyInto added in v1.45.0

func (in *LogsinkDestination) DeepCopyInto(out *LogsinkDestination)

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

type LogsinkExclusions added in v1.45.0

type LogsinkExclusions struct {
	/* A description of this exclusion. */
	// +optional
	Description *string `json:"description,omitempty"`

	/* If set to True, then this exclusion is disabled and it does not exclude any log entries */
	// +optional
	Disabled *bool `json:"disabled,omitempty"`

	/* An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100% of the matching log entries */
	Filter string `json:"filter"`

	/* A client-assigned identifier, such as "load-balancer-exclusion". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric. */
	Name string `json:"name"`
}

func (*LogsinkExclusions) DeepCopy added in v1.45.0

func (in *LogsinkExclusions) DeepCopy() *LogsinkExclusions

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

func (*LogsinkExclusions) DeepCopyInto added in v1.45.0

func (in *LogsinkExclusions) DeepCopyInto(out *LogsinkExclusions)

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