Documentation ¶
Index ¶
- Constants
- Variables
- func AddRandomFile(ctx context.Context, t *testing.T, bucketName, fileName, project string)
- func AssertMetrics(t *testing.T, client *Client, topicName, psName string)
- func BuildWithConfigFile(t *testing.T, imageName string) string
- func CloudBuildImage(project, imageName string) string
- func DeleteBucket(ctx context.Context, t *testing.T, bucketName string)
- func DeleteTopicOrDie(t *testing.T, topicName string)
- func DuplicatePubSubSecret(client *eventingtestlib.Client)
- func GetCredential(client *eventingtestlib.Client, workloadIdentity bool)
- func GetTopic(t *testing.T, topicName string) *pubsub.Topic
- func MakeAuditLogsJobOrDie(client *Client, ...)
- func MakeAuditLogsOrDie(client *Client, config AuditLogsConfig)
- func MakeAuditLogsV1alpha1OrDie(client *Client, config AuditLogsConfig)
- func MakeAuditLogsV1beta1OrDie(client *Client, config AuditLogsConfig)
- func MakeBucket(ctx context.Context, t *testing.T, project string) string
- func MakeBuildOrDie(client *Client, config BuildConfig)
- func MakeBuildTargetJobOrDie(client *Client, images, targetName, eventType string)
- func MakeBuildV1alpha1OrDie(client *Client, config BuildConfig)
- func MakePubSubOrDie(client *Client, config PubSubConfig)
- func MakePubSubTargetJobOrDie(client *Client, source, targetName, eventType string)
- func MakePubSubV1alpha1OrDie(client *Client, config PubSubConfig)
- func MakePubSubV1beta1OrDie(client *Client, config PubSubConfig)
- func MakePullSubscriptionOrDie(client *Client, config PullSubscriptionConfig)
- func MakePullSubscriptionV1alpha1OrDie(client *Client, config PullSubscriptionConfig)
- func MakePullSubscriptionV1beta1OrDie(client *Client, config PullSubscriptionConfig)
- func MakeSchedulerJobOrDie(client *Client, data, targetName, eventType string)
- func MakeSchedulerOrDie(client *Client, config SchedulerConfig)
- func MakeSchedulerV1alpha1OrDie(client *Client, config SchedulerConfig)
- func MakeSchedulerV1beta1OrDie(client *Client, config SchedulerConfig)
- func MakeStorageJobOrDie(client *Client, source, subject, targetName, eventType string)
- func MakeStorageOrDie(client *Client, config StorageConfig)
- func MakeStorageV1alpha1OrDie(client *Client, config StorageConfig)
- func MakeStorageV1beta1OrDie(client *Client, config StorageConfig)
- func MakeTopicOrDie(t *testing.T) (string, func())
- func MakeTopicWithNameIfItDoesNotExist(t *testing.T, topicName string)
- func MakeTopicWithNameOrDie(t *testing.T, topicName string) (string, func())
- func NotificationExists(t *testing.T, bucketName, notificationID string) bool
- func SchedulerJobExists(t *testing.T, jobName string) bool
- func SetTracingToZipkin(client *eventingtestlib.Client)
- func StackdriverSinkExists(t *testing.T, sinkID string) bool
- func SubscriptionExists(t *testing.T, subID string) bool
- func TearDown(client *Client)
- func TopicExists(t *testing.T, topicID string) bool
- func WithServiceForJob(name string) func(*batchv1.Job, *Client) error
- type AuditLogsConfig
- type AuthConfig
- type BrokerMetricAssertion
- type BuildConfig
- type Client
- func (c *Client) CreateAuditLogsOrFail(auditlogs *eventsv1.CloudAuditLogsSource)
- func (c *Client) CreateAuditLogsV1alpha1OrFail(auditlogs *eventsv1alpha1.CloudAuditLogsSource)
- func (c *Client) CreateAuditLogsV1beta1OrFail(auditlogs *eventsv1beta1.CloudAuditLogsSource)
- func (c *Client) CreateBuildOrFail(build *eventsv1beta1.CloudBuildSource)
- func (c *Client) CreateBuildV1alpha1OrFail(build *eventsv1alpha1.CloudBuildSource)
- func (c *Client) CreateChannelOrFail(channel *messagingv1beta1.Channel)
- func (c *Client) CreateGCPBrokerV1Beta1OrFail(name string, options ...knativegcptestresources.BrokerV1Beta1Option) *v1beta1.Broker
- func (c *Client) CreateJobOrFail(job *batchv1.Job, options ...func(*batchv1.Job, *Client) error)
- func (c *Client) CreatePubSubOrFail(pubsub *eventsv1.CloudPubSubSource)
- func (c *Client) CreatePubSubV1alpha1OrFail(pubsub *eventsv1alpha1.CloudPubSubSource)
- func (c *Client) CreatePubSubV1beta1OrFail(pubsub *eventsv1beta1.CloudPubSubSource)
- func (c *Client) CreatePullSubscriptionOrFail(pullsubscription *inteventsv1.PullSubscription)
- func (c *Client) CreatePullSubscriptionV1alpha1OrFail(pullsubscription *inteventsv1alpha1.PullSubscription)
- func (c *Client) CreatePullSubscriptionV1beta1OrFail(pullsubscription *inteventsv1beta1.PullSubscription)
- func (c *Client) CreateSchedulerOrFail(scheduler *eventsv1.CloudSchedulerSource)
- func (c *Client) CreateSchedulerV1alpha1OrFail(scheduler *eventsv1alpha1.CloudSchedulerSource)
- func (c *Client) CreateSchedulerV1beta1OrFail(scheduler *eventsv1beta1.CloudSchedulerSource)
- func (c *Client) CreateStorageOrFail(storage *eventsv1.CloudStorageSource)
- func (c *Client) CreateStorageV1alpha1OrFail(storage *eventsv1alpha1.CloudStorageSource)
- func (c *Client) CreateStorageV1beta1OrFail(storage *eventsv1beta1.CloudStorageSource)
- func (c *Client) CreateUnstructuredObjOrFail(spec *unstructured.Unstructured)
- func (c *Client) DeleteAuditLogsOrFail(name string)
- func (c *Client) DeleteBuildOrFail(name string)
- func (c *Client) DeleteGCPBrokerOrFail(name string)
- func (c *Client) DeletePubSubOrFail(name string)
- func (c *Client) DeleteSchedulerOrFail(name string)
- func (c *Client) DeleteStorageOrFail(name string)
- func (c *Client) GetAuditLogsOrFail(name string) *eventsv1.CloudAuditLogsSource
- func (c *Client) GetBuildOrFail(name string) *eventsv1beta1.CloudBuildSource
- func (c *Client) GetPubSubOrFail(name string) *eventsv1.CloudPubSubSource
- func (c *Client) GetSchedulerOrFail(name string) *eventsv1.CloudSchedulerSource
- func (c *Client) GetStorageOrFail(name string) *eventsv1.CloudStorageSource
- func (c *Client) LogsFor(namespace, name string, tm *metav1.TypeMeta) (string, error)
- func (c *Client) SetupStackDriverMetrics(t *testing.T)
- func (c *Client) SetupStackDriverMetricsInNamespace(t *testing.T)
- func (c *Client) StackDriverEventCountMetricFor(namespace, projectID, filter string) (int64, error)
- func (c *Client) WaitUntilJobDone(namespace, name string) (string, error)
- type Output
- type PropPair
- type PubSubConfig
- type PullSubscriptionConfig
- type SchedulerConfig
- type SenderOutput
- type StorageConfig
- type TargetOutput
- type TriggerAssertionKey
- type TriggerMetricAssertion
Constants ¶
View Source
const ( PubSubServiceName = "pubsub.googleapis.com" PubSubCreateTopicMethodName = "google.pubsub.v1.Publisher.CreateTopic" )
View Source
const ( ProwProjectKey = "E2E_PROJECT_ID" EventCountMetricType = "custom.googleapis.com/cloud.google.com/source/event_count" GlobalMetricResourceType = "global" StorageResourceGroup = "storages.events.cloud.google.com" PubsubResourceGroup = "pubsubs.events.cloud.google.com" BrokerEventCountMetricType = "knative.dev/eventing/broker/event_count" BrokerMetricResourceType = "knative_broker" TriggerEventCountMetricType = "knative.dev/eventing/trigger/event_count" TriggerEventDispatchLatencyType = "knative.dev/eventing/trigger/event_dispatch_latencies" TriggerEventProcessingLatencyType = "knative.dev/eventing/trigger/event_processing_latencies" TriggerMonitoredResourceType = "knative_trigger" EventType = "type" EventSource = "source" EventSubject = "subject" EventSubjectPrefix = "subject-prefix" EventID = "id" EventData = "data" E2ERespEventIDPrefix = "e2e-testing-resp-event-id" E2EPubSubRespEventID = E2ERespEventIDPrefix + "-pubsub" E2EBuildRespEventID = E2ERespEventIDPrefix + "-build" E2EStorageRespEventID = E2ERespEventIDPrefix + "-storage" E2EAuditLogsRespEventID = E2ERespEventIDPrefix + "-auditlogs" E2ESchedulerRespEventID = E2ERespEventIDPrefix + "-scheduler" E2EDummyRespEventID = E2ERespEventIDPrefix + "-dummy" E2ERespEventTypePrefix = "e2e-testing-resp-event-type" E2EPubSubRespEventType = E2ERespEventTypePrefix + "-pubsub" E2EBuildRespEventType = E2ERespEventTypePrefix + "-build" E2EStorageRespEventType = E2ERespEventTypePrefix + "-storage" E2EAuditLogsRespType = E2ERespEventTypePrefix + "-auditlogs" E2ESchedulerRespType = E2ERespEventTypePrefix + "-scheduler" E2EDummyRespEventType = E2ERespEventTypePrefix + "-dummy" // Used in ../../test_images/sender, ../../test_images/receiver and ../../test_images/receiver // E2EDummyEventID is the id of the event sent by image `sender` E2EDummyEventID = "e2e-dummy-event-id" // E2EDummyEventType is the type of the event sent by image `sender` E2EDummyEventType = "e2e-dummy-event-type" // E2EDummyEventSource is the source of the event sent by image `sender` E2EDummyEventSource = "e2e-dummy-event-source" // E2EDummyRespEventSource is the source of the resp event sent by image `receiver` E2EDummyRespEventSource = "e2e-dummy-resp-event-source" )
Variables ¶
View Source
var BrokerGVK = metav1.GroupVersionKind{
Group: "eventing.knative.dev",
Version: "v1beta1",
Kind: "Broker"}
View Source
var ChannelTypeMeta = messagingTypeMeta(resources.ChannelKind)
View Source
var CloudAuditLogsSourceV1TypeMeta = eventsV1TypeMeta(resources.CloudAuditLogsSourceKind)
View Source
var CloudAuditLogsSourceV1alpha1TypeMeta = eventsV1alpha1TypeMeta(resources.CloudAuditLogsSourceKind)
View Source
var CloudAuditLogsSourceV1beta1TypeMeta = eventsV1beta1TypeMeta(resources.CloudAuditLogsSourceKind)
View Source
var CloudBuildSourceV1alpha1TypeMeta = eventsV1alpha1TypeMeta(resources.CloudBuildSourceKind)
View Source
var CloudBuildSourceV1beta1TypeMeta = eventsV1beta1TypeMeta(resources.CloudBuildSourceKind)
View Source
var CloudPubSubSourceV1TypeMeta = eventsV1TypeMeta(resources.CloudPubSubSourceKind)
View Source
var CloudPubSubSourceV1alpha1TypeMeta = eventsV1alpha1TypeMeta(resources.CloudPubSubSourceKind)
View Source
var CloudPubSubSourceV1beta1TypeMeta = eventsV1beta1TypeMeta(resources.CloudPubSubSourceKind)
View Source
var CloudSchedulerSourceV1TypeMeta = eventsV1TypeMeta(resources.CloudSchedulerSourceKind)
View Source
var CloudSchedulerSourceV1alpha1TypeMeta = eventsV1alpha1TypeMeta(resources.CloudSchedulerSourceKind)
View Source
var CloudSchedulerSourceV1beta1TypeMeta = eventsV1beta1TypeMeta(resources.CloudSchedulerSourceKind)
View Source
var CloudStorageSourceV1TypeMeta = eventsV1TypeMeta(resources.CloudStorageSourceKind)
View Source
var CloudStorageSourceV1alpha1TypeMeta = eventsV1alpha1TypeMeta(resources.CloudStorageSourceKind)
View Source
var CloudStorageSourceV1beta1TypeMeta = eventsV1beta1TypeMeta(resources.CloudStorageSourceKind)
View Source
var JobTypeMeta = batchTypeMeta(resources.JobKind)
View Source
var KsvcTypeMeta = servingTypeMeta(resources.KServiceKind)
View Source
var PullSubscriptionV1TypeMeta = inteventsV1TypeMeta(resources.PullSubscriptionKind)
View Source
var PullSubscriptionV1alpha1TypeMeta = inteventsV1alpha1TypeMeta(resources.PullSubscriptionKind)
View Source
var PullSubscriptionV1beta1TypeMeta = inteventsV1beta1TypeMeta(resources.PullSubscriptionKind)
View Source
var ServiceGVK = metav1.GroupVersionKind{
Version: "v1",
Kind: "Service"}
Functions ¶
func AddRandomFile ¶ added in v0.13.0
func AssertMetrics ¶ added in v0.13.0
func BuildWithConfigFile ¶ added in v0.16.0
func CloudBuildImage ¶ added in v0.16.0
func DeleteBucket ¶ added in v0.16.0
func DeleteTopicOrDie ¶
func DuplicatePubSubSecret ¶
func DuplicatePubSubSecret(client *eventingtestlib.Client)
DuplicatePubSubSecret duplicates the PubSub secret to the test namespace.
func GetCredential ¶ added in v0.14.0
func GetCredential(client *eventingtestlib.Client, workloadIdentity bool)
func MakeAuditLogsJobOrDie ¶ added in v0.13.0
func MakeAuditLogsOrDie ¶ added in v0.13.0
func MakeAuditLogsOrDie(client *Client, config AuditLogsConfig)
func MakeAuditLogsV1alpha1OrDie ¶ added in v0.17.0
func MakeAuditLogsV1alpha1OrDie(client *Client, config AuditLogsConfig)
func MakeAuditLogsV1beta1OrDie ¶ added in v0.17.0
func MakeAuditLogsV1beta1OrDie(client *Client, config AuditLogsConfig)
func MakeBucket ¶ added in v0.13.0
MakeBucket retrieves the bucket name for the test. If it does not exist, it will create it.
func MakeBuildOrDie ¶ added in v0.16.0
func MakeBuildOrDie(client *Client, config BuildConfig)
func MakeBuildTargetJobOrDie ¶ added in v0.16.0
func MakeBuildV1alpha1OrDie ¶ added in v0.17.0
func MakeBuildV1alpha1OrDie(client *Client, config BuildConfig)
func MakePubSubOrDie ¶ added in v0.13.0
func MakePubSubOrDie(client *Client, config PubSubConfig)
func MakePubSubTargetJobOrDie ¶ added in v0.15.0
func MakePubSubV1alpha1OrDie ¶ added in v0.17.0
func MakePubSubV1alpha1OrDie(client *Client, config PubSubConfig)
func MakePubSubV1beta1OrDie ¶ added in v0.17.0
func MakePubSubV1beta1OrDie(client *Client, config PubSubConfig)
func MakePullSubscriptionOrDie ¶ added in v0.17.0
func MakePullSubscriptionOrDie(client *Client, config PullSubscriptionConfig)
func MakePullSubscriptionV1alpha1OrDie ¶ added in v0.17.0
func MakePullSubscriptionV1alpha1OrDie(client *Client, config PullSubscriptionConfig)
func MakePullSubscriptionV1beta1OrDie ¶ added in v0.17.0
func MakePullSubscriptionV1beta1OrDie(client *Client, config PullSubscriptionConfig)
func MakeSchedulerJobOrDie ¶ added in v0.13.0
func MakeSchedulerOrDie ¶ added in v0.13.0
func MakeSchedulerOrDie(client *Client, config SchedulerConfig)
func MakeSchedulerV1alpha1OrDie ¶ added in v0.17.0
func MakeSchedulerV1alpha1OrDie(client *Client, config SchedulerConfig)
func MakeSchedulerV1beta1OrDie ¶ added in v0.17.0
func MakeSchedulerV1beta1OrDie(client *Client, config SchedulerConfig)
func MakeStorageJobOrDie ¶ added in v0.13.0
func MakeStorageOrDie ¶ added in v0.13.0
func MakeStorageOrDie(client *Client, config StorageConfig)
func MakeStorageV1alpha1OrDie ¶ added in v0.17.0
func MakeStorageV1alpha1OrDie(client *Client, config StorageConfig)
func MakeStorageV1beta1OrDie ¶ added in v0.17.0
func MakeStorageV1beta1OrDie(client *Client, config StorageConfig)
func MakeTopicOrDie ¶
func MakeTopicWithNameIfItDoesNotExist ¶ added in v0.16.0
func MakeTopicWithNameOrDie ¶
func NotificationExists ¶ added in v0.16.0
func SchedulerJobExists ¶ added in v0.16.0
func SetTracingToZipkin ¶ added in v0.14.0
func SetTracingToZipkin(client *eventingtestlib.Client)
func StackdriverSinkExists ¶ added in v0.16.0
Types ¶
type AuditLogsConfig ¶ added in v0.16.0
type AuthConfig ¶ added in v0.14.0
type BrokerMetricAssertion ¶ added in v0.16.0
type BrokerMetricAssertion struct { ProjectID string BrokerName string BrokerNamespace string StartTime time.Time CountPerType map[string]int64 }
func (BrokerMetricAssertion) Assert ¶ added in v0.16.0
func (a BrokerMetricAssertion) Assert(client *monitoring.MetricClient) error
func (BrokerMetricAssertion) StackdriverFilter ¶ added in v0.16.0
func (a BrokerMetricAssertion) StackdriverFilter() string
type BuildConfig ¶ added in v0.16.0
type BuildConfig struct { SinkGVK metav1.GroupVersionKind BuildName string SinkName string ServiceAccountName string }
type Client ¶
type Client struct { Core *lib.Client KnativeGCP *knativegcp.Clientset Namespace string T *testing.T Tracker *lib.Tracker }
Client holds instances of interfaces for making requests to Knative.
func (*Client) CreateAuditLogsOrFail ¶
func (c *Client) CreateAuditLogsOrFail(auditlogs *eventsv1.CloudAuditLogsSource)
func (*Client) CreateAuditLogsV1alpha1OrFail ¶ added in v0.17.0
func (c *Client) CreateAuditLogsV1alpha1OrFail(auditlogs *eventsv1alpha1.CloudAuditLogsSource)
func (*Client) CreateAuditLogsV1beta1OrFail ¶ added in v0.17.0
func (c *Client) CreateAuditLogsV1beta1OrFail(auditlogs *eventsv1beta1.CloudAuditLogsSource)
func (*Client) CreateBuildOrFail ¶ added in v0.16.0
func (c *Client) CreateBuildOrFail(build *eventsv1beta1.CloudBuildSource)
func (*Client) CreateBuildV1alpha1OrFail ¶ added in v0.17.0
func (c *Client) CreateBuildV1alpha1OrFail(build *eventsv1alpha1.CloudBuildSource)
func (*Client) CreateChannelOrFail ¶
func (c *Client) CreateChannelOrFail(channel *messagingv1beta1.Channel)
func (*Client) CreateGCPBrokerV1Beta1OrFail ¶ added in v0.16.0
func (c *Client) CreateGCPBrokerV1Beta1OrFail(name string, options ...knativegcptestresources.BrokerV1Beta1Option) *v1beta1.Broker
CreateGCPBrokerV1Beta1OrFail will create a GCP Broker or fail the test if there is an error.
func (*Client) CreateJobOrFail ¶
func (*Client) CreatePubSubOrFail ¶
func (c *Client) CreatePubSubOrFail(pubsub *eventsv1.CloudPubSubSource)
func (*Client) CreatePubSubV1alpha1OrFail ¶ added in v0.17.0
func (c *Client) CreatePubSubV1alpha1OrFail(pubsub *eventsv1alpha1.CloudPubSubSource)
func (*Client) CreatePubSubV1beta1OrFail ¶ added in v0.17.0
func (c *Client) CreatePubSubV1beta1OrFail(pubsub *eventsv1beta1.CloudPubSubSource)
func (*Client) CreatePullSubscriptionOrFail ¶
func (c *Client) CreatePullSubscriptionOrFail(pullsubscription *inteventsv1.PullSubscription)
func (*Client) CreatePullSubscriptionV1alpha1OrFail ¶ added in v0.17.0
func (c *Client) CreatePullSubscriptionV1alpha1OrFail(pullsubscription *inteventsv1alpha1.PullSubscription)
func (*Client) CreatePullSubscriptionV1beta1OrFail ¶ added in v0.17.0
func (c *Client) CreatePullSubscriptionV1beta1OrFail(pullsubscription *inteventsv1beta1.PullSubscription)
func (*Client) CreateSchedulerOrFail ¶
func (c *Client) CreateSchedulerOrFail(scheduler *eventsv1.CloudSchedulerSource)
func (*Client) CreateSchedulerV1alpha1OrFail ¶ added in v0.17.0
func (c *Client) CreateSchedulerV1alpha1OrFail(scheduler *eventsv1alpha1.CloudSchedulerSource)
func (*Client) CreateSchedulerV1beta1OrFail ¶ added in v0.17.0
func (c *Client) CreateSchedulerV1beta1OrFail(scheduler *eventsv1beta1.CloudSchedulerSource)
func (*Client) CreateStorageOrFail ¶
func (c *Client) CreateStorageOrFail(storage *eventsv1.CloudStorageSource)
func (*Client) CreateStorageV1alpha1OrFail ¶ added in v0.17.0
func (c *Client) CreateStorageV1alpha1OrFail(storage *eventsv1alpha1.CloudStorageSource)
func (*Client) CreateStorageV1beta1OrFail ¶ added in v0.17.0
func (c *Client) CreateStorageV1beta1OrFail(storage *eventsv1beta1.CloudStorageSource)
func (*Client) CreateUnstructuredObjOrFail ¶
func (c *Client) CreateUnstructuredObjOrFail(spec *unstructured.Unstructured)
func (*Client) DeleteAuditLogsOrFail ¶ added in v0.16.0
func (*Client) DeleteBuildOrFail ¶ added in v0.16.0
func (*Client) DeleteGCPBrokerOrFail ¶ added in v0.16.0
func (*Client) DeletePubSubOrFail ¶ added in v0.16.0
func (*Client) DeleteSchedulerOrFail ¶ added in v0.16.0
func (*Client) DeleteStorageOrFail ¶ added in v0.16.0
func (*Client) GetAuditLogsOrFail ¶ added in v0.16.0
func (c *Client) GetAuditLogsOrFail(name string) *eventsv1.CloudAuditLogsSource
func (*Client) GetBuildOrFail ¶ added in v0.16.0
func (c *Client) GetBuildOrFail(name string) *eventsv1beta1.CloudBuildSource
func (*Client) GetPubSubOrFail ¶ added in v0.16.0
func (c *Client) GetPubSubOrFail(name string) *eventsv1.CloudPubSubSource
func (*Client) GetSchedulerOrFail ¶ added in v0.16.0
func (c *Client) GetSchedulerOrFail(name string) *eventsv1.CloudSchedulerSource
func (*Client) GetStorageOrFail ¶ added in v0.16.0
func (c *Client) GetStorageOrFail(name string) *eventsv1.CloudStorageSource
func (*Client) LogsFor ¶
TODO(chizhg): move this function to knative/pkg/test or knative/eventing/test
func (*Client) SetupStackDriverMetrics ¶
func (*Client) SetupStackDriverMetricsInNamespace ¶ added in v0.16.0
func (*Client) StackDriverEventCountMetricFor ¶
TODO make this function more generic.
type PubSubConfig ¶ added in v0.16.0
type PullSubscriptionConfig ¶ added in v0.17.0
type SchedulerConfig ¶ added in v0.16.0
type SenderOutput ¶ added in v0.16.0
type SenderOutput struct { TraceID string `json:"traceid"` // contains filtered or unexported fields }
func (*SenderOutput) Successful ¶ added in v0.16.0
func (o *SenderOutput) Successful() bool
type StorageConfig ¶ added in v0.16.0
type StorageConfig struct { SinkGVK metav1.GroupVersionKind BucketName string StorageName string SinkName string ServiceAccountName string Options []reconcilertestingv1.CloudStorageSourceOption }
type TargetOutput ¶
type TargetOutput struct {
// contains filtered or unexported fields
}
func (*TargetOutput) Successful ¶ added in v0.16.0
func (o *TargetOutput) Successful() bool
type TriggerAssertionKey ¶ added in v0.16.0
type TriggerMetricAssertion ¶ added in v0.16.0
type TriggerMetricAssertion struct { ProjectID string BrokerNamespace string BrokerName string StartTime time.Time CountPerTriggerWithRespCode map[TriggerAssertionKey]int64 CountPerTriggerNoRespCode map[TriggerAssertionKey]int64 }
func (TriggerMetricAssertion) Assert ¶ added in v0.16.0
func (a TriggerMetricAssertion) Assert(client *monitoring.MetricClient) error
func (TriggerMetricAssertion) StackdriverFilter ¶ added in v0.16.0
func (a TriggerMetricAssertion) StackdriverFilter(metric string) string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.