resources

package
v0.13.2 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BatchAPIVersion     = "batch/v1"
	MessagingAPIVersion = "messaging.cloud.google.com/v1alpha1"
	EventsAPIVersion    = "events.cloud.google.com/v1alpha1"
	PubSubAPIVersion    = "pubsub.cloud.google.com/v1alpha1"
	ServingAPIVersion   = "serving.knative.dev/v1"
)

API versions for the resources.

View Source
const (
	CloudStorageSourceKind   string = "CloudStorageSource"
	CloudPubSubSourceKind    string = "CloudPubSubSource"
	CloudAuditLogsSourceKind string = "CloudAuditLogsSource"
	CloudSchedulerSourceKind string = "CloudSchedulerSource"
)

Kind for events resources.

View Source
const (
	ChannelKind string = "Channel"
)

Kind for messaging resources.

View Source
const (
	JobKind string = "Job"
)

Kind for batch resources.

View Source
const (
	KServiceKind string = "Service"
)

Kind for Knative resources.

View Source
const (
	PullSubscriptionKind string = "PullSubscription"
)

Kind for pubsub resources.

Variables

This section is empty.

Functions

func AuditLogsTargetJob

func AuditLogsTargetJob(name string, envVars []v1.EnvVar) *batchv1.Job

func ReceiverKService

func ReceiverKService(name, namespace string) *unstructured.Unstructured

ReceiverKService creates a Knative Service as an event receiver.

func SchedulerJob

func SchedulerJob(name string, envVars []v1.EnvVar) *batchv1.Job

func SenderJob

func SenderJob(name string, envVars []v1.EnvVar) *batchv1.Job

func StorageTargetJob

func StorageTargetJob(name string, envVars []v1.EnvVar) *batchv1.Job

func TargetJob

func TargetJob(name string, envVars []v1.EnvVar) *batchv1.Job

Types

This section is empty.

Jump to

Keyboard shortcuts

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