v1beta1

package
v0.17.3 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2020 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

View Source
const (
	SubscriptionID = "subID"
)

Variables

This section is empty.

Functions

func NewCloudAuditLogsSource

func NewCloudAuditLogsSource(name, namespace string, opts ...CloudAuditLogsSourceOption) *v1beta1.CloudAuditLogsSource

func NewCloudBuildSource

func NewCloudBuildSource(name, namespace string, so ...CloudBuildSourceOption) *v1beta1.CloudBuildSource

NewCloudBuildSource creates a CloudBuildSource with CloudBuildSourceOptions

func NewCloudPubSubSource

func NewCloudPubSubSource(name, namespace string, so ...CloudPubSubSourceOption) *v1beta1.CloudPubSubSource

NewCloudPubSubSource creates a CloudPubSubSource with CloudPubSubSourceOptions

func NewCloudSchedulerSource

func NewCloudSchedulerSource(name, namespace string, so ...CloudSchedulerSourceOption) *v1beta1.CloudSchedulerSource

NewCloudSchedulerSource creates a CloudSchedulerSource with CloudSchedulerSourceOptions

func NewCloudStorageSource

func NewCloudStorageSource(name, namespace string, so ...CloudStorageSourceOption) *v1beta1.CloudStorageSource

NewCloudStorageSource creates a CloudStorageSource with CloudStorageSourceOptions

func NewPullSubscription

func NewPullSubscription(name, namespace string, so ...PullSubscriptionOption) *v1beta1.PullSubscription

NewPullSubscription creates a PullSubscription with PullSubscriptionOptions

func WithCloudBuildSourceDeletionTimestamp

func WithCloudBuildSourceDeletionTimestamp(bs *v1beta1.CloudBuildSource)

func WithCloudBuildSourceSetDefault

func WithCloudBuildSourceSetDefault(bs *v1beta1.CloudBuildSource)

func WithInitCloudBuildSourceConditions

func WithInitCloudBuildSourceConditions(bs *v1beta1.CloudBuildSource)

WithInitCloudBuildSourceConditions initializes the CloudBuildSource's conditions.

Types

type CloudAuditLogsSourceOption

type CloudAuditLogsSourceOption func(*v1beta1.CloudAuditLogsSource)

func WithCloudAuditLogsSourceMethodName

func WithCloudAuditLogsSourceMethodName(methodName string) CloudAuditLogsSourceOption

func WithCloudAuditLogsSourceProject

func WithCloudAuditLogsSourceProject(project string) CloudAuditLogsSourceOption

func WithCloudAuditLogsSourceResourceName

func WithCloudAuditLogsSourceResourceName(resourceName string) CloudAuditLogsSourceOption

func WithCloudAuditLogsSourceServiceAccount

func WithCloudAuditLogsSourceServiceAccount(kServiceAccount string) CloudAuditLogsSourceOption

func WithCloudAuditLogsSourceServiceName

func WithCloudAuditLogsSourceServiceName(serviceName string) CloudAuditLogsSourceOption

func WithCloudAuditLogsSourceSink

func WithCloudAuditLogsSourceSink(gvk metav1.GroupVersionKind, name string) CloudAuditLogsSourceOption

type CloudBuildSourceOption

type CloudBuildSourceOption func(*v1beta1.CloudBuildSource)

CloudBuildSourceOption enables further configuration of a CloudBuildSource.

func WithCloudBuildSourceAnnotations

func WithCloudBuildSourceAnnotations(Annotations map[string]string) CloudBuildSourceOption

func WithCloudBuildSourceFinalizers

func WithCloudBuildSourceFinalizers(finalizers ...string) CloudBuildSourceOption

func WithCloudBuildSourceObjectMetaGeneration

func WithCloudBuildSourceObjectMetaGeneration(generation int64) CloudBuildSourceOption

func WithCloudBuildSourceProject

func WithCloudBuildSourceProject(project string) CloudBuildSourceOption

func WithCloudBuildSourcePullSubscriptionFailed

func WithCloudBuildSourcePullSubscriptionFailed(reason, message string) CloudBuildSourceOption

WithCloudBuildSourcePullSubscriptionFailed marks the condition that the status of PullSubscription is False

func WithCloudBuildSourcePullSubscriptionReady

