intevents

package
v0.0.0-...-d19fc40 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package intevents contains API versions for internal use by other resources.

Index

Constants

View Source
const (
	GroupName = "internal.events.cloud.google.com"

	// SourceLabelKey is the label name used to identify the source that owns a PS or Topic.
	SourceLabelKey = "events.cloud.google.com/source-name"
	// ChannelLabelKey is the label name used to identify the channel that owns a PS or Topic.
	ChannelLabelKey = "events.cloud.google.com/channel-name"
	// DefaultRetentionDuration is the default retention duration (7 days) in the default pullSubscription spec.
	DefaultRetentionDuration = 7 * 24 * time.Hour
	// DefaultAckDeadline is the default ack deadline (30 seconds) in the default pullSubscription spec.
	DefaultAckDeadline = 30 * time.Second
	// MinRetentionDuration is the minimum retention duration (10 seconds) to validate the pullSubscription.
	MinRetentionDuration = 10 * time.Second
	// MaxRetentionDuration is the maximum retention duration (7 days) to validate the pullSubscription.
	MaxRetentionDuration = 7 * 24 * time.Hour // 7 days.
	// MinAckDeadline is the minimum ack deadline (0 second) to validate the pullSubscription.
	MinAckDeadline = 0 * time.Second
	// MinAckDeadline is the maximum ack deadline (10 minutes) to validate the pullSubscription.
	MaxAckDeadline = 10 * time.Minute
)

Variables

View Source
var (
	// PullSubscriptionsResource represents a PullSubscription.
	PullSubscriptionsResource = schema.GroupResource{
		Group:    GroupName,
		Resource: "pullsubscriptions",
	}
	// TopicsResource represents a Topic.
	TopicsResource = schema.GroupResource{
		Group:    GroupName,
		Resource: "topics",
	}
)

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
Package v1 defines internal types in internal.events.cloud.google.com/v1 for use by other resources.
Package v1 defines internal types in internal.events.cloud.google.com/v1 for use by other resources.
Package v1alpha1 contains API Schema definitions for the sources v1alpha1 API group +k8s:deepcopy-gen=package +groupName=sources.knative.dev
Package v1alpha1 contains API Schema definitions for the sources v1alpha1 API group +k8s:deepcopy-gen=package +groupName=sources.knative.dev
Package v1beta1 defines internal types in internal.events.cloud.google.com/v1beta1 for use by other resources.
Package v1beta1 defines internal types in internal.events.cloud.google.com/v1beta1 for use by other resources.

Jump to

Keyboard shortcuts

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