Documentation ¶
Index ¶
- Constants
- func NewCloudAuditLogsSource(name, namespace string, opts ...CloudAuditLogsSourceOption) *v1beta1.CloudAuditLogsSource
- func NewCloudBuildSource(name, namespace string, so ...CloudBuildSourceOption) *v1beta1.CloudBuildSource
- func NewCloudPubSubSource(name, namespace string, so ...CloudPubSubSourceOption) *v1beta1.CloudPubSubSource
- func NewCloudSchedulerSource(name, namespace string, so ...CloudSchedulerSourceOption) *v1beta1.CloudSchedulerSource
- func NewCloudStorageSource(name, namespace string, so ...CloudStorageSourceOption) *v1beta1.CloudStorageSource
- func NewPullSubscription(name, namespace string, so ...PullSubscriptionOption) *v1beta1.PullSubscription
- func WithCloudBuildSourceDeletionTimestamp(bs *v1beta1.CloudBuildSource)
- type CloudAuditLogsSourceOption
- func WithCloudAuditLogsSourceMethodName(methodName string) CloudAuditLogsSourceOption
- func WithCloudAuditLogsSourceProject(project string) CloudAuditLogsSourceOption
- func WithCloudAuditLogsSourceResourceName(resourceName string) CloudAuditLogsSourceOption
- func WithCloudAuditLogsSourceServiceAccount(kServiceAccount string) CloudAuditLogsSourceOption
- func WithCloudAuditLogsSourceServiceName(serviceName string) CloudAuditLogsSourceOption
- func WithCloudAuditLogsSourceSink(gvk metav1.GroupVersionKind, name string) CloudAuditLogsSourceOption
- type CloudBuildSourceOption
- type CloudPubSubSourceOption
- type CloudSchedulerSourceOption
- func WithCloudSchedulerSourceData(data string) CloudSchedulerSourceOption
- func WithCloudSchedulerSourceLocation(location string) CloudSchedulerSourceOption
- func WithCloudSchedulerSourceSchedule(schedule string) CloudSchedulerSourceOption
- func WithCloudSchedulerSourceServiceAccount(kServiceAccount string) CloudSchedulerSourceOption
- func WithCloudSchedulerSourceSink(gvk metav1.GroupVersionKind, name string) CloudSchedulerSourceOption
- type CloudStorageSourceOption
- type PullSubscriptionOption
- func WithPullSubscriptionServiceAccount(kServiceAccount string) PullSubscriptionOption
- func WithPullSubscriptionSink(gvk metav1.GroupVersionKind, name string) PullSubscriptionOption
- func WithPullSubscriptionSpec(spec v1beta1.PullSubscriptionSpec) PullSubscriptionOption
- func WithPullSubscriptionTopic(topicID string) PullSubscriptionOption
Constants ¶
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)
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 WithCloudBuildSourceProject ¶
func WithCloudBuildSourceProject(project string) CloudBuildSourceOption
func WithCloudBuildSourceServiceAccount ¶
func WithCloudBuildSourceServiceAccount(kServiceAccount string) CloudBuildSourceOption
func WithCloudBuildSourceSink ¶
func WithCloudBuildSourceSink(gvk metav1.GroupVersionKind, name 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 WithPullSubscriptionSpec ¶
func WithPullSubscriptionSpec(spec v1beta1.PullSubscriptionSpec) PullSubscriptionOption
func WithPullSubscriptionTopic ¶
func WithPullSubscriptionTopic(topicID string) PullSubscriptionOption