v1beta1

package
v1.45.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 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

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

Functions

This section is empty.

Types

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. */
	BigqueryOptions LogsinkBigqueryOptions `json:"bigqueryOptions,omitempty"`
	/* A description of this sink. The maximum length of the description is 8000 characters. */
	Description string `json:"description,omitempty"`
	/*  */
	Destination LogsinkDestination `json:"destination,omitempty"`
	/* If set to True, then this sink is disabled and it does not export any log entries. */
	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. */
	Exclusions []LogsinkExclusions `json:"exclusions,omitempty"`
	/* The filter to apply when exporting logs. Only log entries that match the filter are exported. */
	Filter string `json:"filter,omitempty"`
	/* The folder in which to create the sink. Only one of projectRef,
	folderRef, or organizationRef may be specified. */
	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. */
	IncludeChildren bool `json:"includeChildren,omitempty"`
	/* The organization in which to create the sink. Only one of projectRef,
	folderRef, or organizationRef may be specified. */
	OrganizationRef v1alpha1.ResourceRef `json:"organizationRef,omitempty"`
	/* The project in which to create the sink. Only one of projectRef,
	folderRef, or organizationRef may be specified. */
	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. */
	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. */
	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"`
	/* 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,omitempty"`
}

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 {
	/*  */
	BigQueryDatasetRef v1alpha1.ResourceRef `json:"bigQueryDatasetRef,omitempty"`
	/*  */
	PubSubTopicRef v1alpha1.ResourceRef `json:"pubSubTopicRef,omitempty"`
	/*  */
	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. */
	Description string `json:"description,omitempty"`
	/* If set to True, then this exclusion is disabled and it does not exclude any log entries */
	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,omitempty"`
	/* 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,omitempty"`
}

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