assert

package
v1.0.52 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package assert contains helper functions for making Testify assertions about objects in GCS buckets.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NoObjectExists

func NoObjectExists(t *testing.T, bucket bucket.Bucket, objectName string, msgAndArgs ...interface{}) bool

func ObjectExists

func ObjectExists(t *testing.T, bucket bucket.Bucket, objectName string, msgAndArgs ...interface{}) bool

func ObjectHasCacheControl

func ObjectHasCacheControl(t *testing.T, bucket bucket.Bucket, objectName string, cacheControl string, msgAndArgs ...interface{}) bool

func ObjectHasContent

func ObjectHasContent(t *testing.T, bucket bucket.Bucket, objectName string, content string, msgAndArgs ...interface{}) bool

func ObjectHasGeneration

func ObjectHasGeneration(t *testing.T, bucket bucket.Bucket, objectName string, generation int64, msgAndArgs ...interface{}) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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