objectassert

package
v0.94.1 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserAssert

func UserFromObject

func UserFromObject(t *testing.T, user *sdk.User) *UserAssert

func (*UserAssert) HasComment

func (u *UserAssert) HasComment(expected string) *UserAssert

func (*UserAssert) HasCreatedOn

func (u *UserAssert) HasCreatedOn(expected time.Time) *UserAssert

func (*UserAssert) HasCreatedOnNotEmpty

func (w *UserAssert) HasCreatedOnNotEmpty() *UserAssert

func (*UserAssert) HasDaysToExpiry

func (u *UserAssert) HasDaysToExpiry(expected string) *UserAssert

func (*UserAssert) HasDaysToExpiryNotEmpty

func (w *UserAssert) HasDaysToExpiryNotEmpty() *UserAssert

func (*UserAssert) HasDefaultNamespace

func (u *UserAssert) HasDefaultNamespace(expected string) *UserAssert

func (*UserAssert) HasDefaultNamespaceId

func (w *UserAssert) HasDefaultNamespaceId(expected sdk.DatabaseObjectIdentifier) *UserAssert

func (*UserAssert) HasDefaultRole

func (u *UserAssert) HasDefaultRole(expected string) *UserAssert

func (*UserAssert) HasDefaultSecondaryRoles

func (u *UserAssert) HasDefaultSecondaryRoles(expected string) *UserAssert

func (*UserAssert) HasDefaultWarehouse

func (u *UserAssert) HasDefaultWarehouse(expected string) *UserAssert

func (*UserAssert) HasDefaults

func (w *UserAssert) HasDefaults(name string) *UserAssert

func (*UserAssert) HasDisabled

func (u *UserAssert) HasDisabled(expected bool) *UserAssert

func (*UserAssert) HasDisplayName

func (u *UserAssert) HasDisplayName(expected string) *UserAssert

func (*UserAssert) HasEmail

func (u *UserAssert) HasEmail(expected string) *UserAssert

func (*UserAssert) HasExpiresAtTime

func (u *UserAssert) HasExpiresAtTime(expected time.Time) *UserAssert

func (*UserAssert) HasExpiresAtTimeEmpty

func (w *UserAssert) HasExpiresAtTimeEmpty() *UserAssert

func (*UserAssert) HasExpiresAtTimeNotEmpty

func (w *UserAssert) HasExpiresAtTimeNotEmpty() *UserAssert

func (*UserAssert) HasExtAuthnDuo

func (u *UserAssert) HasExtAuthnDuo(expected bool) *UserAssert

func (*UserAssert) HasExtAuthnUid

func (u *UserAssert) HasExtAuthnUid(expected string) *UserAssert

func (*UserAssert) HasFirstName

func (u *UserAssert) HasFirstName(expected string) *UserAssert

func (*UserAssert) HasHasPassword

func (u *UserAssert) HasHasPassword(expected bool) *UserAssert

func (*UserAssert) HasHasRsaPublicKey

func (u *UserAssert) HasHasRsaPublicKey(expected bool) *UserAssert

func (*UserAssert) HasLastName

func (u *UserAssert) HasLastName(expected string) *UserAssert

func (*UserAssert) HasLastSuccessLogin

func (u *UserAssert) HasLastSuccessLogin(expected time.Time) *UserAssert

func (*UserAssert) HasLastSuccessLoginEmpty

func (w *UserAssert) HasLastSuccessLoginEmpty() *UserAssert

func (*UserAssert) HasLockedUntilTime

func (u *UserAssert) HasLockedUntilTime(expected time.Time) *UserAssert

func (*UserAssert) HasLockedUntilTimeEmpty

func (w *UserAssert) HasLockedUntilTimeEmpty() *UserAssert

func (*UserAssert) HasLockedUntilTimeNotEmpty

func (w *UserAssert) HasLockedUntilTimeNotEmpty() *UserAssert

func (*UserAssert) HasLoginName

func (u *UserAssert) HasLoginName(expected string) *UserAssert

func (*UserAssert) HasMinsToBypassMfa

func (u *UserAssert) HasMinsToBypassMfa(expected string) *UserAssert

func (*UserAssert) HasMinsToUnlock

func (u *UserAssert) HasMinsToUnlock(expected string) *UserAssert

func (*UserAssert) HasMustChangePassword

func (u *UserAssert) HasMustChangePassword(expected bool) *UserAssert

func (*UserAssert) HasName

func (u *UserAssert) HasName(expected string) *UserAssert

func (*UserAssert) HasOwner

