deliverychannel

package
v0.0.5-0...-3bd4ab3 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2020 License: CC0-1.0 Imports: 5 Imported by: 0

Documentation

Overview

Package deliverychannel provides the ability to filter *configservice.DeliveryChannel objects

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeliveryChannel

type DeliveryChannel struct {
	// contains filtered or unexported fields
}

DeliveryChannel contains the necessary properties for testing *configservice.DeliveryChannel objects

func New

New returns a new *DeliveryChannel

func (*DeliveryChannel) Assert

Assert applies all filters that have been called, resets the list of filters, fails the test if there is not exactly one match, and stores the matched channel if channels is not provided, *configservice.DeliveryChannel objects will be retreived from AWS

func (*DeliveryChannel) BucketKeyPrefix

func (d *DeliveryChannel) BucketKeyPrefix(prefix string) *DeliveryChannel

BucketKeyPrefix adds the BucketKeyPrefix filter to the filter list the BucketKeyPrefix filter: filters channels by BucketKeyPrefix where 'prefix' provided is the expected S3KeyPrefix value

func (*DeliveryChannel) BucketName

func (d *DeliveryChannel) BucketName(name string) *DeliveryChannel

BucketName adds the BucketName filter to the filter list the BucketName filter: filters channels by BucketName where 'name' provided is the expected S3BucketName value

func (*DeliveryChannel) Filter

func (d *DeliveryChannel) Filter(filter shared.Filter) *DeliveryChannel

Filter adds the 'filter' provided to the filter list

func (*DeliveryChannel) First

First applies all filters that have been called, resets the list of filters, fails the test if there are no matches, and stores the first match if channels is not provided, *configservice.DeliveryChannel objects will be retreived from AWS

func (*DeliveryChannel) Frequency

func (d *DeliveryChannel) Frequency(freq string) *DeliveryChannel

Frequency adds the Frequency filter to the filter list the Frequency filter: filters channels by Frequency where 'freq' provided is the expected DeliveryFrequency value

func (*DeliveryChannel) Name

func (d *DeliveryChannel) Name(name string) *DeliveryChannel

Name adds the Name filter to the filter list the Name filter: filters channels by Name where 'name' provided is the expected Name value

func (*DeliveryChannel) Selected

Selected returns the currently selected *configservice.DeliveryChannel

func (*DeliveryChannel) TopicArn

func (d *DeliveryChannel) TopicArn(arn string) *DeliveryChannel

TopicArn adds the TopicArn filter to the filter list the TopicArn filter: filters channels by TopicArn where 'arn' provided is the expected TopicARN value

Jump to

Keyboard shortcuts

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