func WithCloudBuildSourcePullSubscriptionReady() CloudBuildSourceOption

WithCloudBuildSourcePullSubscriptionReady marks the condition that the topic is not ready

func WithCloudBuildSourcePullSubscriptionUnknown

func WithCloudBuildSourcePullSubscriptionUnknown(reason, message string) CloudBuildSourceOption

WithCloudBuildSourcePullSubscriptionUnknown marks the condition that the topic is Unknown

func WithCloudBuildSourceServiceAccount

func WithCloudBuildSourceServiceAccount(kServiceAccount string) CloudBuildSourceOption

func WithCloudBuildSourceSink

func WithCloudBuildSourceSink(gvk metav1.GroupVersionKind, name string) CloudBuildSourceOption

func WithCloudBuildSourceSinkURI

func WithCloudBuildSourceSinkURI(url *apis.URL) CloudBuildSourceOption

WithCloudBuildSourceSinkURI sets the status for sink URI

func WithCloudBuildSourceStatusObservedGeneration

func WithCloudBuildSourceStatusObservedGeneration(generation int64) CloudBuildSourceOption

func WithCloudBuildSourceSubscriptionID

func WithCloudBuildSourceSubscriptionID(subscriptionID string) CloudBuildSourceOption

func WithCloudBuildSourceWorkloadIdentityFailed

func WithCloudBuildSourceWorkloadIdentityFailed(reason, message string) CloudBuildSourceOption

type CloudPubSubSourceOption

type CloudPubSubSourceOption func(*v1beta1.CloudPubSubSource)

CloudPubSubSourceOption enables further configuration of a CloudPubSubSource.

func WithCloudPubSubSourceServiceAccount

func WithCloudPubSubSourceServiceAccount(kServiceAccount string) CloudPubSubSourceOption

func WithCloudPubSubSourceSink

func WithCloudPubSubSourceSink(gvk metav1.GroupVersionKind, name string) CloudPubSubSourceOption

func WithCloudPubSubSourceTopic

func WithCloudPubSubSourceTopic(topicID string) CloudPubSubSourceOption

type CloudSchedulerSourceOption

type CloudSchedulerSourceOption func(*v1beta1.CloudSchedulerSource)

CloudSchedulerSourceOption enables further configuration of a CloudSchedulerSource.

func WithCloudSchedulerSourceData

func WithCloudSchedulerSourceData(data string) CloudSchedulerSourceOption

func WithCloudSchedulerSourceLocation

func WithCloudSchedulerSourceLocation(location string) CloudSchedulerSourceOption

func WithCloudSchedulerSourceSchedule

func WithCloudSchedulerSourceSchedule(schedule string) CloudSchedulerSourceOption

func WithCloudSchedulerSourceServiceAccount

func WithCloudSchedulerSourceServiceAccount(kServiceAccount string) CloudSchedulerSourceOption

func WithCloudSchedulerSourceSink

func WithCloudSchedulerSourceSink(gvk metav1.GroupVersionKind, name string) CloudSchedulerSourceOption

type CloudStorageSourceOption

type CloudStorageSourceOption func(*v1beta1.CloudStorageSource)

CloudStorageSourceOption enables further configuration of a CloudStorageSource.

func WithCloudStorageSourceBucket

func WithCloudStorageSourceBucket(bucket string) CloudStorageSourceOption

func WithCloudStorageSourceServiceAccount

func WithCloudStorageSourceServiceAccount(kServiceAccount string) CloudStorageSourceOption

func WithCloudStorageSourceSink

func WithCloudStorageSourceSink(gvk metav1.GroupVersionKind, name string) CloudStorageSourceOption

type PullSubscriptionOption

type PullSubscriptionOption func(*v1beta1.PullSubscription)

PullSubscriptionOption enables further configuration of a PullSubscription.

func WithPullSubscriptionServiceAccount

func WithPullSubscriptionServiceAccount(kServiceAccount string) PullSubscriptionOption

func WithPullSubscriptionSink

func WithPullSubscriptionSink(gvk metav1.GroupVersionKind, name string) PullSubscriptionOption

func WithPullSubscriptionTopic

func WithPullSubscriptionTopic(topicID string) PullSubscriptionOption

Jump to

Keyboard shortcuts

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