func (u *UserAssert) HasOwner(expected string) *UserAssert

func (*UserAssert) HasSnowflakeLock

func (u *UserAssert) HasSnowflakeLock(expected bool) *UserAssert

type WarehouseAssert

func WarehouseFromObject

func WarehouseFromObject(t *testing.T, warehouse *sdk.Warehouse) *WarehouseAssert

func (*WarehouseAssert) HasAutoResume

func (w *WarehouseAssert) HasAutoResume(expected bool) *WarehouseAssert

func (*WarehouseAssert) HasAutoSuspend

func (w *WarehouseAssert) HasAutoSuspend(expected int) *WarehouseAssert

func (*WarehouseAssert) HasAvailable

func (w *WarehouseAssert) HasAvailable(expected float64) *WarehouseAssert

func (*WarehouseAssert) HasComment

func (w *WarehouseAssert) HasComment(expected string) *WarehouseAssert

func (*WarehouseAssert) HasCreatedOn

func (w *WarehouseAssert) HasCreatedOn(expected time.Time) *WarehouseAssert

func (*WarehouseAssert) HasEnableQueryAcceleration

func (w *WarehouseAssert) HasEnableQueryAcceleration(expected bool) *WarehouseAssert

func (*WarehouseAssert) HasIsCurrent

func (w *WarehouseAssert) HasIsCurrent(expected bool) *WarehouseAssert

func (*WarehouseAssert) HasIsDefault

func (w *WarehouseAssert) HasIsDefault(expected bool) *WarehouseAssert

func (*WarehouseAssert) HasMaxClusterCount

func (w *WarehouseAssert) HasMaxClusterCount(expected int) *WarehouseAssert

func (*WarehouseAssert) HasMinClusterCount

func (w *WarehouseAssert) HasMinClusterCount(expected int) *WarehouseAssert

func (*WarehouseAssert) HasName

func (w *WarehouseAssert) HasName(expected string) *WarehouseAssert

func (*WarehouseAssert) HasOther

func (w *WarehouseAssert) HasOther(expected float64) *WarehouseAssert

func (*WarehouseAssert) HasOwner

func (w *WarehouseAssert) HasOwner(expected string) *WarehouseAssert

func (*WarehouseAssert) HasOwnerRoleType

func (w *WarehouseAssert) HasOwnerRoleType(expected string) *WarehouseAssert

func (*WarehouseAssert) HasProvisioning

func (w *WarehouseAssert) HasProvisioning(expected float64) *WarehouseAssert

func (*WarehouseAssert) HasQueryAccelerationMaxScaleFactor

func (w *WarehouseAssert) HasQueryAccelerationMaxScaleFactor(expected int) *WarehouseAssert

func (*WarehouseAssert) HasQueued

func (w *WarehouseAssert) HasQueued(expected int) *WarehouseAssert

func (*WarehouseAssert) HasQuiescing

func (w *WarehouseAssert) HasQuiescing(expected float64) *WarehouseAssert

func (*WarehouseAssert) HasResourceMonitor

func (w *WarehouseAssert) HasResourceMonitor(expected sdk.AccountObjectIdentifier) *WarehouseAssert

func (*WarehouseAssert) HasResumedOn

func (w *WarehouseAssert) HasResumedOn(expected time.Time) *WarehouseAssert

func (*WarehouseAssert) HasRunning

func (w *WarehouseAssert) HasRunning(expected int) *WarehouseAssert

func (*WarehouseAssert) HasScalingPolicy

func (w *WarehouseAssert) HasScalingPolicy(expected sdk.ScalingPolicy) *WarehouseAssert

func (*WarehouseAssert) HasSize

func (w *WarehouseAssert) HasSize(expected sdk.WarehouseSize) *WarehouseAssert

func (*WarehouseAssert) HasStartedClusters

func (w *WarehouseAssert) HasStartedClusters(expected int) *WarehouseAssert

func (*WarehouseAssert) HasState

func (w *WarehouseAssert) HasState(expected sdk.WarehouseState) *WarehouseAssert

func (*WarehouseAssert) HasStateOneOf

func (w *WarehouseAssert) HasStateOneOf(expected ...sdk.WarehouseState) *WarehouseAssert

func (*WarehouseAssert) HasType

func (w *WarehouseAssert) HasType(expected sdk.WarehouseType) *WarehouseAssert

func (*WarehouseAssert) HasUpdatedOn

func (w *WarehouseAssert) HasUpdatedOn(expected time.Time) *WarehouseAssert

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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